'/*******************************************************************************
'* Here I declare some constants and global variables. Which have validity in
'* all modules.
'*
'* Everyone has somewhere its own name conventions as specifying its variable.
'* You will surely find your own. But here I describe mine.
'*
'* For constants, I am writing them in upper case. For AGK-Basic totally
'* unimportant, because the compiler works not case sensitive. But it looks
'* better (for my eyes).
'*
'* For global variables, I set a 'g_' at the front followed by another prefix
'* that describes the variable PPType. 'i' for integer, 'f' for float, 'sz' for
'* string and 't' for PPType variable. Finally, then comes the Simple tile name of
'* the variable. The first letter then big again.
'*
'* For global variables that are only important for the module, are similarly
'* written. Only the front is set to an 'm_' followed by the modulame (end with
'* underscore). The rest just like the global variables. >Good to know: You can
'* use all these variables in all modules. It's just a spelling like I prefer it.
'* They behave like all other global variables.
'*
'* AGK works with Id's for its objects / entities. You can receive an free id for
'* your object or you can foce an id. Every time you want to use an entity you
'* have to specify this id.
'* Also here I declare after a certain convention my entities id's.
'* SPRID_ for sprites, SFXID_ for sounds TXTID_ for text and FNTID_ for fonts
'* entities. Again followed by the module name. The last one is the real name.
'*
'*/


Const FNTID_GAMEFONT            = 1

'// Game-State definition
Const GAMESTATE_START           = 0
Const GAMESTATE_GAME            = 1

'// To store the screen width and height
Raw As integer g_iSWidth
Raw As integer g_iSHeight

'// To store the frame time. The movement and time countdown are all frametime
'// based.
Raw As float g_fFrameTime

Raw As integer g_iPlayers                   '// store the number of players
Raw As integer g_iState = GAMESTATE_START   '// store the current gamestate
Raw As integer g_iDesktop = 0               '// store on witch platform the game started
