#include "rSDL.h"#include "aa_config.h"#include "gParser.h"#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <stdarg.h>#include <memory>#include "eCoord.h"#include "eGrid.h"#include "eTess2.h"#include "gWall.h"#include "gArena.h"#include "tMemManager.h"#include "tResourceManager.h"#include "tRecorder.h"#include "tConfiguration.h"#include "tPolynomial.h"#include "tPolynomialMarshaler.h"#include "gGame.h"#include "gWinZone.h"

Go to the source code of this file.
Defines | |
| #define | myxmlHasProp(cur, name) xmlHasProp(cur, reinterpret_cast<const xmlChar *>(name)) |
Functions | |
| static void | sg_Deprecated () |
| Warn about deprecated map format. | |
Variables | |
| int | mapVersion = 0 |
| #define myxmlHasProp | ( | cur, | |||
| name | ) | xmlHasProp(cur, reinterpret_cast<const xmlChar *>(name)) |
| static void sg_Deprecated | ( | ) | [static] |
Warn about deprecated map format.
Definition at line 68 of file gParser.cpp.
References tColoredString::ColorString(), con, nCLIENT, and sn_GetNetState().
Referenced by gParser::Parse(), gParser::parseObstacleWall(), gParser::parseWallLine(), and gParser::parseWallRect().
00069 { 00070 // no use informing players on the client, they can't do anything about it anyway 00071 if ( sn_GetNetState() != nCLIENT ) 00072 con << "\n\n" << tColoredString::ColorString(1,.3,.3) << "WARNING: You are loading a map that is written in a deprecated format. It should work for now, but will stop to do so in one of the next releases. Have the map upgraded to an up-to-date version as soon as possible.\n\n"; 00073 }


| int mapVersion = 0 |
Definition at line 65 of file gParser.cpp.
Referenced by gParser::parseMap(), and gParser::parseZone().
1.5.4