refactor: move wave length calculation to util class
This commit is contained in:
parent
659db9b063
commit
5fddfed5ce
8 changed files with 87 additions and 86 deletions
|
|
@ -162,9 +162,6 @@ public:
|
|||
// test line
|
||||
void testHull (const Vector &start, const Vector &end, int ignoreFlags, int hullNumber, edict_t *ignoreEntity, TraceResult *ptr);
|
||||
|
||||
// get's the wave length
|
||||
float getWaveLen (const char *fileName);
|
||||
|
||||
// we are on dedicated server ?
|
||||
bool isDedicated ();
|
||||
|
||||
|
|
|
|||
|
|
@ -105,6 +105,9 @@ public:
|
|||
// get the current date and time as string
|
||||
String getCurrentDateTime ();
|
||||
|
||||
// get's the wave length
|
||||
float getWaveLength (StringRef filename);
|
||||
|
||||
public:
|
||||
|
||||
// re-show welcome after changelevel ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue