forked from fabiangreffrath/crispy-doom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Strife: add true color support (fabiangreffrath#1183)
* Initial implementation * Fix crash on drawing view border * Sigil weapon effect working * crispy_truecolor config variable * Btightmaps working! * Blending and alt blending functions * Proper translucensy values for columns and walls * Graphical startup working * Get rid of few TODOs * Better logics for brightmaps emulation * Update screen wiping code It's working technically now, but the problem with infinite loop of comparing old and new screen data have to be resolved. * Fix possible infinite loop in crossfading, make it work in TrueColor * Proper implementation of crossfading effect Now it looks and feels like vanilla! * Fix introduction sequence for both renders * Small corrections 1) No need for separated R_InitPalColors() function. (Re-)filling pal_color[] array must be done along with colormaps[] as it's related to gamma-correction. 2) Redraw side views of screen border on toggling gamma-correction. * Simplify overlay blending functions * Make fail-safe crossfade counter static, better naming * Remove redundant brackets, fix typo * Simplify COLORMAP's brightmapped colors calculation * Small styling corrections * Fix translated+translucent columns drawing * Proper memory size allocation for wiping effect Co-Authored-By: Fabian Greffrath <[email protected]> --------- Co-authored-by: Fabian Greffrath <[email protected]>
- Loading branch information
1 parent
0d91a32
commit b9f69a5
Showing
17 changed files
with
324 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.