Definition in file ATypes.h.
#include "ExternalLibs.h"
Include dependency graph for ATypes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Compounds | |
| class | AProfilerBlock |
| class | Box |
| class | Error |
| Use this when throwing an error. More... | |
| struct | Int2Tuple |
| a tuple of 2 ints. Each number can't be greater than 999 More... | |
| struct | Int3Tuple |
| The layman's tuple of 3 ints. Each number can't be greater than 999. More... | |
| struct | MeshEntry |
| User code picks a mesh by giving an index to an array of MeshEntry. More... | |
| struct | MeshRenderRequestEntry |
| A request to render a mesh. To batch up requests that a user wants so they can be processed at the same time, for performance reasons. More... | |
| struct | OverlayEntry |
| When an overlay operation is requested, we add an overlay entry to the list of things to do. More... | |
| struct | SpriteRenderRequestEntry |
| class | TerminateNormally |
| Causes the program to exit. More... | |
| struct | TerrainEntry |
| ----------------------------------------------------------------------------------- More... | |
Typedefs | |
| typedef D3DXVECTOR2 | Vec2D |
| typedef D3DXVECTOR3 | Vec3D |
| typedef D3DXVECTOR4 | Vec4D |
| typedef D3DXMATRIX | Matx |
| typedef void(* | AierraInitFunc )() |
| typedef void(* | AierraUpdateFunc )() |
| typedef void(* | AierraRenderFunc )() |
| typedef void(* | AierraShutdownFunc )() |
| typedef int | AFont |
| typedef int | AMesh |
| typedef int | ATexture |
| typedef int | ATerrain |
Functions | |
| void | profiler_begin (string s) |
| void | profiler_end (string s) |
Variables | |
| const int | TERR_ROWS = 90 |
| const int | TERR_COLS = 90 |
|
|
Definition at line 44 of file ATypes.h. Referenced by load_font(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 45 of file ATypes.h. Referenced by load_mesh(), BattleGroup::render(), BattleEntry::renderBullets(), and BattleEntry::renderDebris(). |
|
|
Definition at line 47 of file ATypes.h. Referenced by load_terrain(), and terrain_create(). |
|
|
Definition at line 46 of file ATypes.h. Referenced by displayLoadingScreen(), Icon::image(), load_texture(), BattleGroup::render(), renderParticleList(), renderSponsor(), and sprite_process(). |
|
|
Definition at line 37 of file ATypes.h. Referenced by flare_process(), math_translateObjectToWorld(), mesh_processRenderRequests(), sprite_process(), and terrain_processRenderRequest(). |
|
|
|
|
Definition at line 36 of file ATypes.h. Referenced by BattleGroup::render(), BattleEntry::renderEnvironment(), and renderParticleList(). |
|
|
Definition at line 56 of file AProfiler.cpp. References getOSTime(). Referenced by AProfilerBlock::AProfilerBlock(), and doGameLoop().
00057 {
00058 map<string,__int64>::iterator iter;
00059 iter = AS.profiler_startTime.find(s);
00060 if( iter==AS.profiler_startTime.end() ) // if this is the first time we come across this name
00061 {
00062 AS.profiler_startTime[s] = getOSTime();
00063 AS.profiler_totalTime[s] = 0;
00064 AS.profiler_names.push_back(s);
00065 }
00066 else
00067 {
00068 AS.profiler_startTime[s] = getOSTime();
00069 }
00070 }
|
|
|
Definition at line 72 of file AProfiler.cpp. References getOSTime(). Referenced by doGameLoop(), and AProfilerBlock::~AProfilerBlock().
00073 {
00074 map<string,__int64>::iterator iter;
00075 iter = AS.profiler_totalTime.find(s);
00076 if( iter==AS.profiler_totalTime.end() )
00077 {
00078 throw Error("Profiler_end("+s+") not preceded by Profiler_begin");
00079 }
00080 else
00081 {
00082 iter->second += getOSTime() - AS.profiler_startTime.find(s)->second;
00083 }
00084 }
|
|
|
Definition at line 50 of file ATypes.h. Referenced by createBMap(), createNMap(), createVIB(), createZMap(), terrain_create(), terrain_getHeight(), and terrain_processRenderRequest(). |
|
|
Definition at line 49 of file ATypes.h. Referenced by createBMap(), createNMap(), createVIB(), createZMap(), terrain_create(), terrain_getHeight(), and terrain_processRenderRequest(). |
1.3-rc2