Ted John
f0844370bb
create new FileEnumerator class
2016-07-08 22:58:38 +01:00
Ted John
09782e980c
implement saving of objects and fix other bugs
2016-07-08 22:58:38 +01:00
Ted John
2c02412f98
add ride object loading
2016-07-08 22:58:38 +01:00
Ted John
c9a1357994
add new MemoryStream class
2016-07-08 22:58:38 +01:00
Ted John
0fa703a1cb
add new ObjectCache class with Entry
2016-07-08 22:58:38 +01:00
Ted John
8dfbabbd07
refactor network, create ITcpSocket
...
Abstracts all socket code into a new class TcpSocket which is only exposed by a light interface, ITcpSocket. This now means that platform specific headers like winsock2.h and sys/socket.h do not have to be included in OpenRCT2 header files reducing include load and other issues.
2016-06-01 23:01:20 +01:00
Michał Janiszewski
4507ffdcb7
Fix clang builds
2016-05-27 20:28:35 +02:00
Ted John
3a1a474c7c
refactor key map to User and UserManager classes
2016-05-27 20:28:35 +02:00
Ted John
fe057c4470
handle null group ids
2016-05-27 20:28:34 +02:00
Ted John
d62c94f14a
use Console::WriteLine instead of log_info
2016-05-27 20:28:34 +02:00
janisozaur
658e877955
Name all the typdef-ed structs ( #3581 )
2016-05-12 22:57:40 +01:00
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