Ted John
0c51dee94d
Refactor a large amount of title sequence loading
...
Still not yet able to load parks from zip.
2016-12-16 01:25:01 +00:00
Ted John
e6377b40ef
Write new code for loading title sequence ZIPs
2016-12-16 01:25:01 +00:00
Ted John
abc3835d7b
Rename openrct2.c h to OpenRCT2.c h
2016-12-14 00:32:06 +00:00
Michał Janiszewski
1ae2ca54f7
Sort includes
2016-12-01 16:03:16 +01:00
Michał Janiszewski
afdc1457d5
Move font-related code out from language.cpp
2016-12-01 16:03:16 +01:00
Michał Janiszewski
54e622659d
Extract common parts from rct2.h to common.h
2016-12-01 16:03:16 +01:00
Michał Janiszewski
7eb008b546
Ensure includes are used when needed
2016-12-01 09:09:15 +01:00
Marijn van der Werf
ec6724b4d4
Name font flags
2016-11-16 13:24:39 +00:00
Ted John
4d7f52960d
Merge pull request #4737 from Broxzier/copy_element
...
Copy/paste single elements
2016-11-14 21:24:40 +00:00
Michael Steenbeek
ba1225cf6e
Merge cheats in console, pathfinding improvements
2016-11-14 08:54:51 +01:00
Marijn van der Werf
4039172fb7
Use more constants for drawing arguments
2016-11-13 22:29:03 +00:00
Michał Janiszewski
3f7fd56328
Remove trailing whitespace in sources
2016-11-13 20:32:55 +01:00
Marijn van der Werf
1a8cb9fc57
Use more constants for text colours
2016-11-13 17:44:34 +00:00
Marijn van der Werf
022b481d66
Use constant for black strings
2016-11-13 17:20:30 +00:00
Marijn van der Werf
bb615c60ee
Clean up translucent palettes
2016-11-13 01:51:28 +01:00
Marijn van der Werf
06b128bac7
Name more palettes
2016-11-13 01:51:27 +01:00
Marijn van der Werf
4f47808201
Name glass palettes
2016-11-13 01:51:26 +01:00
Marijn van der Werf
2109763267
Rename translucent palettes
2016-11-13 01:45:43 +01:00
Marijn van der Werf
1ce2242bb3
Start cleaning up filters
2016-11-13 01:45:43 +01:00
Marijn van der Werf
0496cf6bd8
Merge colour maps
2016-11-11 08:46:14 +00:00
Marijn van der Werf
80ea7f7de5
Name gfx_fill_rect_inset flags
2016-11-10 17:54:33 +00:00
Broxzier
ecc9637bbd
Clearing tile inspector clipboard when loading a park
2016-11-09 20:03:19 +01:00
Michał Janiszewski
9c818ea2dc
Reorder fields to reduce padding ( #4758 )
...
Reduces padding:
* In `rct_viewport` from 5 to 1
* In `rct_ride_entrance_definition` from 4 to 0
2016-11-06 21:06:02 +01:00
Michał Janiszewski
06b659db40
Replace malloc(0) with explicit NULL
...
From documentation on `void* malloc( size_t size );`:
> If size is zero, the behavior is implementation defined (null pointer
may be returned, or some non-null pointer may be returned that may not
be used to access storage).
Both `free()` and `realloc()` understand `NULL`, so use that to avoid
implementation-defined behaviour
2016-11-06 21:00:47 +01:00
wolfreak99
410ce9fd66
prefix console commands with "cheat_"
2016-11-05 05:14:17 -04:00
wolfreak99
28773b4c40
Change sandbox mode, clearance check, and support limit cheats to take parameter as value
2016-11-05 05:14:12 -04:00
wolfreak99
102af2f8ca
rewrite to use value returned from game_do_command
2016-11-05 04:34:19 -04:00
wolfreak99
369b85fc51
Sync cheats in console across multiplayer, add "sandbox_mode"
2016-11-04 13:58:47 -04:00
wolfreak99
4368d67f6e
disable_clearance_checks and disable_support_limits in console
2016-11-04 13:58:44 -04:00
Michał Janiszewski
1f0adb95da
Check value of DEBUG_LEVEL_X macro, not just definition
...
DEBUG_LEVEL_X macros are always defined to 0 or 1, this could prevent
some optimisations from compilers, especially inlining
`get_current_rotation()`.
2016-11-02 08:19:25 +00:00
Ted John
a9a1f54f8a
Fix centreing of title menu buttons
2016-10-31 22:24:02 +00:00
Michał Janiszewski
5585a3e67d
Fix #4722 : warnings with clang 3.9
2016-10-30 21:57:14 +01:00
Ted John
e666028e02
Convert track repository to C++
2016-10-22 22:36:45 +01:00
Ted John
60df18ee0f
Refactor paint_arrange_structs
2016-10-22 13:35:21 +01:00
Ted John
86dd18a65d
Rename paint functions
2016-10-22 13:35:21 +01:00
Ted John
504257ce08
Refactor paint_init
2016-10-22 13:35:21 +01:00
Ted John
e4429641a4
Refactor viewport_paint_column
2016-10-22 13:35:21 +01:00
Ted John
67e9ccb1fc
Refactor paint_ps_money_effects
2016-10-22 13:35:21 +01:00
Ted John
2aa0271222
Refactor paint_quadrant_ps
2016-10-22 13:35:21 +01:00
Duncan
81bb6cb950
Merge pull request #4649 from zsilencer/multiplayer
...
Guest+staff pickup and balloon pop commands
2016-10-20 12:46:27 +01:00
Ted John
7ca8b3d278
Refactor viewport_paint
2016-10-18 20:59:32 +01:00
zsilencer
db3aa2b656
Add balloon popping as game command
2016-10-18 13:40:50 -06:00
zsilencer
d74efb23fe
Add picking up peeps/staff as game command
2016-10-18 13:40:49 -06:00
Ted John
dd3db116f7
Merge pull request #4606 from IntelOrca/refactor/scenario-sources
...
Refactor scenario sources and scenario list to C++
2016-10-16 22:27:34 +01:00
Ted John
00e907d007
Merge pull request #4414 from Broxzier/extended_tile_inspector
...
Extended tile inspector
2016-10-16 21:12:21 +01:00
Michał Janiszewski
2e4a5cd441
Fix mingw builds
2016-10-16 00:24:12 +02:00
Michał Janiszewski
00c47b8a04
Fix clang builds
...
Redeclaring the same typedef is not legal in C < 11, but a
forward-declaration works just fine for having a pointer to struct. No
changes needed in .cpp, as it includes the `typedef` from `object.h`
(via `scenario.h`).
2016-10-15 21:50:52 +01:00
Ted John
babf261542
Refactor scenario list to C++
2016-10-15 21:50:52 +01:00
Ted John
62de531b4a
Forward declare C functions for GCC's sake
2016-10-12 12:50:17 +01:00
Hielke Morsink
c19339edfe
Minor improvements
...
- Paths are now properly rotated, including flat ones
- Banners can not be rotated
- The X and Y coordinates can be changed with spinners
- Highligint selected tile while now hovering over viewport
- Added helper function for enabling and disabling widgets more easily
2016-10-11 23:12:07 +02:00