IntelOrca
934bf28cc1
change scenario select to callback mechanism
2016-02-13 11:32:34 +00:00
IntelOrca
17a48db98c
fix duplication of theme
2016-02-03 18:39:08 +00:00
IntelOrca
72bed4f677
fix theme window strings
2016-02-03 18:28:25 +00:00
IntelOrca
c99ec93295
add theme entries for new windows
2016-02-03 18:23:47 +00:00
IntelOrca
7e1ce4fcc6
reinstate theme editor and fix bugs
2016-02-03 18:23:45 +00:00
IntelOrca
caf9bd9939
get game working with new theme manager
...
Theme editor currently unavailable.
2016-02-03 18:23:44 +00:00
IntelOrca
0eb57e5fb5
start work on theme manager
2016-02-03 18:23:43 +00:00
IntelOrca
de17eb7279
improve Theme to use List and Json
2016-02-03 18:23:42 +00:00
IntelOrca
470ac384e2
refactor window themes and use JSON for format
2016-02-03 18:23:40 +00:00
IntelOrca
0360a808c3
fix shortcut reading and defaults
2016-01-24 16:09:45 +00:00
Aaron van Geffen
2d90bc8354
Allow assigning a shortcut to the options window.
2016-01-25 00:45:24 +09:00
Ted John
6eaa93c9bc
Merge pull request #2783 from zsilencer/multiplayer
...
MP groups and permissions
2016-01-24 12:29:27 +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
zsilencer
6e3068cd0a
MP groups and permissions
2016-01-20 21:42:31 -07:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
duncanspumpkin
3b760ba39c
Fix windows build. Now uses the correct ISO C strdup function.
2016-01-16 09:49:39 +00:00
Ted John
e69e384d43
Merge pull request #2692 from marijnvdwerf/use-named-addresses
...
Replace known addresses with constants, globals and wrapper functions
2016-01-15 22:59:13 +00:00
Ted John
36513c9431
Merge pull request #2730 from janisozaur/config
...
Release config on closing to limit leaked memory
2016-01-15 20:12:29 +00:00
Marijn van der Werf
6568798af7
Use globals instead of addresses where applicable
2016-01-15 21:01:49 +01:00
Marijn van der Werf
98b5ad1bf4
Replace known addresses with constants
2016-01-15 21:01:34 +01:00
duncanspumpkin
10f85322ae
Fix incorrect rct2 address comments
2016-01-15 19:17:00 +00:00
Michał Janiszewski
ab3d2a1ad9
Release config on closing to limit leaked memory
2016-01-15 14:55:36 +01:00
IntelOrca
cdee534eb1
use SDL2's platform defines to normalise platform guards
2016-01-14 20:12:43 +00:00
Marijn van der Werf
a85b2d3982
Show ALT as OPTION in keyboard shortcut list
2016-01-12 23:05:03 +01:00
Marijn van der Werf
72739e8cd8
Allow setting CMD as shortcut key
2016-01-12 22:29:36 +01:00
zsilencer
2059b93dbc
Fix #2693 : Chat caret
2016-01-11 11:20:14 -07:00
Marijn van der Werf
e961cc885a
Use RCT2_ADDRESS_COMMON_FORMAT_ARGS instead of raw address
2016-01-11 12:55:33 +01:00
IntelOrca
17c01a36a7
don't paint track of an invalid ride, should help reduce crashes
2016-01-07 23:16:17 +00:00
IntelOrca
43a5cc92cc
define STR_NONE as a rct_string_id
2016-01-07 22:14:53 +00:00
IntelOrca
40a4bd1fa8
remove old object_paint calls, replace with new
2016-01-07 19:01:19 +00:00
IntelOrca
ab38828e03
integrate object list variables:
...
- gInstalledObjectsCount
- gInstalledObjects
- gNumInstalledRCT2Objects
- gNumInstalledCustomObjects
- gLastLoadedObjectChunkData
2016-01-06 20:41:21 +00:00
IntelOrca
50eaa99eac
fix widget index size & size for consistency
2016-01-05 23:16:09 +00:00
IntelOrca
94ae72f228
integrate variable: gHoverWidget
2016-01-05 22:05:00 +00:00
IntelOrca
586e5ef9cd
integrate variable: gPressedWidget
2016-01-05 21:46:38 +00:00
IntelOrca
e94b7d5338
fix unable to right click to remove scenery
...
regression introduced f0adf90660
2016-01-05 20:53:08 +00:00
LRFLEW
db76615af0
Fixed typo in viewport_interaction.c
2016-01-05 00:17:10 -07:00
IntelOrca
88c391120a
integrate tooltip variables
2016-01-05 00:02: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
IntelOrca
9eacd3532b
use correct window variable for highlighted scenario
2016-01-02 21:13:24 +00:00
IntelOrca
82b05950ff
add RCT1 title sequence
2016-01-02 21:05:33 +00:00
Hielke Morsink
b6c1f3a6c4
Fix #2609 disabling hotkeys for game speed while playing online.
2016-01-02 11:42:51 +01:00
Duncan
5b9a98a0f9
Merge pull request #2588 from HaasJona/refactor2
...
Refactor peep code
2016-01-01 22:22:18 +00:00
Hielke Morsink
f04c97fbc1
Getting path scenery type and index using helper functions throughout the entire project.
2016-01-01 21:28:53 +01:00
Jonathan Haas
4d26e4c4a1
Refactor peep code
...
Name various fields and constants related to peeps. This includes:
- Flags for flashing peeps in map window
- Animation frames for picked up peeps
- Function checking if peep should start to fall
- Special sprite handling for slide boards and lawn mowers
- Created array for peep sprite entries, renamed some variables and constants
2015-12-31 13:57:06 +01:00
Michał Janiszewski
8a5d066efe
Fix strict aliasing violations
...
Compiler only guarantees proper accesses to variables when using
variable's native type or `char` (i.e. single byte type) [1].
This commit fixes violations of this rule. In most cases changing code
to a simple cast was enough, some required a bit deeper modifications.
This fixes #2596 .
[1] http://blog.qt.io/blog/2011/06/10/type-punning-and-strict-aliasing/
2015-12-31 13:27:26 +01:00
Ian Spence
ae7da3e830
Fix #2550 Program crashes when executing "exit" command from the console
...
- exit and quit commands are aliased to "hide"
- value of the command was being set to a constant value and could not be freed
- updated command value to use a freeable value
2015-12-30 08:57:43 -08:00
IntelOrca
00e5c4418d
refactor image IO to new source file
2015-12-30 13:36:09 +00:00
Michał Janiszewski
9321c53b87
Enable libpng on Linux builds
...
Lodepng is still available.
2015-12-30 13:34:51 +00:00
IntelOrca
8ae43fd0ff
use libpng for screenshots
2015-12-30 13:34:51 +00:00