Renamed some function names for readability (merged from main Nuclide tree)

This commit is contained in:
Marco Cawthorne 2021-02-17 00:45:43 +01:00
parent 542bc73bef
commit 41f5ca7853
5 changed files with 8 additions and 11 deletions

View file

@ -15,7 +15,7 @@
*/
int
Game_Entity_Update(float id, float new)
ClientGame_EntityUpdate(float id, float new)
{
switch (id) {
default:

View file

@ -15,7 +15,7 @@
*/
void
Game_Parse_Event(float fHeader)
ClientGame_EventParse(float fHeader)
{
switch (fHeader) {
case EV_OBITUARY:

View file

@ -19,24 +19,24 @@ float(entity foo, float chanid) getchannellevel = #0;
/*
=================
Client_Init
ClientGame_Init
Comparable to worldspawn in SSQC in that it's mostly used for precaches
=================
*/
void
Client_Init(float apilevel, string enginename, float engineversion)
ClientGame_Init(float apilevel, string enginename, float engineversion)
{
}
void
Client_InitDone(void)
ClientGame_InitDone(void)
{
Obituary_Init();
}
void
Game_RendererRestarted(string rstr)
ClientGame_RendererRestart(string rstr)
{
FX_Blood_Init();
FX_BreakModel_Init();

View file

@ -36,7 +36,4 @@ hud.qc
../../../base/src/client/modelevent.qc
../../../src/client/include.src
../../../src/shared/include.src
#endlist

View file

@ -210,10 +210,10 @@ w_forks_secondary(void)
pl.ammo_forks--;
Sound_Play(pl, CHAN_WEAPON, "weapon_forks.throw");
#else
#endif
Weapons_ViewPunchAngle([-2,0,0]);
Weapons_ViewAnimation(FORKS_THROW);
#endif
pl.w_attack_next = 0.5f;
pl.w_idle_next = 5.0f;