all.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /* GCSx
  2. ** ALL.H
  3. **
  4. ** All header files we use; this can be turned into pre-compiled headers
  5. ** if your platform supports it
  6. */
  7. /*****************************************************************************
  8. ** Copyright (C) 2003-2006 Janson
  9. **
  10. ** This program is free software; you can redistribute it and/or modify
  11. ** it under the terms of the GNU General Public License as published by
  12. ** the Free Software Foundation; either version 2 of the License, or
  13. ** (at your option) any later version.
  14. **
  15. ** This program is distributed in the hope that it will be useful,
  16. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. ** GNU General Public License for more details.
  19. **
  20. ** You should have received a copy of the GNU General Public License
  21. ** along with this program; if not, write to the Free Software
  22. ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
  23. *****************************************************************************/
  24. #ifndef __GCSx_ALL_H_
  25. #define __GCSx_ALL_H_
  26. // X11 has a Window type; we silently rename ours to prevent collisions
  27. #define Window _Window
  28. // (version information)
  29. #include "../GCSx_private.h"
  30. // Self-contained libraries, includes some datatypes
  31. #include "SDL.h"
  32. #define ZLIB_DLL
  33. #include "zlib.h"
  34. // Datatypes
  35. #include <string>
  36. #include <list>
  37. #include <vector>
  38. #include <map>
  39. #include <set>
  40. #include <stdarg.h>
  41. #include "gcsx_exception.h"
  42. #include "gcsx_datatype.h"
  43. #include <ext/hash_map>
  44. using __gnu_cxx::hash_map;
  45. using __gnu_cxx::hash;
  46. #include "gcsx_rundata.h"
  47. // Memory/asserts
  48. #include <new>
  49. #include "gcsx_mem.h"
  50. #include <assert.h>
  51. // OpenGL- this also does windows.h as shown hence disabled
  52. #include "SDL_opengl.h"
  53. //#ifdef WIN32
  54. //#define WIN32_LEAN_AND_MEAN
  55. //#include <windows.h>
  56. //#endif
  57. // Basic defines
  58. #include "SDL_ttf.h"
  59. #include "gcsx_define.h"
  60. #include "gcsx_graphics.h"
  61. // Basic classes
  62. #include "gcsx_file.h"
  63. #include "gcsx_load.h"
  64. #include "gcsx_save.h"
  65. #include "gcsx_gui.h"
  66. #include "gcsx_dialog.h"
  67. #include "gcsx_editbox.h"
  68. #include "gcsx_treeview.h"
  69. #include "gcsx_list.h"
  70. #include "gcsx_colorselect.h"
  71. #include "gcsx_imgselect.h"
  72. #include "gcsx_toolselect.h"
  73. #include "gcsx_imgdialog.h"
  74. // Some dependencies here
  75. #include "gcsx_bytecode.h"
  76. #include "gcsx_undo.h"
  77. #include "gcsx_world.h"
  78. #include "gcsx_worldedit.h"
  79. #include "gcsx_entity.h"
  80. #include "gcsx_sprite.h"
  81. #include "gcsx_scene.h"
  82. #include "gcsx_sceneedit.h"
  83. #include "gcsx_tileset.h"
  84. #include "gcsx_tilesetedit.h"
  85. #include "gcsx_layer.h"
  86. #include "gcsx_layeredit.h"
  87. // All other files
  88. #include "gcsx_animgroup.h"
  89. #include "gcsx_animgroupedit.h"
  90. #include "gcsx_animgrouppaint.h"
  91. #include "gcsx_animgroupprop.h"
  92. #include "gcsx_clipboard.h"
  93. #include "gcsx_color.h"
  94. #include "gcsx_compile.h"
  95. #include "gcsx_config.h"
  96. #include "gcsx_console.h"
  97. #include "gcsx_debug.h"
  98. #include "gcsx_editor.h"
  99. #include "gcsx_event.h"
  100. #include "gcsx_filedialog.h"
  101. #include "gcsx_folder.h"
  102. #include "gcsx_frame.h"
  103. #include "gcsx_frontend.h"
  104. #include "gcsx_game.h"
  105. #include "gcsx_imgchoose.h"
  106. #include "gcsx_importimg.h"
  107. #include "gcsx_layerlist.h"
  108. #include "gcsx_layerprop.h"
  109. #include "gcsx_mouse.h"
  110. #include "gcsx_opengl.h"
  111. #include "gcsx_popup.h"
  112. #include "gcsx_progress.h"
  113. #include "gcsx_resolution.h"
  114. #include "gcsx_sceneeditlayer.h"
  115. #include "gcsx_sceneprop.h"
  116. #include "gcsx_script.h"
  117. #include "gcsx_scriptedit.h"
  118. #include "gcsx_scripteditor.h"
  119. #include "gcsx_scriptprop.h"
  120. #include "gcsx_slider.h"
  121. #include "gcsx_spawn.h"
  122. #include "gcsx_spawnedit.h"
  123. #include "gcsx_spawnprop.h"
  124. #include "gcsx_texture.h"
  125. #include "gcsx_tilesetbrowse.h"
  126. #include "gcsx_tilesetpaint.h"
  127. #include "gcsx_tilesetprop.h"
  128. #include "gcsx_tokenize.h"
  129. #include "gcsx_tooltip.h"
  130. #include "gcsx_worldplay.h"
  131. #include "gcsx_worldprop.h"
  132. #include "gcsx_wpreview.h"
  133. #include "gcsx_wscroll.h"
  134. // Other libraries
  135. #include "SDL_image.h"
  136. #include "sge_primitives.h"
  137. #include "sge_rotation.h"
  138. #include "sge_surface.h"
  139. // Other standard headers
  140. #include <stdlib.h>
  141. #include <stdio.h>
  142. #include <ctype.h>
  143. #include <string.h>
  144. #include <math.h>
  145. #include <errno.h>
  146. #include <sys/types.h>
  147. #include <sys/stat.h>
  148. #include <dirent.h>
  149. #include <cstddef>
  150. #include <exception>
  151. #include <typeinfo>
  152. using namespace std;
  153. #endif