MCPcopy Create free account
hub / github.com/JACoders/OpenJK / G_SpawnVector

Function G_SpawnVector

code/game/g_spawn.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117qboolean G_SpawnVector( const char *key, const char *defaultString, float *out ) {
118 char *s;
119 qboolean present;
120
121 present = G_SpawnString( key, defaultString, &s );
122 sscanf( s, "%f %f %f", &out[0], &out[1], &out[2] );
123 return present;
124}
125
126qboolean G_SpawnVector4( const char *key, const char *defaultString, float *out ) {
127 char *s;

Callers 6

SP_CreateRainFunction · 0.70
SP_misc_model_ghoulFunction · 0.70
InitBBrushFunction · 0.70
SP_misc_model_breakableFunction · 0.70
InitMoverFunction · 0.70
SP_misc_skyportalFunction · 0.70

Calls 2

sscanfFunction · 0.85
G_SpawnStringFunction · 0.70

Tested by

no test coverage detected