mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 04:26:42 +03:00
Move GameScriptDisplayString over to Scripting.
This commit is contained in:
parent
610b736572
commit
2889a62704
9 changed files with 12 additions and 12 deletions
|
@ -1,38 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "GameScriptNamedBase.h"
|
||||
#include "Specific/phd_global.h"
|
||||
|
||||
namespace sol {
|
||||
class state;
|
||||
}
|
||||
class GameScriptPosition;
|
||||
|
||||
class GameScriptSoundSourceInfo : public GameScriptNamedBase<GameScriptSoundSourceInfo, SOUND_SOURCE_INFO &>
|
||||
{
|
||||
public:
|
||||
using IdentifierType = std::reference_wrapper<SOUND_SOURCE_INFO>;
|
||||
GameScriptSoundSourceInfo(SOUND_SOURCE_INFO& ref, bool temp);
|
||||
~GameScriptSoundSourceInfo();
|
||||
|
||||
GameScriptSoundSourceInfo& operator=(GameScriptSoundSourceInfo const& other) = delete;
|
||||
GameScriptSoundSourceInfo(GameScriptSoundSourceInfo const& other) = delete;
|
||||
|
||||
static void Register(sol::state *);
|
||||
GameScriptPosition GetPos() const;
|
||||
void SetPos(GameScriptPosition const& pos);
|
||||
|
||||
int GetSoundID() const;
|
||||
void SetSoundID(int soundID);
|
||||
|
||||
int GetFlags() const;
|
||||
void SetFlags(int flags);
|
||||
|
||||
std::string GetName() const;
|
||||
void SetName(std::string const &);
|
||||
|
||||
private:
|
||||
SOUND_SOURCE_INFO & m_soundSource;
|
||||
bool m_temporary;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue