- 24 Sep, 2015 1 commit
-
-
Ted John authored
-
- 23 Sep, 2015 3 commits
- 22 Sep, 2015 13 commits
-
-
YamaArashi authored
-
YamaArashi authored
-
Ted John authored
Make it work on Linux
-
Michał Janiszewski authored
Right now the project is decompiled to the point where it is feasible to try porting it to another platform. It doesn't work 100% correctly, but it's nearing this state. To port it to Linux I mmapped the openrct2.exe into expected places, disabled two offending calls (RCT2_CALLPROC_EBPSAFE(0x0040701D) and RCT2_CALLPROC_X(0x006E7FF3…)), replaced memory management routines with generic ones and removed all the function-pointer calls. A basic, non-exhaustive check is included to verify that memory is loaded correctly in place. That last bit is probably the most intrusive one, but had to be done, as the calling convention on Linux differs from the one on Windows. It could possibly be emulated (just like RCT2_CALLFUNC_X) until dependency on exe is dropped. It is possible to completely remove calls out to original code by commenting out contents of RCT2_CALLFUNC_X, right now this will yield working UI, but no rendering of peeps, rides or rest of world. This can be used as a benchmark or test platform for correctness of implementation. The data sections will still be required for now. Assets are expected to be in specific places, so to launch it, following needs to satisified: * $build/data/ has to have contents of $RCT2/Data/ * $build/data/ (same as above) has to have contents of $repo/data/ * $build/ObjData/ has to have contents of $RCT2/ObjData/ * $build/../openrct2.exe has to be $repo/openrct2.exe (as of 976ea0d7) Keep in mind you can symlink stuff and that filesystems are case sensitive! You can copy more of required data to possibly improve your experience. Pretty much all of this commit will possibly have to be reverted by the time OpenRCT2 gains independence. Remember to build with -DDISABLE_NETWORK=ON -DDISABLE_HTTP_TWITCH=ON
-
Ted John authored
Fixes
-
Michał Janiszewski authored
Both free and delete treat nullptr the same way: as a no-op [1][2]. Get rid of checking if the pointer passed is a null one before acting on it. See stackoverflow.com/q/154136/do-while-and-if-else-statements-in in case you are wondering why is it done this way. [1] http://www.cplusplus.com/reference/cstdlib/free/ [2] http://www.cplusplus.com/reference/new/operator%20delete/
-
Michał Janiszewski authored
-
Michał Janiszewski authored
-
Michał Janiszewski authored
-
Michał Janiszewski authored
-
Michał Janiszewski authored
-
Ted John authored
Safely handle 'file not found' or wrong parameters
-
Michał Janiszewski authored
`platform_enumerate_files_begin` (and it directory counterpart) can return `-1`, make sure we handle that value properly when passed on to `platform_enumerate_files_next` and `platform_enumerate_files_end`
-
- 21 Sep, 2015 3 commits
- 20 Sep, 2015 8 commits
-
-
Michał Janiszewski authored
As it turns out, you have to declare your link directories before you use them in cmake, otherwise your executables/binaries will have no knowledge of them. This should fix travis builds for mingw.
-
Michał Janiszewski authored
Add bulk of the platform file for linux, change the compilation target from shared library to executable for linux, provide necessary changes to make it compile & load the stub of a process. Make sure functions are marked as stubs where needed, and implementation is expected.
-
Ted John authored
Take out MinGW error preventing Linux from being detected, closes #1626
-
Gymnasiast authored
-
Gymnasiast authored
-
Ted John authored
Stopped infinite loop in ride_set_boat_hire_return_point
-
FlynnsPixel authored
-
Ted John authored
-
- 19 Sep, 2015 3 commits
-
-
Ted John authored
Make file paths use platform-specific separators
-
Michał Janiszewski authored
-
Ted John authored
-
- 18 Sep, 2015 9 commits
-
-
Ted John authored
Remove windows
-
Michał Janiszewski authored
Step 1 on road towards Linux. Remove windows-specific code, stub it out where needed and make sure we can still compile it the way it is. Take care of Travis' build matrix to include new build configuration. Install new packages.
-
Michał Janiszewski authored
-
Ted John authored
Add cheat option to show all operating modes; cleanup
-
Ted John authored
Create a matrix of jobs for easier configuration testing
-
Michał Janiszewski authored
Right now it will post two jobs, one regular and the other one with network disabled, so both get tested on future commits.
-
Gymnasiast authored
-
Ted John authored
make sure strings are properly terminated
-
Gymnasiast authored
-