Ensure complete darkness after FADE_TO_BLACK and FADE_TO_BLACK_HOLD
Add -256 and -512 color shifts to the FADE_TO_BLACK and FADE_TO_BLACK_HOLD macros in order to account for ToD color shifts greater than -31.
This commit is contained in:
parent
6cf03fe827
commit
5b72fe99a5
2 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
Version 1.11.6+dev:
|
||||
* Language and i18n:
|
||||
* Updated translations: Lithuanian
|
||||
* Miscellaneous and bug fixes
|
||||
* Miscellaneous and bug fixes:
|
||||
* Added -256 and -512 color shifts to FADE_TO_BLACK and FADE_TO_BLACK_HOLD
|
||||
macros to account for ToD color shifts greater than -31, guaranteeing complete
|
||||
darkness.
|
||||
* Unit WML frames with image modifications now shown correctly for hits/death.
|
||||
|
||||
Version 1.11.6:
|
||||
|
|
|
@ -325,6 +325,8 @@
|
|||
{FADE_STEP -160 5}
|
||||
{FADE_STEP -192 5}
|
||||
{FADE_STEP -224 5}
|
||||
{FADE_STEP -256 5}
|
||||
{FADE_STEP -512 5}
|
||||
#enddef
|
||||
|
||||
#define FADE_TO_BLACK_HOLD TIME
|
||||
|
@ -336,11 +338,14 @@
|
|||
{FADE_STEP -128 5}
|
||||
{FADE_STEP -160 5}
|
||||
{FADE_STEP -192 5}
|
||||
{FADE_STEP -224 {TIME}}
|
||||
{FADE_STEP -224 5}
|
||||
{FADE_STEP -256 5}
|
||||
{FADE_STEP -512 {TIME}}
|
||||
#enddef
|
||||
|
||||
#define FADE_IN
|
||||
# Brings the screen back from a {FADE_TO_BLACK}
|
||||
{FADE_STEP -256 5}
|
||||
{FADE_STEP -224 5}
|
||||
{FADE_STEP -192 5}
|
||||
{FADE_STEP -160 5}
|
||||
|
|
Loading…
Add table
Reference in a new issue