Browse Source

Moved the now const globals under the rdata comment.

pull/4/head
Dennis Duda 8 years ago
parent
commit
dcc7c8bb2f
  1. 5
      Source/player.cpp
  2. 6
      Source/player.h

5
Source/player.cpp

@ -20,12 +20,13 @@ int deathdelay; // weak
int plr_dframe_size; // idb
int player_inf = 0x7F800000; // weak
/* rdata */
const char ArmourChar[4] = { 'L', 'M', 'H', 0 };
const char WepChar[10] = { 'N', 'U', 'S', 'D', 'B', 'A', 'M', 'H', 'T', 0 };
const char CharChar[4] = { 'W', 'R', 'S', 0 };
/* rdata */
int plrxoff[9] = { 0, 2, 0, 2, 1, 0, 1, 2, 1 };
int plryoff[9] = { 0, 2, 2, 0, 1, 1, 0, 1, 2 };
int plrxoff2[9] = { 0, 1, 0, 1, 2, 0, 1, 2, 2 };

6
Source/player.h

@ -113,12 +113,12 @@ void __cdecl PlayDungMsgs();
/* data */
extern int player_inf;
extern const char ArmourChar[4];
extern const char WepChar[10];
extern const char CharChar[4];
/* rdata */
extern const char ArmourChar[4];
extern const char WepChar[10];
extern const char CharChar[4];
extern int plrxoff[9];
extern int plryoff[9];
extern int plrxoff2[9];

Loading…
Cancel
Save