Initial commit
This commit is contained in:
90
engines/ags/plugins/core/game.h
Normal file
90
engines/ags/plugins/core/game.h
Normal file
@@ -0,0 +1,90 @@
|
||||
/* ScummVM - Graphic Adventure Engine
|
||||
*
|
||||
* ScummVM is the legal property of its developers, whose names
|
||||
* are too numerous to list here. Please refer to the COPYRIGHT
|
||||
* file distributed with this source distribution.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef AGS_PLUGINS_CORE_GAME_H
|
||||
#define AGS_PLUGINS_CORE_GAME_H
|
||||
|
||||
#include "ags/plugins/ags_plugin.h"
|
||||
|
||||
namespace AGS3 {
|
||||
namespace Plugins {
|
||||
namespace Core {
|
||||
|
||||
class Game : public ScriptContainer {
|
||||
BUILT_IN_HASH(Game)
|
||||
public:
|
||||
virtual ~Game() {}
|
||||
void AGS_EngineStartup(IAGSEngine *engine) override;
|
||||
|
||||
void IsAudioPlaying(ScriptMethodParams ¶ms);
|
||||
void SetAudioTypeSpeechVolumeDrop(ScriptMethodParams ¶ms);
|
||||
void SetAudioTypeVolume(ScriptMethodParams ¶ms);
|
||||
void StopAudio(ScriptMethodParams ¶ms);
|
||||
void ChangeTranslation(ScriptMethodParams ¶ms);
|
||||
void DoOnceOnly(ScriptMethodParams ¶ms);
|
||||
void GetColorFromRGB(ScriptMethodParams ¶ms);
|
||||
void GetFrameCountForLoop(ScriptMethodParams ¶ms);
|
||||
void GetLocationName(ScriptMethodParams ¶ms);
|
||||
void GetLoopCountForView(ScriptMethodParams ¶ms);
|
||||
void GetMODPattern(ScriptMethodParams ¶ms);
|
||||
void GetRunNextSettingForLoop(ScriptMethodParams ¶ms);
|
||||
void GetSaveSlotDescription(ScriptMethodParams ¶ms);
|
||||
void GetViewFrame(ScriptMethodParams ¶ms);
|
||||
void InputBox(ScriptMethodParams ¶ms);
|
||||
void SetSaveGameDirectory(ScriptMethodParams ¶ms);
|
||||
void StopAllSounds(ScriptMethodParams ¶ms);
|
||||
void GetCharacterCount(ScriptMethodParams ¶ms);
|
||||
void GetDialogCount(ScriptMethodParams ¶ms);
|
||||
void GetFileName(ScriptMethodParams ¶ms);
|
||||
void GetFontCount(ScriptMethodParams ¶ms);
|
||||
void GetGlobalMessages(ScriptMethodParams ¶ms);
|
||||
void GetGlobalStrings(ScriptMethodParams ¶ms);
|
||||
void SetGlobalString(ScriptMethodParams ¶ms);
|
||||
void GetGUICount(ScriptMethodParams ¶ms);
|
||||
void GetIgnoreUserInputAfterTextTimeoutMs(ScriptMethodParams ¶ms);
|
||||
void SetIgnoreUserInputAfterTextTimeoutMs(ScriptMethodParams ¶ms);
|
||||
void GetInSkippableCutscene(ScriptMethodParams ¶ms);
|
||||
void GetInventoryItemCount(ScriptMethodParams ¶ms);
|
||||
void GetMinimumTextDisplayTimeMs(ScriptMethodParams ¶ms);
|
||||
void SetMinimumTextDisplayTimeMs(ScriptMethodParams ¶ms);
|
||||
void GetMouseCursorCount(ScriptMethodParams ¶ms);
|
||||
void GetName(ScriptMethodParams ¶ms);
|
||||
void SetName(ScriptMethodParams ¶ms);
|
||||
void GetNormalFont(ScriptMethodParams ¶ms);
|
||||
void SetNormalFont(ScriptMethodParams ¶ms);
|
||||
void GetSkippingCutscene(ScriptMethodParams ¶ms);
|
||||
void GetSpeechFont(ScriptMethodParams ¶ms);
|
||||
void SetSpeechFont(ScriptMethodParams ¶ms);
|
||||
void GetSpriteWidth(ScriptMethodParams ¶ms);
|
||||
void GetSpriteHeight(ScriptMethodParams ¶ms);
|
||||
void GetTextReadingSpeed(ScriptMethodParams ¶ms);
|
||||
void SetTextReadingSpeed(ScriptMethodParams ¶ms);
|
||||
void GetTranslationFilename(ScriptMethodParams ¶ms);
|
||||
void GetUseNativeCoordinates(ScriptMethodParams ¶ms);
|
||||
void GetViewCount(ScriptMethodParams ¶ms);
|
||||
void PlayVoiceClip(ScriptMethodParams ¶ms);
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
} // namespace Plugins
|
||||
} // namespace AGS3
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user