1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00
Commit Graph

141 Commits

Author SHA1 Message Date
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Ted John
4bf9748143 fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
2016-07-11 22:09:15 +01:00
Ted John
5785020b07 fix clip size of preview 2016-07-09 01:28:57 +01:00
Ted John
78c6b6a251 remove all unnecessary object resets 2016-07-08 22:58:38 +01:00
Ted John
9801e92d79 fix track manager object filtering 2016-07-08 22:58:38 +01:00
Ted John
d7e1933f12 fix track manager preview 2016-07-08 22:58:38 +01:00
Ted John
f59d6b7a00 implement unloading arbitrary objects 2016-07-08 22:58:38 +01:00
Ted John
42ad4ddfd1 fix minor errors 2016-07-08 22:58:38 +01:00
Ted John
e8635c1307 prepare for better object loading 2016-07-08 22:58:38 +01:00
Ted John
faf1f08b7f fix loading object via console 2016-07-08 22:58:38 +01:00
Ted John
8d168fb2ce remove more old object code 2016-07-08 22:58:38 +01:00
Ted John
a47c039f22 remove lots of old object code 2016-07-08 22:58:38 +01:00
Ted John
7e1f948e19 remove required flag (unused) and fix scenery selection 2016-07-08 22:58:38 +01:00
Ted John
4bed693344 fix basic object selection 2016-07-08 22:58:38 +01:00
Ted John
ebcbb085d2 add ride previews 2016-07-08 22:58:38 +01:00
Ted John
13a560fb1d fix ride type sorting and add water preview 2016-07-08 22:58:38 +01:00
Ted John
f6d6d93580 fix highlight object in object selection 2016-07-08 22:58:38 +01:00
Ted John
554d445db4 migrate more of object selection 2016-07-08 22:58:38 +01:00
Ted John
343623c815 move more code from old object list to new repository 2016-07-08 22:58:38 +01:00
Ted John
db304cdfcb fix filtering on object selection 2016-07-08 22:58:38 +01:00
wolfreak99
f9f0df82e5 refactor dropdown index to enum 2016-06-27 13:32:43 -04:00
wolfreak99
2960338268 numObjects to gInstalledObjectsCount 2016-06-21 15:15:01 -04:00
wolfreak99
08b5a1dc22 Switch from bools to filter_flags 2016-06-21 14:59:13 -04:00
wolfreak99
b587b15ddd Formatting improvements (pt 1) 2016-06-21 14:30:07 -04:00
wolfreak99
4afdf20f14 Do not show selected and non-selected in track manager mode (as track manager is a single-select interface) 2016-06-21 10:16:51 -04:00
wolfreak99
332e62b296 Add seperator to filter dropdown 2016-06-17 07:57:04 -04:00
wolfreak99
b66129db7b Filter Object Selection by "Selected only" and "Non-selected only" 2016-06-17 04:46:30 -04:00
Ted John
d07b9535c2 integrate variables: object entry lists 2016-06-16 11:36:15 +02:00
Duncan
8e8474c400 Modify object selection to only research selected item when adding new objects during a game. (#3762) 2016-05-28 09:30:31 +01:00
Ted John
25ac99e04a add variable for gS6Info 2016-05-20 23:26:19 +01:00
Martin Černáč
6e9d1bf1ea Refactor more string & sprite hard-coded ids (#3670) 2016-05-19 18:22:24 +01:00
Martin Černáč
3bdc06dc25 Refactor hard-coded strings to use string_ids.h constants (and couple sprites too) (#3658) 2016-05-18 21:51:37 +01:00
Ted John
8d4e4ed0e9 remove unread RCT2_GLOBALs 2016-05-17 23:39:37 +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
ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
janisozaur
feb140b84c Revert part of last commit unsuitable for older compilers (#3584)
Also initialise all the items in gResearchedTrackTypesA and
gResearchedTrackTypesB
2016-05-13 10:36:24 +01:00
janisozaur
87d05f8a89 Fix compiler warnings (#3583)
Includes:
* type casting
* properly counting fields to initialise
2016-05-13 08:05:12 +01:00
janisozaur
658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
Ted John
aa929e1593 add globals for researched things, cleanup 2016-05-10 00:00:59 +01:00
Ted John
1908743c71 refactor track save, move into own source 2016-05-08 14:03:49 +01:00
Ted John
77e7313540 move track design related functions to new source 2016-05-08 14:03:48 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
489ea66cc9 add global macro for gCurrentFontSpriteBase and gCurrentFontFlags 2016-04-25 23:00:58 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Michał Janiszewski
b7f9af41a8 Only initialize structs with compile-time consts
See https://stackoverflow.com/a/32584666
2016-04-21 22:20:24 +02:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
Marco van Munster
8db1f27534 Fix bug 3198 different vehicles research tree 2016-03-30 22:33:26 +02:00
Michał Janiszewski
14bff0c66f Rename rct_ride_type to rct_ride_entry 2016-02-25 13:33:19 +01:00