Jonathan G Rennison
f4e29071be
Merge tag '1.11.0-beta2' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/release.yml
# CMakeLists.txt
# src/blitter/32bpp_optimized.cpp
# src/debug.cpp
# src/gfx.cpp
# src/gfx_func.h
# src/lang/czech.txt
# src/lang/english.txt
# src/lang/italian.txt
# src/lang/swedish.txt
# src/lang/ukrainian.txt
# src/network/network_server.cpp
# src/os/windows/crashlog_win.cpp
# src/os/windows/win32.cpp
# src/pathfinder/follow_track.hpp
# src/screenshot.cpp
# src/settings_type.h
# src/spritecache.cpp
# src/vehicle_gui.cpp
# src/video/sdl2_v.cpp
# src/video/video_driver.cpp
# src/video/video_driver.hpp
# src/video/win32_v.cpp
2021-03-02 11:59:03 +00:00
Jonathan G Rennison
4ef363422a
Add 32bpp blitter support for adjusting brightness of drawn sprites
2021-02-26 18:02:13 +00:00
Michael Lutz
200be7d20c
Add: [OpenGL] Support for a separate animation buffer that stores the palette values of the screen in addition to the colour buffer.
2021-02-22 22:16:07 +01:00
Michael Lutz
02e8741457
Codechange: Allow for using a sprite encoder that is not the currently active blitter when loading a sprite.
2021-02-22 22:16:07 +01:00
Jonathan G Rennison
a474e71243
Viewport: Cache landscape pixels in map mode
...
Avoid invalidating landscape pixels for non-landscape updates
(vehicles, overlays, etc.)
2020-10-01 23:18:39 +01:00
Jonathan G Rennison
a152e2327c
Viewport: Reduce unnecessary region redraws when scrolling viewports
2020-02-09 10:54:32 +00:00
Jonathan G Rennison
cbdd9f84d8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_gui.cpp
# src/lang/korean.txt
# src/video/sdl2_v.cpp
# src/video/sdl2_v.h
# src/window.cpp
# src/window_gui.h
2019-11-12 18:43:10 +00:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Jonathan G Rennison
db924a4681
Codechange: [Blitter] Change DrawLine to be templated
...
This is remove per-pixel overheads due to use of the SetPixel virtual
method.
These overheads included:
* expensive virtual method call which prevents inlining
* palette lookup for every pixel
* branch on whether palette animation is enabled on every pixel
Regenerate project files.
2019-01-24 11:12:06 +00:00
Jonathan G Rennison
9bd98ceeab
Blitter: Move DrawLineGeneric to a separate file to fix OSX compilation
2019-01-22 21:16:21 +00:00
Jonathan G Rennison
11a10299d1
Blitter: Also use sprite flags for non-SSE 32bpp sprite encoder
2018-01-19 23:24:09 +00:00
Jonathan G Rennison
83e6cf50a0
Blitter: Adjust line-drawing algorithm to reduce wasted off-screen work
2018-01-17 02:52:40 +00:00
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
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
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
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
fonsinchen
19661eeef8
(svn r25911) -Add: Support for drawing dashed lines.
2013-10-23 19:41:20 +00:00
fonsinchen
89b7afbac8
(svn r25911) -Add: Support for drawing dashed lines.
2013-10-23 19:41:20 +00:00
frosch
554e14420c
(svn r25820) -Codechange: More const-ness.
2013-10-06 19:38:36 +00:00
frosch
640d39c001
(svn r25820) -Codechange: More const-ness.
2013-10-06 19:38:36 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
rubidium
e6c46d4cf4
(svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL)
2011-12-08 19:37:33 +00:00
rubidium
61625e53c9
(svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL)
2011-12-08 19:37:33 +00:00
rubidium
3053d8e3b5
(svn r23194) -Codechange: don't cast away const needlessly
2011-11-12 08:26:30 +00:00
rubidium
4f87d2e88c
(svn r23194) -Codechange: don't cast away const needlessly
2011-11-12 08:26:30 +00:00
rubidium
7dfcc69011
(svn r22397) -Document: some tidbits of the blitter code
2011-05-01 10:15:33 +00:00
rubidium
485c7cd99e
(svn r22397) -Document: some tidbits of the blitter code
2011-05-01 10:15:33 +00:00
frosch
c81c55e008
(svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine().
2011-04-02 16:39:30 +00:00
frosch
b18211bb9d
(svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine().
2011-04-02 16:39:30 +00:00
frosch
81b419c7d5
(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
2011-04-02 11:55:54 +00:00
frosch
004c93f9da
(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
2011-04-02 11:55:54 +00:00
frosch
dfff637487
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
2011-01-14 15:34:33 +00:00
frosch
3d1008318b
(svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h
2011-01-14 15:34:33 +00:00
alberth
206c1b4cd0
(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().
2010-01-23 22:37:14 +00:00
alberth
b2f9b0ac43
(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().
2010-01-23 22:37:14 +00:00
rubidium
72ce1f4979
(svn r18873) -Codechange: use PaletteID also in the blitter
2010-01-21 01:44:51 +00:00
rubidium
db33e32b4d
(svn r18873) -Codechange: use PaletteID also in the blitter
2010-01-21 01:44:51 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
peter1138
ebe260f575
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
peter1138
abb147d974
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
2009-02-09 02:57:15 +00:00