[iortcw] 300/497: SP: Add new functions to g_funcs.h and g_func_decs.h

Simon McVittie smcv at debian.org
Fri Sep 8 10:37:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 520a830d6f5276da44e178bb3325bb714828261b
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Wed Feb 18 18:35:27 2015 +0000

    SP: Add new functions to g_funcs.h and g_func_decs.h
---
 MP/code/cgame/cg_servercmds.c | 2 +-
 SP/code/game/g_func_decs.h    | 2 ++
 SP/code/game/g_funcs.h        | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/MP/code/cgame/cg_servercmds.c b/MP/code/cgame/cg_servercmds.c
index 15511bc..d2256dc 100644
--- a/MP/code/cgame/cg_servercmds.c
+++ b/MP/code/cgame/cg_servercmds.c
@@ -1581,7 +1581,7 @@ static void CG_ServerCommand( void ) {
 	}
 
 //	if ( !strcmp( cmd, "startCam" ) ) {
-//		CG_StartCamera( CG_Argv(1), atoi(CG_Argv(1)) );
+//		CG_StartCamera( CG_Argv( 1 ), atoi( CG_Argv( 2 ) ) );
 //		return;
 //	}
 
diff --git a/SP/code/game/g_func_decs.h b/SP/code/game/g_func_decs.h
index 732f253..4f8957e 100644
--- a/SP/code/game/g_func_decs.h
+++ b/SP/code/game/g_func_decs.h
@@ -620,7 +620,9 @@ extern qboolean G_ScriptAction_AxisRespawntime ( gentity_t * ent , char * params
 extern qboolean G_ScriptAction_MapDescription ( gentity_t * ent , char * params ) ;
 extern qboolean G_ScriptAction_AIScriptName ( gentity_t * ent , char * params ) ;
 extern qboolean G_ScriptAction_EntityScriptName ( gentity_t * ent , char * params ) ;
+extern qboolean G_ScriptStartCam ( gentity_t * ent , char * params, qboolean black ) ;
 extern qboolean G_ScriptAction_StartCam ( gentity_t * ent , char * params ) ;
+extern qboolean G_ScriptAction_StartCamBlack ( gentity_t * ent , char * params ) ;
 extern qboolean G_ScriptAction_StopSound ( gentity_t * ent , char * params ) ;
 extern qboolean G_ScriptAction_Halt ( gentity_t * ent , char * params ) ;
 extern qboolean G_ScriptAction_TagConnect ( gentity_t * ent , char * params ) ;
diff --git a/SP/code/game/g_funcs.h b/SP/code/game/g_funcs.h
index 46ac94a..617c677 100644
--- a/SP/code/game/g_funcs.h
+++ b/SP/code/game/g_funcs.h
@@ -620,7 +620,9 @@ If you have questions concerning this license or the applicable additional terms
 {"G_ScriptAction_MapDescription", (byte *)G_ScriptAction_MapDescription},
 {"G_ScriptAction_AIScriptName", (byte *)G_ScriptAction_AIScriptName},
 {"G_ScriptAction_EntityScriptName", (byte *)G_ScriptAction_EntityScriptName},
+{"G_ScriptStartCam", (byte *)G_ScriptStartCam},
 {"G_ScriptAction_StartCam", (byte *)G_ScriptAction_StartCam},
+{"G_ScriptAction_StartCamBlack", (byte *)G_ScriptAction_StartCamBlack},
 {"G_ScriptAction_StopSound", (byte *)G_ScriptAction_StopSound},
 {"G_ScriptAction_Halt", (byte *)G_ScriptAction_Halt},
 {"G_ScriptAction_TagConnect", (byte *)G_ScriptAction_TagConnect},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list