Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef _RESOURCE_H_
#define _RESOURCE_H_

#define GETTIME() start_time - time_t(nullptr)

#if defined(_MSC_VER)
#    pragma warning( push )
#        pragma warning(disable:4244)
#elif defined(__GNUC__)
#    pragma GCC diagnostic push
#    //pragma GCC diagnostic ignored "-Wall"
#endif

//#define _UNIX_
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <cassert>
#include <list>
#include <map>
#include <algorithm>
#include <deque>
#include <set>

#include "Utility/Headers/DataTypes.h"

void* operator new[](size_t size, 
                     size_t alignment, 
                     size_t alignmentOffset, 
                     const char* pName, 
                     int flags, 
                     unsigned debugFlags, 
                     const char* file, 
                     int line);

// EASTL also wants us to define this (see string.h line 197)
int Vsnprintf8(char* pDestination, 
               size_t n, 
               const char* pFormat, 
               va_list arguments);

#if defined(_MSC_VER)
#    pragma warning( pop )
#elif defined(__GNUC__)
#    pragma GCC diagnostic pop
#endif

#endif

Commits for Divide-Framework/trunk/Source Code/Server/Headers/resource.h

Diff revisions: vs.
Revision Author Commited Message
337 Diff Diff IonutCava picture IonutCava Wed 17 Dec, 2014 17:25:16 +0000

[Ionut]
- Replaced all tabs with 4 spaces (some spacing may be off now. no way to check all the files.)
- Moved implementation details for ParamHandler, BoundingBox, BoundingSphere and ProfileTimer to proper .inl and .cpp files. (more to follow)
- Update all forward declared enums with the required storage type (as requested by the C++11 standard)

334 IonutCava picture IonutCava Wed 10 Dec, 2014 17:21:22 +0000

[Ionut]
- Reorganized the Hardware project and renamed to "Platform"
- Reorganized the Server project