- Duke: got rid of the last 3 remaining #defines not used for list generation, as well.

This commit is contained in:
Christoph Oelckers 2020-10-11 11:41:49 +02:00
parent fc82b3bc8a
commit 7deb3ed4bd
4 changed files with 3 additions and 11 deletions

View file

@ -1,5 +1,4 @@
#ifndef duke3d_h_ #pragma once
#define duke3d_h_
#include "build.h" #include "build.h"
@ -125,4 +124,3 @@ extern Dispatcher fi;
END_DUKE_NS END_DUKE_NS
#endif

View file

@ -15,7 +15,7 @@ BEGIN_DUKE_NS
extern user_defs ud; extern user_defs ud;
// Interpolation code is the same in all games with slightly different naming - this needs to be unified and cleaned up. // Interpolation code is the same in all games with slightly different naming - this needs to be unified and cleaned up.
// Interpolations are reconstructed on load and do not need to be saved. // Interpolations are reconstructed on load and do not need to be saved.
#define MAXINTERPOLATIONS MAXSPRITES enum { MAXINTERPOLATIONS = MAXSPRITES };
extern int numinterpolations; extern int numinterpolations;
extern int* curipos[MAXINTERPOLATIONS]; extern int* curipos[MAXINTERPOLATIONS];
extern int bakipos[MAXINTERPOLATIONS]; extern int bakipos[MAXINTERPOLATIONS];

View file

@ -37,9 +37,6 @@ source as it is released.
BEGIN_DUKE_NS BEGIN_DUKE_NS
#define MAXINTERPOLATIONS MAXSPRITES
int32_t numinterpolations; int32_t numinterpolations;
int32_t g_interpolationLock; int32_t g_interpolationLock;
int32_t oldipos[MAXINTERPOLATIONS]; int32_t oldipos[MAXINTERPOLATIONS];

View file

@ -3,9 +3,7 @@
// sounds.h // sounds.h
// //
//**************************************************************************** //****************************************************************************
#pragma once
#ifndef sounds_public_h_
#define sounds_public_h_
#include "raze_sound.h" #include "raze_sound.h"
#include "raze_music.h" #include "raze_music.h"
@ -81,4 +79,3 @@ extern TArray<FString> specialmusic;
END_DUKE_NS END_DUKE_NS
#endif