![]() |
Rise
The Vieneo Province
|
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <Windows.h>
#include <d3dx9.h>
#include "../Common/server.h"
#include <vector>
#include "buildings.h"
Go to the source code of this file.
Classes | |
struct | D3DVERTEX |
struct | D3DVERTEX2 |
struct | D3DSKYDOME |
struct | D3DRAINDROP |
struct | D3DSKYRING |
struct | D3DSTATICSTARS |
struct | D3DNOPSIZE |
struct | D3DSCREEN |
struct | D3DINSTRUMENT |
struct | D3DINSTCOLOR |
struct | D3DNONORMAL |
struct | D3DLOCALGRID |
struct | D3DLOCALGRID2 |
struct | LOCALGRID2 |
struct | BATCHINDEX2 |
struct | s_polygon_extras2 |
struct | s_light_effect |
struct | s_polygon_object |
struct | SWeaponData |
struct | s_mesh_component |
struct | RTSGRID |
struct | BUILDZONE |
struct | Ssorter |
struct | s_universe_object |
struct | s_city_stuff |
struct | s_network_objects |
struct | Scockpit |
struct | LIGHTNINGABOVE |
struct | LIGHTNINGBELOW |
struct | FIREWORKS |
struct | Sinteractive |
struct | Sani |
struct | SShockWave |
Macros | |
#define | csC 8.0f |
#define | farplaneC 384.0f |
#define | cutplaneC 256.0f |
#define | nearplaneC 0.001f |
#define | cockplanenearC 0.0001f |
#define | cockplanefarC 0.1f |
#define | maxpolyC 26 |
#define | maxstarC 10 |
#define | maxdockC 3 |
#define | cityscaleC 0.0039f |
#define | shipdockscaleC 0.00034822f |
#define | INTERIOR_SCALE 0.000006570188679f |
#define | Kg2Lbs 2.2046226218f |
#define | ZeroCelsiusToKelvin 273.15f |
#define | trimlimiterC 0.26179938779914943653855361527329f |
#define | MaxAcceleration 327.67f |
#define | landformtextureC 32 |
#define | transitiontextureC 31 |
#define | shiptextureC 208 |
#define | cockpittextureC 30 |
#define | docktextureC 68 |
#define | runninglightsC 125 |
#define | citytextureC 175 |
#define | RTStextureC 74 |
#define | weaponanimateC 16 |
#define | elmoAnimateC 4 |
#define | firework1C 128 |
#define | firework2C 92 |
#define | firework3C 45 |
#define | dihvanimateC 64 |
#define | heartanimateC 29 |
#define | buildingVBC 64 |
#define | drawlistC 3205 |
#define | visiblevertC 36528 |
#define | cockpitvertC 13812 |
#define | dockvertC 2994 |
#define | cloudindicesC 19230 |
#define | maxcompareC 2147483648 |
#define | maxcomparebitC 32 |
#define | vphelpC 128 |
#define | starsC 18469 |
#define | weaponfuzerreadyC 0.85f |
#define | weaponsinkerreadyC 1.15f |
#define | weaponlongarmreadyC 2.85f |
#define | MAX_RAINDROPS 8192 |
#define | ACLlightningC 8 |
#define | MAX_ANI 15 |
#define | MAX_STEPS 10 |
#define | mu 97386.86f |
#define | skydomeC 194 |
#define | rhoOver2SlugsCuFt2 0.003085346f |
#define | bulkElasticModulusDryAirGPa 142000.0f |
#define | adiabaticIndex 1.4f |
#define | gasConstantm2s2K 286.0f |
#define | ScaleHeightC 6.923432133f |
#define | SeaLevelPressureMb 2630.4f |
#define | MbPerFoot 0.03378431f |
#define | radiusC 2939.6f |
#define | gravityC 0.01127f |
#define | gForceKmSSC 0.00980665f |
#define | oneOvergForceKmSSC 101.971621f |
#define | cloudTopsMslC 10.0f |
#define | cloudBufferMslC 9.5f |
#define | cloudTopsRadiusC 2949.6f |
#define | aftersdC 52.5f |
#define | sunrC 0.825f |
#define | sungC 0.9125f |
#define | sunbC 1.0f |
#define | D3DFVF_VERTEX ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 ) |
#define | D3DFVF_VERTEX2 ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX2 ) |
#define | D3DFVF_SKYDOME ( D3DFVF_XYZ | D3DFVF_DIFFUSE ) |
#define | D3DFVF_RAINDROP ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE ) |
#define | D3DFVF_SKYRING ( D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1 ) |
#define | D3DFVF_STATICSTARS ( D3DFVF_XYZ | D3DFVF_PSIZE | D3DFVF_DIFFUSE ) |
#define | D3DFVF_NOPSIZE ( D3DFVF_XYZ | D3DFVF_DIFFUSE ) |
#define | D3DFVF_NONORMAL ( D3DFVF_XYZ | D3DFVF_TEX1 ) |
#define | D3DFVF_SCREEN ( D3DFVF_XYZRHW | D3DFVF_DIFFUSE ) |
#define | D3DFVF_INSTRUMENT ( D3DFVF_XYZRHW | D3DFVF_TEX1 ) |
#define | D3DFVF_INSTCOLOR ( D3DFVF_XYZRHW | D3DFVF_DIFFUSE ) |
#define | D3DFVF_LOCALGRID ( D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1) |
#define | D3DFVF_LOCALGRID2 ( D3DFVF_XYZ | D3DFVF_DIFFUSE| D3DFVF_SPECULAR | D3DFVF_TEX1) |
#define | fireworksC 8 |
#define D3DFVF_INSTCOLOR ( D3DFVF_XYZRHW | D3DFVF_DIFFUSE ) |
#define D3DFVF_LOCALGRID ( D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_SPECULAR | D3DFVF_TEX1) |
#define D3DFVF_LOCALGRID2 ( D3DFVF_XYZ | D3DFVF_DIFFUSE| D3DFVF_SPECULAR | D3DFVF_TEX1) |
#define D3DFVF_RAINDROP ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE ) |
#define D3DFVF_SKYRING ( D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1 ) |
#define D3DFVF_STATICSTARS ( D3DFVF_XYZ | D3DFVF_PSIZE | D3DFVF_DIFFUSE ) |
#define D3DFVF_VERTEX ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1 ) |
#define D3DFVF_VERTEX2 ( D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX2 ) |
s_universe_object allobjects[maxstarC] |
Definition at line 170 of file globals.cpp.
Definition at line 187 of file globals.cpp.
float aoaRad |
Definition at line 33 of file globals.cpp.
char area[3] |
Definition at line 139 of file globals.cpp.
unsigned char BCLobjC |
Definition at line 28 of file globals.cpp.
float bear |
Definition at line 58 of file globals.cpp.
float bearVel |
Definition at line 60 of file globals.cpp.
char buffer1[16384] |
Definition at line 158 of file globals.cpp.
char buffer2[16384] |
Definition at line 162 of file globals.cpp.
char buffer3[16384] |
Definition at line 168 of file globals.cpp.
BUILDZONE buildzone[buildingVBC] |
Definition at line 165 of file globals.cpp.
VECTOR2SHORT bump |
Definition at line 140 of file globals.cpp.
float cash |
Definition at line 146 of file globals.cpp.
const D3DXVECTOR3 centerC |
s_city_stuff citystuff |
Definition at line 172 of file globals.cpp.
char dead |
Definition at line 49 of file globals.cpp.
float deathfuel |
Definition at line 144 of file globals.cpp.
float deathinhibit |
Definition at line 51 of file globals.cpp.
short dihvanimate |
Definition at line 71 of file globals.cpp.
bool dihvcoming |
Definition at line 75 of file globals.cpp.
float dihvelapsed |
Definition at line 74 of file globals.cpp.
long dihvtimeseq |
Definition at line 73 of file globals.cpp.
D3DXVECTOR3 dockInterface |
Definition at line 47 of file globals.cpp.
D3DXVECTOR3 dockMarker |
Definition at line 46 of file globals.cpp.
float dockprogress |
Definition at line 44 of file globals.cpp.
short draglineitemi |
Definition at line 90 of file globals.cpp.
short draglineitemo |
Definition at line 89 of file globals.cpp.
BATCHINDEX2 drawlist[drawlistC] |
Definition at line 156 of file globals.cpp.
const D3DXVECTOR3 eastpole |
float f_ACL |
Definition at line 16 of file globals.cpp.
float f_AGL |
Definition at line 14 of file globals.cpp.
float f_augment |
Definition at line 34 of file globals.cpp.
float f_BCL |
Definition at line 17 of file globals.cpp.
float f_compareFOV |
Definition at line 130 of file globals.cpp.
float f_MSL |
Definition at line 36 of file globals.cpp.
float f_Uphours |
Definition at line 25 of file globals.cpp.
FIREWORKS fireworks[fireworksC] |
Definition at line 181 of file globals.cpp.
float flasher |
Definition at line 65 of file globals.cpp.
float fuel |
Definition at line 143 of file globals.cpp.
bool g_bAboveClouds |
Definition at line 22 of file globals.cpp.
bool g_bAugment |
Definition at line 63 of file globals.cpp.
bool g_bControl |
Definition at line 127 of file globals.cpp.
bool g_bEnabled |
Definition at line 149 of file globals.cpp.
bool g_bGotConclusion |
Definition at line 150 of file globals.cpp.
bool g_bOutside |
bool g_bRoad |
Definition at line 20 of file globals.cpp.
bool g_bRunning |
Definition at line 151 of file globals.cpp.
bool g_bShift |
Definition at line 126 of file globals.cpp.
bool g_bStrapon |
Definition at line 42 of file globals.cpp.
char g_bTextInput |
Definition at line 108 of file globals.cpp.
float g_fFOV |
Definition at line 129 of file globals.cpp.
float g_fhOFF |
Definition at line 131 of file globals.cpp.
float g_fvOFF |
Definition at line 131 of file globals.cpp.
float g_UniverseTime |
Definition at line 24 of file globals.cpp.
D3DXVECTOR3 gravityacc |
Definition at line 100 of file globals.cpp.
D3DXVECTOR3 gravityvec |
Definition at line 98 of file globals.cpp.
LOCALGRID2 gridarray[64][64] |
Definition at line 153 of file globals.cpp.
float groundclose |
Definition at line 39 of file globals.cpp.
float grounditerate |
Definition at line 40 of file globals.cpp.
float groundSpeedKms |
Definition at line 38 of file globals.cpp.
D3DXVECTOR3 insidearray[63][63][3] |
Definition at line 154 of file globals.cpp.
Sinteractive interactive |
Definition at line 183 of file globals.cpp.
D3DXVECTOR3 leveler |
Definition at line 8 of file globals.cpp.
float levelerpitch |
Definition at line 12 of file globals.cpp.
float levelerroll |
Definition at line 13 of file globals.cpp.
LIGHTNINGABOVE lightningabove[ACLlightningC] |
Definition at line 178 of file globals.cpp.
LIGHTNINGBELOW lightningbelow |
Definition at line 179 of file globals.cpp.
D3DXVECTOR3 locvelcomp |
Definition at line 99 of file globals.cpp.
DWORD m_dwSunViz |
Definition at line 68 of file globals.cpp.
float mark |
Definition at line 59 of file globals.cpp.
float markVel |
Definition at line 61 of file globals.cpp.
short maxheight |
Definition at line 137 of file globals.cpp.
short maxwidth |
Definition at line 136 of file globals.cpp.
const D3DXVECTOR3 meridian |
VECTOR2SHORT newdepthpos |
Definition at line 140 of file globals.cpp.
const D3DXVECTOR3 northpoleC |
short olddihvanimate |
Definition at line 72 of file globals.cpp.
float oldflasher |
Definition at line 66 of file globals.cpp.
D3DXVECTOR3 oldvelocity |
Definition at line 102 of file globals.cpp.
Scockpit ourcockpit |
Definition at line 176 of file globals.cpp.
unsigned char ourmoonC |
Definition at line 27 of file globals.cpp.
unsigned char ourplanetC |
Definition at line 31 of file globals.cpp.
unsigned char ourstarC |
Definition at line 30 of file globals.cpp.
char outgoing[80] |
Definition at line 107 of file globals.cpp.
float payload |
Definition at line 145 of file globals.cpp.
s_network_objects playerships[MAX_SCAN] |
Definition at line 174 of file globals.cpp.
s_polygon_object polyobjects[maxpolyC] |
Definition at line 160 of file globals.cpp.
char prompt[80] |
Definition at line 109 of file globals.cpp.
VECTOR2SHORT rts |
Definition at line 140 of file globals.cpp.
long scanscroll |
Definition at line 93 of file globals.cpp.
std::vector<SShockWave> shockwaves |
Definition at line 56 of file globals.cpp.
Ssorter sortme[buildingVBC] |
Definition at line 166 of file globals.cpp.
Ssorter sortmetemp |
Definition at line 166 of file globals.cpp.
D3DXVECTOR3 sumofforces |
Definition at line 103 of file globals.cpp.
unsigned short temptarget |
Definition at line 119 of file globals.cpp.
long topscroll |
Definition at line 94 of file globals.cpp.
float touchdownG |
Definition at line 69 of file globals.cpp.
unsigned char UCLobjC |
Definition at line 29 of file globals.cpp.
D3DXVECTOR3 velocity |
Definition at line 9 of file globals.cpp.
float weapontimer[2] |
Definition at line 142 of file globals.cpp.
long WPtargetsel |
Definition at line 85 of file globals.cpp.
unsigned char WPtargetselgrp |
Definition at line 87 of file globals.cpp.
long WPtargetT |
Definition at line 84 of file globals.cpp.