mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
vscript additions and fixes:
baseanimating.h
baseanimating.cpp
- Added CBaseAnimating::SequenceDuration (ScriptSequenceDuration)
- Added CBaseAnimating::GetPlaybackRate
- Added CBaseAnimating::SetPlaybackRate
- Added CBaseAnimating::GetCycle
- Added CBaseAnimating::SetCycle
triggers.h
triggers.cpp
- Fixed CTriggerCamera::ScriptSetFov setting player FOV while disabled
- Added CBaseTrigger::Enable
- Added CBaseTrigger::Disable
- Added CBaseTrigger::TouchTest
- Added CBaseTrigger::IsTouching (ScriptIsTouching)
vscript_server.nut
vscript_server.cpp
- Added CEntities::FindByClassnameWithinBox
- Added ::SendToConsoleServer
- Added ::CancelEntityIOEvent
- Added ::GetEntityIOEventTimeLeft
- Moved ScriptDispatchParticleEffect to shared code
eventqueue.h
cbase.h
cbase.cpp
- Set entity I/O con output colour
- Added (CEventQueue::CancelEventsByInput)
- Added (CEventQueue::RemoveEvent)
- Added (CEventQueue::GetTimeLeft)
baseentity.h
baseentity.cpp
- Added CBaseEntity::SetTransmitState
- Added CBaseEntity::GetTransmitState
- Added CBaseEntity::AcceptInput (ScriptAcceptInput)
- Added CBaseEntity::FireOutput (ScriptFireOutput)
- Added CBaseEntity::GetMaxOutputDelay
- Added CBaseEntity::CancelEventsByInput
- Added player_use event on InputUse
- Fixed InputKill on players
ivscript.h
vscript_squirrel.cpp
- Added IScriptVM::ArrayAppend
- Fixed buffer overflow crash
- Increased print buffer to 2048 from 256
- Set vscript print output colour
vscript_funcs_shared.cpp
- Added CNetMsgScriptHelper
(CScriptGameEventListener)
- Added ::ListenToGameEvent
- Added ::StopListeningToGameEvent
- Added ::StopListeningToAllGameEvents
- Added ::FireGameEvent
- Added ::FireGameEventLocal
(CScriptSaveRestoreUtil)
- Added ::SaveTable
- Added ::RestoreTable
- Added ::ClearSavedTable
- Added callbacks ::OnSave, ::OnRestore
(CScriptReadWriteFile)
- Added ::StringToFile
- Added ::FileToString
- Added GlobalSys::GetCommandLine
- Added GlobalSys::CommandLineCheck
- Added GlobalSys::CommandLineCheckStr
- Added GlobalSys::CommandLineCheckFloat
- Added GlobalSys::CommandLineCheckInt
- Added ::GetCPUUsage
- Added ::NXPrint
- Added ::Msg (ScriptMsg)
- Removed misplaced condition checks
- Fixed ScriptEntitiesInBox, *AtPoint, *InSphere
logic_eventlistener.cpp
- Removed redundant dev msg
gamestringpool.cpp
- Fixed string pool dump sort
This commit is contained in:
@@ -389,10 +389,10 @@ void RegisterMathScriptFunctions()
|
||||
{
|
||||
ScriptRegisterFunction( g_pScriptVM, RandomFloat, "Generate a random floating point number within a range, inclusive." );
|
||||
ScriptRegisterFunction( g_pScriptVM, RandomInt, "Generate a random integer within a range, inclusive." );
|
||||
ScriptRegisterFunction( g_pScriptVM, Approach, "Returns a value which approaches the target value from the input value with the specified speed." );
|
||||
//ScriptRegisterFunction( g_pScriptVM, Approach, "Returns a value which approaches the target value from the input value with the specified speed." );
|
||||
ScriptRegisterFunction( g_pScriptVM, ApproachAngle, "Returns an angle which approaches the target angle from the input angle with the specified speed." );
|
||||
ScriptRegisterFunction( g_pScriptVM, AngleDiff, "Returns the degrees difference between two yaw angles." );
|
||||
ScriptRegisterFunction( g_pScriptVM, AngleDistance, "Returns the distance between two angles." );
|
||||
//ScriptRegisterFunction( g_pScriptVM, AngleDistance, "Returns the distance between two angles." );
|
||||
ScriptRegisterFunction( g_pScriptVM, AngleNormalize, "Clamps an angle to be in between -360 and 360." );
|
||||
ScriptRegisterFunction( g_pScriptVM, AngleNormalizePositive, "Clamps an angle to be in between 0 and 360." );
|
||||
ScriptRegisterFunction( g_pScriptVM, AnglesAreEqual, "Checks if two angles are equal based on a given tolerance value." );
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user