diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index c5815c4..41b20a0 100755 --- a/doc/html/SDLGL__Util_8h-source.html +++ b/doc/html/SDLGL__Util_8h-source.html @@ -18,7 +18,7 @@ 00010 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); 00011 00012 #endif //__sdlgl_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00024 #ifndef __ze_defines_h__ @@ -28,7 +28,7 @@ 00039 #define VERSION "0.7.6" 00040 00041 #endif //__ze_defines_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00024 #ifndef __ze_error_h__ @@ -40,7 +40,7 @@ 00079 } 00080 00081 #endif //__ze_error_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00025 #ifndef __ze_includes_h__ @@ -49,7 +49,7 @@ 00055 using namespace std; 00056 00057 #endif //__ze_includes_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00024 #ifndef __ze_macros_h__ @@ -43,7 +43,7 @@ 00057 00058 #endif //__ze_macros_h__ 00059 -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00025 #ifndef __ze_zconfigfile_h__ @@ -89,7 +89,7 @@ 00243 } 00244 00245 #endif //__ze_zconfigfile_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00024 #ifndef __ze_zengine_h__ @@ -114,88 +114,92 @@ 00266 bool IsPaused(); 00267 00269 //Event and Input Handling// -00271 -00272 private: -00274 bool mActive; -00276 bool mQuit; -00278 Uint8 *mKeyIsPressed; -00280 bool mKeyPress[SDLK_LAST]; -00282 int mMouseX; -00284 int mMouseY; -00286 Uint8 mMouseB; -00287 -00288 public: -00295 bool IsActive(); -00296 -00303 void RequestQuit(); -00304 -00312 bool QuitRequested(); -00313 -00323 void SetKeyRepeatRate(int rate); -00324 -00332 bool KeyIsPressed(SDLKey key); -00333 -00341 bool KeyPress(SDLKey key); -00342 -00348 void HideCursor(); +00271 private: +00273 bool mNeedReload; +00275 bool mActive; +00277 bool mQuit; +00279 Uint8 *mKeyIsPressed; +00281 bool mKeyPress[SDLK_LAST]; +00283 int mMouseX; +00285 int mMouseY; +00287 Uint8 mMouseB; +00288 +00289 public: +00296 bool IsActive(); +00297 +00304 void RequestQuit(); +00305 +00313 bool QuitRequested(); +00314 +00319 void SetReloadNeed(bool state); +00320 +00328 bool ImagesNeedReload(); +00329 +00339 void SetKeyRepeatRate(int rate); +00340 +00348 bool KeyIsPressed(SDLKey key); 00349 -00355 void ShowCursor(); -00356 -00363 int MouseX(); -00364 -00371 int MouseY(); +00357 bool KeyPress(SDLKey key); +00358 +00364 void HideCursor(); +00365 +00371 void ShowCursor(); 00372 -00379 bool LButtonPressed(); +00379 int MouseX(); 00380 -00387 bool RButtonPressed(); +00387 int MouseY(); 00388 -00396 bool MouseInRect(SDL_Rect *rect); -00397 -00403 void CheckEvents(); +00395 bool LButtonPressed(); +00396 +00403 bool RButtonPressed(); 00404 -00405 #ifdef USE_PHYSFS -00406 -00407 //Physfs Utilities// -00409 public: -00416 void InitPhysFS(string argv); -00417 -00424 void AddPhysFSDir(string dir); -00425 -00426 #endif //USE_PHYSFS -00427 -00428 -00430 //Data Loading + Unloading// -00432 public: -00440 SDL_Surface* LoadImage(string filename); +00412 bool MouseInRect(SDL_Rect *rect); +00413 +00419 void CheckEvents(); +00420 +00421 #ifdef USE_PHYSFS +00422 +00423 //Physfs Utilities// +00425 public: +00432 void InitPhysFS(string argv); +00433 +00440 void AddPhysFSDir(string dir); 00441 -00442 #ifdef USE_SDL_MIXER +00442 #endif //USE_PHYSFS 00443 -00450 Mix_Chunk* LoadSound(string filename); -00451 -00459 Mix_Music* LoadMusic(string filename); -00460 #endif -00461 -00462 #ifdef USE_SDL_TTF -00463 -00471 TTF_Font* LoadFont(string filename, int size); -00472 #endif -00473 -00475 //Accessors// -00477 -00478 public: -00485 int Width(); -00486 -00493 int Height(); -00494 -00501 int BPP(); +00444 +00446 //Data Loading + Unloading// +00448 public: +00456 SDL_Surface* LoadImage(string filename); +00457 +00458 #ifdef USE_SDL_MIXER +00459 +00466 Mix_Chunk* LoadSound(string filename); +00467 +00475 Mix_Music* LoadMusic(string filename); +00476 #endif +00477 +00478 #ifdef USE_SDL_TTF +00479 +00487 TTF_Font* LoadFont(string filename, int size); +00488 #endif +00489 +00491 //Accessors// +00493 +00494 public: +00501 int Width(); 00502 -00509 bool IsFullscreen(); -00510 }; -00511 -00512 } -00513 -00514 #endif //__ze_zengine_h__ -
00001 /******************************************************************************* -00002 This file is Part of the ZEngine Library for SDL Game Development. -00003 Copyright (C) 2002 ConceptOfZero.net +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk 00004 -00005 Licensed under the BSD License, see licensing.txt. +00005 Licensed under a BSD-style license. 00006 -00007 The maintainer of this library is James Turk (jturk@conceptofzero.net) -00008 and the home of this Library is http://www.conceptofzero.net/ +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net 00009 *******************************************************************************/ 00010 00024 #ifndef __ze_zfont_h__ @@ -87,7 +87,7 @@ 00230 #endif //USE_SDL_TTF 00231 00232 #endif //__ze_zfont_h__ -
@@ -22,9 +23,9 @@ Implementation of ZImage, the Image class for ZEngine.