Michał Janiszewski
f8145b6edc
Refactor inclusion of addresses.h
...
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Michał Janiszewski
599b092487
Conditionally integrate some variables
2016-09-03 18:40:23 +01:00
Marijn van der Werf
bdb04e3da3
Integrate data at 0x009DEDF4
2016-08-21 14:24:55 +02:00
Marijn van der Werf
5a03c6b129
Integrate palettes
2016-08-21 13:53:31 +02:00
Michał Janiszewski
b16b6814aa
Fix pointer types for 64 bit builds
2016-08-01 23:14:42 +02:00
Michał Janiszewski
639f19adbf
Fix define checks in project
2016-07-09 10:05:12 +02:00
Michał Janiszewski
dfa482b1b5
Revert "Merge pull request #3897 from janisozaur/rebase-no-rct2"
...
This reverts commit 22c0cc92e6 , reversing
changes made to 7b421c8052 .
2016-06-24 22:40:37 +02:00
Michał Janiszewski
580789bcf4
Fixes to object loading for x86-64
2016-06-19 18:12:14 +02:00
Ted John
ad1b9265dc
integrate variables for various drawing pointers
2016-06-16 11:36:15 +02:00
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