Ted John
996202ac43
remove gScreenDPI
2016-06-07 22:45:36 +01:00
Ted John
83fc6ec4af
remove usages of gScreenDPI and gWindowDPI
2016-06-07 22:45:36 +01:00
Ted John
cf824a1859
remove unused functions
2016-06-07 22:45:36 +01:00
Ted John
8036f6c773
fix drawing of picked up peep
2016-06-07 22:45:36 +01:00
Ted John
d20a8a1daa
re-route draw sprite through IDrawingContext
2016-06-07 22:45:36 +01:00
Ted John
6e8cc5469a
start introducing the IDrawingContext
2016-06-07 22:45:36 +01:00
Ted John
3e6eb48d4c
draw rain via new IRainDrawer interface
2016-06-07 22:45:36 +01:00
Ted John
d4edf58a51
use a struct for rain pixels
2016-06-07 22:45:36 +01:00
Ted John
3da57d0865
route old functions to new drawing interface
...
- hardware display temporarily removed
- rain, fps and other non-window elements not drawn
2016-06-07 22:45:36 +01:00
CraigCraig
c946d2fb06
Various Spelling Fixes - 5/29/16 ( #3770 )
2016-05-29 10:00:38 +01:00
Ted John
8d4e4ed0e9
remove unread RCT2_GLOBALs
2016-05-17 23:39:37 +01:00
Hielke Morsink
8c1395bd46
declaring local variables where needed instead of at the top ( #3599 )
2016-05-15 10:25:24 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +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
19662a091c
integrate rain drawing variables
2016-04-24 01:39:33 +01:00
Ted John
98f732aaf7
integrate screen variables ( #3411 )
2016-04-24 00:36:39 +01:00
IntelOrca
89ad0cc769
store windows in openrct2 memory and increase max
...
Allocate a bigger window list and viewport list in OpenRCT2 static memory and move over all references from RCT2.
This also removes the 'active' viewport pointer list and instead changes everything to just enumerate the whole viewport list
2016-04-14 23:00:35 +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
IntelOrca
4617a52e53
improve dirty block performance
2016-02-20 00:23:58 +00:00
IntelOrca
b7484db239
refactor clip_drawpixelinfo to not allocate memory
2016-01-14 20:12:44 +00: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
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
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
74d0b033df
Name RCT2_ADDRESS_PALETTE
2015-10-09 20:20:05 +02:00
IntelOrca
4f77cc8df3
implement gfx_draw_sprite_raw_masked
2015-08-06 01:00:03 +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
zsilencer
9eb4958dde
fix #1002
2015-07-05 08:57:01 -06:00
IntelOrca
cc54171443
remove / isolate several CALLPROCs
2015-06-30 17:13:34 +01:00
IntelOrca
101fed0dd9
refactor g1Elements pointer and implement sub_68371D
2015-05-28 00:17:22 +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
Duncan Frost
013be11aed
Refactored water and entrance paint functions
2015-03-01 21:06:51 +00:00
IntelOrca
a66b29076b
move osinterface code to shared or windows
2015-02-12 20:51:40 +00: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
e6f966f395
Fix intro crash. Caused by incorrect pointer address. Fixed crash on freeing unallocated memory. Fixed audio issue when channels set to zero.
2015-01-18 19:13:21 +00:00
Duncan Frost
9f267fe669
Increased the number of rain pixels to max
2015-01-02 10:16:05 +00:00
Duncan Frost
c5c9609b37
Fixed the buffer overflow. Increased the number of pixels again
2014-12-04 20:39:49 +00:00
halfbro
4902bad9b9
Merge branch 'master' of https://github.com/IntelOrca/OpenRCT2
2014-12-04 00:57:41 -05:00
halfbro
242bee9a07
Update rain pixels to use own global variable
2014-12-04 00:51:58 -05:00
IntelOrca
d00001fed2
remove unnecessary header includes
2014-11-30 20:27:14 +00:00
halfbro
47a307d50a
Fix rain not drawing on high resolutions
2014-11-29 00:40:53 -05:00
Miso Zmiric (Mike Squinter)
b75612467a
rename to follow convention and add the hack comment
2014-11-24 22:07:28 +00:00
Miso Zmiric (Mike Squinter)
1f60018acd
fix crash on window size decrease
2014-11-24 22:02:04 +00:00