Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros | Typedefs | Functions | Variables
3D_IO.H File Reference
#include "GENERAL.H"
#include "VIEWFILE.H"

Go to the source code of this file.

Macros

#define MAP_GROUP_BAD   NULL
 
#define OBJ_COLLISION_GROUP_NONE   0xFFFF
 
#define OBJECT_TYPE_PLAYER_1_START   1
 
#define OBJECT_TYPE_PLAYER_4_START   4
 
#define VIEW3D_MAX_OBJECTS   1000
 

Typedefs

typedef T_voidT_mapGroup
 

Functions

T_byte8MipMap (T_byte8 *p_texture)
 
T_void ReleaseMipMap (T_byte8 *p_mipmap)
 
T_sword16 View3dCalculateLowestCeiling (T_word16 sector)
 
T_mapGroup View3dCreateMapGroup (T_void)
 
T_void View3dDestroyMapGroup (T_mapGroup p_mapGroup)
 
T_void View3dGetMapGroup (T_mapGroup p_mapGroup)
 
T_void View3dGetStartLocation (T_word16 num, T_sword16 *p_x, T_sword16 *p_y, T_word16 *p_angle)
 
T_void View3dLoadMap (T_byte8 *MapName)
 
T_void View3dResolveSpecialObjects (T_void)
 
T_void View3dSetMapGroup (T_mapGroup p_mapGroup)
 
T_void View3dSetSectorType (T_word16 sector, T_word16 type)
 
T_void View3dUnloadMap (T_void)
 

Variables

T_3dBlockMapG_3dBlockMapArray
 
T_3dBlockMapHeaderG_3dBlockMapHeader
 
T_sword16 G_3dCeilingHeight
 
T_resourceG_3dCeilingResourceArray
 
T_sword32 G_3dCosPlayerAngle
 
T_sword16 G_3dFloorHeight
 
T_resourceG_3dFloorResourceArray
 
T_3dLineG_3dLineArray
 
T_resourceG_3dLowerResourceArray
 
T_resourceG_3dMainResourceArray
 
T_3dNodeG_3dNodeArray
 
T_doubleLinkListG_3dObjCollisionLists
 
T_word16 G_3dPlayerAngle
 
T_sword32 G_3dPlayerHeight
 
T_word16 G_3dPlayerLeftAngle
 
T_word16 G_3dPlayerRightAngle
 
T_sword16 G_3dPlayerX
 
T_sword16 G_3dPlayerY
 
T_3dNode ** G_3dPNodeArray
 
T_byte8G_3dReject
 
T_sword16 G_3dRootBSPNode
 
T_3dSectorG_3dSectorArray
 
T_3dSectorInfoG_3dSectorInfoArray
 
T_3dSegmentG_3dSegArray
 
T_3dSegmentSectorG_3dSegmentSectorArray
 
T_3dSideG_3dSideArray
 
T_sword32 G_3dSinPlayerAngle
 
T_resourceG_3dUpperResourceArray
 
T_3dVertexG_3dVertexArray
 
T_word16 G_BlockmapSize
 
T_3dObjectG_First3dObject
 
T_3dObjectG_Last3dObject
 
T_word16 G_lastCollisionList
 
T_word16 G_Num3dLines
 
T_word16 G_Num3dNodes
 
T_word16 G_Num3dObjects
 
T_word16 G_Num3dSectors
 
T_word16 G_Num3dSegs
 
T_word16 G_Num3dSides
 
T_word16 G_Num3dSSectors
 
T_word16 G_Num3dThings
 
T_word16 G_Num3dVertexes
 
T_word16 G_objCollisionNumX
 
T_word16 G_objCollisionNumY
 

Macro Definition Documentation

#define MAP_GROUP_BAD   NULL
#define OBJ_COLLISION_GROUP_NONE   0xFFFF
#define OBJECT_TYPE_PLAYER_1_START   1
#define OBJECT_TYPE_PLAYER_4_START   4
#define VIEW3D_MAX_OBJECTS   1000

Typedef Documentation

typedef T_void* T_mapGroup

Function Documentation

T_byte8* MipMap ( T_byte8 p_texture)
T_void ReleaseMipMap ( T_byte8 p_mipmap)

Variable Documentation

T_word16 G_Num3dThings