Commit Graph

1346 Commits

Author SHA1 Message Date
Duncan 6016fe2888 Added more to draw code.
Still requires huge rewrite. Probably does not compile. Require to work out the structures pointed to by esi and ebp.
2014-08-10 11:11:39 +01:00
Duncan Frost a9f3a30744 Started decompile of actual draw function 2014-08-10 11:11:38 +01:00
Duncan Frost 41c610ad4b Added start of one rotations setup 2014-08-10 11:11:38 +01:00
Duncan Frost 047b5196a1 Started decompiling litter paint prep function 2014-08-10 11:11:37 +01:00
Duncan Frost 8857b2fc6a Split the paint functions 2014-08-10 11:11:36 +01:00
Duncan Frost 2e8efe8006 Decompiled to end of sprite draw. 2014-08-10 11:11:36 +01:00
Duncan Frost 206029cc7b Fixed compile error added reference to address 2014-08-10 11:11:35 +01:00
Duncan 7a04adfdb1 started decompile of paint quadrant function 2014-08-10 11:11:34 +01:00
Ted John ce1717c626 Merge pull request #270 from duncanspumpkin/fix_view_menu
Decompiled view_menu dropdown and fixed issue when no item selected.
2014-08-10 11:04:13 +01:00
Duncan Frost 3b7ffe8b4a Decompiled view_menu dropdown. Fixed issue when no item selected. Added a post build event to copy langauge file. 2014-08-10 09:34:27 +01:00
IntelOrca e8fa6b7c5a finish finances summary page 2014-08-09 14:47:58 +01:00
IntelOrca 8d4d3b10e5 try new cheat window string 2014-08-08 18:48:45 +01:00
IntelOrca cc93e6b7db finish partial support for language loading... new string test in cheat window 2014-08-08 18:47:28 +01:00
Ted John 045cef2e0a Merge pull request #266 from duncanspumpkin/gfx_rain
Gfx rain
2014-08-08 17:40:34 +01:00
Duncan Frost 57f17f62e5 Moved function to gfx.c added new addresses 2014-08-08 17:19:08 +01:00
Duncan 13b51fe475 More cleanup of gfx_rain. 2014-08-08 16:36:47 +01:00
Duncan Frost 5257f368c9 Cleaned up rain code. Remember to remove constant rain 2014-08-08 16:36:46 +01:00
Duncan Frost 6ec15b240b Fix compile mistakes 2014-08-08 16:36:45 +01:00
Duncan ca38d60b6f Cleaned up 684027
Not tested.
2014-08-08 16:36:44 +01:00
Duncan be1d3ff74a Added very rough 0x684027 function 2014-08-08 16:36:43 +01:00
IntelOrca 13d95ded35 prepare for loading a language file 2014-08-07 23:20:58 +01:00
IntelOrca 96aaa87543 make both game commands use same call and rename / use more commands in enum 2014-08-07 22:25:51 +01:00
IntelOrca 4a89b3dd5c refactor currency 2014-08-07 21:53:22 +01:00
Ted John 9c01b065c4 Merge pull request #265 from marcotc/rain
Decompile of rain-drawing functions
2014-08-07 07:21:00 +01:00
Marco Costa cc1e2248de Decompile of rain-drawing functions
Light rain function at position 0x00684114
Heavy rain function at position 0x0068416D
Function array at position 0x009AC058
Avoid passing uint32 function address. Instead use the array index.
2014-08-06 20:40:42 -04:00
Ted John da88fc1510 Merge pull request #264 from qcz/wip-stafflist-cleanup
Enum for the game command table; cleanup warnings and comments from window_staff.c
2014-08-06 23:38:16 +01:00
qcz 1baf54a051 Enum for the command table; cleanup warnings and comments from the previous commit 2014-08-06 21:06:51 +02:00
Ted John 12c3823509 Merge pull request #263 from honzi/gitattributes_formatting
Cleanup .gitattributes formatting
2014-08-06 08:00:14 +01:00
Jan Hořava 2b19488c1d Cleanup .gitattributes formatting 2014-08-05 19:10:28 -07:00
Ted John 2365563583 Merge pull request #262 from qcz/wip-stafflist
Decompiling the staff window
2014-08-05 22:05:54 +01:00
Dániel Tar f87202f42f Remove unused enum 2014-08-05 19:54:44 +02:00
Dániel Tar fce067e667 Arrange includes and remove an unneccessary variable 2014-08-05 19:31:29 +02:00
Dániel Tar fa931e1ff0 Decompiling window_staff 2014-08-05 19:15:28 +02:00
Ted John ea34050ffa Merge pull request #258 from duncanspumpkin/fix_options_combo
Fixes combo boxes not pointing at selected item
2014-08-04 18:22:56 +01:00
Duncan Frost 7384350720 Fixes combo boxes not pointing at selected item 2014-08-04 17:07:20 +01:00
Ted John 8e6921b3f7 Merge pull request #256 from adrian17/screenshots
Save screenshots when PrintScreen is pressed
2014-08-04 07:30:28 +01:00
adrian17 ae85c697ee Save screenshots when PrintScreen is pressed 2014-08-03 18:13:15 +02:00
adrian17 8a70730f08 Make RCT2 know if LodePNG failed 2014-08-03 17:45:19 +02:00
Ted John bf56ec41a1 Merge pull request #255 from duncanspumpkin/fix_218
Fixes #218 @adrian17 did all the work for this fix.
2014-08-01 13:23:58 +01:00
Duncan Frost a00ac39b7e Fixes #218 @adrian17 did all the work for this fix. 2014-08-01 09:15:43 +01:00
Ted John eeb313ad8a Merge pull request #254 from duncanspumpkin/fix_exit_sound
Fixes issue where sound stops working after cancel is pressed
2014-08-01 00:28:30 +01:00
Duncan Frost 83c197e312 Fixes issue where sound stops working after cancel is pressed 2014-07-31 20:14:00 +01:00
Ted John 397fbefa37 Merge pull request #253 from duncanspumpkin/fix_249
Fixes #249
2014-07-31 18:47:31 +01:00
Ted John 0fcd05aecc Merge pull request #252 from adrian17/resizable_fix
Make window resizable again.
2014-07-31 18:47:16 +01:00
Duncan Frost 265ae1a544 Fixes #249 2014-07-31 17:43:57 +01:00
adrian17 02df419548 Make window resizable again.
Note: I can't simple place SDL_WINDOW_RESIZABLE in _fullscreen_modes[] because SDL ignores this flag in SDL_SetWindowFullscreen and if the user started the game in fullscreen and switched to window, it wouldn't be resizable.
The way I did it is the only way I know to make the window resizable regardless of whether the game was first started in window or in fullscreen.
2014-07-31 11:41:00 +02:00
Ted John d827a24a24 Merge pull request #250 from anyc/testing
fix errors and warnings with mingw
2014-07-30 23:21:42 +01:00
anyc 305cef2f75 fix errors and warnings with mingw 2014-07-31 00:11:01 +02:00
Ted John 1a724da182 Merge pull request #248 from adrian17/fullscreen_mode
[RFC?] Fullscreen mode with Alt+enter shortcut and dropdown option
2014-07-30 14:29:25 +01:00
adrian17 ba08e4480c Disable resolution option when in borderless fullscreen 2014-07-30 14:55:40 +02:00