mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed compile
This commit is contained in:
parent
6b2fdf24fd
commit
b2290cca3f
2 changed files with 1 additions and 13 deletions
|
@ -38,7 +38,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
BEGIN_DUKE_NS
|
BEGIN_DUKE_NS
|
||||||
|
|
||||||
#define VOLUMEALL (g_Shareware == 0)
|
#define VOLUMEALL (g_Shareware == 0)
|
||||||
#define PLUTOPAK (g_scriptVersion >= 14)
|
#define PLUTOPAK (true)//g_scriptVersion >= 14)
|
||||||
#define VOLUMEONE (g_Shareware == 1)
|
#define VOLUMEONE (g_Shareware == 1)
|
||||||
|
|
||||||
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||||
|
@ -196,17 +196,6 @@ enum GameFunction_t
|
||||||
NUM_ACTIONS
|
NUM_ACTIONS
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline int32_t G_HaveActor(int spriteNum)
|
|
||||||
{
|
|
||||||
return g_tile[spriteNum].execPtr!=NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int32_t G_DefaultActorHealth(int spriteNum)
|
|
||||||
{
|
|
||||||
return G_HaveActor(spriteNum) ? g_tile[spriteNum].execPtr[0] : 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
struct GameInterface : ::GameInterface
|
struct GameInterface : ::GameInterface
|
||||||
{
|
{
|
||||||
const char* Name() override { return "Redneck"; }
|
const char* Name() override { return "Redneck"; }
|
||||||
|
|
|
@ -49,7 +49,6 @@ extern const uint8_t CheatFunctionIDs[];
|
||||||
|
|
||||||
extern int errorcount;
|
extern int errorcount;
|
||||||
extern int32_t line_number;
|
extern int32_t line_number;
|
||||||
extern int32_t g_scriptVersion;
|
|
||||||
extern int32_t g_totalLines;
|
extern int32_t g_totalLines;
|
||||||
extern int warningcount;
|
extern int warningcount;
|
||||||
extern int32_t otherp;
|
extern int32_t otherp;
|
||||||
|
|
Loading…
Reference in a new issue