Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
collect_common.hpp File Reference
#include "inexor/shared/tools.hpp"
#include "inexor/shared/geom.hpp"
#include "inexor/shared/cube_types.hpp"
#include "inexor/shared/cube_vector.hpp"
#include "inexor/shared/cube_loops.hpp"
#include "inexor/fpsgame/teaminfo.hpp"

Go to the source code of this file.

Classes

struct  collectmode_common
 
struct  collectmode_common::base
 
struct  collectmode_common::token
 

Macros

#define collectteambase(s)   (!strcmp(s, "good") ? 1 : (!strcmp(s, "evil") ? 2 : 0))
 
#define collectbaseteam(i)   (i==1 ? "good" : (i==2 ? "evil" : NULL))
 

Macro Definition Documentation

#define collectbaseteam (   i)    (i==1 ? "good" : (i==2 ? "evil" : NULL))
#define collectteambase (   s)    (!strcmp(s, "good") ? 1 : (!strcmp(s, "evil") ? 2 : 0))