1
0
forked from 0ad/0ad

Fix missing includes

This was SVN commit r7267.
This commit is contained in:
Ykkrosh 2010-01-10 11:31:31 +00:00
parent f8559e8c99
commit e8008edf1c
8 changed files with 15 additions and 1 deletions

View File

@ -23,6 +23,8 @@
#include "lib/file/vfs/vfs_path.h"
#include <map>
class CSimulation2Impl;
class CSimContext;
class CUnitManager;

View File

@ -20,6 +20,8 @@
#include "simulation2/system/Interface.h"
#include <vector>
/**
* Template manager: Handles the loading of entity template files for the initialisation
* and deserialization of entity components.

View File

@ -25,6 +25,8 @@
#include "simulation2/components/ICmpPosition.h"
#include <vector>
class CSimulation2;
class CCamera;

View File

@ -21,6 +21,8 @@
#include "scriptinterface/ScriptInterface.h"
#include "lib/secure_crt.h"
#include <sstream>
/*
@ -145,7 +147,7 @@ void CDebugSerializer::Put(const char* name, const u8* data, size_t len)
char buf[4];
for (size_t i = 0; i < len; ++i)
{
sprintf(buf, " %02x", data[i]);
sprintf_s(buf, ARRAY_SIZE(buf), " %02x", data[i]);
m_Stream << buf;
}

View File

@ -28,6 +28,8 @@
#include "simulation2/serialization/StdSerializer.h"
#include "simulation2/serialization/StdDeserializer.h"
#include <iostream>
/**
* @file
* Various common features for component test cases.

View File

@ -25,6 +25,8 @@
#include "ps/CLogger.h"
#include <iostream>
#define TS_ASSERT_STREAM(stream, len, buffer) \
TS_ASSERT_EQUALS(stream.str().length(), (size_t)len); \
TS_ASSERT_SAME_DATA(stream.str().data(), buffer, len)

View File

@ -26,6 +26,7 @@
#include <fstream>
#include "lib/self_test.h"
#include <cxxtest/GlobalFixture.h>
#if OS_WIN

View File

@ -20,6 +20,7 @@
#include <set>
#include <vector>
#include <sstream>
#include "ps/CStr.h"
#include "maths/Vector3D.h"