Commit graph

115 commits

Author SHA1 Message Date
Clownacy
4f7db164d6 Overhauled graphics system
Along with being more accurate to the original, this fixes switching out
of fullscreen causing textures to disappear. This was caused by DirectX
destroying textures that are marked as render-targets when a device-loss
occurs. SDL2 doesn't do anything to recover them, unlike regular
textures, so my solution is just to avoid render-target textures
entirely.

On the upside, this should make drawing text to surfaces much faster,
since we're not reading back bitmaps from the GPU.
2019-01-30 21:07:47 +00:00
cuckydev
bea22e72e0 bullet 2019-01-30 16:03:10 -05:00
Clownacy
90ef30bece Added option for fonts to be loaded from Windows
This restores some compatibility with Config.dat's font settings.
2019-01-29 14:20:25 +00:00
Clownacy
cd276d94be Fix possible bug in CortBox2
Cppcheck was complaining about duplicate conditions
2019-01-29 14:20:21 +00:00
cuckydev
1e7b07a102 working on arms and items 2019-01-28 12:26:35 -05:00
cuckydev
11bbcde9f8 worked on tsc some more, fixed Surface2Surface, blah blah blah happy birthday to me 2019-01-27 01:28:14 -05:00
cuckydev
4fb84866a5 stuff 2019-01-26 22:15:10 -05:00
Clownacy
acdf8aa622 Fixed some mistakes Cppcheck pointed out 2019-01-25 12:02:52 +00:00
Clownacy
3bb0435c27 Overhauled font system
Now with super-sexy accurate subpixel rendering and Japanese support
2019-01-24 17:36:18 +00:00
Clownacy
f90d45cb73 Fix some Draw.cpp bugs 2019-01-24 17:36:10 +00:00
cuckydev
a2c86d9f7c fixed scaling to be accurate 2019-01-23 16:17:43 -05:00
cuckydev
b1bb48148b resource and japanese 2019-01-20 15:55:28 -05:00
cuckydev
f43a3c1130 Org and sound 2019-01-19 21:23:04 -05:00
cuckydev
c84f49f1dc wip 2019-01-16 22:48:21 -05:00
cuckydev
c6e3fa8685 working on draw stuff (doesn't compile) 2019-01-12 00:37:07 -05:00