1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
LRFLEW
85800997c2 Fixed warnings in Xcode 2015-12-21 03:11:38 -06:00
IntelOrca
8bb8beee50 fix warnings in cmdline.c 2015-12-21 00:23:59 +00:00
LRFLEW
034bf5c6a5 Added Xcode Project 2015-12-20 14:53:40 -06:00
Michał Janiszewski
ea6fa2c82a Let user specify the data dir as cmdline option.
This adds --openrct-data-dir=<str> option to command line letting user
select where he wants OpenRCT2-specific data to be. By default the
search locations are:
* <exePath>/data (on all platforms)
* /var/lib/openrct2 (on Linux)
* /usr/share/openrct2 (on Linux)
2015-12-19 00:06:41 +01:00
LRFLEW
d769a13206 Fixed extern and enum name usage 2015-12-16 14:48:27 -06:00
Michał Janiszewski
a5b465fad1 Fix some compiler warnings 2015-12-14 22:52:27 +01:00
IntelOrca
de48ad3af6 fix warnings in cmdline.c 2015-12-14 14:45:54 +00:00
Kyle Kirbatski
c3185de49d Fix a bug where argv will be replaced by the argparse library.
The argparse library takes the input, assigns it to `this->output`, and then writes a null pointer to it. This causes issues on OS X 10.10 because AppKit tries to read the arguments passed to the application, which the first argument is null.
2015-12-14 07:19:06 -06:00
janisozaur
d3329b74a5 Comment expected cmdline_call_action results 2015-11-16 13:59:01 +01:00
Michał Janiszewski
e885056229 Fix exit code handling, sprite generation
Make sprite generation not start UI
2015-11-14 17:43:03 +01:00
IntelOrca
e1b67eeda0 improve command line version information and add headless check 2015-11-08 12:49:19 +00:00
IntelOrca
e177be305b allow user data path to be specified by command line, closes #2182
Also changed default path under linux to be ~/.config/OpenRCT2.
2015-11-03 22:20:35 +00:00
Michał Janiszewski
9284930d7e Add safe_strncpy function
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Michał Janiszewski
8a5d9bf614 Platform name 2015-10-02 21:19:20 +02:00
Runelaenen
fb5921db6d First headless version 2015-08-19 18:07:04 +02:00
Michał Janiszewski
fc533c92c4 Add switch to disable network at compile-time 2015-08-19 01:47:33 +02:00
zsilencer
149b3d86af network refactoring 2015-08-14 09:13:30 -06:00
IntelOrca
196e6eb675 get basic network game working 2015-08-14 09:13:17 -06:00
IntelOrca
9c4f7b0973 refactor ride ratings and add junior coaster ride calculation 2015-06-04 22:49:02 +01:00
IntelOrca
bb309f34c6 refactor test project and add ride ratings test 2015-06-04 12:46:17 +01:00
IntelOrca
f6eec3725c Merge branch 'develop' of https://github.com/marcotc/OpenRCT2 into marcotc-develop
Conflicts:
	src/openrct2.c
2015-06-04 11:54:27 +01:00
IntelOrca
463131117c fix edit command line function 2015-06-03 17:11:52 +01:00
Marco Costa
f05d851811 Create simple test framework
* Run all tests by passing "test" as a command line argument to
'openrct2'
* Using CuTest 1.5 as a test framework
2015-06-01 21:45:12 -04:00
Thomas
55456559bb Added dithering and closest pixel conversion for sprite tool 2015-05-31 20:35:40 +02:00
IntelOrca
31e0bdd76f add partial working screenshot by command line 2015-05-28 23:04:02 +01:00
IntelOrca
8772cdd7aa add in game console 2015-05-19 03:54:09 +01:00
IntelOrca
c1260fc11f add command line sprite editor and additional custom graphics (g2.dat) 2015-05-19 00:26:31 +01:00
Ian Chamberlain
54d3505a1a Fixed build warning for implicit declaration 2015-03-15 00:38:37 -04:00
Duncan Frost
efad54f1c6 Fix arg_parse accessing invalid memory due to mistake in setup code. Reintroduced free memory of command line parameters 2015-01-18 20:56:08 +00:00
IntelOrca
85c41488ce implement RLECOMPRESSED chunk encoding, closes #598 2014-11-26 16:27:21 +00:00
IntelOrca
335774dc08 add log level check so that --verbose option works 2014-11-21 18:39:56 +00:00
IntelOrca
71e508c416 refactor various platform functions and includes 2014-10-09 14:03:54 +01:00
IntelOrca
a35ebea72a improve command line parsing 2014-10-09 01:36:59 +01:00
IntelOrca
e57a625c9f refactor game startup and initialisation 2014-10-09 00:30:22 +01:00