1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00
Commit Graph

654 Commits

Author SHA1 Message Date
Duncan
db2f855579 Small bug fix in char width. Switched to C99 inits
4th character type has to have the width increased from the g1 elements width rather than decreased.
2014-06-14 08:32:47 +01:00
Duncan Frost
960307e3bc Fixed bug in create window due to uninitialised data. Finished load_character_width function 2014-06-14 08:32:47 +01:00
Duncan Frost
ba1c414165 Started decompiling character width loading function 2014-06-14 08:32:46 +01:00
Jeroen Sack
91cae10a1f Revert indention
Don't know what happened here, but was not meant to happen.
2014-06-13 22:57:51 +02:00
Jeroen Sack
aa5209d9f0 Remove commented function
Remove a forgotten commented function
2014-06-13 22:47:14 +02:00
Jeroen Sack
a91c5532d1 Port function widget_scroll_get_part
replace 6E9F92 with widget_scroll_get_part
2014-06-13 22:40:15 +02:00
anyc
2e7261e9cf fix GCC compilation 2014-06-13 16:43:52 +02:00
Patrick Wijnings
4485e3dd72 osinterface: use FAILED macro to check for success of CoInitializeEx / SHGetMalloc. 2014-06-13 14:44:40 +02:00
IntelOrca
521dadfd7b Merge branch 'gfx_strings' of https://github.com/ZedThree/OpenRCT2 into ZedThree-gfx_strings 2014-06-13 01:26:34 +01:00
ZedThree
08b69b6361 Bug fix: off-by-one 2014-06-12 21:19:13 +02:00
Duncan Frost
6f65ba5714 Fix a few bugs to do with the buffer being incremented at start of loop 2014-06-11 19:08:00 +01:00
ZedThree
121990d68f Replace unneeded addresses with variables 2014-06-11 19:50:31 +02:00
ZedThree
d2c80229c1 Fixes #171 2014-06-11 19:50:30 +02:00
ZedThree
74f5fbc31a Bug fix for strings with non-char sprites 2014-06-11 19:50:30 +02:00
ZedThree
0f0351d341 Byte width bug fixes 2014-06-11 19:50:29 +02:00
ZedThree
fcc5e29b76 Add comments, removed unused vars 2014-06-11 19:47:49 +02:00
ZedThree
89b199a6c8 Tidy up 2014-06-11 19:47:48 +02:00
ZedThree
46965b0575 Finish wrap_string 2014-06-11 19:44:31 +02:00
ZedThree
1e23390406 First pass of gfx_wrap_string 2014-06-11 19:44:31 +02:00
IntelOrca
f83ca084cf Merge branch 'gfx_unstable' 2014-06-10 23:08:07 +01:00
Duncan Frost
842cbe5b58 Fix bug #114 2014-06-10 22:47:47 +01:00
Duncan Frost
b073c8eaef Finished last part of zooming code. Appears to work good. 2014-06-10 22:20:44 +01:00
Duncan Frost
2b9d7af156 Messing with zooming code currently breaks. 2014-06-09 23:10:54 +01:00
Jan Horava
100228b887 fix comment typo and unclear abbreviation 2014-06-07 21:14:55 -07:00
Duncan Frost
490fe70db8 Trying different zoom technique 2014-06-07 21:34:24 +01:00
Duncan Frost
9f01c5d6bf Fixed small positioning bug in draw_string due to incorrect signness. 2014-06-06 10:18:39 +01:00
Duncan Frost
c158d98e5c Fixed graphical text glitch. Due to not copying whole dword 2014-06-06 09:54:30 +01:00
Duncan
f6a3c2dd04 Fix small palette issue. 2014-06-05 16:49:30 +01:00
Duncan Frost
c333e9f042 Fix small dereference mistake 2014-06-04 19:47:46 +01:00
Duncan
55e8fe74ff more small changes 2014-06-04 17:04:33 +01:00
Duncan
8b233c2f79 More gfx_draw_string notes. 2014-06-04 12:30:53 +01:00
Duncan
49432dd96f Added a few notes to draw_string. 2014-06-03 12:57:58 +01:00
ZedThree
bf2227437b String control codes skip wrong number of chars 2014-06-02 20:03:48 +02:00
Duncan
1629b3fce7 Fixed possible small palette bug.
Added notes on what is happening in draw_string.
2014-06-02 16:55:02 +01:00
IntelOrca
3aa2d4ace9 fix #163 2014-06-01 16:23:15 +01:00
ZedThree
e7688ad51b Fix monthyear format bug 2014-06-01 14:35:03 +02:00
Duncan Frost
f1c8981e79 Switched to draw_sprite in draw_string function. Added freeing of zoomed image 2014-06-01 09:25:53 +01:00
Duncan Frost
6bd6971cb2 Merged in gfx_unstable 2014-05-31 20:56:57 +01:00
IntelOrca
95b761d921 Merge branch 'master' into gfx_unstable 2014-05-31 17:11:47 +01:00
IntelOrca
b701eb8222 fix format_string currency 2014-05-31 17:11:26 +01:00
IntelOrca
21ff16e804 Merge branch 'master' into gfx_unstable 2014-05-31 16:57:17 +01:00
IntelOrca
7ae52df001 fix format_string currency 2dp 2014-05-31 16:57:00 +01:00
IntelOrca
35c8f64fff Merge branch 'master' into gfx_unstable 2014-05-31 16:48:16 +01:00
IntelOrca
b5575d31eb fix more format string bugs 2014-05-31 16:47:30 +01:00
ZedThree
8b1c76b1b6 Replace pad_0E with zoom_level 2014-05-31 16:43:39 +02:00
ZedThree
a06f6ade8b String functions for wrapped text 2014-05-31 16:40:44 +02:00
ZedThree
583fbaa2a4 Fix some pointer issues 2014-05-31 16:40:43 +02:00
ZedThree
5b41528e2e Rename variables in get_width to align with clip_string 2014-05-31 16:40:43 +02:00
ZedThree
1dc794b038 Finish clip string 2014-05-31 16:40:43 +02:00
ZedThree
9c9ece2d7b clip text mostly working 2014-05-31 16:40:42 +02:00