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

495 Commits

Author SHA1 Message Date
duncanspumpkin
9018120c17 Change order of parameters in image setup code. 2016-03-25 18:35:00 +00:00
IntelOrca
74d96d86c0 fix #3158: close network status window doesn't abort 2016-03-22 23:27:49 +00:00
IntelOrca
5c2c0c9c57 fix #3142: Localisation - Text out of borders 2016-03-16 18:17:24 +00:00
IntelOrca
50b52140ad fix #3133: Game Crashes when writing 'hide' into the console 2016-03-12 15:40:57 +00:00
IntelOrca
1daa657657 fix #3091: Korean words corrupted if over byte limit 2016-03-10 18:48:00 +00:00
IntelOrca
1c36392f8d fix #3115: Not able to create Themes - Missing folder
- Create the themes directory before saving a theme.
2016-03-08 18:03:07 +00:00
Ted John
4c60c124c9 Merge pull request #3089 from janisozaur/integrate
Integrate 0x00F1AD14, 0x00F1AD18
2016-03-05 11:22:34 +00:00
TELK
7f24629962 Update chat.c 2016-03-05 19:24:25 +09:00
TELK
d3e8a3e866 Update chat.c 2016-03-05 19:19:58 +09:00
Michał Janiszewski
6dbe78b318 Integrate 0x00F1AD14, 0x00F1AD18 2016-03-05 00:40:06 +01:00
zsilencer
66e406ab75 Fix #3048: Remove format codes in player names and chat 2016-02-29 21:33:46 -07:00
duncanspumpkin
70f38aa68f Fix support drawing issue 2016-02-29 19:54:05 +00:00
IntelOrca
4d6cce3cae play a sound when a screenshot is taken instead of an error message 2016-02-29 18:24:28 +00:00
duncanspumpkin
24df65af9d Label current paint tile max height 2016-02-29 18:04:48 +00:00
Gymnasiast
ddf3d7a03d Consistently use 'colour' rather than 'color' 2016-02-28 20:32:02 +01:00
Ted John
f2b96ca4a6 Merge pull request #3018 from Gymnasiast/fix-8cars-invisibility
Support 8 cars MOM properly while keeping our own corrupted element, fixes #2706
2016-02-26 15:30:20 +00:00
Gymnasiast
4f4111dedb Support 8 cars MOM properly while keeping our own corrupted element 2016-02-26 15:46:14 +01:00
Michał Janiszewski
c0caf2d222 Minor fixes 2016-02-26 11:40:07 +01:00
Ted John
74973a4a97 Merge pull request #2950 from janisozaur/ride-names
Rename ride_entry functions and provide better logging
2016-02-25 12:43:19 +00:00
Michał Janiszewski
14bff0c66f Rename rct_ride_type to rct_ride_entry 2016-02-25 13:33:19 +01:00
IntelOrca
a489fac185 implement mouse wheel for land tool size, closes #2260 2016-02-24 21:49:56 +00:00
Ted John
50b42a96ce Merge pull request #2982 from duncanspumpkin/sprite_flags
Refactor sprite_flags
2016-02-23 19:32:42 +00:00
Ted John
f2a4dcddc8 Merge pull request #2998 from janisozaur/performance2
Improvements to sprite_paint_setup
2016-02-23 18:51:20 +00:00
duncanspumpkin
53df541a39 Relabelled sprite_flags to flags. Relabelled peep/fountain flags 2016-02-23 17:22:19 +00:00
duncanspumpkin
5340af4a12 Refactor sprite_flags 2016-02-23 17:09:53 +00:00
Michał Janiszewski
d375015975 Mark map element getters const
While it doesn't change a lot in terms of performance, it helps out
compiler being a bit smarter about inlining and reordering things (as
evidenced by generated assembly).
2016-02-23 15:12:48 +01:00
Michał Janiszewski
2a2a188a8b Improvements to sprite_paint_setup
This includes following changes:
* Reorder exit conditions by frequency they're hit at, this makes the
  function exit earlier in many cases without having to do expensive
  accesses to global memory.
* The code in C tested (eax > 0x2000) || (ecx > 0x2000) while I believe
  it was meant to check for >= instead (`cmp ax,2000h; jnb`)
* The check mentioned above was changed to be expressed more concisely:
  `((eax | ecx) & 0xe000)`, which generates a single `test` instead of
  two.

It improves performance by 1-2fps in parks that rely heavily on this
function, like the mega-micro park from
https://github.com/OpenRCT2/OpenRCT2/issues/2589
2016-02-23 14:18:53 +01:00
Michał Janiszewski
cafed8551b Optimise accesses to get_current_rotation() 2016-02-19 23:56:08 +01:00
Alexander Overvoorde
316abb1df9 Change screenshot logic to use palette that is actually used for rendering (fixes #2925) 2016-02-15 03:23:47 +01:00
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