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
LRFLEW
5d19c44e46
Fixed autosaves preventing saving before quitting dialog from appearing
2015-08-20 20:57:09 -05:00
zsilencer
7322307a04
fix issues with pausing in multiplayer
2015-08-19 20:34:52 -06:00
Runelaenen
3b1708f1be
Wrong logging fixed
2015-08-19 23:09:54 +02:00
Runelaenen
d34a446d61
Easier saving
...
Replace Save game functionality and add 'save game as' function
2015-08-19 22:02:06 +02:00
Gymnasiast
4fa571a041
Add option to allow loading scenarios with an incorrect checksum
2015-08-18 10:47:31 +02:00
medsouz
150fe74e4e
Remove unused code
...
0x009DEA5C is set but never read
0x009AAC73 is normally set to 0 when the screen resolution is changed to
delay saving the config. This is no longer neccesary in OpenRCT2
2015-08-16 15:30:37 -04:00
medsouz
ca1a1e0ddd
Document various memory addresses
2015-08-16 13:05:49 -04:00
zsilencer
ad70dbb84c
map load on join
2015-08-14 09:13:40 -06:00
Gymnasiast
86bcbafc01
Rename finance_mark_loan_settings_as_legitimate() to finance_update_loan_hash()
2015-08-13 09:00:49 +02:00
Gymnasiast
e9637978a1
Fix cheat detection when using Scenario Options in-game, rename sub_69E869()
2015-08-12 16:12:34 +02:00
IntelOrca
799cb53ec7
implement utf8, part 18
2015-08-01 10:20:59 +01:00
IntelOrca
fe69ad6d53
fix day / night cycle for title sequence
2015-07-24 23:05:31 +01:00
IntelOrca
5f69e6f37a
add cycle day / night
2015-07-24 22:58:41 +01:00
IntelOrca
1662b18a7e
fix #1662 , consistent location sign
2015-07-23 18:38:43 +01:00
IntelOrca
445d603abe
refactor various things such as scenario begin and staff mode reset, add rct1 ride struct
2015-07-14 18:18:28 +01:00
Gymnasiast
a63642b630
Fix some warnings
2015-07-13 11:50:09 +02:00
zsilencer
6e3ff0e1df
refactor tween reset
...
Conflicts:
src/game.c
2015-07-11 12:30:39 +01:00
zsilencer
b876591543
use SDL_RWops for save games
2015-07-11 12:27:46 +01:00
IntelOrca
f0bba54e79
uncapped FPS: fix viewport chopiness and reset after park load
2015-07-04 23:51:23 +01:00
Chris
930ab6ac53
Removed comment
...
As requested
2015-07-04 03:37:38 -06:00
Chris
f230033eb0
Fixed #1538 "Meeting the condition of having x guests..."
2015-07-04 02:54:40 -06:00
Robert Jordan
5645d8bd8a
Added Game Speed command
2015-06-25 11:19:23 -04:00
IntelOrca
8416596bf8
implement park_update_histories
2015-06-20 17:28:17 +01:00
IntelOrca
2452767fdd
Merge branch 'pre-release-0.0.2' into develop
2015-06-19 11:42:19 +01:00
IntelOrca
1556a168e4
fix #1380
2015-06-17 23:01:14 +01:00
IntelOrca
34924963b9
Merge branch 'pre-release-0.0.2' into develop
2015-06-16 21:29:34 +01:00
IntelOrca
32046c3c0a
improve saving of S6 data and remove ghost banners / user strings
2015-06-15 22:08:03 +01:00