1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

241 Commits

Author SHA1 Message Date
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
Linus Unnebäck
859684142a OS X platform implementation 2015-11-28 10:40:58 +01:00
janisozaur
d037b937d8 Fix VS project file 2015-11-18 21:57:01 +01:00
Michał Janiszewski
c4ad2346e3 Fixes for building optimized binary on Linux
Use `-DCMAKE_BUILD_TYPE=X`, where X:
- `RELEASE`
- `RELWITHDEBINFO`
- `MINSIZEREL`

Only works for GCC, clang binaries crash for now.
2015-11-18 21:29:08 +01:00
duncanspumpkin
6a00482d1f Fix #1834 & #2288. Non complete circuit tracks now save correctly.
Issue was caused by a bit of code not iterating correctly backwards.
2015-11-11 19:44:53 +00:00
Ted John
20f21c6bf6 Delete colour.c 2015-11-08 18:57:55 +00:00
IntelOrca
48e3d70e57 refactor colour maps 2015-11-08 18:55:32 +00:00
zsilencer
3b639ced47 allow host to specify password #2072 2015-11-07 22:25:47 +00:00
IntelOrca
c7a85c5114 add desync debug checks for scenario_rand 2015-11-07 17:56:19 +00:00
IntelOrca
2d4b30756e add DEBUG preprocessor definition 2015-11-07 12:50:15 +00:00
IntelOrca
4df3d745a4 fix g2 msbuild call 2015-11-07 01:54:58 +00:00
duncanspumpkin
1d828591dc Fix post build event to work with CommandLineToArgvW 2015-11-06 19:40:39 +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
IntelOrca
61b7c77be3 add colour enum 2015-11-01 22:21:46 +00:00
duncanspumpkin
330b6b5524 Implemented tables for top spin paint setup 2015-10-28 18:44:43 +00:00
IntelOrca
67cf1495e1 fix msbuild XP configration mistake for language project 2015-10-21 21:09:39 +01:00
IntelOrca
717d18c9e9 add XP msbuild configuration 2015-10-21 21:02:15 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
JarnoVgr
00949686c2 Improved support for VS version selector
Version selector defaulted to VS2013 (12.0) instead of VS2015 (14.0).
2015-10-02 14:04:42 +02:00
zsilencer
9ac89c2b5e remove directsound and get sound working for linux native 2015-09-23 09:42:55 -06:00
IntelOrca
72398151a7 implement ride_create_cable_lift 2015-09-12 18:17:35 +01:00
IntelOrca
fc65a92275 fix object override strings for scenario editor and plugin.dat 2015-09-08 21:37:24 +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
952a4abdd1 implement DAT translation, part 1 2015-09-08 21:37:20 +01:00
IntelOrca
8ec51b6fc1 add FileStream, IStream and IDisposable 2015-09-08 21:37:20 +01:00
IntelOrca
064cdf4d06 implement ride_set_vehicle_colours_to_random_preset 2015-08-31 15:00:11 +01:00
IntelOrca
745365ca69 implement crash particles 2015-08-22 16:39:24 +01:00
IntelOrca
3062bbf3b6 refactor balloon, duck and money effect 2015-08-22 12:11:20 +01:00
Runelaenen
fe0e1d1207 arguments 2015-08-19 18:10:08 +02:00
Runelaenen
fb5921db6d First headless version 2015-08-19 18:07:04 +02:00
IntelOrca
4f8e289e79 finish server list and fix a couple of multiplayer issues 2015-08-16 17:29:47 +01:00
IntelOrca
f072440d18 add server list window (WIP) 2015-08-16 03:07:00 +01:00
IntelOrca
9746bccbf6 improve multiplayer 2015-08-15 23:19:15 +01:00
IntelOrca
3f31221973 fix network merge issues, fix #1785 2015-08-14 22:06:15 +01:00
zsilencer
3b4a4fcdac network status window 2015-08-14 09:13:39 -06:00
zsilencer
1d811a5692 improve chat feature 2015-08-14 09:13:39 -06:00
zsilencer
f7be55eb9d fix cmake compile errors
fix cmake compile errors
2015-08-14 09:13:30 -06:00
zsilencer
21334e307c move chat window to separate file 2015-08-14 09:13:30 -06:00
IntelOrca
196e6eb675 get basic network game working 2015-08-14 09:13:17 -06:00
IntelOrca
7e23d2d013 add basic server connection functions 2015-08-14 09:13:17 -06:00
IntelOrca
b5237e24ec improve #1703 2015-08-04 15:21:12 +01:00
IntelOrca
cac0f2ab52 upgrade to VS2015 compiler 2015-08-03 23:16:30 +01:00
IntelOrca
6bf474bd52 implement utf8, part 16 2015-08-01 10:20:58 +01:00
IntelOrca
fa87d8e999 implement utf8, part 14 2015-08-01 10:20:57 +01:00
IntelOrca
a9e6f8c3db implement utf8, part 12 2015-08-01 10:20:55 +01:00
IntelOrca
f14187f89d implement utf8, part 7 2015-08-01 10:20:52 +01:00
IntelOrca
d6a7025a3a implement utf8, part 6 2015-08-01 10:20:51 +01:00
IntelOrca
e21bea62ce implement utf8, part 2 2015-08-01 10:20:48 +01:00
IntelOrca
c4b355f648 implement utf8, part 1 2015-08-01 10:20:48 +01:00