mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Make g_earthquakeTime into a uint16_t, remove DukePlayer_t's name[] member.
Bump BYTEVERSION. git-svn-id: https://svn.eduke32.com/eduke32@3478 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
605de9f6d1
commit
200cd75275
6 changed files with 4 additions and 9 deletions
|
@ -57,7 +57,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define VOLUMEONE (g_Shareware == 1)
|
||||
|
||||
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||
#define BYTEVERSION_JF 273
|
||||
#define BYTEVERSION_JF 276
|
||||
|
||||
#define BYTEVERSION_13 27
|
||||
#define BYTEVERSION_14 116
|
||||
|
|
|
@ -3112,7 +3112,7 @@ nullquote:
|
|||
|
||||
case CON_QUAKE:
|
||||
insptr++;
|
||||
g_earthquakeTime = (uint8_t)Gv_GetVarX(*insptr++);
|
||||
g_earthquakeTime = Gv_GetVarX(*insptr++);
|
||||
A_PlaySound(EARTHQUAKE,g_player[screenpeek].ps->i);
|
||||
continue;
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ G_EXTERN int32_t g_currentFrameRate;
|
|||
G_EXTERN int32_t g_currentMenu;
|
||||
G_EXTERN int32_t g_damageCameras,g_freezerSelfDamage;
|
||||
G_EXTERN int32_t g_doQuickSave;
|
||||
G_EXTERN char g_earthquakeTime;
|
||||
G_EXTERN uint16_t g_earthquakeTime;
|
||||
G_EXTERN int32_t g_gameQuit;
|
||||
G_EXTERN int32_t g_groupFileHandle;
|
||||
G_EXTERN int32_t g_impactDamage,g_maxPlayerHealth;
|
||||
|
|
|
@ -245,8 +245,6 @@ __attribute__((packed)) struct {
|
|||
uint8_t palette;
|
||||
palette_t _pals;
|
||||
|
||||
const char name[32];
|
||||
|
||||
// NOTE: In C, the struct type has no name. We only have it here to define
|
||||
// a metatype later.
|
||||
const weaponaccess_t weapon;
|
||||
|
|
|
@ -227,9 +227,6 @@ typedef struct {
|
|||
uint8_t palette;
|
||||
palette_t pals;
|
||||
|
||||
// UNUSED
|
||||
char name[32];
|
||||
|
||||
#ifdef LUNATIC
|
||||
// The player index. Always valid since we have no loose DukePlayer_t's
|
||||
// anywhere (like with spritetype_t): g_player[i].ps->wa.idx == i.
|
||||
|
|
|
@ -65,7 +65,7 @@ typedef struct {
|
|||
int16_t prevspritestat[MAXSPRITES];
|
||||
int16_t pskyoff[MAXPSKYTILES], pskybits;
|
||||
|
||||
uint8_t g_earthquakeTime;
|
||||
uint16_t g_earthquakeTime;
|
||||
int8_t g_numPlayerSprites;
|
||||
|
||||
uint8_t show2dsector[(MAXSECTORS+7)>>3];
|
||||
|
|
Loading…
Reference in a new issue