1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Michał Janiszewski
3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00
Michał Janiszewski
268baa62f7 Add restrict for drawing function (#3793) 2016-06-01 15:40:31 +01:00
janisozaur
658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
489ea66cc9 add global macro for gCurrentFontSpriteBase and gCurrentFontFlags 2016-04-25 23:00:58 +01:00
Ted John
0a80e7a737 integrate pickup peep variables 2016-04-24 10:28:08 +01:00
Ted John
e7f62bf014 integrate game palette variables 2016-04-24 02:02:56 +01:00
Ted John
a97533228c integrate window DPI variable 2016-04-24 01:40:55 +01:00
Ted John
98f732aaf7 integrate screen variables (#3411) 2016-04-24 00:36:39 +01:00
Marijn van der Werf
0db00cdc75 Add helper function for retrieving g1 element 2016-03-03 14:33:08 +01:00
Michał Janiszewski
c4cf41de45 Only enable assert() in drawing code when explicitly debugging 2016-02-28 21:42:08 +01:00
Michał Janiszewski
aaf572ab27 Fix fastcall for non-MSVC toolchains 2016-02-20 13:41:44 +00:00
IntelOrca
3edc5c6f0a compile multiple versions of draw RLE sprite 2016-02-20 13:41:43 +00:00
Michał Janiszewski
836343b194 Unload graphics when done 2016-01-15 19:19:10 +01:00
IntelOrca
b7484db239 refactor clip_drawpixelinfo to not allocate memory 2016-01-14 20:12:44 +00:00
IntelOrca
9b833e5f93 shorten path for scenario select debug 2016-01-02 23:14:41 +00:00
IntelOrca
00e5c4418d refactor image IO to new source file 2015-12-30 13:36:09 +00:00
IntelOrca
1ffc9a6355 fix problems with wooden_a_supports_paint_setup and refactor 2015-12-19 21:30:32 +00:00
IntelOrca
7909ba1f3b fix #2390: Not fully implemented UTF-8 currencies in building/landscaping/etc. 2015-11-28 12:10:17 +00:00
Michał Janiszewski
06b13794ea Use const for parameters
In profiling, gfx_rle_sprite_to_buffer turns out to be a hot spot. Use
const pointers, so compiler can make more assumptions regarding them and
perhaps optimize more heavily.
2015-10-22 10:15:45 +02: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
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
zsilencer
d772f8b5fb measure and display ping 2015-08-14 09:13:39 -06:00
IntelOrca
4f77cc8df3 implement gfx_draw_sprite_raw_masked 2015-08-06 01:00:03 +01:00
IntelOrca
3c1190e11f implement utf8, part 26 (bug fixes) 2015-08-03 18:06:54 +01:00
IntelOrca
31eb758ba1 implement utf8, part 15 2015-08-01 10:20:57 +01:00
IntelOrca
fa87d8e999 implement utf8, part 14 2015-08-01 10:20:57 +01:00
IntelOrca
a9e6f8c3db implement utf8, part 12 2015-08-01 10:20:55 +01:00
IntelOrca
c4b355f648 implement utf8, part 1 2015-08-01 10:20:48 +01:00
zsilencer
af68e9d9ea fix #1590 2015-07-12 20:23:58 -06:00
zsilencer
e8d8f7c684 fix invalidation issue with picked up staff 2015-07-10 21:01:58 -06:00
zsilencer
a58458bbb3 fix issue with negative dirty blocks 2015-07-10 20:50:49 -06:00
IntelOrca
0def7c0883 refactor invalidation of map tiles and viewports 2015-07-06 18:57:36 +01:00
zsilencer
520d7840c0 fix bugs introduced in last commit 2015-07-05 09:50:03 -06:00
IntelOrca
cc54171443 remove / isolate several CALLPROCs 2015-06-30 17:13:34 +01:00
IntelOrca
63698761fd remove some small callprocs 2015-06-28 01:57:50 +01:00
Duncan Frost
8554d2183c Implemented more of the paint_struct setup code 2015-06-21 16:23:23 +01:00
IntelOrca
542eb057d9 set font when drawing checkboxes, extracted draw string left centred to new method 2015-06-17 16:21:50 +01:00
IntelOrca
133c0de23d refactor cheats and improve checkbox drawing 2015-06-16 23:24:48 +01:00
IntelOrca
101fed0dd9 refactor g1Elements pointer and implement sub_68371D 2015-05-28 00:17:22 +01:00
IntelOrca
c1260fc11f add command line sprite editor and additional custom graphics (g2.dat) 2015-05-19 00:26:31 +01:00
Robert Jordan
9eed7dc614 renamed functions
renamed gfx_invalidate_scrollingtext to gfx_invalidate_tile_if_zoomed
2015-05-17 12:38:02 -04:00
Gericom
a64e89ec66 Refactoring window_construction_paint, fixed bugs 2015-02-27 12:49:22 +01:00
Duncan Frost
0f6dd51736 Added load_palette. Labelled offset for paused and palette effect frame. Fixed fast moving water. 2015-02-07 17:40:20 +00:00
Duncan Frost
53e0ebc57c Refactored a bit of tooltip window. Added hack to fix #540 note this should be fixed better 2014-11-01 13:10:14 +00:00
Sijmen Schoon
a7b1e50a92 Implement redraw_peep_and_rain 2014-10-20 23:20:13 +02:00
zsilencer
bd128402f0 0x006EC9CE 2014-10-15 20:03:15 -06:00
IntelOrca
db85a215f9 move rain drawing functions into its own module 2014-10-08 23:17:16 +01:00
IntelOrca
c8df6174b8 organisation: fix includes 2014-10-06 17:36:58 +01:00