From dcc7c8bb2f3dad8765310c7450d06275df2abde6 Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Sun, 9 Sep 2018 15:51:01 +0200 Subject: [PATCH] Moved the now const globals under the rdata comment. --- Source/player.cpp | 5 +++-- Source/player.h | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Source/player.cpp b/Source/player.cpp index f1e52c096..246b954a8 100644 --- a/Source/player.cpp +++ b/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 }; diff --git a/Source/player.h b/Source/player.h index 3c5362fc0..b29d8a4ff 100644 --- a/Source/player.h +++ b/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];