Commit Graph

94 Commits

Author SHA1 Message Date
Michał Janiszewski 934ce5e84e Fix 64 bit by skipping static_asserts for structs with pointers 2016-06-03 10:55:21 +02:00
Michał Janiszewski 60630b9ad7 Drop `PACKED` attribute 2016-06-03 10:55:21 +02:00
Michał Janiszewski df3030e4a9 Provide static_assert for hard-coded struct sizes. 2016-06-03 10:55:21 +02:00
Michał Janiszewski 3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00
Ted John 25ac99e04a add variable for gS6Info 2016-05-20 23:26:19 +01:00
janisozaur 658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
Ted John 1229cbd540 clean up s6 struct a bit 2016-05-11 22:30:25 +01:00
Ted John 56da56b374 add global for gPeepWarningThrottle 2016-05-11 22:30:24 +01:00
Ted John 30a044ae72 add globals for gWeeklyProfitAverage... 2016-05-11 19:41:34 +01:00
Ted John 0f1028c92c add global for gResearchedSceneryItems 2016-05-11 19:41:33 +01:00
Ted John aa929e1593 add globals for researched things, cleanup 2016-05-10 00:00:59 +01:00
Ted John b5c0913b76 add global macros for a few more things, ride rating related and misc 2016-05-09 22:54:22 +01:00
Ted John 5162bc5a0e add global macro for a few ride variables and expenditure table 2016-05-09 22:11:56 +01:00
Ted John d2c5501eea refactor sprite heads and counts 2016-05-09 00:08:03 +01:00
Ted John 5ccfd83dea add global macro for gScenarioTicks 2016-05-08 23:20:42 +01:00
Ted John c77311a113 small fix and refactor of S6Importer / Exporter 2016-05-08 23:16:25 +01:00
Ted John 9d7db70965 export variables individually 2016-05-08 22:35:12 +01:00
Ted John 09fab986ed remove old code 2016-05-08 22:35:10 +01:00
Ted John a86bc57a96 use S6Exporter for scenario_save 2016-05-08 22:35:09 +01:00
Ted John 4eb7a7ee0e add S6 exporter 2016-05-08 22:35:08 +01:00
Ted John 9a61d8c885 add importing of scenarios 2016-05-08 22:35:07 +01:00
Ted John 30467a1467 copy over game variables and refactor a few 2016-05-08 22:35:05 +01:00
janisozaur 68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Gymnasiast 5d0b79227f Clean up some magic values and refactor a bit 2016-05-03 07:25:19 +02:00
Ted John 0f6e64ac76 add global macros for map size and tile loop 2016-04-24 14:00:26 +01:00
Ted John a1150d31cf add global macros for more scenario variables 2016-04-23 18:07:07 +01:00
Ted John ef7dd83735 add pointer variables for scenario name and details 2016-04-23 17:53:25 +01:00
Ted John 463a2f4533 add global macro: gScenarioObjectiveCurrency 2016-04-23 02:23:17 +01:00
Ted John 1f6081c0d9 add global macro: gScenarioObjectiveNumGuests 2016-04-23 02:18:45 +01:00
Ted John 17f5d8cb48 add global macro: gScenarioObjectiveYear 2016-04-23 02:16:32 +01:00
Ted John 35e5c49454 add global macro: gScenarioObjectiveType 2016-04-23 02:14:14 +01:00
Ted John 72e625c5a3 import research list as best as possible 2016-04-22 18:23:57 +01:00
IntelOrca 21e22a2747 reset last autosave time on game start / load 2016-03-13 15:43:03 +00:00
IntelOrca edf16d53d3 fix #1742: Non-ascii characters in scenario details not showing correctly 2016-03-13 15:33:38 +00:00
Marijn van der Werf db34cf1515 Rename struct members to match identified address names 2016-01-15 21:03:17 +01:00
IntelOrca ebd78799c2 correct UK spelling of Haunted Harbour RCT1AA scenario 2016-01-12 23:51:38 +00:00
IntelOrca 99e0d999b2 add timestamp to highscores.dat 2016-01-03 01:48:52 +00:00
IntelOrca ededc82cba add DLC and Build your own scenario classification 2016-01-02 21:06:46 +00:00
IntelOrca aeda8d68f9 add logic for unlocking mega park and making it invisible 2016-01-02 21:05:37 +00:00
IntelOrca 82b05950ff add RCT1 title sequence 2016-01-02 21:05:33 +00:00
IntelOrca 6747f20238 hardcode difficulty for original scenarios 2016-01-02 21:05:31 +00:00
IntelOrca bb84558ae3 fix localisation issues with scenarios 2016-01-02 21:05:09 +00:00
IntelOrca 95ee0be3c5 handle scenario conflicts 2016-01-02 21:05:08 +00:00
IntelOrca 8aa14f876e identify highscores using scenario filenames only 2016-01-02 21:04:45 +00:00
IntelOrca af67cf5703 refactor scenario sources and improve scenario select window 2016-01-02 21:04:44 +00:00
IntelOrca 6a768c4a3c redo entire scenario highscore load / saving
- load and save highscores to new file format (highscores.dat)
- scan scenarios from RCT2 data and user data
- load highscores from legacy file (scores.dat)
- fix various issues with new scenario select window
2016-01-02 21:04:10 +00:00
Aaron van Geffen f7d33f3cab Rename constants et al per code reviewer's request. 2016-01-02 21:03:38 +00:00
Aaron van Geffen e78d37f03c Add information on scenario source games. 2016-01-02 21:00:04 +00:00
Kyle Kirby caf07c2064 Clean up the comments a litte
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06:00
IntelOrca 7f541240e2 fix #2279, make game remember save path rather than filename 2015-11-11 21:37:26 +00:00