Commit Graph

2053 Commits

Author SHA1 Message Date
Marijn van der Werf 670dc088c3 Enforce stack alignment on more hooks 2018-01-25 18:09:10 +00:00
Marijn van der Werf d1e1ceb96d Remove me-specific paths in CMakeLists 2018-01-25 18:07:44 +00:00
Ted John 56562fc7cb
Merge pull request #34 from jgottula/fix/minor-fixes
Enhance/fix some minor things
2018-01-25 17:58:32 +00:00
Ted John d7689098d1
Merge pull request #20 from rwjuk/g1attempt
Implement load_g1()
2018-01-25 17:49:03 +00:00
Ted John 0a67893c49 Format code 2018-01-25 17:20:55 +00:00
Ted John 4624ad08fe Add default constructor to g1_element 2018-01-25 17:20:28 +00:00
Richard Jenkins ad4d894188 Correct steam g1.dat fixup indices 2018-01-25 14:14:59 +00:00
Michał Janiszewski c71a45532b
Make Travis keep building even after encountered errors 2018-01-25 14:45:47 +01:00
Richard Jenkins 24e43c3d43 resize rather than reserve vector 2018-01-25 12:54:19 +00:00
Richard Jenkins 87ad512c8f Reserve elements in vector before copying 2018-01-25 12:54:19 +00:00
Ted John 3e1aea9628 Move and refactor g1 constants 2018-01-25 12:54:19 +00:00
Ted John cdd794ce4e Add stream helpers 2018-01-25 12:54:18 +00:00
Ted John 547de4046f Add 64-bit compatibility, future proof 2018-01-25 12:54:18 +00:00
Ted John 365a85a2d2 Refactor load_g1 to be more C++y 2018-01-25 12:54:18 +00:00
Richard Jenkins f8630874ee Automatically fixup Steam G1.DAT 2018-01-25 12:53:28 +00:00
Ted John e6a05fd396 Fix read call 2018-01-25 12:53:28 +00:00
Richard Jenkins 10895343fa Use ifstream for file reads 2018-01-25 12:53:28 +00:00
Richard Jenkins 6a5fc61a4a Tidy load_g1() 2018-01-25 12:48:43 +00:00
Michał Janiszewski 3d8f4e05db Throw a runtime error for invalid g1.DAT 2018-01-25 12:48:42 +00:00
Richard Jenkins 48e9c269d7 Implement load_g1() 2018-01-25 12:48:42 +00:00
Justin Gottula fd23ee08af Make GOOD_PLACE_FOR_DATA_SEGMENT into a constexpr variable 2018-01-24 15:44:27 -08:00
Ted John 38d7c8a14b Rename _day_counter to _day_progression 2018-01-24 23:27:01 +00:00
Michał Janiszewski 0ba24cd4f5 Add MinGW support 2018-01-24 22:38:04 +01:00
Justin Gottula 4d726208ff Resolve -Werror=format problem in interop::save_state::log_diff 2018-01-24 12:07:21 -08:00
Justin Gottula 63ef91302c Add operator[] with debug-only bounds checking to loco_global_array 2018-01-24 12:07:21 -08:00
Justin Gottula dbf1240128 Make remap_address, addr, and loco_global_array::size constexpr funcs 2018-01-24 12:07:18 -08:00
Justin Gottula 27bcf9f411 Use proper format specifier & 0-padded hex style in register_hook_stub 2018-01-24 11:48:58 -08:00
TELK 762480a0d6 ko-KR: Fully translated (#41) 2018-01-24 18:50:29 +00:00
Ted John 72fd86a373 Convert month_table to have typings 2018-01-24 18:05:42 +00:00
Ted John 895572254a Implement date_tick 2018-01-24 18:02:29 +00:00
Michał Janiszewski 9a72b10522
Disable deprecated Boost System features 2018-01-24 17:33:55 +01:00
Michał Janiszewski adfcc89183 Don't redefine NOMINMAX if already set 2018-01-24 17:29:30 +01:00
Marijn van der Werf f25e9f467f Change diff formatting 2018-01-24 15:05:54 +01:00
Marijn van der Werf 46fb4003ea Apply requested changes 2018-01-24 15:05:54 +01:00
Michał Janiszewski ab4b4a77f3 Add console.cpp to vcxproj 2018-01-24 15:05:54 +01:00
Marijn van der Werf 8496bb2eb2 Fix compilation on macOS 2018-01-24 15:05:54 +01:00
Michał Janiszewski f238e279c1 Append permissions rather than replace them 2018-01-24 15:05:54 +01:00
Michał Janiszewski 572fe71f29 Fix cross-platform lib_SetFileAttributesA 2018-01-24 15:05:54 +01:00
Michał Janiszewski 55fc852d39 Fix type name 2018-01-24 15:05:54 +01:00
Michał Janiszewski 5af0ce8118 Don't deprecate POSIX names with MSVC 2018-01-24 15:05:54 +01:00
Michał Janiszewski be9af8ba8f Use platform-specific format specifier for uintptr_t 2018-01-24 15:05:54 +01:00
Michał Janiszewski dca74da00f Fix casing of g1.dat file
GOG version ships file named g1.DAT
2018-01-24 15:05:54 +01:00
Michał Janiszewski 0d789a5e09 Fix section attributes when loading 2018-01-24 15:05:54 +01:00
Marijn van der Werf e46a8e2add Fix compilation 2018-01-24 15:05:54 +01:00
Marijn van der Werf 863281d421 Align callback 2018-01-24 15:05:54 +01:00
Marijn van der Werf 527affc5e0 Save config after being prompted to pick path 2018-01-24 15:05:54 +01:00
Marijn van der Werf 6f0518f2f8 Add more hooks 2018-01-24 15:05:54 +01:00
Marijn van der Werf 7e2dbef5ee Improve hook logging 2018-01-24 15:05:54 +01:00
Marijn van der Werf da8cef3f90 Bring game to runnable state 2018-01-24 15:05:54 +01:00
Marijn van der Werf ece997fc03 Set command line path on posix 2018-01-24 15:05:54 +01:00