1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00
Commit Graph

103 Commits

Author SHA1 Message Date
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
IntelOrca
cd99b87de6 add UI for notification settings 2015-12-26 17:30:13 +00:00
Aaron van Geffen
020334fa18 Name rct_window's var_494: highlighted_item. 2015-12-26 18:46:19 +09:00
Aaron van Geffen
9232a9906f Inventarised instances of RCT2_ADDRESS_COMMON_FORMAT_ARGS 2015-12-26 18:24:36 +09:00
LRFLEW
d769a13206 Fixed extern and enum name usage 2015-12-16 14:48:27 -06:00
duncanspumpkin
b7d402cfbe Implement right click scrolling for scroll widgets.
Think this had just been missed. Its heavily modified from the original to match closer to what the rest of the code base does. Fixes #2052.
2015-11-15 13:55:09 +00:00
IntelOrca
48e3d70e57 refactor colour maps 2015-11-08 18:55:32 +00:00
zsilencer
9acfd27735 password prompt for client 2015-11-07 22:26:46 +00:00
zsilencer
3b639ced47 allow host to specify password #2072 2015-11-07 22:25:47 +00:00
IntelOrca
45bfdad4e3 fix #1144 2015-11-02 20:43:55 +00:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Jonathan Haas
ae82ffcd96 Rename window flags 2015-10-03 17:20:53 +02:00
IntelOrca
4f8e289e79 finish server list and fix a couple of multiplayer issues 2015-08-16 17:29:47 +01:00
IntelOrca
094cc19411 allow joining of servers in server list window 2015-08-16 16:37:08 +01:00
IntelOrca
f072440d18 add server list window (WIP) 2015-08-16 03:07:00 +01:00
zsilencer
3b4a4fcdac network status window 2015-08-14 09:13:39 -06:00
zsilencer
1d811a5692 improve chat feature 2015-08-14 09:13:39 -06:00
zsilencer
7ccb0eb655 basic player list 2015-08-14 09:13:38 -06:00
zsilencer
21334e307c move chat window to separate file 2015-08-14 09:13:30 -06:00
IntelOrca
99f2b87043 add chat feature 2015-08-14 09:13:29 -06:00
Gymnasiast
7a445467a4 Use unsigned 16-bit integer 2015-07-29 16:53:04 +02:00
Gymnasiast
a89cee3abf Fix scrollbar getting stuck on large lists 2015-07-29 11:04:38 +02:00
Duncan Frost
a877dd4a5b Get the initial maze construct working.
Note entrances are broken
2015-07-20 18:03:45 +01:00
IntelOrca
5cda9af81f implement window_staff_list_tooldown 2015-07-13 19:51:46 +01:00
IntelOrca
f906391c9d remove registers from window events and changed to typed signatures 2015-07-10 01:39:16 +01:00
Runelaenen
15a4c958eb Changed 'wise' to 'direction' 2015-07-09 14:22:32 +02:00
Runelaenen
bec1a52bba Changed function and occurences
It doesnt have to rotate three times to get an anti-clockwise return.
2015-07-09 14:22:28 +02:00
IntelOrca
f0bba54e79 uncapped FPS: fix viewport chopiness and reset after park load 2015-07-04 23:51:23 +01:00
IntelOrca
46178bb44f implement finish-map-window part 6 2015-07-02 17:00:39 +01:00
IntelOrca
40ba6a3efa remove various callprocs 2015-06-29 17:22:01 +01:00
IntelOrca
57fd914a52 implement ride construction 2015-06-27 15:17:54 +01:00
Robert Jordan
a3a993dabd Title Sequence editor 2015-06-24 12:25:54 -04:00
IntelOrca
2dc03cd45a refactor research window / extract common code 2015-06-18 22:20:49 +01:00
IntelOrca
ce924b4b1b add new custom title sequence to celebrate 0.0.2 release 2015-06-14 21:01:48 +01:00
IntelOrca
b69487cbba add changelog window 2015-06-13 13:30:50 +01:00
IntelOrca
26abb73b8e implement update_cursor_position 2015-06-12 23:29:26 +01:00
rd3k
fb59dab59e Add debug toolbar menu, start tile inspector 2015-06-11 20:51:39 +01:00
IntelOrca
0dd749baac refactor window event calls 2015-06-09 18:29:02 +01:00
LRFLEW
d3a6965f95 Made window_loadsave_open accept a default file name
This fixes #1231, #1245, and adds room for future work, such as porting
track saving.
2015-06-07 17:12:17 -05:00
Gymnasiast
c15da4370a Added cheat to edit land ownership settings in-game 2015-06-07 12:45:55 +02:00
Robert Jordan
9f9143a5c6 textbox widget 2015-06-06 17:04:53 -04:00
Robert Jordan
765bf976ee Renamed Colour Schemes to Themes
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan
41171aa304 Resolved Merge Conflicts 2015-05-30 16:00:13 -04:00
Robert Jordan
53a241d197 Finished ini file loading and removed warnings 2015-05-30 11:52:08 -04:00
Robert Jordan
dc1e38180e Starting work on colour schemes config settings 2015-05-29 12:04:53 -04:00
IntelOrca
6f1cd77f3c implement textinput_cancel and refactor textinput event calls 2015-05-28 01:15:58 +01:00
Jackson Davis
e394c1d0d3 Fix compile error for non-windows 2015-05-26 18:29:31 -07:00
Robert Jordan
16105af1e7 Progress on window colour schemes 2015-05-26 16:59:25 -04:00
IntelOrca
6426adb45d remove asm for set scroll size and add gCurrentAwards 2015-05-26 19:28:56 +01:00
Miso Zmiric (Mike Squinter)
c2c9bbf4ef add twitch integration, part 2 2015-05-25 20:38:33 +01:00