janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Ted John
ff1de46ca6
improve List::AddRange performance
2016-04-22 18:26:28 +01:00
Ted John
f3356caa39
add a CLI command for converting saved games <-> scenarios
2016-04-22 18:26:27 +01:00
Ted John
fb192bba0e
prevent adding duplicate footpath entries
2016-04-22 18:25:28 +01:00
Ted John
512ed6ce98
fix compile issues and bugs
2016-04-22 18:25:20 +01:00
Ted John
7754204a25
finish conversion of RCT1 import to c++
2016-04-22 18:25:19 +01:00
Ted John
cf7b81fd3a
start moving RCT1 importer to C++
2016-04-22 18:24:54 +01:00
IntelOrca
4b2776f266
move code from Diagnostics and Guard to cpp
2016-04-20 18:11:06 +01:00
IntelOrca
1daa657657
fix #3091 : Korean words corrupted if over byte limit
2016-03-10 18:48:00 +00:00
Michał Janiszewski
2ebb691e71
minor fixes
...
* initialize variables properly
* fixes to handling of zenity/kdialog on Linux
* remove unnecessary call
2016-02-14 21:06:44 +01:00
Michał Janiszewski
d274abdcce
Fixes for GCC
...
Makes jansson library required as well
2016-02-03 18:23:47 +00:00
IntelOrca
5c2e951d3f
fix remaining issues with theme refactor branch
2016-02-03 18:23:45 +00:00
IntelOrca
7e1ce4fcc6
reinstate theme editor and fix bugs
2016-02-03 18:23:45 +00:00
IntelOrca
caf9bd9939
get game working with new theme manager
...
Theme editor currently unavailable.
2016-02-03 18:23:44 +00:00
IntelOrca
0eb57e5fb5
start work on theme manager
2016-02-03 18:23:43 +00:00
IntelOrca
b1b9741090
add JSON helpers
2016-02-03 18:23:42 +00:00
IntelOrca
d67d6a4831
add more core classes
2016-02-03 18:23:41 +00:00
Michał Janiszewski
95e3895b89
Game commands' argument validation
2016-01-24 19:31:40 +01:00
IntelOrca
4c1605f268
refactor and format old C++ code
2016-01-23 18:58:31 +00:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
IntelOrca
cdee534eb1
use SDL2's platform defines to normalise platform guards
2016-01-14 20:12:43 +00:00
Ted John
a557179b06
Merge pull request #2709 from OpenRCT2/set-rct2-path
...
Add ability to set RCT2 path by command line.
2016-01-13 00:04:49 +00:00
IntelOrca
3751c2b014
use SDL2 for Stopwatch class
2016-01-13 00:04:27 +00:00
IntelOrca
8cf53c12af
add ability to set RCT2 path by command line
2016-01-12 23:10:18 +00:00
IntelOrca
df2b793c0a
refactor console error output
2016-01-12 23:10:17 +00:00
LRFLEW
7956922f26
Fixed branch new-argparse compilation on OS X
2016-01-10 22:50:53 +00:00
IntelOrca
c7feb72a69
move compiler normalisation to rct2.h
2016-01-10 22:50:35 +00:00
IntelOrca
6774412bce
use _stricmp instead of _strcmpi
2016-01-10 22:50:33 +00:00
IntelOrca
e9d222fdd3
new-argparse: finish new argparse integration and clean up
2016-01-10 22:50:31 +00:00
IntelOrca
3f0073f29c
new-argparse: implement most of the root commands, fix issues
2016-01-10 22:50:30 +00:00
IntelOrca
9d98147b75
new-argparse: implement argument and option parsing
2016-01-10 22:50:29 +00:00
IntelOrca
14a266c177
new-argparse: add basic definitions and help display
2016-01-10 22:50:28 +00:00
IntelOrca
15bc414581
add stopwatch class for profiling
2016-01-08 20:50:23 +00:00
Linus Unnebäck
4319e57024
use builtin min and max
2015-12-15 09:11:54 +01:00
Michał Janiszewski
98e204552a
countof with type safety
...
For reference see http://www.g-truc.net/post-0708.html and
http://lxr.free-electrons.com/source/include/linux/kernel.h#L54
This will provide a type-safe mechanism for counting elements of array.
If you try passing something which cannot be counted, compiler will
frown at you right away.
2015-12-15 00:28:58 +01:00
Michał Janiszewski
fb9a5833d6
Fix override offsets while loading LanguagePack
...
When loading language pack, a check is made not to double entries. This
check was wrong, because it tried to use offsets as pointers to strings.
These offsets are later rewritten to actual pointers in remaining part
of LanguagePack::LanguagePack
2015-10-09 20:19:58 +02:00
Michał Janiszewski
6dd04bbb1a
Don't copy more memory than we own
2015-10-09 20:19:34 +02:00
IntelOrca
c6b0d0919d
fix #1982
2015-09-28 18:10:41 +01:00
IntelOrca
f988f69ae0
implement sub_6D31A6
2015-09-13 03:00:03 +01:00
Michał Janiszewski
17e635b8af
In C++11 use actual pointer types instead of C's defines
...
This is mostly `NULL` -> `nullptr` in cpp files, but I only noticed
because `LanguagePack::GetObjectOverride` and
`LanguagePack::GetScenarioOverride` were returning false instead of real
pointer.
Also fixes some whitespaces, you can `w=1` to github's URL to make it
skip these.
2015-09-10 08:22:36 +02:00
IntelOrca
289555c082
fix #1908
2015-09-09 19:22:41 +01:00
Gymnasiast
188978936b
Fix Math.Clamp definition
2015-09-08 21:37:24 +01:00
IntelOrca
fc65a92275
fix object override strings for scenario editor and plugin.dat
2015-09-08 21:37:24 +01:00
IntelOrca
34cd6a9242
fix GCC compile issue
2015-09-08 21:37:22 +01:00
IntelOrca
8085abadd3
add basic support for localisation object string overriding
2015-09-08 21:37:22 +01:00
IntelOrca
7a0478404e
add new C++ memory utility functions
2015-09-08 21:37:21 +01:00
IntelOrca
8ec51b6fc1
add FileStream, IStream and IDisposable
2015-09-08 21:37:20 +01:00