Skip to content

Commit

Permalink
TONY: More header files and functionality added
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Apr 30, 2012
1 parent b0eef82 commit 68bcaa6
Show file tree
Hide file tree
Showing 21 changed files with 4,512 additions and 26 deletions.
35 changes: 35 additions & 0 deletions engines/tony/adv.h
Expand Up @@ -48,8 +48,24 @@
#ifndef TONY_ADV_H
#define TONY_ADV_H

#include "tony/mpal/memory.h"
#include "tony/gfxcore.h"


namespace Tony {

// X & Y dimensions of the adventure
#define RM_SX 640
#define RM_SY 480

// Dimensioni X&Y del bigbuf
#define RM_BBX (RM_SX)
#define RM_BBY (RM_SY)

// Skipping X&Y
#define RM_SKIPY ((RM_BBY - RM_SY) / 2)
#define RM_SKIPX 0

// Tony's actions
enum RMTonyAction {
TA_GOTO = 0,
Expand All @@ -65,6 +81,25 @@ enum RMTonyAction {
TA_RECEIVECOMBINEGIVE
};

// Funzioni globali
HANDLE MainLoadLocation(int nLoc, RMPoint pt, RMPoint start);
HANDLE MainUnloadLocation(bool bDoOnExit);
void MainLinkGraphicTask(RMGfxTask *task);
void MainFreeze(void);
void MainUnfreeze(void);
void MainWaitFrame(void);
void MainShowMouse(void);
void MainHideMouse(void);
void MainEnableInput(void);
void MainDisableInput(void);
void MainPlayMusic(int nChannel, const char *fn, int nFX, bool bLoop, int nSync);
void MainInitWipe(int type);
void MainCloseWipe(void);
void MainWaitWipeEnd(void);
void MainEnableGUI(void);
void MainDisableGUI(void);
void MainSetPalesati(bool bPalesati);

} // End of namespace Tony

#endif

0 comments on commit 68bcaa6

Please sign in to comment.