mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
HDB: Modify constants for simpler access
This commit is contained in:
parent
761c90e62a
commit
235040fb8a
@ -40,6 +40,7 @@ enum {
|
||||
kMaxAutoActions = 30,
|
||||
kMaxLuaEnts = 50,
|
||||
kMaxCallbacks = 20,
|
||||
kDelay5Seconds = 5 * kGameFPS,
|
||||
kPlayerMoveSpeed = 4,
|
||||
kEnemyMoveSpeed = 2,
|
||||
kPushMoveSpeed = (kPlayerMoveSpeed >> 1),
|
||||
|
@ -35,7 +35,12 @@ enum {
|
||||
kMaxSkies = 10,
|
||||
kNum3DStars = 300,
|
||||
kFontSpace = 5,
|
||||
kFontIncrement = 1
|
||||
kFontIncrement = 1,
|
||||
kGameFPS = 60,
|
||||
kAnimFrameDelay = kGameFPS / 30,
|
||||
kAnimSlowFrames = kAnimFrameDelay * 10,
|
||||
kAnimMediumFrames = kAnimFrameDelay * 6,
|
||||
kAnimFastFrames = kAnimFrameDelay * 2
|
||||
};
|
||||
|
||||
class Tile;
|
||||
|
@ -113,11 +113,6 @@ enum Flag {
|
||||
enum {
|
||||
kScreenWidth = 640,
|
||||
kScreenHeight = 480,
|
||||
kGameFPS = 60,
|
||||
kAnimFrameDelay = kGameFPS / 30,
|
||||
kAnimSlowFrames = kAnimFrameDelay * 10,
|
||||
kAnimMediumFrames = kAnimFrameDelay * 6,
|
||||
kAnimFastFrames = kAnimFrameDelay * 2
|
||||
};
|
||||
|
||||
class HDBGame : public Engine {
|
||||
|
Loading…
Reference in New Issue
Block a user