1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /* Copyright (C) 2005-2010 Valeriy Argunov (nporep AT mail DOT ru) */
- /*
- * This library is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
- #include "declarations.h"
- #ifndef QSP_CALLSDEFINES
- #define QSP_CALLSDEFINES
- typedef struct
- {
- QSP_BOOL IsInCallBack;
- QSP_BOOL IsDisableCodeExec;
- QSP_BOOL IsExitOnError;
- QSP_BOOL IsMainDescChanged;
- QSP_BOOL IsVarsDescChanged;
- QSP_BOOL IsObjectsChanged;
- QSP_BOOL IsActionsChanged;
- } QSPCallState;
- extern QSP_CALLBACK qspCallBacks[QSP_CALL_DUMMY];
- extern QSP_BOOL qspIsInCallBack;
- extern QSP_BOOL qspIsDisableCodeExec;
- extern QSP_BOOL qspIsExitOnError;
- /* External functions */
- void qspSaveCallState(QSPCallState *, QSP_BOOL, QSP_BOOL);
- void qspRestoreCallState(QSPCallState *);
- void qspInitCallBacks();
- void qspSetCallBack(int, QSP_CALLBACK);
- void qspCallDebug(QSP_CHAR *);
- void qspCallSetTimer(int);
- void qspCallRefreshInt(QSP_BOOL);
- void qspCallSetInputStrText(QSP_CHAR *);
- void qspCallAddMenuItem(QSP_CHAR *, QSP_CHAR *);
- void qspCallSystem(QSP_CHAR *);
- void qspCallOpenGame(QSP_CHAR *);
- void qspCallSaveGame(QSP_CHAR *);
- void qspCallShowMessage(QSP_CHAR *);
- int qspCallShowMenu();
- void qspCallShowPicture(QSP_CHAR *);
- void qspCallShowWindow(int, QSP_BOOL);
- void qspCallPlayFile(QSP_CHAR *, int);
- QSP_BOOL qspCallIsPlayingFile(QSP_CHAR *);
- void qspCallSleep(int);
- int qspCallGetMSCount();
- void qspCallCloseFile(QSP_CHAR *);
- void qspCallDeleteMenu();
- QSP_CHAR *qspCallInputBox(QSP_CHAR *);
- #endif
|