Commit Graph

219 Commits

Author SHA1 Message Date
Ted John f2fcc6b2be Refactor / format code 2018-01-20 16:08:08 +00:00
Ted John d1133f7ec8 Rename register_stdcall to write_jmp 2018-01-20 16:04:25 +00:00
Ted John fbe4c85e5c Refactor and disable stub hooks for Windows
Also fix memory function hooks.
2018-01-20 15:59:17 +00:00
Michał Janiszewski 270734798b Disable C4505 for hooks.cpp
hooks.cpp may contain temporary stuff, no need to break build
2018-01-20 16:17:55 +01:00
Michał Janiszewski 478a3331f3 Macro-out force_align_arg_pointer attribute for MSVC 2018-01-20 16:10:48 +01:00
Michał Janiszewski bf31c93858 Reorder calling convention macros for MSVC 2018-01-20 16:03:24 +01:00
Hielke Morsink d24d30593a Add default GOG Games directory to search paths (#8) 2018-01-20 15:02:21 +00:00
Michał Janiszewski 766176704b Fix wrong variable name on win32 2018-01-20 15:58:01 +01:00
Michał Janiszewski c8490b8708 Use macros to define STDCALL and CDECL 2018-01-20 15:53:11 +01:00
Michał Janiszewski 86ee493327 Remove dirent.h for MSVC 2018-01-20 15:36:44 +01:00
Michał Janiszewski 4ff867063f Fix interop.hpp 2018-01-20 15:34:14 +01:00
Michał Janiszewski 89c0102f80 Fix hook.cpp compilation on Linux with GCC 2018-01-20 15:34:14 +01:00
Marijn van der Werf 094f3c2503 Make changes to hook.cpp for macOS 2018-01-20 15:34:14 +01:00
Michał Janiszewski 428093d9ad Fix compilation with GCC on Linux for hooks.cpp 2018-01-20 15:34:14 +01:00
Michał Janiszewski 94b9b3dcc3 Allow compiling hooks.cpp with boost and C++17's filesystems 2018-01-20 15:34:14 +01:00
Marijn van der Werf f18406ba72 Continure progress on hooks.cpp 2018-01-20 15:34:14 +01:00
Marijn van der Werf 58fd2e441c hooks.cpp changes for macOS
Extracted from OpenRCT2/OpenLoco#5
2018-01-20 15:34:14 +01:00
Ted John 3700e33954 Merge branch 'ci/add-appveyor' 2018-01-20 14:32:07 +00:00
Ted John 00ae6a7bcd Link sdl2.lib manually if not using vcpkg 2018-01-20 14:31:02 +00:00
Ted John 463db8dc22 Add appveyor CI 2018-01-20 14:14:07 +00:00
Krutonium 274e0e383b Add Gitter Links to Readme (#7) 2018-01-20 13:46:05 +00:00
Ted John f015681cec Write update cargo routine and refactor 2018-01-16 20:38:04 +00:00
Ted John 2d95404091 Allow shift+click track / road construction
Which places 10 pieces in a row making long tracks much easier / quicker to construct.
2018-01-16 15:27:32 +00:00
Ted John bfc82a80c6 Implement cargo ratings window
Uncover more information about stations and cargo ratings with minor refactoring.
2018-01-16 14:31:51 +00:00
Ted John 995faed42b Allow player to remove roads that are in use.
Remove check for is road in use when removing roads. It is quite annoying when it's sometimes only the player's own vehicles that are using it.
2018-01-14 16:12:20 +00:00
Ted John 5a798017ee Refactor input and drag logic 2018-01-13 22:15:24 +00:00
Ted John c79cda006e Remove tab characters 2018-01-13 19:27:39 +00:00
Ted John d19618c50a Refactor LOCO_GLOBAL to template function 2018-01-13 19:26:00 +00:00
Ted John 2239ece342 Refactor interop code into own namespace 2018-01-13 19:11:46 +00:00
Ted John 63351f2708 Implement some basic cursors 2018-01-13 17:09:30 +00:00
Ted John a8ebfe28fc Implement saving and searching for install path 2018-01-13 02:49:55 +00:00
Ted John 638b029ef3 Implement path resolving 2018-01-13 01:27:35 +00:00
Ted John 917f687c4d Update readme with information and place holders 2018-01-12 19:24:33 +00:00
Ted John c7b4111c5c Merge branch 'feature/disable-breakdowns' 2018-01-12 18:18:17 +00:00
Ted John b207df80fb Update changelog 2018-01-12 18:18:02 +00:00
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