-
- Downloads
There are now captions for specific types of music! (Currently signified with...
There are now captions for specific types of music! (Currently signified with an M, but I'll change that in a bit...) A whole lotta things needed to be modified for this, though. * Serious refactor of - and internal exposure of - what has become S_StartCaption(). * Renaming of a few existing captions. * The prevention of access to - or writing over - sfx_None's stuff in SOC or Lua. * The new Lua wrapper function S_StartMusicCaption(string, tics, optional player), which essentially allows custom music captions to be created. (This is best used for stuff like final lap music in SRB2 Kart or bonus time in a thokker-like game, not a comprehensive Now Playing expy. That'd be a different kettle of fish.) Also, updated all the lock-on stuff to use P_IsLocalPlayer instead of rolling my own.
Showing
- src/dehacked.c 2 additions, 2 deletionssrc/dehacked.c
- src/lua_baselib.c 27 additions, 1 deletionsrc/lua_baselib.c
- src/lua_infolib.c 5 additions, 5 deletionssrc/lua_infolib.c
- src/p_enemy.c 5 additions, 0 deletionssrc/p_enemy.c
- src/p_inter.c 4 additions, 0 deletionssrc/p_inter.c
- src/p_user.c 13 additions, 5 deletionssrc/p_user.c
- src/s_sound.c 90 additions, 116 deletionssrc/s_sound.c
- src/s_sound.h 3 additions, 1 deletionsrc/s_sound.h
- src/screen.c 7 additions, 5 deletionssrc/screen.c
- src/sounds.c 7 additions, 6 deletionssrc/sounds.c
Loading
Please register or sign in to comment