mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 16:33:50 +00:00
use enum instead of define (purely cosmetic)
svn-id: r11374
This commit is contained in:
parent
871c4f8342
commit
ddc2e736fb
@ -30,13 +30,6 @@
|
||||
namespace Queen {
|
||||
|
||||
|
||||
#define MAX_BANK_SIZE 110
|
||||
#define MAX_FRAMES_NUMBER 256
|
||||
#define MAX_BANKS_NUMBER 18
|
||||
#define MAX_BOBS_NUMBER 64
|
||||
|
||||
|
||||
|
||||
struct BobFrame {
|
||||
uint16 width, height;
|
||||
uint16 xhotspot, yhotspot;
|
||||
@ -193,15 +186,19 @@ public:
|
||||
|
||||
void update(uint16 room);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
enum {
|
||||
MAX_STRING_LENGTH = 255,
|
||||
MAX_STRING_SIZE = (MAX_STRING_LENGTH + 1),
|
||||
MAX_BANK_SIZE = 110,
|
||||
MAX_FRAMES_NUMBER = 256,
|
||||
MAX_BANKS_NUMBER = 18,
|
||||
MAX_BOBS_NUMBER = 64,
|
||||
MAX_STRING_LENGTH = 255,
|
||||
MAX_STRING_SIZE = (MAX_STRING_LENGTH + 1),
|
||||
BOB_SHRINK_BUF_SIZE = 60000
|
||||
};
|
||||
|
||||
|
||||
private:
|
||||
|
||||
struct PackedBank {
|
||||
uint32 indexes[MAX_BANK_SIZE];
|
||||
uint8 *data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user