#include <engine/ScorchedContext.h>#include <engine/ActionController.h>#include <target/TargetContainer.h>#include <target/TargetDamageCalc.h>#include <target/TargetRenderer.h>#include <target/TargetState.h>#include <target/TargetSpace.h>#include <actions/Napalm.h>#include <actions/CameraPositionAction.h>#include <sprites/ExplosionTextures.h>#include <GLEXT/GLStateExtension.h>#include <landscape/Landscape.h>#include <landscape/DeformTextures.h>#include <landscape/Smoke.h>#include <client/ScorchedClient.h>#include <landscapemap/LandscapeMaps.h>#include <landscapedef/LandscapeDefinition.h>#include <landscapedef/LandscapeTex.h>#include <weapons/AccessoryStore.h>#include <common/Defines.h>Go to the source code of this file.
Defines | |
| #define | XY_TO_UINT(x, y) ((((unsigned int) x) << 16) | (((unsigned int) y) & 0xffff)) |
| #define | XY2_TO_UINT(x, y) ((((unsigned int) x - x % 2) << 16) | (((unsigned int) y - y % 2) & 0xffff)) |
| #define | UINT_TO_X(pt) ((int)(pt >> 16)) |
| #define | UINT_TO_Y(pt) ((int)(pt & 0xffff)) |
Variables | |
| static const int | deformSize = 3 |
| static DeformLandscape::DeformPoints | deformMap |
| static bool | deformCreated = false |
| #define UINT_TO_X | ( | pt | ) | ((int)(pt >> 16)) |
Definition at line 50 of file Napalm.cpp.
Referenced by Napalm::simulateAddStep(), and Napalm::simulateDamage().
| #define UINT_TO_Y | ( | pt | ) | ((int)(pt & 0xffff)) |
Definition at line 51 of file Napalm.cpp.
Referenced by Napalm::simulateAddStep(), and Napalm::simulateDamage().
| #define XY2_TO_UINT | ( | x, | |||
| y | ) | ((((unsigned int) x - x % 2) << 16) | (((unsigned int) y - y % 2) & 0xffff)) |
Definition at line 49 of file Napalm.cpp.
Referenced by Napalm::simulateAddEdge(), and Napalm::simulateRmStep().
Definition at line 48 of file Napalm.cpp.
Referenced by Napalm::init(), and Napalm::simulateAddEdge().
bool deformCreated = false [static] |
DeformLandscape::DeformPoints deformMap [static] |
Definition at line 45 of file Napalm.cpp.
const int deformSize = 3 [static] |
Definition at line 44 of file Napalm.cpp.
Referenced by Napalm::init(), and Napalm::simulateAddEdge().
1.5.3