Ted John
ee509caf35
integrate game paused variable and refactor
2016-04-23 13:34:55 +01:00
Ted John
4cdb2df9dc
integrate screen variables
2016-04-23 11:16:46 +01:00
Ted John
3bd21240ed
add global macros for climate variables
2016-04-23 10:53:48 +01:00
Ted John
467513616d
add global macro: gCurrentTicks
2016-04-23 02:49:24 +01:00
Ted John
11a2ba0133
add global macro: gCashEncrypted
2016-04-23 01:58:54 +01:00
Ted John
b59f5c17ca
add global macros for park...
...
- gParkSize
- gParkEntranceFee
- gNumGuestsInPark
2016-04-23 01:00:00 +01:00
zsilencer
b257e431d9
Get rid of using user_strings for interface
2016-04-20 01:49:15 -06:00
Ted John
3405fd5bad
fix #3352 : assertion trigger while fixing tiles
...
Remove assertion and add warning message instead.
2016-04-19 23:14:02 +01:00
Derek Lee
c4226235e3
Add cheat to disable littering
...
Add cheat and increment NETWORK_STREAM_VERSION
2016-04-18 23:34:10 -07:00
Ted John
63f008566c
Merge branch 'master' into develop
2016-04-15 23:25:45 +01:00
Ted John
faa2fb4fa1
fix #3314 : save custom objects when quick-saving
2016-04-15 21:22:23 +01:00
Ted John
1b3f46f960
integrate game command error string variables
...
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
d865e4d453
pass better data in struct to file dialog function
2016-03-31 20:41:47 +01:00
Ted John
7348324d99
Merge pull request #3135 from duncanspumpkin/fix_3123
...
Fix #3123 and refactor of banner placement.
2016-03-21 21:27:46 +00:00
IntelOrca
ad250d6ab0
fix #3151 : Save any file with korean would corrupt save file
2016-03-19 13:56:33 +00:00
IntelOrca
cb9a4860f3
fix #3146 : some utf8 strings were truncated on save
...
strncpy can't be used for RCT2 strings as its a mix of byte / widechar
2016-03-19 11:16:11 +00:00
duncanspumpkin
e30c2aeea8
Fix #3123 and refactor of banner placement.
...
This fix needs testing as it might mess up nested game commands.
2016-03-13 18:40:50 +00: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
IntelOrca
bb7765fedf
fix #2935 : Construction window doesn't close automatically in multiplayer
2016-03-05 13:11:06 +00:00
Gymnasiast
ddf3d7a03d
Consistently use 'colour' rather than 'color'
2016-02-28 20:32:02 +01:00
Ted John
0f2177e330
Merge pull request #3033 from Gymnasiast/name-and-remove-park-flags-8
...
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:43:57 +00:00
Gymnasiast
55a2b25f0f
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:55:49 +01:00
zsilencer
9b3d36eb95
Fix #2988 : utf8 strings not working in multiplayer
2016-02-26 23:00:58 -07:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Martin Černáč
4a97743276
Fix multiplayer weather cheat
...
While refactoring the freeze-climate cheat I noticed the state was not being transmitted over the network. This commit fixes that
2016-02-19 18:23:13 +01:00
Ted John
9c5196e9dc
Merge pull request #2952 from octaroot/cheat_neverending_marketing
...
Add "neverending marketing" cheat
2016-02-17 12:28:37 +00:00
Martin Černáč
6c225b9fb1
Make "neverending marketing" cheat multiplayer-friendly
2016-02-17 09:36:04 +01:00
IntelOrca
13921111f3
remove old RCT2 cursor code and RCT2 error location variable
2016-02-16 20:30:43 +00:00
IntelOrca
38fda5debf
remove old redundant RCT2 platform code
2016-02-16 20:23:32 +00:00
Ted John
703e9c3153
Merge pull request #2839 from anyc/develop
...
Linux: use zenity or kdialog to show user dialogs
2016-02-13 12:15:41 +00:00
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
anyc
ffafd07c90
use enum to specify file dialog type
2016-01-29 19:03:09 +01:00
zsilencer
32f1aa064d
more accurate last player action location
2016-01-24 21:00:31 -07:00
zsilencer
74225ad4bc
fix issue with group name string ids after loading new map
2016-01-24 18:33:28 -07:00
zsilencer
8c608b6f6c
fix issues with a few game commands
2016-01-23 17:33:08 -07:00
zsilencer
db90477cae
add locate player's most recent action button
2016-01-23 14:16:26 -07:00
zsilencer
de1fa24e7b
add last player action to player list
2016-01-23 12:32:02 -07:00
zsilencer
62c1780d65
fix couple other issues mentioned in pull request
2016-01-22 17:08:06 -07:00
zsilencer
c557f02f4b
fix issue with incorrect game_command_playerid
2016-01-22 16:57:00 -07:00
zsilencer
1277c1a0d2
MP permissions update 2
2016-01-22 11:12:35 -07:00
zsilencer
7a249c6457
Add ability to toggle individual action permissions
2016-01-21 20:32:51 -07:00
zsilencer
6e3068cd0a
MP groups and permissions
2016-01-20 21:42:31 -07:00
zsilencer
6a13de29c8
Fix #2591 : Close client after loading save
2016-01-19 12:27:43 -07:00
Michał Janiszewski
3bf1e0e06d
Rename `safe_strncpy` to `safe_strcpy`
2016-01-18 20:49:52 +01:00
IntelOrca
3073bc64fd
remove rct2_endupdate
2016-01-09 00:25:30 +00:00
IntelOrca
e4c6c79552
fix #2650 : validate game commands sent from clients in multiplayer
2016-01-05 18:30:39 +00:00
Ted John
f4a25bd55e
Merge pull request #2641 from Broxzier/fix_saving
...
Prevent extension from showing when "saving as"
2016-01-05 10:14:20 +00:00
Hielke Morsink
3641634aad
Prevent extension from showing when saving a park for the first time.
2016-01-05 00:23:51 +01:00
IntelOrca
0c933234e0
remove all tutorial code
2016-01-04 23:21:23 +00:00
IntelOrca
f0adf90660
integrate variable: gInputFlags
2016-01-04 22:53:03 +00:00
IntelOrca
b5069d3809
integrate variable: gInputState
2016-01-04 22:45:51 +00:00
Maximilian Irlinger
a0bb568889
Append timestamp to autosave
2016-01-04 16:22:15 +01:00
IntelOrca
64b589770a
remove obsolete callprocs
2015-12-29 11:57:47 +00:00
Ted John
69f0e9d55d
Merge pull request #2398 from Broxzier/comments_and_optimizations
...
Refactored some util functions and some minor tweaks for saving tracks
2015-12-29 11:31:58 +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
Hielke Morsink
65a0dcbc8a
Fixed #2407 - Prevent prompt from showing shortly after loading a second park.
2015-12-01 18:21:47 +00:00
Hielke Morsink
90e67772e0
Resolved warnings, and removed duplicated function.
2015-12-01 12:03:34 +01:00
Hielke Morsink
5b1d93805d
More consistent use between name and paths. Improved path_get_* functions.
2015-11-29 19:41:06 +01:00
Hielke Morsink
0909ba8ab4
fixed #2226 : resetting screen age when quick saving
2015-11-29 17:18:41 +00:00
IntelOrca
c6056cbb6c
Merge branch 'pre-release-0.0.3' into develop
...
Conflicts:
src/audio/audio.c
2015-11-27 22:05:40 +00:00
duncanspumpkin
691aec5035
Fix #2381 . Map animation invalidate now called during pause mode
...
This was causing the number of map animations to skyrocket as there was no way to remove animations caused by ghosts. This shouldn't progress the animation only remove invalid animations.
2015-11-27 18:40:37 +00:00
Dom Light
3a8b25a0ee
Sanitize audio.h
2015-11-17 01:05:14 +00:00
duncanspumpkin
d0332c81d8
Refactor and move wide flag code.
2015-11-14 00:08:31 +00:00
IntelOrca
7f541240e2
fix #2279 , make game remember save path rather than filename
2015-11-11 21:37:26 +00:00
zsilencer
1e9381ef97
master server list
2015-11-07 22:27:51 +00:00
IntelOrca
c7a85c5114
add desync debug checks for scenario_rand
2015-11-07 17:56:19 +00:00
Flukiestemperor
c8701ef01e
partially fix #2181
...
create common function
2015-11-03 16:11:11 -06:00
zsilencer
a95357a32d
signs and banners editable in multiplayer
2015-10-31 11:07:36 -06: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
Flukiestemperor
a819a6f177
Fix crash when map element is null in a save
2015-10-30 06:47:05 -05:00
Alexander Overvoorde
01793e11b7
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
2015-10-29 09:44:46 +01:00
zsilencer
00e2ca43a1
ipv6 support, non-blocking address resolve and connect
2015-10-26 22:35:34 -06:00
Michał Janiszewski
8e45cccb7a
Minor fixes
...
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
zsilencer
ae6c88d1ce
remove unused/redundant RCT2_GLOBALS fix #2065 and cleanup
2015-10-16 02:31:31 -06:00
IntelOrca
8ec4d61739
add callfunc wrappers for the last three remaining game commands and remove original call table
2015-10-10 20:26:17 +01:00
Ted John
6c84b06fbd
Merge pull request #2047 from janisozaur/memory
...
Memory
2015-10-10 11:57:51 +01:00
Jonathan Haas
3a11bbb6d4
Recalculate peep count after loading a save
2015-10-10 12:50:29 +02:00
Michał Janiszewski
74d0b033df
Name RCT2_ADDRESS_PALETTE
2015-10-09 20:20:05 +02:00
duncanspumpkin
3f77a6778a
Implemented game_command_set_land_ownership.
...
Refactored map buy land rights for tile as it was partially broken and used a very odd style.
2015-10-04 00:07:22 +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
duncanspumpkin
33e04b8bd6
Implement game_command_place_park_entrance
2015-10-01 21:24:24 +01:00
duncanspumpkin
b5711638bc
Implement game_command_set_peep_name
...
Note this is how most of the existing cheats are used
2015-09-30 21:55:36 +01:00
duncanspumpkin
ecc2f74b63
Implement game command footpath from track.
...
Fixes #1954
2015-09-29 23:07:07 +01:00
nightroan
bd51c7ed80
Fixed #1939 by adding a callback to delay selection of the next piece until the server sends back the placement command.
2015-09-25 23:57:15 -07:00
zsilencer
9ac89c2b5e
remove directsound and get sound working for linux native
2015-09-23 09:42:55 -06:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
Gymnasiast
4d7a81bfe0
Remove unnecessary duplicate address, use more string constants
2015-08-27 16:44:18 +02:00
IntelOrca
1a877e637d
refactor sprite_invalidate
2015-08-22 11:56:32 +01:00
zsilencer
7322307a04
fix issues with pausing in multiplayer
2015-08-19 20:34:52 -06:00
zsilencer
5bb3218d4c
make desync detection work again
2015-08-19 19:07:11 -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
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
Ted John
5452eb9b73
Merge pull request #1798 from medsouz/documentaddresses
...
Document various memory addresses
2015-08-16 18:43:20 +01:00
medsouz
ca1a1e0ddd
Document various memory addresses
2015-08-16 13:05:49 -04:00
IntelOrca
4f8e289e79
finish server list and fix a couple of multiplayer issues
2015-08-16 17:29:47 +01:00
IntelOrca
9746bccbf6
improve multiplayer
2015-08-15 23:19:15 +01:00