Jonathan G Rennison
2534c2a162
Blitter: Avoid signed overflow when drawing long lines
2018-01-17 02:36:15 +00:00
Jonathan G Rennison
0c2f49c08d
Blitter: Change DrawLine to be templated
2018-01-17 02:36:15 +00:00
Jonathan G Rennison
8317eac918
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/traditional_chinese.txt
# src/window.cpp
2017-04-01 01:14:28 +01:00
peter1138
86430757bf
(svn r27837) -Fix (r26969): Black remap did nothing in 8bpp-simple blitter.
2017-03-30 21:33:40 +00:00
peter1138
60d4d1db3f
(svn r27837) -Fix (r26969): Black remap did nothing in 8bpp-simple blitter.
2017-03-30 21:33:40 +00:00
Jonathan G Rennison
b3fd11efd2
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/blitter/32bpp_anim.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_anim_sse4.cpp
2017-03-19 12:27:24 +00:00
frosch
19188818ea
(svn r27796) -Fix [FS#6545]: 32bpp-anim blitters assumed that pitch and width of the screen were equal.
2017-03-18 17:14:53 +00:00
frosch
206a0838e9
(svn r27796) -Fix [FS#6545]: 32bpp-anim blitters assumed that pitch and width of the screen were equal.
2017-03-18 17:14:53 +00:00
frosch
d5f82bf55b
(svn r27774) -Fix [FS#5889]: Enabling palette animation for 32bpp blitters while paused skipped initialisation of the palette and resulted in black windows.
...
-Revert (r23978): No SDL-specific fix required anymore. The new fix applies to all backends.
2017-03-11 12:52:26 +00:00
frosch
5b7a04ca27
(svn r27774) -Fix [FS#5889]: Enabling palette animation for 32bpp blitters while paused skipped initialisation of the palette and resulted in black windows.
...
-Revert (r23978): No SDL-specific fix required anymore. The new fix applies to all backends.
2017-03-11 12:52:26 +00:00
Jonathan G Rennison
d14d5731d8
Fix wrong palette being used when switching to animated blitter.
...
Fixes black sprites and UI elements when switching on full
animations on win32 and OSX.
2017-03-07 23:37:06 +00:00
frosch
914d4616ca
(svn r27575) -Fix [FS#6404]: Memory leak when disabling palette animation. (JGR)
2016-05-22 10:28:57 +00:00
frosch
7108b0aa3b
(svn r27575) -Fix [FS#6404]: Memory leak when disabling palette animation. (JGR)
2016-05-22 10:28:57 +00:00
Jonathan G Rennison
897744ab47
SSE2 anim blitter: fix edge case where medium path was used incorrectly.
2015-12-20 23:13:03 +00:00
Jonathan G Rennison
d00fa4d25b
Implement a 32bpp SSE2 palette animator. This is ~4x faster than 32bpp-anim's.
...
Create a new blitter mode: 32bpp-sse2-anim, which is 32bpp-anim + this.
32bpp-sse2-anim is now used by default where 32bpp-anim would have been.
Also use this with the 32bpp-sse4-anim blitter mode.
Fix memory leak in current 32bpp animated blitters.
2015-12-17 20:45:33 +00:00
patch-import
536a95dfd0
Import combined Enhanced viewport: zoom out, overlays & tooltips (r53_27127) patch
...
https://www.tt-forums.net/viewtopic.php?f=33&t=53394
2015-08-05 21:24:30 +01:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
9f654b200d
(svn r26970) -Fix (r26969): non-sse animated blitter crashed occasionally
2014-10-06 19:15:00 +00:00
rubidium
8c7f376ae1
(svn r26970) -Fix (r26969): non-sse animated blitter crashed occasionally
2014-10-06 19:15:00 +00:00
rubidium
eabb35a874
(svn r26969) -Fix (r26869): black palette didn't work very well with unmasked 32bpp sprites
2014-10-06 18:45:51 +00:00
rubidium
9c31ffd893
(svn r26969) -Fix (r26869): black palette didn't work very well with unmasked 32bpp sprites
2014-10-06 18:45:51 +00:00
rubidium
beb540ec55
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
rubidium
b476086c39
(svn r26538) -Codechange: remove double accounting of the drivers
2014-04-28 21:06:51 +00:00
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
2014-04-25 15:40:32 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
6504817680
(svn r26473) -Fix: make sure there is no uninitialised sprite data; the other blitters cleared the memory too
2014-04-20 14:55:28 +00:00
rubidium
c8fffcd5ce
(svn r26473) -Fix: make sure there is no uninitialised sprite data; the other blitters cleared the memory too
2014-04-20 14:55:28 +00:00
peter1138
3465686076
(svn r26463) -Fix (r10190ish): Add special handling for PALETTE_CRASH to work for non-8bpp-mapped sprites.
2014-04-13 19:22:23 +00:00
peter1138
209d3e2e9e
(svn r26463) -Fix (r10190ish): Add special handling for PALETTE_CRASH to work for non-8bpp-mapped sprites.
2014-04-13 19:22:23 +00:00
frosch
da253a33c3
(svn r26334) -Fix: 32bit compilation.
2014-02-11 21:17:43 +00:00
frosch
cb7544ea39
(svn r26334) -Fix: 32bit compilation.
2014-02-11 21:17:43 +00:00
rubidium
4f48e99c64
(svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP)
2014-01-13 18:20:23 +00:00
rubidium
ef9108bd58
(svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP)
2014-01-13 18:20:23 +00:00
rubidium
ec66bd461b
(svn r26259) -Codechange: add and maintain some general flags about sprites to prevent unneeded execution of expensive code (MJP)
2014-01-13 18:17:17 +00:00
rubidium
eb2c2ef877
(svn r26259) -Codechange: add and maintain some general flags about sprites to prevent unneeded execution of expensive code (MJP)
2014-01-13 18:17:17 +00:00
rubidium
4585f74faa
(svn r26258) -Codechange: deduplicate Draw methods (MJP)
2014-01-13 18:12:33 +00:00
rubidium
fdf55a1a48
(svn r26258) -Codechange: deduplicate Draw methods (MJP)
2014-01-13 18:12:33 +00:00
rubidium
3df799c1c6
(svn r26257) -Codechange: replace most of the SSE macros by functions
2014-01-13 18:09:21 +00:00
rubidium
f5f4f8a4b3
(svn r26257) -Codechange: replace most of the SSE macros by functions
2014-01-13 18:09:21 +00:00
rubidium
2f3c3d2ba6
(svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP)
2014-01-13 18:06:53 +00:00
rubidium
3a44e22b1a
(svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP)
2014-01-13 18:06:53 +00:00
rubidium
5849290640
(svn r26255) -Codechange: improve performance of brightness adjustment (MJP)
2014-01-13 18:05:47 +00:00
rubidium
70901e04c5
(svn r26255) -Codechange: improve performance of brightness adjustment (MJP)
2014-01-13 18:05:47 +00:00
rubidium
d263ec2bd9
(svn r26254) -Codechange: MOVD is better in some cases than PINSRD (MJP)
2014-01-13 18:04:28 +00:00
rubidium
2f7c4f6d12
(svn r26254) -Codechange: MOVD is better in some cases than PINSRD (MJP)
2014-01-13 18:04:28 +00:00
rubidium
d27f085ef6
(svn r26253) -Codechange: remove margin limitation to preserve block type (MJP)
2014-01-13 18:03:35 +00:00
rubidium
5b3b533697
(svn r26253) -Codechange: remove margin limitation to preserve block type (MJP)
2014-01-13 18:03:35 +00:00