mazmazz
|
31ee9df9b9
|
Use percentage calc instead of interval decrement for tic-based fading
|
2018-09-11 10:28:24 -04:00 |
|
mazmazz
|
17055a1345
|
Merge branch 'lightfade-ticbased' into le-fadefof
|
2018-09-11 10:08:13 -04:00 |
|
mazmazz
|
b13103603f
|
Use percentage calc instead of interval decrement for tic-based timing
|
2018-09-11 10:05:25 -04:00 |
|
mazmazz
|
fe4938a1c2
|
Move tic-based to EFFECT4
|
2018-09-10 12:00:44 -04:00 |
|
mazmazz
|
fc6b599bbc
|
Move tic-based to EFFECT4, relative calc to EFFECT3
|
2018-09-10 12:00:15 -04:00 |
|
mazmazz
|
38a63c5d8f
|
Use ML_NOCLIMB for FF_TRANSLUCENT handling in type 452
|
2018-09-10 10:17:39 -04:00 |
|
mazmazz
|
88e22b73a9
|
Default to using back offset params if back linedef exists; else fallback to distance-based params
|
2018-09-10 10:11:27 -04:00 |
|
mazmazz
|
eb7a5fc0cf
|
Add type 452 Set FOF Alpha
* Fade FOF moved to type 453
* Stop Fade FOF moved to type 454
|
2018-09-10 10:09:02 -04:00 |
|
mazmazz
|
fe813bff47
|
Add distance-based params and make default (ML_DONTPEGBOTTOM to use back offsets)
|
2018-09-10 09:49:52 -04:00 |
|
mazmazz
|
583262d073
|
Add relative destvalue calc (ML_EFFECT4)
* rover->alpha init fixes with invisible FOFs
|
2018-09-10 09:49:00 -04:00 |
|
mazmazz
|
1c878ccce1
|
Store sectornum/ffloornum as UINT32, not INT32
|
2018-09-09 23:52:36 -04:00 |
|
mazmazz
|
ca0d6fd0c2
|
Fix fog visual glitch with fading
|
2018-09-09 22:14:24 -04:00 |
|
mazmazz
|
ecfc2e66f1
|
Replace firsttic with timer increment
|
2018-09-09 20:45:12 -04:00 |
|
mazmazz
|
97bc852b80
|
Merge branch 'lightfade-ticbased' into le-fadefof
|
2018-09-09 20:18:57 -04:00 |
|
mazmazz
|
8efe62e4de
|
Replace firsttic with decrement timer
|
2018-09-09 20:18:43 -04:00 |
|
mazmazz
|
bb55774171
|
Fix tic-based bug returning early
|
2018-09-09 19:57:41 -04:00 |
|
mazmazz
|
295ff73e70
|
Cap lightlevel fading at spawn_lightlevel (don't make darker)
|
2018-09-09 19:44:35 -04:00 |
|
mazmazz
|
f77957ddf0
|
Added tic-based logic to FOF fade (ML_EFFECT5)
|
2018-09-09 19:31:32 -04:00 |
|
mazmazz
|
44ba282d5f
|
Finalize light level on fade finish (not forced stop)
* Added destlightlevel property to fade_t
* Fixed dotranslucent, dolighting, docollision order weirdness in function calls
|
2018-09-09 17:20:35 -04:00 |
|
mazmazz
|
4e3f0c9a84
|
Fade FOF lighting fixes; properly calculate destlightvalue
|
2018-09-09 15:41:30 -04:00 |
|
mazmazz
|
18c6f560e4
|
Merge branch 'lightfade-ticbased' into le-fadefof
|
2018-09-09 13:44:30 -04:00 |
|
mazmazz
|
cbf692fc52
|
Revert "Snap light level to software values (32 levels)"
This reverts commit 8ec3e23ed5.
|
2018-09-09 13:43:00 -04:00 |
|
mazmazz
|
888ea233dc
|
Add spawn_lightlevel to sector_t
|
2018-09-09 12:44:35 -04:00 |
|
mazmazz
|
96d8723238
|
Flag re-organization
* Change alternate param flag from BLOCKMONSTERS to DONTPEGBOTTOM
* Change tic-based flag from NOCLIMB to EFFECT5
|
2018-09-09 09:34:36 -04:00 |
|
mazmazz
|
baeb1f2aa5
|
Don't add a thinker if alpha is already equal
|
2018-09-09 08:10:45 -04:00 |
|
mazmazz
|
deb0ba1648
|
Add light fading to FadeFakeFloor
* Declare P_RemoveLighting in header for p_spec.c use
|
2018-09-08 23:44:29 -04:00 |
|
mazmazz
|
8571b407c6
|
Merge branch 'lightfade-ticbased' into le-fadefof
|
2018-09-08 23:03:18 -04:00 |
|
mazmazz
|
8ec3e23ed5
|
Snap light level to software values (32 levels)
* New properties `exactlightlevel` and `lightlevel` in `lightlevel_t`
|
2018-09-08 23:01:35 -04:00 |
|
mazmazz
|
53568d3808
|
Split P_FadeLight into P_FadeLightBySector
|
2018-09-08 22:14:49 -04:00 |
|
mazmazz
|
07c6705bdb
|
Implemented tic-based light fading
* ML_BLOCKMONSTERS specifies destvalue and speed by texture offsets
* ML_NOCLIMB toggles tic-based logic
* Added props `duration`, `interval`, and `firsttic` to `lightlevel_t`
|
2018-09-08 22:10:51 -04:00 |
|
mazmazz
|
b74fa1e9c8
|
Re-render lighting when setting FF_EXISTS
|
2018-09-08 20:49:32 -04:00 |
|
mazmazz
|
47dce92d8b
|
Add dolighting flag to FadeFakeFloor thinker
|
2018-09-08 20:41:45 -04:00 |
|
mazmazz
|
e78ce5fdc3
|
When detecting invisible FOFs, don't include light blocks
|
2018-09-08 20:08:48 -04:00 |
|
mazmazz
|
c6ffa6fbe5
|
Initialize invisible FOF alpha to 1 on first fade
|
2018-09-08 09:31:23 -04:00 |
|
mazmazz
|
bbdf09f19e
|
Handle rendering flags for invisible FOFs
|
2018-09-08 09:08:32 -04:00 |
|
mazmazz
|
6cd3fd8c7d
|
Enable FF_CUTSOLIDS handling and updating by sector->moved
|
2018-09-08 08:59:17 -04:00 |
|
mazmazz
|
8ad62de044
|
Disable FadeFakeFloor for laser block
|
2018-09-08 01:33:12 -04:00 |
|
mazmazz
|
2a89fcfc87
|
Never handle FF_EXISTS if FF_BUSTUP
|
2018-09-08 01:23:15 -04:00 |
|
mazmazz
|
61960937b0
|
Fix Mario block triggering during ghost fade
|
2018-09-08 01:12:34 -04:00 |
|
mazmazz
|
71b1a78f76
|
Merge branch 'master' into le-fadefof
|
2018-09-06 18:12:24 -04:00 |
|
Digiku
|
8d015bd7cc
|
Merge branch 'flicky-things' into 'master'
Flicky Thing Types
See merge request STJr/SRB2Internal!154
|
2018-09-06 16:02:19 -04:00 |
|
mazmazz
|
fbd6b2c826
|
Flicky colors indexing fix
|
2018-09-06 13:20:55 -04:00 |
|
mazmazz
|
a430d133b4
|
Compiler errors
|
2018-09-06 13:16:50 -04:00 |
|
mazmazz
|
4dcf3835e3
|
Stray comments
|
2018-09-06 12:13:03 -04:00 |
|
mazmazz
|
7f404345f0
|
Make default flicky home radius 384
|
2018-09-06 11:59:55 -04:00 |
|
mazmazz
|
fd037fe763
|
Limit random fish color to SRB2's defaults
|
2018-09-06 11:56:55 -04:00 |
|
mazmazz
|
2b93a38f8e
|
Change default radius to 448
* Put default radius back in FLICKY_CENTER states
|
2018-09-06 11:54:06 -04:00 |
|
mazmazz
|
7b3c4aee33
|
Impose home radius on aimless flickies; improve randomness of flickyhitwall angle
|
2018-09-06 11:17:08 -04:00 |
|
mazmazz
|
04a59aacc4
|
Only allow flicky bounce (MF_NOCLIPTHING) if also in-place (MF_GRENADEBOUNCE)
|
2018-09-06 10:32:26 -04:00 |
|
mazmazz
|
c61cbcdf22
|
Erase default home radius from states and impose default on home check
|
2018-09-06 10:20:01 -04:00 |
|