Skip to content

Releases: kalbmar/restock

Restock 1.0.1

26 Mar 18:43
Compare
Choose a tag to compare

Fix name constant 'TEAM_ALIIES' to 'TEAM_ALLIES'
Fix name function 'Commmand_Create' to 'Command_Create'
Fix name function 'Message_RestocketAmmo' to 'Message_RestockedAmmo'
Delete empty line
Fix name variable 'g_timerToNextUseResrock' to 'g_timerToNextUseRestock'
Change name function 'ConVar_GetMaxCountUses' to 'ConVar_GetMaxCountUsesRestock'
Change name function 'Timer_Destroy' to 'Timer_NextRestockDestroy'
Delete list marker in description readme
Move header files to folder 'include/restock'

Restock 1.0.0

26 Mar 11:32
Compare
Choose a tag to compare

Delete:

  • module "variables"
  • include "constant"

All variables is 'static' and move to modules

Rename:

  • module "command" to "console-command"
  • module "con-var" to "console-variable"
  • variable 'g_secondToUse' to 'g_secondToUseRestock'

Add:

  • module "client"
  • include "console-command"
  • include "sound"
  • include "timer"
  • include "use-case"
  • include "weapon"

Add functions:

  • Client_ResetRestocked
  • Client_IncrementCounterRestockUses
  • ConVar_GetDelayUsesRestock
  • ConVar_GetMaxCountUses
  • Timer_ResetTimeToNextUse
  • Timer_IsValid
  • Timer_Destroy
  • Timer_TimeToUseRestock
  • Timer_ResetTimeToUseRestock
  • Weapon_GetGrenadeRifleName
  • Weapon_GetAmmoAmount

Delete functions:

  • Client_GetTeam

Change arguments in function:

  • Message_RestocketAmmo
  • UseCase_GiveAmmo

Restock 0.1.0

14 Mar 13:23
Compare
Choose a tag to compare

First release