Welcome Guest [Log In] [Register]
Viewing Single Post From: Epee Engine
Alan
Administrator
[ *  *  * ]
EpeeEngine: This is the main class of the Epee Engine. This class handles events, playing sounds, handling network connections, and rendering the seen.

Inherits from: nothing

Function List:
see below and replies


public:
SetUp
RenderSeen
UpdateScreen
SetNumberOfMixingChannels
FindSound
CreateSound
DestroySound
PlaySoundNow
SetAndPlayBackGroundMusic
StopBackGroundMusic
FadeInSound
FadeOutSound
StopSoundNow
IsSoundPlaying
IsBackGoundMusicPlaying
LoadConfigurationFile
GetTimeSinceSetup
SleepDelay
CreateTextBox
CreateImage
CreateAnimation
CreateAnimationScript
CreateButtonTB
CreateButton
WasAButtonClicked
FindTextBox
FindButton
FindButtonTB
FindImage
FindAnimation
FindSprocketsE
ChangeSprocketZ
GetFps
SetFps
IsFoucsOnTextBox
GetCurrentRenderList
GetCurrentRenderListptr
SetCurrentRentderList




//***********NOTE IMAGES,ANIMATIONS TEXTBOXES,AND BUTTONS ARE ALL SPROCKETS***********************


image* CloneImage(image * _imageToClone,std::string _nameOfImage,std::string _RenderList="Current",int _x=-1,int _y=-1,int _z=-1);

textBox* CloneTextBox(textBox * _textBoxToClone,std::string _nameOfImage,std::string _RenderList="Current",int _x=-1,int _y=-1,int _z=-1 );






bool InsertRenderList(RenderList * _newRenderList); //This will be made private in the next version. Use create render list insted

bool DestroyRenderList(std::string _name);
bool RemoveIteamFromRendableList(std::string _card,std::string _renderList);
RenderList* FindRenderList(std::string _name);
RenderList * CreateRenderList(std::string _name);
unsigned int GetTotalRenderList();
bool ValideVersionNumberOfCppWithHeader();
double GetVersionNumberH();
double GetVersionNumberCpp();
void TransferSprocketToNewRenderList(RenderList * _sorceRenderList,RenderList * _destinationRenderList,Sprockets * _sprocketToTransfer);



EpeeEngineError GetLastError() {return m_cLastError;}//Returns the last error from the last funtion called

unsigned int GetTotalSprockesCreated();//returns that total number of sprockets created
unsigned int GetTotalSoundsCreated();//returns the total number of sounds created
void WriteRenderListToFile();//Writes the contents of the render list out to the cout file. Only works in debug right now
void WriteSoundListToFile();//Writes the contents of the sound list out to the cout file. Only works in debug right now
void TurnOnFPS();//Turns on the Frames Per Second in the upper left hand corner
void TurnOffFPS();//Turns Off the Frames Per Second in the upper left hand corner
void EpeeEngine::ToggleFullScreen(bool _FullScreen);//Toggles the window from fullscreen to window and back true for fullscreen false for windowed
void ChangedResolution(int _Width, int _height,bool _useCurrentFlags=true,bool _FullScreen=false,bool _Resize=false,bool _AnyFormat=false);//Changes the current window resolution
bool GetEvent(SDL_Event * _event); //Removes and polulates _event with the next event in the event que. Returns false if the is no events in the que returns true otherwise


unsigned int GetCurrentScreenHeight();
unsigned int GetCurrentScreenWidth();


bool IsKeyDisplayable(SDLKey _KeyToCheck);
char IsKeyModifiedByOtherKeys(SDLKey _KeyToCheck);
ControlCharacters * GetControlCharacters();

void DrawOutlineWithRect(SDL_Surface * _SurfaceToBeOutLined,SDL_Rect *OutLine,Uint8 _red=255,Uint8 _blue=0,Uint8 _green=0,unsigned int _thickness=1 );
void DrawOutline(SDL_Surface * _SurfaceToBeOutLined,unsigned int _x,unsigned int _y,Uint8 _red=255,Uint8 _blue=0,Uint8 _green=0,unsigned int _thickness=1 );
Offline Profile Quote Post
Epee Engine · Documentation