Marijn van der Werf
b428a95724
Ride classes
2016-08-07 20:11:43 +02:00
Michał Janiszewski
0ece63a7f6
Wrap RCT2's addresses in RCT2_ADDRESS macro
2016-08-06 21:38:46 +01:00
Marijn van der Werf
5204fb0ce9
Clean up string and sprite ID's ( #3977 )
2016-07-14 14:07:49 +02:00
Sijmen Schoon
fb456a86ea
Fix #4061 : Wrong error message when opening all rides with unfinished rides
...
Show the proper error when opening all rides goes wrong.
2016-07-14 11:26:12 +01:00
Martin Černáč
6e9d1bf1ea
Refactor more string & sprite hard-coded ids ( #3670 )
2016-05-19 18:22:24 +01:00
Ted John
cbf9a393f1
remove use of get_format_arg
...
Because of strict aliasing, we must use memcpy in some cases.
2016-05-15 22:40:25 +01:00
Ted John
1cc35dfe6e
integrate common format args
2016-05-15 22:03:53 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Patrick de Wit
7656cfdcbe
Add rides amount to ride_list window. ( #3461 )
2016-04-30 17:12:12 +01:00
Ted John
1950fad315
add global macros for date
2016-04-23 11:03:34 +01:00
Ted John
307cb9e08b
add global macro: gParkFlags
2016-04-23 00:51:22 +01:00
IntelOrca
8494eb9ff3
fix ride list dropdown, re-regression of #2080
2016-04-09 14:04:09 +01:00
IntelOrca
6484326892
use built ago label for ride list instead of age
2016-02-25 17:59:32 +00:00
Jacob Wallraff
37de903831
Ride option additions
2016-02-25 17:43:29 +00:00
IntelOrca
caf9bd9939
get game working with new theme manager
...
Theme editor currently unavailable.
2016-02-03 18:23:44 +00:00
Michał Janiszewski
6d6f9f3c23
Refactor rides to be only accessible with getters
...
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
Michał Janiszewski
8a5d066efe
Fix strict aliasing violations
...
Compiler only guarantees proper accesses to variables when using
variable's native type or `char` (i.e. single byte type) [1].
This commit fixes violations of this rule. In most cases changing code
to a simple cast was enough, some required a bit deeper modifications.
This fixes #2596 .
[1] http://blog.qt.io/blog/2011/06/10/type-punning-and-strict-aliasing/
2015-12-31 13:27:26 +01:00
Aaron van Geffen
9232a9906f
Inventarised instances of RCT2_ADDRESS_COMMON_FORMAT_ARGS
2015-12-26 18:24:36 +09:00
IntelOrca
48e3d70e57
refactor colour maps
2015-11-08 18:55:32 +00:00
Alexander Overvoorde
01793e11b7
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
2015-10-29 09:44:46 +01:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
IntelOrca
8c276acde7
fix #2085
2015-10-18 21:16:00 +01:00
Sam Horn
34e1e773a7
Fixes #2080
2015-10-18 22:40:07 +10:00
IntelOrca
3855d70d1a
fix dropdown 64 item support and remove old RCT2 addresses
2015-10-14 21:01:04 +01:00
IntelOrca
f906391c9d
remove registers from window events and changed to typed signatures
2015-07-10 01:39:16 +01:00
IntelOrca
e2a694b96e
implement format_string_toupper and litter_create
2015-06-28 17:45:19 +01:00
rd3k
628a586ea2
Tidy window flags
2015-06-13 22:16:14 +01:00
Robert Jordan
e90c724a3a
Rewrote Themes
...
Added rct1 styles and lights.
Themes are now easier to expand
Added features tab to themes window
2015-06-07 20:31:54 -04:00
Robert Jordan
765bf976ee
Renamed Colour Schemes to Themes
...
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan
41171aa304
Resolved Merge Conflicts
2015-05-30 16:00:13 -04:00
Robert Jordan
dc1e38180e
Starting work on colour schemes config settings
2015-05-29 12:04:53 -04:00
IntelOrca
6426adb45d
remove asm for set scroll size and add gCurrentAwards
2015-05-26 19:28:56 +01:00
Gymnasiast
36ccfe77e0
Add GUI option for switching to the RCT1 colour scheme, along with proper invalidation of the affected windows
2015-05-21 12:28:51 +02:00
Gymnasiast
8ed8b56abe
Introduce a config-file option for a RCT1-like colour scheme
2015-05-12 16:13:30 +02:00
Robert Jordan
c25ef45827
Named 2 input flags, and dropdown fix
...
Named INPUT_FLAG_1 to INPUT_FLAG_DROPDOWN_STAY_OPEN
Named INPUT_FLAG_2 to INPUT_FLAG_DROPDOWN_MOUSE_UP
placed RCT2_ADDRESS_INPUT_FLAGS where valid and replaced all bitwise
references to it with appropriate input flags.
Changed ride view dropdown to hold only as it should be.
2015-05-07 14:31:11 -04:00
Kevin Burke
23bfd13ba9
replace ride_window_invalidate flags with constants
2015-03-23 08:33:07 -07:00
Kevin Burke
09431278e4
Name the ride window-invalidate flag
2015-03-23 08:33:07 -07:00
Kevin Burke
6423c857a7
Name var_199 as the downtime parameter
2015-03-22 12:28:55 -07:00
Kevin Burke
3862a85666
Name reliability variables
...
- Rename var_146 to fair_value (it is not reliability)
- Add a helper method get_age_penalty which computes the age penalty for
a ride.
- Adds a constant for a ride's initial reliability
- Names a subroutine
2015-03-22 08:21:13 -07:00
IntelOrca
debafcf051
code set ride status, not yet fixed and tested
2015-01-29 00:16:34 +00:00
Duncan Frost
43550e2a7b
Fix small offset bugs. Label ride offsets
2015-01-24 19:48:26 +00:00
IntelOrca
d7212c1b14
implement inventions list window, fixes #630
2014-12-16 01:24:13 +00:00
IntelOrca
d00001fed2
remove unnecessary header includes
2014-11-30 20:27:14 +00:00
IntelOrca
ece2522273
refactor window search functions
2014-10-16 02:02:43 +01:00
IntelOrca
c8df6174b8
organisation: fix includes
2014-10-06 17:36:58 +01:00
IntelOrca
554e1fe70e
organisation: move files and update project
2014-10-06 10:21:07 +01:00