zsilencer
b2083deed0
implement cheats over multiplayer
2016-02-02 14:08:59 -07:00
zsilencer
b23748c015
fix 2 sources of very common desyncs
2016-02-02 14:08:59 -07:00
Chad Anderson
bc92446d32
New Game Option
...
I added a menu option to bring up the Scenario Selector from within
game, so that you can easily choose a new level without needing to load
the Title Screen.
2016-01-25 13:15:26 -07:00
IntelOrca
62eeaaf405
fix severe regression from #2787 , use object entry array instead of ride entry array
2016-01-23 12:47:04 +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
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
IntelOrca
43a5cc92cc
define STR_NONE as a rct_string_id
2016-01-07 22:14:53 +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
212b8bfa10
translate scenarios by raw normalised name
2016-01-02 21:06:00 +00:00
IntelOrca
8f5a9cfade
fix issue caused by not copying filename string
2016-01-02 21:05:37 +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
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
3bad0870fb
Added routines to find scenario index and source from predefined listings.
2016-01-02 21:00:05 +00:00
Aaron van Geffen
e78d37f03c
Add information on scenario source games.
2016-01-02 21:00:04 +00:00
IntelOrca
574774b2af
add notification conditions
2015-12-26 17:33:33 +00:00
Aaron van Geffen
2c5651614c
Corrected misspellings of "substitute".
2015-12-23 00:40:36 +09: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
08fc36ee49
fix #2449 : Turning off Day/Night Circle while it is night doesn't reset back to day
2015-12-08 20:50:30 +00:00
IntelOrca
8de299cc06
fix #2415 : day / night cycle not working
2015-12-01 18:26:02 +00:00
Michał Janiszewski
39cc16d137
Plug memory leaks, check memory accesses
2015-11-29 12:15:47 +01:00
IntelOrca
cf1961b725
fix #2385 : Parks created with scenario editor do not have correct initial temperature
2015-11-28 12:24:19 +00:00
Michał Janiszewski
075b98e209
Minor cleanups
...
Mostly just setting variables to better define game state, with one
minor update of decompilation where an `or` instruction was used in
place of `mov` (in `sub_6CBCE2`).
2015-11-12 12:19:40 +01:00
IntelOrca
7f541240e2
fix #2279 , make game remember save path rather than filename
2015-11-11 21:37:26 +00:00
IntelOrca
c7a85c5114
add desync debug checks for scenario_rand
2015-11-07 17:56:19 +00:00
Michał Janiszewski
c0e2a5c7be
Add get_current_rotation function and DEBUG_LEVEL macros
2015-11-02 22:58:15 +01:00
IntelOrca
a0909a242d
fix several safe_strncpy calls
2015-11-02 21:23:01 +00:00
duncanspumpkin
4c72710e02
Fix issue introduced in last commit
2015-11-02 20:08:55 +00:00
duncanspumpkin
ddd6b63d09
Fix #2173 . Entrance fee too high can no longer be a news item if no money is on.
...
This is kind of an original bug because the game doesn't check normally to see if money is on during this. I didn't want to reset the entrance fee as then it would be annoying switching between the two states. The peeps don't pay if no money is on so nothing is lost.
2015-11-02 20:03:06 +00:00
Michał Janiszewski
9284930d7e
Add safe_strncpy function
...
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
00a347159c
Type fixes, remove unused variable
2015-10-29 21:25:26 +01:00
Alexander Overvoorde
111ddeb445
Replace old RCT2_ADDRESS_RIDE_ENTRIES accesses by GET_RIDE_ENTRY()
2015-10-29 09:44:46 +01:00
Alexander Overvoorde
060d41f5a0
Replace raw addresses in RCT2_ADDRESS() with identifiers
2015-10-29 09:44:46 +01: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
9572f1b532
type and const fixes for sawyercoding
2015-10-12 23:09:49 +02:00
Ted John
06f7740518
Merge pull request #2039 from HaasJona/peep_count
...
Recalculate peep count after loading a save
2015-10-10 11:55:18 +01:00
Jonathan Haas
3a11bbb6d4
Recalculate peep count after loading a save
2015-10-10 12:50:29 +02:00
duncanspumpkin
5a59e7fed4
Fix issue with last commit
2015-10-09 22:25:30 +01:00
duncanspumpkin
59cdff7055
Potential fix to #639 .
...
The scenario name was missing its null to indicate the end of the string. This would cause scenarios to have odd fileNames that are compared against to compare a scenario against the scenario list
2015-10-09 22:11:28 +01:00
Jonathan Haas
8463e58922
Define some tick related addresses
2015-10-03 20:00:29 +02:00
Alexander Overvoorde
377650d9f5
Change autosave system to use wall-clock time based frequencies
...
The autosave system will now use frequencies based on wall-clock
time rather than in-game time, for example every 15 minutes. This
frequency is not affected by pausing the game or changing the game
speed. The default frequency is every 5 minutes.
2015-10-03 14:25:59 +02:00
Rune Laenen
7934e2efd2
Fix issue 1942
2015-10-02 14:16:02 +02:00
Michał Janiszewski
d58b4e3589
memory safeness
...
Just some more memory checks.
One memset appears to be wrong, is fixed now.
I think this might fix #1928 , but please check.
2015-09-13 21:45:57 +02:00
Michał Janiszewski
788e988992
Memory access fixes
2015-09-12 00:16:05 +02:00
IntelOrca
fddf057d68
add scenario overrides
2015-09-08 21:37:25 +01:00
IntelOrca
8c44ddac17
fix 2nd problem of #1848
2015-09-05 20:06:58 +01:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
IntelOrca
7a4c418d9e
fix #1487
2015-08-28 17:55:50 +01:00