Michał Janiszewski
71d0861be1
Mark classes as final
...
This may hint compiler to de-virtualise some calls.
2016-10-04 18:14:29 +01:00
duncanspumpkin
9840a73cc1
Refactor naming of paint global vars
...
Removed EDF81C from none viewport files this previously was used to pass image flags to the sprite renderer.
gUnkF1A4CC replaced with address reference to paint struct array to allow for non rct builds
Renamed _paint_structs to _paint_struct_quadrants. This array is used for working out which paint struct is at which quadrant and is not the main paint struct array
2016-09-20 18:08:45 +01:00
Ted John
c9fd1e66ef
Remove 0x8000000 fill rect flag from software renderer
...
It was never ever hit and probably didn't work properly.
2016-09-14 18:35:44 +01:00
Ted John
e4cb01e04b
Integrate gUnkEDF81C
2016-09-14 18:29:56 +01:00
Michał Janiszewski
2759772fca
Cleanup in SoftwareDrawingEngine::DisplayViaTexture
2016-09-09 20:00:06 +01:00
Ted John
d24010b1b5
Add dead code check in FillRect
2016-09-04 00:22:56 +01:00
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
Marijn van der Werf
30fd2160d7
Integrate data at 0x0097FEFC
2016-08-14 11:37:59 +02:00
Alexander Overvoorde
8256b7f83b
Fix missing override keyword for SetUncappedFrameRate functions
2016-07-27 04:01:25 +02:00
Alexander Overvoorde
c56a683eed
Disable OpenGL vsync when uncap fps option is enabled
2016-07-27 04:01:25 +02:00
Charles Cook
8b36e4c54a
Use four spaces instead of tabs in c++
2016-07-05 20:32:37 -04:00
Charles Cook
6d268099f5
Follow coding standard for project.
2016-07-05 19:40:20 -04:00
Charles Cook
5c9110b99a
Prevent viewport_invalidate from causing covered viewports to redraw and cache window and viewport visibility.
2016-07-05 18:02:23 -04:00
Michał Janiszewski
644a36a310
Fixes to -Wall compilation
...
By default, not all warnings are enabled. This change makes sure that
the project compiles correctly with following options turned on:
-Wall -Wno-unused-but-set-variable -Wno-missing-braces \
-Wno-unknown-pragmas -Wno-unused-function
2016-06-20 13:46:27 +01:00
Ted John
f796ef5122
fix drawing of text
2016-06-11 23:14:22 +01:00
Ted John
8185a88e47
implement drawing solid coloured sprites
2016-06-11 18:28:03 +01:00
Michał Janiszewski
74780b3e70
Minor fixes to #3803 ( #3843 )
2016-06-08 23:40:56 +01:00
Michał Janiszewski
39472ce3f3
Update CMake targets with OpenGL linking ( #17 )
2016-06-08 13:28:33 +01:00
Ted John
313110ab8d
reinstate hardware display
2016-06-07 22:47:31 +01:00
Ted John
3b627651aa
add drawing engine config
2016-06-07 22:47:31 +01:00
Ted John
ffd7b7f7e0
implement draw line for OpenGL
2016-06-07 22:45:36 +01:00
Ted John
18f3aa12a1
fix scrolling text
2016-06-07 22:45:36 +01:00
Ted John
996202ac43
remove gScreenDPI
2016-06-07 22:45:36 +01:00
Ted John
932dec75d0
do not shift viewport pixels on OpenGL
2016-06-07 22:45:36 +01:00
Ted John
a8fed0c4b8
remove more references to gScreenDPI
2016-06-07 22:45:36 +01:00
Ted John
ebd9710fdf
fix intro with new drawing
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
ccec48e382
do not draw windows twice on OpenGL
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
90704ac1fe
port gfx_fill_rect to 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
85557d169d
reinstate all drawing and fix resize
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
Ted John
2de332369c
add initial interfaces and software engine
2016-06-07 22:45:36 +01:00