DDraceNetwork Docs
gamecore.cpp File Reference
#include "gamecore.h"
#include "collision.h"
#include "mapitems.h"
#include "teamscore.h"
#include <base/system.h>
#include <engine/shared/config.h>
#include <limits>
#include "tuning.h"
Include dependency graph for gamecore.cpp:

Macros

#define MACRO_TUNING_PARAM(Name, ScriptName, Value, Description)   #ScriptName,
 

Functions

void StrToInts (int *pInts, size_t NumInts, const char *pStr)
 
bool IntsToStr (const int *pInts, size_t NumInts, char *pStr, size_t StrSize)
 
float VelocityRamp (float Value, float Start, float Range, float Curvature)
 

Macro Definition Documentation

◆ MACRO_TUNING_PARAM

#define MACRO_TUNING_PARAM (   Name,
  ScriptName,
  Value,
  Description 
)    #ScriptName,

Function Documentation

◆ IntsToStr()

bool IntsToStr ( const int *  pInts,
size_t  NumInts,
char *  pStr,
size_t  StrSize 
)

◆ StrToInts()

void StrToInts ( int *  pInts,
size_t  NumInts,
const char *  pStr 
)

◆ VelocityRamp()

float VelocityRamp ( float  Value,
float  Start,
float  Range,
float  Curvature 
)