Commit graph

34 commits

Author SHA1 Message Date
Ted John
a1bb159b66 Add basic new config loading 2018-01-12 18:16:16 +00:00
Ted John
a1ec484017 Refactor and fix remaining issues 2018-01-12 17:49:05 +00:00
Ted John
5359a7e70b Implement rest of sub_4BA8D4 2018-01-12 13:19:54 +00:00
Ted John
5bf2f9eb84 Start writing sub_4BA8D4 so we can disable breakdowns 2018-01-12 00:15:09 +00:00
Ted John
53bd779e70 Add start of thing and vehicle code 2018-01-11 23:15:04 +00:00
Ted John
badfb2c76b Allow renaming of towns during gameplay 2018-01-11 21:47:12 +00:00
Ted John
6d63e99f6d Refactor and write some helpers for window 2018-01-11 21:31:12 +00:00
Ted John
9d3d4a6c2b Refactor load game window 2018-01-11 19:11:39 +00:00
Ted John
9cebcaca7f Implement prompt ok, cancel 2018-01-11 12:58:45 +00:00
Ted John
2175f67da1 Fix text input 2018-01-10 23:43:46 +00:00
Ted John
b1f660e94e Fix viewport dragging 2018-01-10 23:01:12 +00:00
Ted John
4a5a4808ad Name a few update functions 2018-01-10 20:19:59 +00:00
Ted John
57024d2593 Refactor some input logic 2018-01-10 19:34:54 +00:00
Ted John
4916b2fa2e Add en-US language file
Extracted from loco.exe
2018-01-10 19:16:15 +00:00
Ted John
410feec402 Add more key code mappings 2018-01-10 19:15:50 +00:00
Ted John
e978c0c631 Convert some key codes to VK codes 2018-01-10 13:05:54 +00:00
Ted John
6b7c45b81d Get basic keyboard input working 2018-01-10 01:07:46 +00:00
Ted John
9678d4116d Fix load game prompt 2018-01-10 01:07:46 +00:00
Ted John
4654d436da
Fix mistake in address for is_already_running 2018-01-09 07:55:41 +00:00
Ted John
dd56576807 Fix process window being moved to top left of screen 2018-01-09 01:02:53 +00:00
Ted John
2e236db35c More refactoring of tick() 2018-01-09 00:43:37 +00:00
Ted John
437b567b38 Name and extract more calls from tick() 2018-01-08 23:53:29 +00:00
Ted John
36031fabc3 Move initialise game code into separate function 2018-01-08 20:53:04 +00:00
Ted John
92efc44f01 Move load_g1 to gfx.cpp 2018-01-08 20:51:04 +00:00
Ted John
6977fe9c40 Remove unused function 2018-01-08 20:50:08 +00:00
Ted John
673cc42ba7 Implement remainder of tick() 2018-01-08 20:45:34 +00:00
Ted John
4255fd0a4b Implement more of tick() 2018-01-08 00:01:36 +00:00
Ted John
8a9a12985f Implement basic mouse input 2018-01-08 00:01:22 +00:00
Ted John
864b3a6c51 Get the game drawing to an SDL2 window 2018-01-07 18:54:28 +00:00
Ted John
b83c687a11 Implement and refactor a few more things 2018-01-07 12:45:56 +00:00
Ted John
4f45e7d545 Implement some of the tick cycle 2018-01-07 03:18:38 +00:00
Ted John
da918e59da Add initial working wrapper 2018-01-07 03:18:38 +00:00
Ted John
4b05449c7c Add patched loco.exe to repository 2018-01-07 03:18:38 +00:00
Ted John
c1b2855e4f
Initial commit 2018-01-06 23:35:23 +00:00