This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
ReC98
mirror of
https://github.com/nmlgc/ReC98.git
Watch
1
Star
1
Fork
You've already forked ReC98
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
18b9cd7cee
ReC98
/
th01
/
math
/
wave.hpp
4 lines
100 B
C++
Raw
Normal View
History
Unescape
Escape
[Maintenance] Declare distinct types for pixel and VRAM sizes Oh wait, we also need one of those for an upcoming structure! Part of P0111, funded by [Anonymous] and Blue Bolt.
2020-08-21 18:13:08 +00:00
inline
pixel_t
wave_x
(
pixel_t
amp
,
int
t
)
{
[Decompilation] [th01] Boss entities: Wavy blitting Used for Elis' entrance animation. Including an unused unblitting + blitting function – apparently, ZUN wrote that one before the sloppy EGC-accelerated wavy unblitting function that I decompiled way back in 6d2fa9f. Oh well, the latter one is fine in context, since there are no other sprites on screen during the animation. Part of P0108, funded by Yanga.
2020-08-08 18:12:22 +00:00
return
(
(
static_cast
<
long
>
(
amp
)
*
Sin8
(
t
)
)
/
0x100
)
;
}