From fdd51ab588a2ec9fca54215039803d187a10178e Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Mon, 7 Dec 2015 08:49:56 -0500 Subject: doxygen --- .gitignore | 2 + Changelog | 9 + doc/html/Quest_8h_source.html | 8 +- doc/html/Texture_8h_source.html | 8 +- doc/html/annotated.html | 8 +- doc/html/classArena-members.html | 16 +- doc/html/classArena.html | 20 +- doc/html/classEntity-members.html | 8 +- doc/html/classEntity.html | 8 +- doc/html/classIndoorWorld-members.html | 16 +- doc/html/classIndoorWorld.html | 20 +- doc/html/classInventory-members.html | 8 +- doc/html/classInventory.html | 8 +- doc/html/classItem-members.html | 8 +- doc/html/classItem.html | 8 +- doc/html/classMob-members.html | 8 +- doc/html/classMob.html | 8 +- doc/html/classNPC-members.html | 8 +- doc/html/classNPC.html | 8 +- doc/html/classObject-members.html | 8 +- doc/html/classObject.html | 8 +- doc/html/classPlayer-members.html | 8 +- doc/html/classPlayer.html | 8 +- doc/html/classQuest-members.html | 8 +- doc/html/classQuest.html | 8 +- doc/html/classQuestHandler-members.html | 8 +- doc/html/classQuestHandler.html | 8 +- doc/html/classStructures-members.html | 8 +- doc/html/classStructures.html | 8 +- doc/html/classTexturec-members.html | 8 +- doc/html/classTexturec.html | 8 +- doc/html/classWorld-members.html | 16 +- doc/html/classWorld.html | 115 +++++++- doc/html/classes.html | 8 +- doc/html/common_8h_source.html | 8 +- doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html | 8 +- doc/html/dir_d44c64559bbebec7f509842c48db8b23.html | 8 +- doc/html/doxygen.css | 7 +- doc/html/entities_8h_source.html | 8 +- doc/html/files.html | 8 +- doc/html/functions.html | 21 +- doc/html/functions_vars.html | 15 +- doc/html/globals.html | 8 +- doc/html/globals_enum.html | 8 +- doc/html/globals_eval.html | 8 +- doc/html/globals_func.html | 8 +- doc/html/globals_vars.html | 8 +- doc/html/hierarchy.html | 8 +- doc/html/index.html | 8 +- doc/html/inventory_8h_source.html | 8 +- doc/html/jquery.js | 14 +- doc/html/main_8cpp.html | 11 +- doc/html/md_README.html | 8 +- doc/html/pages.html | 8 +- doc/html/search/all_0.html | 2 +- doc/html/search/all_1.html | 2 +- doc/html/search/all_10.html | 2 +- doc/html/search/all_11.html | 2 +- doc/html/search/all_12.html | 2 +- doc/html/search/all_13.html | 2 +- doc/html/search/all_2.html | 2 +- doc/html/search/all_3.html | 2 +- doc/html/search/all_3.js | 3 +- doc/html/search/all_4.html | 2 +- doc/html/search/all_5.html | 2 +- doc/html/search/all_6.html | 2 +- doc/html/search/all_7.html | 2 +- doc/html/search/all_7.js | 3 +- doc/html/search/all_8.html | 2 +- doc/html/search/all_9.html | 2 +- doc/html/search/all_a.html | 2 +- doc/html/search/all_b.html | 2 +- doc/html/search/all_c.html | 2 +- doc/html/search/all_d.html | 2 +- doc/html/search/all_e.html | 2 +- doc/html/search/all_e.js | 2 + doc/html/search/all_f.html | 2 +- doc/html/search/classes_0.html | 2 +- doc/html/search/classes_1.html | 2 +- doc/html/search/classes_2.html | 2 +- doc/html/search/classes_3.html | 2 +- doc/html/search/classes_4.html | 2 +- doc/html/search/classes_5.html | 2 +- doc/html/search/classes_6.html | 2 +- doc/html/search/classes_7.html | 2 +- doc/html/search/classes_8.html | 2 +- doc/html/search/classes_9.html | 2 +- doc/html/search/classes_a.html | 2 +- doc/html/search/classes_b.html | 2 +- doc/html/search/classes_c.html | 2 +- doc/html/search/classes_d.html | 2 +- doc/html/search/enums_0.html | 2 +- doc/html/search/enumvalues_0.html | 2 +- doc/html/search/enumvalues_1.html | 2 +- doc/html/search/enumvalues_2.html | 2 +- doc/html/search/enumvalues_3.html | 2 +- doc/html/search/files_0.html | 2 +- doc/html/search/files_1.html | 2 +- doc/html/search/functions_0.html | 2 +- doc/html/search/functions_0.js | 3 +- doc/html/search/pages_0.html | 2 +- doc/html/search/searchdata.js | 4 +- doc/html/search/variables_0.html | 2 +- doc/html/search/variables_1.html | 2 +- doc/html/search/variables_2.html | 2 +- doc/html/search/variables_2.js | 3 +- doc/html/search/variables_3.html | 2 +- doc/html/search/variables_3.js | 2 +- doc/html/search/variables_4.html | 2 +- doc/html/search/variables_4.js | 2 +- doc/html/structRay-members.html | 8 +- doc/html/structRay.html | 8 +- doc/html/structitem__t-members.html | 8 +- doc/html/structitem__t.html | 8 +- doc/html/structline__t-members.html | 8 +- doc/html/structline__t.html | 8 +- doc/html/structtexture__t-members.html | 8 +- doc/html/structtexture__t.html | 8 +- doc/html/structvec2-members.html | 8 +- doc/html/structvec2.html | 8 +- doc/html/ui_8h_source.html | 10 +- doc/html/world_8h.html | 16 +- doc/html/world_8h_source.html | 320 ++++++++++----------- doc/latex/classWorld.tex | 37 ++- doc/latex/main_8cpp.tex | 7 +- doc/latex/refman.tex | 8 +- include/world.h | 32 ++- 127 files changed, 689 insertions(+), 549 deletions(-) diff --git a/.gitignore b/.gitignore index 4304556..fce3c3e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ main .kdev4 gamedev.kdev4 + +doc diff --git a/Changelog b/Changelog index 903e91e..145d4ec 100644 --- a/Changelog +++ b/Changelog @@ -371,3 +371,12 @@ - improved inventory draw - fixed most segfaults, including those when exiting - added -Wall,-Wextra, and -Werror to enforce better/safer coding + +12/4/2015, +12/7/2015: +========== + + - re-did fullscreen text (importantText) + - began doxygening headers + - fixed entity name reading + - fixed entity sprites diff --git a/doc/html/Quest_8h_source.html b/doc/html/Quest_8h_source.html index 5403f9e..395f864 100644 --- a/doc/html/Quest_8h_source.html +++ b/doc/html/Quest_8h_source.html @@ -3,7 +3,7 @@ - + gamedev: include/Quest.h Source File @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/Texture_8h_source.html b/doc/html/Texture_8h_source.html index 880fd3c..67dfdc3 100644 --- a/doc/html/Texture_8h_source.html +++ b/doc/html/Texture_8h_source.html @@ -3,7 +3,7 @@ - + gamedev: include/Texture.h Source File @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 411ffb7..904035f 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -3,7 +3,7 @@ - + gamedev: Class List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classArena-members.html b/doc/html/classArena-members.html index 0cc28f1..39fba5a 100644 --- a/doc/html/classArena-members.html +++ b/doc/html/classArena-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); bgmStop(void) (defined in World)World bgTex (defined in World)Worldprotected build (defined in World)World - deleteEntities(void) (defined in World)Worldprotected + deleteEntities(void)Worldprotected detect(Player *p) (defined in World)World draw(Player *p) (defined in World)Worldvirtual entity (defined in World)World @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); goWorldRight(Player *p) (defined in World)World infront (defined in World)World lineWorldprotected - lineCount (defined in World)Worldprotected + lineCountWorldprotected load(FILE *) (defined in World)World mob (defined in World)World npc (defined in World)World @@ -128,8 +128,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); save(FILE *) (defined in World)World setBackground(WORLD_BG_TYPE bgt) (defined in World)World setBGM(const char *path) (defined in World)World - singleDetect(Entity *e) (defined in World)Worldprotected - star (defined in World)Worldprotected + singleDetect(Entity *e)Worldprotected + starWorldprotected toLeft (defined in World)World toRight (defined in World)World update(Player *p, unsigned int delta) (defined in World)World @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classArena.html b/doc/html/classArena.html index add5779..deade84 100644 --- a/doc/html/classArena.html +++ b/doc/html/classArena.html @@ -3,7 +3,7 @@ - + gamedev: Arena Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -213,22 +213,18 @@ std::vector< Entity * > Object * > object   - Protected Member Functions inherited from World - -void singleDetect (Entity *e) +void singleDetect (Entity *e)   - -void deleteEntities (void) +void deleteEntities (void)   - Protected Attributes inherited from World struct line_tline   int x_start   - -unsigned int lineCount +unsigned int lineCount   - -vec2star +vec2star   TexturecbgTex @@ -249,7 +245,7 @@ char * bgm diff --git a/doc/html/classEntity-members.html b/doc/html/classEntity-members.html index e3fcb26..7c20e78 100644 --- a/doc/html/classEntity-members.html +++ b/doc/html/classEntity-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classEntity.html b/doc/html/classEntity.html index c9a8080..602cbaf 100644 --- a/doc/html/classEntity.html +++ b/doc/html/classEntity.html @@ -3,7 +3,7 @@ - + gamedev: Entity Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -192,7 +192,7 @@ int ticksToUse diff --git a/doc/html/classIndoorWorld-members.html b/doc/html/classIndoorWorld-members.html index b9e1afa..1e021ea 100644 --- a/doc/html/classIndoorWorld-members.html +++ b/doc/html/classIndoorWorld-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); bgmStop(void) (defined in World)World bgTex (defined in World)Worldprotected build (defined in World)World - deleteEntities(void) (defined in World)Worldprotected + deleteEntities(void)Worldprotected detect(Player *p) (defined in World)World draw(Player *p) (defined in IndoorWorld)IndoorWorldvirtual entity (defined in World)World @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); IndoorWorld(void) (defined in IndoorWorld)IndoorWorld infront (defined in World)World lineWorldprotected - lineCount (defined in World)Worldprotected + lineCountWorldprotected load(FILE *) (defined in World)World mob (defined in World)World npc (defined in World)World @@ -128,8 +128,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); save(FILE *) (defined in World)World setBackground(WORLD_BG_TYPE bgt) (defined in World)World setBGM(const char *path) (defined in World)World - singleDetect(Entity *e) (defined in World)Worldprotected - star (defined in World)Worldprotected + singleDetect(Entity *e)Worldprotected + starWorldprotected toLeft (defined in World)World toRight (defined in World)World update(Player *p, unsigned int delta) (defined in World)World @@ -142,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classIndoorWorld.html b/doc/html/classIndoorWorld.html index 4f399a9..a37288e 100644 --- a/doc/html/classIndoorWorld.html +++ b/doc/html/classIndoorWorld.html @@ -3,7 +3,7 @@ - + gamedev: IndoorWorld Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -214,22 +214,18 @@ std::vector< Object * > 

Additional Inherited Members

- Protected Member Functions inherited from World - -void singleDetect (Entity *e) +void singleDetect (Entity *e)   - -void deleteEntities (void) +void deleteEntities (void)   - Protected Attributes inherited from World struct line_tline   int x_start   - -unsigned int lineCount +unsigned int lineCount   - -vec2star +vec2star   TexturecbgTex @@ -250,7 +246,7 @@ char * bgm diff --git a/doc/html/classInventory-members.html b/doc/html/classInventory-members.html index ab3cad7..f17adca 100644 --- a/doc/html/classInventory-members.html +++ b/doc/html/classInventory-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classInventory.html b/doc/html/classInventory.html index bb66714..0015b33 100644 --- a/doc/html/classInventory.html +++ b/doc/html/classInventory.html @@ -3,7 +3,7 @@ - + gamedev: Inventory Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -143,7 +143,7 @@ bool mouseSel = false< diff --git a/doc/html/classItem-members.html b/doc/html/classItem-members.html index 1dd5bb2..d89144f 100644 --- a/doc/html/classItem-members.html +++ b/doc/html/classItem-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classItem.html b/doc/html/classItem.html index 5589c8d..fd77bff 100644 --- a/doc/html/classItem.html +++ b/doc/html/classItem.html @@ -3,7 +3,7 @@ - + gamedev: Item Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -140,7 +140,7 @@ GLuint text diff --git a/doc/html/classMob-members.html b/doc/html/classMob-members.html index e893853..3ed63e3 100644 --- a/doc/html/classMob-members.html +++ b/doc/html/classMob-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classMob.html b/doc/html/classMob.html index ed19a99..8ec896a 100644 --- a/doc/html/classMob.html +++ b/doc/html/classMob.html @@ -3,7 +3,7 @@ - + gamedev: Mob Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -202,7 +202,7 @@ int ticksToUse diff --git a/doc/html/classNPC-members.html b/doc/html/classNPC-members.html index ecc385f..b08ee40 100644 --- a/doc/html/classNPC-members.html +++ b/doc/html/classNPC-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classNPC.html b/doc/html/classNPC.html index 12eec5a..32e41fa 100644 --- a/doc/html/classNPC.html +++ b/doc/html/classNPC.html @@ -3,7 +3,7 @@ - + gamedev: NPC Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -196,7 +196,7 @@ int ticksToUse diff --git a/doc/html/classObject-members.html b/doc/html/classObject-members.html index c24df8a..d8a4d03 100644 --- a/doc/html/classObject-members.html +++ b/doc/html/classObject-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classObject.html b/doc/html/classObject.html index 1953308..016a2a5 100644 --- a/doc/html/classObject.html +++ b/doc/html/classObject.html @@ -3,7 +3,7 @@ - + gamedev: Object Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -199,7 +199,7 @@ int ticksToUse diff --git a/doc/html/classPlayer-members.html b/doc/html/classPlayer-members.html index 1a8d18f..1705353 100644 --- a/doc/html/classPlayer-members.html +++ b/doc/html/classPlayer-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classPlayer.html b/doc/html/classPlayer.html index c0dcb5e..7455886 100644 --- a/doc/html/classPlayer.html +++ b/doc/html/classPlayer.html @@ -3,7 +3,7 @@ - + gamedev: Player Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -196,7 +196,7 @@ int ticksToUse diff --git a/doc/html/classQuest-members.html b/doc/html/classQuest-members.html index 81e9593..4edd6fe 100644 --- a/doc/html/classQuest-members.html +++ b/doc/html/classQuest-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classQuest.html b/doc/html/classQuest.html index 27bcf88..1fb3efc 100644 --- a/doc/html/classQuest.html +++ b/doc/html/classQuest.html @@ -3,7 +3,7 @@ - + gamedev: Quest Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -119,7 +119,7 @@ struct item_t  diff --git a/doc/html/classQuestHandler-members.html b/doc/html/classQuestHandler-members.html index e3a7915..bb02159 100644 --- a/doc/html/classQuestHandler-members.html +++ b/doc/html/classQuestHandler-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classQuestHandler.html b/doc/html/classQuestHandler.html index 33a425d..3868655 100644 --- a/doc/html/classQuestHandler.html +++ b/doc/html/classQuestHandler.html @@ -3,7 +3,7 @@ - + gamedev: QuestHandler Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -122,7 +122,7 @@ std::vector< const Quest * >  diff --git a/doc/html/classStructures-members.html b/doc/html/classStructures-members.html index 5108e39..9461c80 100644 --- a/doc/html/classStructures-members.html +++ b/doc/html/classStructures-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classStructures.html b/doc/html/classStructures.html index 2e4c9e6..26c927d 100644 --- a/doc/html/classStructures.html +++ b/doc/html/classStructures.html @@ -3,7 +3,7 @@ - + gamedev: Structures Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -199,7 +199,7 @@ int ticksToUse diff --git a/doc/html/classTexturec-members.html b/doc/html/classTexturec-members.html index e82ef5e..c07f342 100644 --- a/doc/html/classTexturec-members.html +++ b/doc/html/classTexturec-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classTexturec.html b/doc/html/classTexturec.html index 2a52c6b..998420c 100644 --- a/doc/html/classTexturec.html +++ b/doc/html/classTexturec.html @@ -3,7 +3,7 @@ - + gamedev: Texturec Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -128,7 +128,7 @@ GLuint * image diff --git a/doc/html/classWorld-members.html b/doc/html/classWorld-members.html index 60ab390..2599377 100644 --- a/doc/html/classWorld-members.html +++ b/doc/html/classWorld-members.html @@ -3,7 +3,7 @@ - + gamedev: Member List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); bgmStop(void) (defined in World)World bgTex (defined in World)Worldprotected build (defined in World)World - deleteEntities(void) (defined in World)Worldprotected + deleteEntities(void)Worldprotected detect(Player *p) (defined in World)World draw(Player *p) (defined in World)Worldvirtual entity (defined in World)World @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); goWorldRight(Player *p) (defined in World)World infront (defined in World)World lineWorldprotected - lineCount (defined in World)Worldprotected + lineCountWorldprotected load(FILE *) (defined in World)World mob (defined in World)World npc (defined in World)World @@ -126,8 +126,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); save(FILE *) (defined in World)World setBackground(WORLD_BG_TYPE bgt) (defined in World)World setBGM(const char *path) (defined in World)World - singleDetect(Entity *e) (defined in World)Worldprotected - star (defined in World)Worldprotected + singleDetect(Entity *e)Worldprotected + starWorldprotected toLeft (defined in World)World toRight (defined in World)World update(Player *p, unsigned int delta) (defined in World)World @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/classWorld.html b/doc/html/classWorld.html index 6071450..54103c3 100644 --- a/doc/html/classWorld.html +++ b/doc/html/classWorld.html @@ -3,7 +3,7 @@ - + gamedev: World Class Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -213,11 +213,9 @@ std::vector< Object * >  - + - +

Protected Member Functions

-void singleDetect (Entity *e)
void singleDetect (Entity *e)
 
-void deleteEntities (void)
void deleteEntities (void)
 
- + - + @@ -244,7 +240,58 @@ char * 

@@ -226,11 +224,9 @@ Protected Attributes

 
int x_start
 
-unsigned int lineCount
unsigned int lineCount
 
-vec2star
vec2star
 
TexturecbgTex
bgm

Detailed Description

The world class. This class does everything a world should do.

-

Member Data Documentation

+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + +
void World::deleteEntities (void )
+
+protected
+
+

Empties all entity vectors. Each entity vector is iterated through, calling delete for each entry. Once all specific vectors are cleared, the general entity vector is emptied of the pointers to those other vectors. This function should only be called in World's destructor, as there shouldn't be another reason to call this function.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void World::singleDetect (Entitye)
+
+protected
+
+

Handle physics for a single entity. This function handles gravity and death for an entity. The public version of this, World::detect(), handles all entities in the world as well as the player. World::singleDetect() should never be used outside of World::detect(), which is why it is declared private.

+ +
+
+

Member Data Documentation

@@ -264,6 +311,48 @@ char * bgm

The line array. This array is created through 'new' in World::generate(), with an amount of elements provided by the function.

+
+
+ +
+
+ + + + + +
+ + + + +
unsigned int World::lineCount
+
+protected
+
+

Number of lines in the world. While this number is helpful for knowing the world's width, it is kept private for security reasons. To compensate for this, World::getTheWidth() is provided (see below).

+ +
+
+ +
+
+ + + + + +
+ + + + +
vec2* World::star
+
+protected
+
+

An array of star coordinates.

+
@@ -296,7 +385,7 @@ char * bgm diff --git a/doc/html/classes.html b/doc/html/classes.html index b31ce50..56b76b9 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -3,7 +3,7 @@ - + gamedev: Class Index @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/common_8h_source.html b/doc/html/common_8h_source.html index ffe3473..31086d2 100644 --- a/doc/html/common_8h_source.html +++ b/doc/html/common_8h_source.html @@ -3,7 +3,7 @@ - + gamedev: include/common.h Source File @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -229,7 +229,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 8717929..eb704d7 100644 --- a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -3,7 +3,7 @@ - + gamedev: src Directory Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -108,7 +108,7 @@ Files diff --git a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html index c7683b8..beb7dc9 100644 --- a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -3,7 +3,7 @@ - + gamedev: include Directory Reference @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -107,7 +107,7 @@ Files diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css index b2c94ac..a000833 100644 --- a/doc/html/doxygen.css +++ b/doc/html/doxygen.css @@ -1,4 +1,4 @@ -/* The standard CSS for doxygen 1.8.10 */ +/* The standard CSS for doxygen 1.8.9.1 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; @@ -1108,11 +1108,6 @@ dl.section dd { border: 0px none; } -#projectalign -{ - vertical-align: middle; -} - #projectname { font: 300% Tahoma, Arial,sans-serif; diff --git a/doc/html/entities_8h_source.html b/doc/html/entities_8h_source.html index 0894125..97463ed 100644 --- a/doc/html/entities_8h_source.html +++ b/doc/html/entities_8h_source.html @@ -3,7 +3,7 @@ - + gamedev: include/entities.h Source File @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -256,7 +256,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/files.html b/doc/html/files.html index 38d9cd7..5edfdfa 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -3,7 +3,7 @@ - + gamedev: File List @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/functions.html b/doc/html/functions.html index 8632872..d994463 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -3,7 +3,7 @@ - + gamedev: Class Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
+
gamedev
- + @@ -70,6 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -93,6 +94,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • color : line_t
  • +
  • deleteEntities() +: World +
  • gh : line_t
  • @@ -102,6 +106,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • line : World
  • +
  • lineCount +: World +
  • +
  • singleDetect() +: World +
  • +
  • star +: World +
  • x_start : World
  • @@ -114,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html index 6932f1b..9dde8ef 100644 --- a/doc/html/functions_vars.html +++ b/doc/html/functions_vars.html @@ -3,7 +3,7 @@ - + gamedev: Class Members - Variables @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -70,6 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -102,6 +103,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • line : World
  • +
  • lineCount +: World +
  • +
  • star +: World +
  • x_start : World
  • @@ -114,7 +121,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/globals.html b/doc/html/globals.html index dbcd6b0..e4c182c 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -3,7 +3,7 @@ - + gamedev: File Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html index 0746bd7..e8eaa8a 100644 --- a/doc/html/globals_enum.html +++ b/doc/html/globals_enum.html @@ -3,7 +3,7 @@ - + gamedev: File Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html index 14d0a68..d4ca4a6 100644 --- a/doc/html/globals_eval.html +++ b/doc/html/globals_eval.html @@ -3,7 +3,7 @@ - + gamedev: File Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html index f79fdb8..9cd38d6 100644 --- a/doc/html/globals_func.html +++ b/doc/html/globals_func.html @@ -3,7 +3,7 @@ - + gamedev: File Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html index a704c7d..ad44026 100644 --- a/doc/html/globals_vars.html +++ b/doc/html/globals_vars.html @@ -3,7 +3,7 @@ - + gamedev: File Members @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 528e220..801943e 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -3,7 +3,7 @@ - + gamedev: Class Hierarchy @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -115,7 +115,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/index.html b/doc/html/index.html index 15681ea..8cb711d 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@ - + gamedev: Main Page @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -84,7 +84,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/inventory_8h_source.html b/doc/html/inventory_8h_source.html index 08b6f69..a475ade 100644 --- a/doc/html/inventory_8h_source.html +++ b/doc/html/inventory_8h_source.html @@ -3,7 +3,7 @@ - + gamedev: include/inventory.h Source File @@ -22,7 +22,7 @@ - @@ -31,7 +31,7 @@
    +
    gamedev
    - + @@ -195,7 +195,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/html/jquery.js b/doc/html/jquery.js index 1f4d0b4..d52a1c7 100644 --- a/doc/html/jquery.js +++ b/doc/html/jquery.js @@ -1,4 +1,4 @@ -/*! +/* * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * @@ -14,13 +14,13 @@ * Date: Mon Nov 21 21:11:03 2011 -0500 */ (function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
    a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
    ";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
    t
    ";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
    ";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/*! +/* * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/
    ",""],legend:[1,"
    ","
    "],thead:[1,"
    ","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/* * jQuery UI 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) @@ -29,7 +29,7 @@ * * http://docs.jquery.com/UI */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/* * jQuery UI Widget 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) @@ -38,7 +38,7 @@ * * http://docs.jquery.com/UI/Widget */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/* * jQuery UI Mouse 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) @@ -50,7 +50,7 @@ * Depends: * jquery.ui.widget.js */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
    ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/* * jQuery hashchange event - v1.3 - 7/21/2010 * http://benalman.com/projects/jquery-hashchange-plugin/ * @@ -58,7 +58,7 @@ * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' - - - - -
    -
    -
    Quest.h
    -
    -
    -
    1 #ifndef QUEST_H
    -
    2 #define QUEST_H
    -
    3 
    -
    4 #include <cstring>
    -
    5 
    -
    6 #include <common.h>
    -
    7 #include <inventory.h>
    -
    8 
    -
    9 #define DEBUG
    -
    10 
    -
    11 #define TOTAL_QUESTS 1
    -
    12 
    -
    13 class Quest {
    -
    14 public:
    -
    15  char *title,*desc;
    -
    16  struct item_t reward;
    -
    17  Quest(const char *t,const char *d,struct item_t r);
    -
    18  ~Quest();
    -
    19 };
    -
    20 
    -
    21 class QuestHandler {
    -
    22 public:
    -
    23  std::vector<const Quest *>current;
    -
    24  int assign(const char *t);
    -
    25  int drop(const char *t);
    -
    26  int finish(const char *t,void *completer);
    -
    27  bool hasQuest(const char *t);
    -
    28 };
    -
    29 
    -
    30 #include <entities.h>
    -
    31 
    -
    32 #endif // QUEST_H
    -
    Definition: Quest.h:13
    -
    Definition: inventory.h:58
    -
    Definition: Quest.h:21
    -
    - - - - diff --git a/doc/html/Texture_8h_source.html b/doc/html/Texture_8h_source.html deleted file mode 100644 index 67dfdc3..0000000 --- a/doc/html/Texture_8h_source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -gamedev: include/Texture.h Source File - - - - - - - - - - -
    -
    -
    - - - - - -
    -
    gamedev -
    -
    - - - - - - - -
    -
    - - -
    - -
    - - - -
    -
    -
    Texture.h
    -
    -
    -
    1 #ifndef TEXTURE_H
    -
    2 #define TEXTURE_H
    -
    3 
    -
    4 #include <common.h>
    -
    5 
    -
    6 #define DEBUG
    -
    7 
    -
    8 namespace Texture{
    -
    9  GLuint loadTexture(const char *fileName);
    -
    10 }
    -
    11 
    -
    12 class Texturec{
    -
    13 private:
    -
    14  unsigned int texState;
    -
    15 public:
    -
    16  GLuint *image;
    -
    17 
    -
    18  Texturec(uint amt, ...);
    -
    19  Texturec(uint amt,const char **paths);
    -
    20  ~Texturec();
    -
    21 
    -
    22  void bindNext();
    -
    23  void bindPrev();
    -
    24  void bind(unsigned int);
    -
    25  void walk();
    -
    26 };
    -
    27 
    -
    28 #endif //TEXTURE_H
    -
    Definition: Texture.h:12
    -
    Definition: Texture.cpp:12
    -
    - - - - diff --git a/doc/html/annotated.html b/doc/html/annotated.html deleted file mode 100644 index 904035f..0000000 --- a/doc/html/annotated.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -gamedev: Class List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Class List
    -
    -
    -
    Here are the classes, structs, unions and interfaces with brief descriptions:
    - - - - - - - - - - - - - - - - - - - - -
     CArena
     CEntity
     CIndoorWorld
     CInventory
     CItem
     Citem_t
     Cline_t
     CMob
     CNPC
     CObject
     CPlayer
     CQuest
     CQuestHandler
     CRay
     CStructures
     Ctexture_t
     CTexturec
     Cvec2
     CWorld
    -
    -
    - - - - diff --git a/doc/html/arrowdown.png b/doc/html/arrowdown.png deleted file mode 100644 index 0b63f6d..0000000 Binary files a/doc/html/arrowdown.png and /dev/null differ diff --git a/doc/html/arrowright.png b/doc/html/arrowright.png deleted file mode 100644 index c6ee22f..0000000 Binary files a/doc/html/arrowright.png and /dev/null differ diff --git a/doc/html/bc_s.png b/doc/html/bc_s.png deleted file mode 100644 index 224b29a..0000000 Binary files a/doc/html/bc_s.png and /dev/null differ diff --git a/doc/html/bdwn.png b/doc/html/bdwn.png deleted file mode 100644 index 940a0b9..0000000 Binary files a/doc/html/bdwn.png and /dev/null differ diff --git a/doc/html/classArena-members.html b/doc/html/classArena-members.html deleted file mode 100644 index 39fba5a..0000000 --- a/doc/html/classArena-members.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Arena Member List
    -
    -
    - -

    This is the complete list of members for Arena, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    addHole(unsigned int start, unsigned int end) (defined in World)World
    addLayer(unsigned int width) (defined in World)World
    addMob(int t, float x, float y) (defined in World)World
    addMob(int t, float x, float y, void(*hey)(Mob *)) (defined in World)World
    addNPC(float x, float y) (defined in World)World
    addObject(ITEM_ID, bool, const char *, float, float) (defined in World)World
    addStructure(_TYPE t, float x, float y, World *outside, World *inside) (defined in World)World
    Arena(World *leave, Player *p) (defined in Arena)Arena
    behind (defined in World)World
    bgm (defined in World)Worldprotected
    bgmObj (defined in World)Worldprotected
    bgmPlay(void) (defined in World)World
    bgmStop(void) (defined in World)World
    bgTex (defined in World)Worldprotected
    build (defined in World)World
    deleteEntities(void)Worldprotected
    detect(Player *p) (defined in World)World
    draw(Player *p) (defined in World)Worldvirtual
    entity (defined in World)World
    exitArena(Player *p) (defined in Arena)Arena
    generate(unsigned int width) (defined in World)Worldvirtual
    generateFunc(unsigned int width, float(*func)(float)) (defined in World)World
    getTheWidth(void) (defined in World)World
    goInsideStructure(Player *p) (defined in World)World
    goWorldBack(Player *p) (defined in World)World
    goWorldFront(Player *p) (defined in World)World
    goWorldLeft(Player *p) (defined in World)World
    goWorldRight(Player *p) (defined in World)World
    infront (defined in World)World
    lineWorldprotected
    lineCountWorldprotected
    load(FILE *) (defined in World)World
    mob (defined in World)World
    npc (defined in World)World
    object (defined in World)World
    save(FILE *) (defined in World)World
    setBackground(WORLD_BG_TYPE bgt) (defined in World)World
    setBGM(const char *path) (defined in World)World
    singleDetect(Entity *e)Worldprotected
    starWorldprotected
    toLeft (defined in World)World
    toRight (defined in World)World
    update(Player *p, unsigned int delta) (defined in World)World
    World(void) (defined in World)World
    x_startWorldprotected
    ~Arena(void) (defined in Arena)Arena
    ~World(void) (defined in World)Worldvirtual
    - - - - diff --git a/doc/html/classArena.html b/doc/html/classArena.html deleted file mode 100644 index deade84..0000000 --- a/doc/html/classArena.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -gamedev: Arena Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Arena Class Reference
    -
    -
    -
    -Inheritance diagram for Arena:
    -
    -
    - - -World - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    Arena (World *leave, Player *p)
     
    -WorldexitArena (Player *p)
     
    - Public Member Functions inherited from World
    -void addStructure (_TYPE t, float x, float y, World *outside, World *inside)
     
    -void addMob (int t, float x, float y)
     
    -void addMob (int t, float x, float y, void(*hey)(Mob *))
     
    -void addNPC (float x, float y)
     
    -void addObject (ITEM_ID, bool, const char *, float, float)
     
    -void update (Player *p, unsigned int delta)
     
    -virtual void generate (unsigned int width)
     
    -void generateFunc (unsigned int width, float(*func)(float))
     
    -void setBackground (WORLD_BG_TYPE bgt)
     
    -void setBGM (const char *path)
     
    -void bgmPlay (void)
     
    -void bgmStop (void)
     
    -void addLayer (unsigned int width)
     
    -virtual void draw (Player *p)
     
    -void detect (Player *p)
     
    -WorldgoWorldLeft (Player *p)
     
    -WorldgoWorldRight (Player *p)
     
    -WorldgoWorldBack (Player *p)
     
    -WorldgoWorldFront (Player *p)
     
    -WorldgoInsideStructure (Player *p)
     
    -void addHole (unsigned int start, unsigned int end)
     
    -int getTheWidth (void)
     
    -void save (FILE *)
     
    -void load (FILE *)
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Additional Inherited Members

    - Public Attributes inherited from World
    -WorldtoLeft
     
    -WorldtoRight
     
    -Worldbehind
     
    -Worldinfront
     
    -std::vector< NPC * > npc
     
    -std::vector< Structures * > build
     
    -std::vector< Mob * > mob
     
    -std::vector< Entity * > entity
     
    -std::vector< Object * > object
     
    - Protected Member Functions inherited from World
    void singleDetect (Entity *e)
     
    void deleteEntities (void)
     
    - Protected Attributes inherited from World
    struct line_tline
     
    int x_start
     
    unsigned int lineCount
     
    vec2star
     
    -TexturecbgTex
     
    -Mix_Music * bgmObj
     
    -char * bgm
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classArena.png b/doc/html/classArena.png deleted file mode 100644 index 4aacfaa..0000000 Binary files a/doc/html/classArena.png and /dev/null differ diff --git a/doc/html/classEntity-members.html b/doc/html/classEntity-members.html deleted file mode 100644 index 7c20e78..0000000 --- a/doc/html/classEntity-members.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Entity Member List
    -
    -
    - -

    This is the complete list of members for Entity, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    interact() (defined in Entity)Entityinlinevirtual
    inv (defined in Entity)Entity
    left (defined in Entity)Entity
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    right (defined in Entity)Entity
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in Entity)Entityinlinevirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    - - - - diff --git a/doc/html/classEntity.html b/doc/html/classEntity.html deleted file mode 100644 index 602cbaf..0000000 --- a/doc/html/classEntity.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - -gamedev: Entity Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Entity Class Reference
    -
    -
    -
    -Inheritance diagram for Entity:
    -
    -
    - - -Mob -NPC -Object -Player -Structures - -
    - - - - - - - - - - -

    -Public Member Functions

    -void draw (void)
     
    -void spawn (float, float)
     
    -virtual void wander (int)
     
    -virtual void interact ()
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classEntity.png b/doc/html/classEntity.png deleted file mode 100644 index de0ff89..0000000 Binary files a/doc/html/classEntity.png and /dev/null differ diff --git a/doc/html/classIndoorWorld-members.html b/doc/html/classIndoorWorld-members.html deleted file mode 100644 index 1e021ea..0000000 --- a/doc/html/classIndoorWorld-members.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    IndoorWorld Member List
    -
    -
    - -

    This is the complete list of members for IndoorWorld, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    addHole(unsigned int start, unsigned int end) (defined in World)World
    addLayer(unsigned int width) (defined in World)World
    addMob(int t, float x, float y) (defined in World)World
    addMob(int t, float x, float y, void(*hey)(Mob *)) (defined in World)World
    addNPC(float x, float y) (defined in World)World
    addObject(ITEM_ID, bool, const char *, float, float) (defined in World)World
    addStructure(_TYPE t, float x, float y, World *outside, World *inside) (defined in World)World
    behind (defined in World)World
    bgm (defined in World)Worldprotected
    bgmObj (defined in World)Worldprotected
    bgmPlay(void) (defined in World)World
    bgmStop(void) (defined in World)World
    bgTex (defined in World)Worldprotected
    build (defined in World)World
    deleteEntities(void)Worldprotected
    detect(Player *p) (defined in World)World
    draw(Player *p) (defined in IndoorWorld)IndoorWorldvirtual
    entity (defined in World)World
    generate(unsigned int width) (defined in IndoorWorld)IndoorWorldvirtual
    generateFunc(unsigned int width, float(*func)(float)) (defined in World)World
    getTheWidth(void) (defined in World)World
    goInsideStructure(Player *p) (defined in World)World
    goWorldBack(Player *p) (defined in World)World
    goWorldFront(Player *p) (defined in World)World
    goWorldLeft(Player *p) (defined in World)World
    goWorldRight(Player *p) (defined in World)World
    IndoorWorld(void) (defined in IndoorWorld)IndoorWorld
    infront (defined in World)World
    lineWorldprotected
    lineCountWorldprotected
    load(FILE *) (defined in World)World
    mob (defined in World)World
    npc (defined in World)World
    object (defined in World)World
    outside (defined in IndoorWorld)IndoorWorld
    save(FILE *) (defined in World)World
    setBackground(WORLD_BG_TYPE bgt) (defined in World)World
    setBGM(const char *path) (defined in World)World
    singleDetect(Entity *e)Worldprotected
    starWorldprotected
    toLeft (defined in World)World
    toRight (defined in World)World
    update(Player *p, unsigned int delta) (defined in World)World
    World(void) (defined in World)World
    x_startWorldprotected
    ~IndoorWorld(void) (defined in IndoorWorld)IndoorWorld
    ~World(void) (defined in World)Worldvirtual
    - - - - diff --git a/doc/html/classIndoorWorld.html b/doc/html/classIndoorWorld.html deleted file mode 100644 index a37288e..0000000 --- a/doc/html/classIndoorWorld.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -gamedev: IndoorWorld Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    IndoorWorld Class Reference
    -
    -
    -
    -Inheritance diagram for IndoorWorld:
    -
    -
    - - -World - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    -void generate (unsigned int width)
     
    -void draw (Player *p)
     
    - Public Member Functions inherited from World
    -void addStructure (_TYPE t, float x, float y, World *outside, World *inside)
     
    -void addMob (int t, float x, float y)
     
    -void addMob (int t, float x, float y, void(*hey)(Mob *))
     
    -void addNPC (float x, float y)
     
    -void addObject (ITEM_ID, bool, const char *, float, float)
     
    -void update (Player *p, unsigned int delta)
     
    -void generateFunc (unsigned int width, float(*func)(float))
     
    -void setBackground (WORLD_BG_TYPE bgt)
     
    -void setBGM (const char *path)
     
    -void bgmPlay (void)
     
    -void bgmStop (void)
     
    -void addLayer (unsigned int width)
     
    -void detect (Player *p)
     
    -WorldgoWorldLeft (Player *p)
     
    -WorldgoWorldRight (Player *p)
     
    -WorldgoWorldBack (Player *p)
     
    -WorldgoWorldFront (Player *p)
     
    -WorldgoInsideStructure (Player *p)
     
    -void addHole (unsigned int start, unsigned int end)
     
    -int getTheWidth (void)
     
    -void save (FILE *)
     
    -void load (FILE *)
     
    - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -Worldoutside
     
    - Public Attributes inherited from World
    -WorldtoLeft
     
    -WorldtoRight
     
    -Worldbehind
     
    -Worldinfront
     
    -std::vector< NPC * > npc
     
    -std::vector< Structures * > build
     
    -std::vector< Mob * > mob
     
    -std::vector< Entity * > entity
     
    -std::vector< Object * > object
     
    - - - - - - - - - - - - - - - - - - - - - -

    -Additional Inherited Members

    - Protected Member Functions inherited from World
    void singleDetect (Entity *e)
     
    void deleteEntities (void)
     
    - Protected Attributes inherited from World
    struct line_tline
     
    int x_start
     
    unsigned int lineCount
     
    vec2star
     
    -TexturecbgTex
     
    -Mix_Music * bgmObj
     
    -char * bgm
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classIndoorWorld.png b/doc/html/classIndoorWorld.png deleted file mode 100644 index 15156bb..0000000 Binary files a/doc/html/classIndoorWorld.png and /dev/null differ diff --git a/doc/html/classInventory-members.html b/doc/html/classInventory-members.html deleted file mode 100644 index f17adca..0000000 --- a/doc/html/classInventory-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Inventory Member List
    -
    -
    - -

    This is the complete list of members for Inventory, including all inherited members.

    - - - - - - - - - - - - - - -
    addItem(ITEM_ID id, unsigned char count) (defined in Inventory)Inventory
    draw(void) (defined in Inventory)Inventory
    Inventory(unsigned int s) (defined in Inventory)Inventory
    invHover (defined in Inventory)Inventory
    invOpen (defined in Inventory)Inventory
    invOpening (defined in Inventory)Inventory
    mouseSel (defined in Inventory)Inventory
    sel (defined in Inventory)Inventory
    selected (defined in Inventory)Inventory
    setSelection(unsigned int s) (defined in Inventory)Inventory
    takeItem(ITEM_ID id, unsigned char count) (defined in Inventory)Inventory
    useItem(void) (defined in Inventory)Inventory
    ~Inventory(void) (defined in Inventory)Inventory
    - - - - diff --git a/doc/html/classInventory.html b/doc/html/classInventory.html deleted file mode 100644 index 0015b33..0000000 --- a/doc/html/classInventory.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -gamedev: Inventory Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Inventory Class Reference
    -
    -
    - - - - - - - - - - - - - - -

    -Public Member Functions

    Inventory (unsigned int s)
     
    -int addItem (ITEM_ID id, unsigned char count)
     
    -int takeItem (ITEM_ID id, unsigned char count)
     
    -int useItem (void)
     
    -void setSelection (unsigned int s)
     
    -void draw (void)
     
    - - - - - - - - - - - - - -

    -Public Attributes

    -unsigned int sel
     
    -bool invOpen = false
     
    -bool invOpening = false
     
    -bool invHover = false
     
    -bool selected = false
     
    -bool mouseSel = false
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classItem-members.html b/doc/html/classItem-members.html deleted file mode 100644 index d89144f..0000000 --- a/doc/html/classItem-members.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Item Member List
    -
    -
    - -

    This is the complete list of members for Item, including all inherited members.

    - - - - - - - - - - - - -
    height (defined in Item)Item
    id (defined in Item)Item
    Item(ITEM_ID i, const char *n, ITEM_TYPE t, float w, float h, int m, const char *tl) (defined in Item)Item
    maxStackSize (defined in Item)Item
    name (defined in Item)Item
    rtex() (defined in Item)Iteminline
    tex (defined in Item)Item
    text (defined in Item)Item
    textureLoc (defined in Item)Item
    type (defined in Item)Item
    width (defined in Item)Item
    - - - - diff --git a/doc/html/classItem.html b/doc/html/classItem.html deleted file mode 100644 index fd77bff..0000000 --- a/doc/html/classItem.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -gamedev: Item Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    - -
    - - - - - - -

    -Public Member Functions

    Item (ITEM_ID i, const char *n, ITEM_TYPE t, float w, float h, int m, const char *tl)
     
    -GLuint rtex ()
     
    - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -ITEM_ID id
     
    -char * name
     
    -ITEM_TYPE type
     
    -float width
     
    -float height
     
    -int maxStackSize
     
    -char * textureLoc
     
    -Texturectex
     
    -GLuint text
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classMob-members.html b/doc/html/classMob-members.html deleted file mode 100644 index 3ed63e3..0000000 --- a/doc/html/classMob-members.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Mob Member List
    -
    -
    - -

    This is the complete list of members for Mob, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    hey (defined in Mob)Mob
    init_y (defined in Mob)Mob
    interact() (defined in Entity)Entityinlinevirtual
    inv (defined in Entity)Entity
    left (defined in Entity)Entity
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    Mob(int) (defined in Mob)Mob
    Mob(int, unsigned int) (defined in Mob)Mob
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    right (defined in Entity)Entity
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in Mob)Mobvirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    ~Mob() (defined in Mob)Mob
    - - - - diff --git a/doc/html/classMob.html b/doc/html/classMob.html deleted file mode 100644 index 8ec896a..0000000 --- a/doc/html/classMob.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -gamedev: Mob Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    - -
    -
    -Inheritance diagram for Mob:
    -
    -
    - - -Entity - -
    - - - - - - - - - - - - - - - -

    -Public Member Functions

    Mob (int)
     
    Mob (int, unsigned int)
     
    -void wander (int)
     
    - Public Member Functions inherited from Entity
    -void draw (void)
     
    -void spawn (float, float)
     
    -virtual void interact ()
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -double init_y
     
    -void(* hey )(Mob *callee)
     
    - Public Attributes inherited from Entity
    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classMob.png b/doc/html/classMob.png deleted file mode 100644 index 3c308f9..0000000 Binary files a/doc/html/classMob.png and /dev/null differ diff --git a/doc/html/classNPC-members.html b/doc/html/classNPC-members.html deleted file mode 100644 index b08ee40..0000000 --- a/doc/html/classNPC-members.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    NPC Member List
    -
    -
    - -

    This is the complete list of members for NPC, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    addAIFunc(int(*func)(NPC *), bool preload) (defined in NPC)NPC
    aiFunc (defined in NPC)NPC
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    interact() (defined in NPC)NPCvirtual
    inv (defined in Entity)Entity
    left (defined in Entity)Entity
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    NPC() (defined in NPC)NPC
    right (defined in Entity)Entity
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in NPC)NPCvirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    ~NPC() (defined in NPC)NPC
    - - - - diff --git a/doc/html/classNPC.html b/doc/html/classNPC.html deleted file mode 100644 index 32e41fa..0000000 --- a/doc/html/classNPC.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -gamedev: NPC Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    - -
    -
    -Inheritance diagram for NPC:
    -
    -
    - - -Entity - -
    - - - - - - - - - - - - - -

    -Public Member Functions

    -void addAIFunc (int(*func)(NPC *), bool preload)
     
    -void interact ()
     
    -void wander (int)
     
    - Public Member Functions inherited from Entity
    -void draw (void)
     
    -void spawn (float, float)
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -std::vector< int(*)(NPC *)> aiFunc
     
    - Public Attributes inherited from Entity
    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classNPC.png b/doc/html/classNPC.png deleted file mode 100644 index 7af8fcd..0000000 Binary files a/doc/html/classNPC.png and /dev/null differ diff --git a/doc/html/classObject-members.html b/doc/html/classObject-members.html deleted file mode 100644 index d8a4d03..0000000 --- a/doc/html/classObject-members.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Object Member List
    -
    -
    - -

    This is the complete list of members for Object, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    interact(void) (defined in Object)Objectvirtual
    inv (defined in Entity)Entity
    left (defined in Entity)Entity
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    Object(ITEM_ID id, bool qo, const char *pd) (defined in Object)Object
    pickupDialog (defined in Object)Object
    questObject (defined in Object)Object
    right (defined in Entity)Entity
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in Entity)Entityinlinevirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    ~Object() (defined in Object)Object
    - - - - diff --git a/doc/html/classObject.html b/doc/html/classObject.html deleted file mode 100644 index 016a2a5..0000000 --- a/doc/html/classObject.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -gamedev: Object Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Object Class Reference
    -
    -
    -
    -Inheritance diagram for Object:
    -
    -
    - - -Entity - -
    - - - - - - - - - - - - - -

    -Public Member Functions

    Object (ITEM_ID id, bool qo, const char *pd)
     
    -void interact (void)
     
    - Public Member Functions inherited from Entity
    -void draw (void)
     
    -void spawn (float, float)
     
    -virtual void wander (int)
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -char * pickupDialog
     
    -bool questObject = false
     
    - Public Attributes inherited from Entity
    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classObject.png b/doc/html/classObject.png deleted file mode 100644 index b26fee7..0000000 Binary files a/doc/html/classObject.png and /dev/null differ diff --git a/doc/html/classPlayer-members.html b/doc/html/classPlayer-members.html deleted file mode 100644 index 1705353..0000000 --- a/doc/html/classPlayer-members.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Player Member List
    -
    -
    - -

    This is the complete list of members for Player, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    interact() (defined in Player)Playervirtual
    inv (defined in Entity)Entity
    left (defined in Entity)Entity
    light (defined in Player)Player
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    Player() (defined in Player)Player
    qh (defined in Player)Player
    right (defined in Entity)Entity
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in Entity)Entityinlinevirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    ~Player() (defined in Player)Player
    - - - - diff --git a/doc/html/classPlayer.html b/doc/html/classPlayer.html deleted file mode 100644 index 7455886..0000000 --- a/doc/html/classPlayer.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -gamedev: Player Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Player Class Reference
    -
    -
    -
    -Inheritance diagram for Player:
    -
    -
    - - -Entity - -
    - - - - - - - - - - - -

    -Public Member Functions

    -void interact ()
     
    - Public Member Functions inherited from Entity
    -void draw (void)
     
    -void spawn (float, float)
     
    -virtual void wander (int)
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -QuestHandler qh
     
    -bool light = false
     
    - Public Attributes inherited from Entity
    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classPlayer.png b/doc/html/classPlayer.png deleted file mode 100644 index cd9549f..0000000 Binary files a/doc/html/classPlayer.png and /dev/null differ diff --git a/doc/html/classQuest-members.html b/doc/html/classQuest-members.html deleted file mode 100644 index 4edd6fe..0000000 --- a/doc/html/classQuest-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Quest Member List
    -
    -
    - -

    This is the complete list of members for Quest, including all inherited members.

    - - - - - - -
    desc (defined in Quest)Quest
    Quest(const char *t, const char *d, struct item_t r) (defined in Quest)Quest
    reward (defined in Quest)Quest
    title (defined in Quest)Quest
    ~Quest() (defined in Quest)Quest
    - - - - diff --git a/doc/html/classQuest.html b/doc/html/classQuest.html deleted file mode 100644 index 1fb3efc..0000000 --- a/doc/html/classQuest.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - -gamedev: Quest Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    - -
    - - - - -

    -Public Member Functions

    Quest (const char *t, const char *d, struct item_t r)
     
    - - - - - - - -

    -Public Attributes

    -char * title
     
    -char * desc
     
    -struct item_t reward
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classQuestHandler-members.html b/doc/html/classQuestHandler-members.html deleted file mode 100644 index bb02159..0000000 --- a/doc/html/classQuestHandler-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    QuestHandler Member List
    -
    -
    - -

    This is the complete list of members for QuestHandler, including all inherited members.

    - - - - - - -
    assign(const char *t) (defined in QuestHandler)QuestHandler
    current (defined in QuestHandler)QuestHandler
    drop(const char *t) (defined in QuestHandler)QuestHandler
    finish(const char *t, void *completer) (defined in QuestHandler)QuestHandler
    hasQuest(const char *t) (defined in QuestHandler)QuestHandler
    - - - - diff --git a/doc/html/classQuestHandler.html b/doc/html/classQuestHandler.html deleted file mode 100644 index 3868655..0000000 --- a/doc/html/classQuestHandler.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -gamedev: QuestHandler Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    QuestHandler Class Reference
    -
    -
    - - - - - - - - - - -

    -Public Member Functions

    -int assign (const char *t)
     
    -int drop (const char *t)
     
    -int finish (const char *t, void *completer)
     
    -bool hasQuest (const char *t)
     
    - - - -

    -Public Attributes

    -std::vector< const Quest * > current
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classStructures-members.html b/doc/html/classStructures-members.html deleted file mode 100644 index 9461c80..0000000 --- a/doc/html/classStructures-members.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Structures Member List
    -
    -
    - -

    This is the complete list of members for Structures, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    alive (defined in Entity)Entity
    canMove (defined in Entity)Entity
    draw(void) (defined in Entity)Entity
    gender (defined in Entity)Entity
    ground (defined in Entity)Entity
    health (defined in Entity)Entity
    height (defined in Entity)Entity
    inside (defined in Structures)Structures
    interact() (defined in Entity)Entityinlinevirtual
    inv (defined in Entity)Entity
    inWorld (defined in Structures)Structures
    left (defined in Entity)Entity
    loc (defined in Entity)Entity
    maxHealth (defined in Entity)Entity
    name (defined in Entity)Entity
    near (defined in Entity)Entity
    right (defined in Entity)Entity
    spawn(_TYPE, float, float) (defined in Structures)Structures
    spawn(float, float) (defined in Entity)Entity
    speed (defined in Entity)Entity
    Structures() (defined in Structures)Structures
    subtype (defined in Entity)Entity
    tex (defined in Entity)Entity
    ticksToUse (defined in Entity)Entity
    type (defined in Entity)Entity
    vel (defined in Entity)Entity
    wander(int) (defined in Entity)Entityinlinevirtual
    width (defined in Entity)Entity
    ~Entity() (defined in Entity)Entityinlinevirtual
    ~Structures() (defined in Structures)Structures
    - - - - diff --git a/doc/html/classStructures.html b/doc/html/classStructures.html deleted file mode 100644 index 26c927d..0000000 --- a/doc/html/classStructures.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -gamedev: Structures Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Structures Class Reference
    -
    -
    -
    -Inheritance diagram for Structures:
    -
    -
    - - -Entity - -
    - - - - - - - - - - - - - -

    -Public Member Functions

    -unsigned int spawn (_TYPE, float, float)
     
    - Public Member Functions inherited from Entity
    -void draw (void)
     
    -void spawn (float, float)
     
    -virtual void wander (int)
     
    -virtual void interact ()
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -void * inWorld
     
    -void * inside
     
    - Public Attributes inherited from Entity
    -Inventoryinv
     
    -vec2 loc
     
    -vec2 vel
     
    -float width
     
    -float height
     
    -float speed
     
    -bool near
     
    -bool canMove
     
    -bool right
     
    -bool left
     
    -bool alive
     
    -unsigned char ground
     
    -float health
     
    -float maxHealth
     
    -_TYPE type
     
    -int subtype
     
    -char * name
     
    -GENDER gender
     
    -Texturectex
     
    -int ticksToUse
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classStructures.png b/doc/html/classStructures.png deleted file mode 100644 index 588ff07..0000000 Binary files a/doc/html/classStructures.png and /dev/null differ diff --git a/doc/html/classTexturec-members.html b/doc/html/classTexturec-members.html deleted file mode 100644 index c07f342..0000000 --- a/doc/html/classTexturec-members.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Texturec Member List
    -
    -
    - -

    This is the complete list of members for Texturec, including all inherited members.

    - - - - - - - - - -
    bind(unsigned int) (defined in Texturec)Texturec
    bindNext() (defined in Texturec)Texturec
    bindPrev() (defined in Texturec)Texturec
    image (defined in Texturec)Texturec
    Texturec(uint amt,...) (defined in Texturec)Texturec
    Texturec(uint amt, const char **paths) (defined in Texturec)Texturec
    walk() (defined in Texturec)Texturec
    ~Texturec() (defined in Texturec)Texturec
    - - - - diff --git a/doc/html/classTexturec.html b/doc/html/classTexturec.html deleted file mode 100644 index 998420c..0000000 --- a/doc/html/classTexturec.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -gamedev: Texturec Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Texturec Class Reference
    -
    -
    - - - - - - - - - - - - - - -

    -Public Member Functions

    Texturec (uint amt,...)
     
    Texturec (uint amt, const char **paths)
     
    -void bindNext ()
     
    -void bindPrev ()
     
    -void bind (unsigned int)
     
    -void walk ()
     
    - - - -

    -Public Attributes

    -GLuint * image
     
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classWorld-members.html b/doc/html/classWorld-members.html deleted file mode 100644 index 2599377..0000000 --- a/doc/html/classWorld-members.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    World Member List
    -
    -
    - -

    This is the complete list of members for World, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    addHole(unsigned int start, unsigned int end) (defined in World)World
    addLayer(unsigned int width) (defined in World)World
    addMob(int t, float x, float y) (defined in World)World
    addMob(int t, float x, float y, void(*hey)(Mob *)) (defined in World)World
    addNPC(float x, float y) (defined in World)World
    addObject(ITEM_ID, bool, const char *, float, float) (defined in World)World
    addStructure(_TYPE t, float x, float y, World *outside, World *inside) (defined in World)World
    behind (defined in World)World
    bgm (defined in World)Worldprotected
    bgmObj (defined in World)Worldprotected
    bgmPlay(void) (defined in World)World
    bgmStop(void) (defined in World)World
    bgTex (defined in World)Worldprotected
    build (defined in World)World
    deleteEntities(void)Worldprotected
    detect(Player *p) (defined in World)World
    draw(Player *p) (defined in World)Worldvirtual
    entity (defined in World)World
    generate(unsigned int width) (defined in World)Worldvirtual
    generateFunc(unsigned int width, float(*func)(float)) (defined in World)World
    getTheWidth(void) (defined in World)World
    goInsideStructure(Player *p) (defined in World)World
    goWorldBack(Player *p) (defined in World)World
    goWorldFront(Player *p) (defined in World)World
    goWorldLeft(Player *p) (defined in World)World
    goWorldRight(Player *p) (defined in World)World
    infront (defined in World)World
    lineWorldprotected
    lineCountWorldprotected
    load(FILE *) (defined in World)World
    mob (defined in World)World
    npc (defined in World)World
    object (defined in World)World
    save(FILE *) (defined in World)World
    setBackground(WORLD_BG_TYPE bgt) (defined in World)World
    setBGM(const char *path) (defined in World)World
    singleDetect(Entity *e)Worldprotected
    starWorldprotected
    toLeft (defined in World)World
    toRight (defined in World)World
    update(Player *p, unsigned int delta) (defined in World)World
    World(void) (defined in World)World
    x_startWorldprotected
    ~World(void) (defined in World)Worldvirtual
    - - - - diff --git a/doc/html/classWorld.html b/doc/html/classWorld.html deleted file mode 100644 index 54103c3..0000000 --- a/doc/html/classWorld.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - -gamedev: World Class Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    - -
    - -

    #include <world.h>

    -
    -Inheritance diagram for World:
    -
    -
    - - -Arena -IndoorWorld - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    -void addStructure (_TYPE t, float x, float y, World *outside, World *inside)
     
    -void addMob (int t, float x, float y)
     
    -void addMob (int t, float x, float y, void(*hey)(Mob *))
     
    -void addNPC (float x, float y)
     
    -void addObject (ITEM_ID, bool, const char *, float, float)
     
    -void update (Player *p, unsigned int delta)
     
    -virtual void generate (unsigned int width)
     
    -void generateFunc (unsigned int width, float(*func)(float))
     
    -void setBackground (WORLD_BG_TYPE bgt)
     
    -void setBGM (const char *path)
     
    -void bgmPlay (void)
     
    -void bgmStop (void)
     
    -void addLayer (unsigned int width)
     
    -virtual void draw (Player *p)
     
    -void detect (Player *p)
     
    -WorldgoWorldLeft (Player *p)
     
    -WorldgoWorldRight (Player *p)
     
    -WorldgoWorldBack (Player *p)
     
    -WorldgoWorldFront (Player *p)
     
    -WorldgoInsideStructure (Player *p)
     
    -void addHole (unsigned int start, unsigned int end)
     
    -int getTheWidth (void)
     
    -void save (FILE *)
     
    -void load (FILE *)
     
    - - - - - - - - - - - - - - - - - - - -

    -Public Attributes

    -WorldtoLeft
     
    -WorldtoRight
     
    -Worldbehind
     
    -Worldinfront
     
    -std::vector< NPC * > npc
     
    -std::vector< Structures * > build
     
    -std::vector< Mob * > mob
     
    -std::vector< Entity * > entity
     
    -std::vector< Object * > object
     
    - - - - - -

    -Protected Member Functions

    void singleDetect (Entity *e)
     
    void deleteEntities (void)
     
    - - - - - - - - - - - - - - - -

    -Protected Attributes

    struct line_tline
     
    int x_start
     
    unsigned int lineCount
     
    vec2star
     
    -TexturecbgTex
     
    -Mix_Music * bgmObj
     
    -char * bgm
     
    -

    Detailed Description

    -

    The world class. This class does everything a world should do.

    -

    Member Function Documentation

    - -
    -
    - - - - - -
    - - - - - - - - -
    void World::deleteEntities (void )
    -
    -protected
    -
    -

    Empties all entity vectors. Each entity vector is iterated through, calling delete for each entry. Once all specific vectors are cleared, the general entity vector is emptied of the pointers to those other vectors. This function should only be called in World's destructor, as there shouldn't be another reason to call this function.

    - -
    -
    - -
    -
    - - - - - -
    - - - - - - - - -
    void World::singleDetect (Entitye)
    -
    -protected
    -
    -

    Handle physics for a single entity. This function handles gravity and death for an entity. The public version of this, World::detect(), handles all entities in the world as well as the player. World::singleDetect() should never be used outside of World::detect(), which is why it is declared private.

    - -
    -
    -

    Member Data Documentation

    - -
    -
    - - - - - -
    - - - - -
    struct line_t* World::line
    -
    -protected
    -
    -

    The line array. This array is created through 'new' in World::generate(), with an amount of elements provided by the function.

    - -
    -
    - -
    -
    - - - - - -
    - - - - -
    unsigned int World::lineCount
    -
    -protected
    -
    -

    Number of lines in the world. While this number is helpful for knowing the world's width, it is kept private for security reasons. To compensate for this, World::getTheWidth() is provided (see below).

    - -
    -
    - -
    -
    - - - - - -
    - - - - -
    vec2* World::star
    -
    -protected
    -
    -

    An array of star coordinates.

    - -
    -
    - -
    -
    - - - - - -
    - - - - -
    int World::x_start
    -
    -protected
    -
    -

    Starting x coordinate. This x value is the point at which line[0] should reside, can be used to calculate the width of the world.

    - -
    -
    -
    The documentation for this class was generated from the following files: -
    - - - - diff --git a/doc/html/classWorld.png b/doc/html/classWorld.png deleted file mode 100644 index 9921259..0000000 Binary files a/doc/html/classWorld.png and /dev/null differ diff --git a/doc/html/classes.html b/doc/html/classes.html deleted file mode 100644 index 56b76b9..0000000 --- a/doc/html/classes.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -gamedev: Class Index - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Class Index
    -
    -
    -
    A | E | I | L | M | N | O | P | Q | R | S | T | V | W
    - - - - - - - - - - - - - - -
      A  
    -
    Item   
      P  
    -
      S  
    -
      l  
    -
      M  
    -
    Arena   Player   Structures   line_t   
      E  
    -
    Mob   
      Q  
    -
      T  
    -
      t  
    -
      N  
    -
    Entity   Quest   Texturec   texture_t   
      I  
    -
    NPC   QuestHandler   
      W  
    -
      v  
    -
      O  
    -
      R  
    -
    IndoorWorld   World   vec2   
    Inventory   Object   Ray   
      i  
    -
    item_t   
    -
    A | E | I | L | M | N | O | P | Q | R | S | T | V | W
    -
    - - - - diff --git a/doc/html/closed.png b/doc/html/closed.png deleted file mode 100644 index 98cc2c9..0000000 Binary files a/doc/html/closed.png and /dev/null differ diff --git a/doc/html/common_8h_source.html b/doc/html/common_8h_source.html deleted file mode 100644 index 31086d2..0000000 --- a/doc/html/common_8h_source.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -gamedev: include/common.h Source File - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    common.h
    -
    -
    -
    1 #ifndef COMMON_H
    -
    2 #define COMMON_H
    -
    3 
    -
    4 /*
    -
    5  * Include basic C/C++ facilities
    -
    6 */
    -
    7 
    -
    8 #include <iostream>
    -
    9 #include <cstdlib>
    -
    10 #include <vector>
    -
    11 #include <math.h>
    -
    12 #include <thread>
    -
    13 
    -
    14 /*
    -
    15  * Include GLEW and the SDL 2 headers
    -
    16 */
    -
    17 
    -
    18 #define GLEW_STATIC
    -
    19 #include <GL/glew.h>
    -
    20 
    -
    21 #include <SDL2/SDL.h>
    -
    22 #include <SDL2/SDL_opengl.h>
    -
    23 #include <SDL2/SDL_image.h>
    -
    24 #include <SDL2/SDL_mixer.h>
    -
    25 #include <string>
    -
    26 #include <fstream>
    -
    27 
    -
    28 
    -
    29 #ifdef __WIN32__
    -
    30 typedef unsigned int uint;
    -
    31 #undef near
    -
    32 #endif
    -
    33 
    -
    34 #include <Texture.h>
    -
    35 
    -
    36 /*
    -
    37  * This flag lets the compiler know that we are using shaders
    -
    38 */
    -
    39 
    -
    40 #define SHADERSs
    -
    41 
    -
    42 /*
    -
    43  * Create a basic 2-point structure for coordinate saving
    -
    44 */
    -
    45 
    -
    46 typedef struct {
    -
    47  float x;
    -
    48  float y;
    -
    49 } vec2;
    -
    50 
    -
    51 typedef struct {
    -
    52  vec2 start;
    -
    53  vec2 end;
    -
    54 } Ray;
    -
    55 
    -
    56 /*
    -
    57  * Define the game's name (displayed in the window title),
    -
    58  * the desired window dimensions,
    -
    59  * and whether or not we want the window to be fullscreen.
    -
    60 */
    -
    61 
    -
    62 #define GAME_NAME "Independent Study v.0.4 alpha"
    -
    63 
    -
    64 #define SCREEN_WIDTH 1280
    -
    65 #define SCREEN_HEIGHT 720
    -
    66 
    -
    67 //#define FULLSCREEN
    -
    68 
    -
    69 /*
    -
    70  * Define the length of a single HLINE.
    -
    71  *
    -
    72  * The game has a great amount of elements that need to be drawn or detected, and having each
    -
    73  * of them use specific hard-coded numbers would be painful to debug. As a solution, this
    -
    74  * definition was made. Every item being drawn to the screen and most object detection/physic
    -
    75  * handling is done based off of this number. Increasing it will give the game a zoomed-in
    -
    76  * feel, while decreasing it will do the opposite.
    -
    77  *
    -
    78 */
    -
    79 
    -
    80 #define HLINE 3 // 3 as in 3 pixels
    -
    81 
    -
    82 /*
    -
    83  * Define 'our' random number generation library. Eventually these macros will be replaced
    -
    84  * with actual functions.
    -
    85  *
    -
    86 */
    -
    87 
    -
    88 #define initRand(s) srand(s)
    -
    89 #define getRand() rand()
    -
    90 
    -
    91 /*
    -
    92  * At the bottom of this header is the prototype for DEBUG_prints, which writes a formatted
    -
    93  * string to the console containing the callee's file and line number. This macro simplifies
    -
    94  * it to a simple printf call.
    -
    95  *
    -
    96  * DEBUG must be defined for this macro to function.
    -
    97  *
    -
    98 */
    -
    99 
    -
    100 #define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__ )
    -
    101 
    -
    102 
    -
    103 #define PI 3.1415926535
    -
    104 
    -
    105 
    -
    106 /*
    -
    107  * References the variable in main.cpp, used for smoother drawing.
    -
    108 */
    -
    109 
    -
    110 extern unsigned int deltaTime;
    -
    111 
    -
    112 /*
    -
    113  * References the variable in main.cpp, used for drawing with the player
    -
    114 */
    -
    115 extern vec2 offset;
    -
    116 
    -
    117 extern float handAngle;
    -
    118 
    -
    119 extern unsigned int loops;
    -
    120 
    -
    121 /*
    -
    122  * Prints a formatted debug message to the console, along with the callee's file and line
    -
    123  * number.
    -
    124  *
    -
    125 */
    -
    126 
    -
    127 void DEBUG_prints(const char* file, int line, const char *s,...);
    -
    128 
    -
    129 void safeSetColor(int r,int g,int b);
    -
    130 void safeSetColorA(int r,int g,int b,int a);
    -
    131 
    -
    132 #endif // COMMON_H
    -
    Definition: common.h:46
    -
    float y
    Definition: world.h:88
    -
    Definition: common.h:51
    -
    - - - - diff --git a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html deleted file mode 100644 index eb704d7..0000000 --- a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: src Directory Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    src Directory Reference
    -
    -
    - - - - - - - - - - - - - - - - - - -

    -Files

    file  common.cpp
     
    file  entities.cpp
     
    file  gameplay.cpp
     
    file  inventory.cpp
     
    file  Quest.cpp
     
    file  Texture.cpp
     
    file  ui.cpp
     
    file  world.cpp
     
    -
    - - - - diff --git a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html deleted file mode 100644 index beb7dc9..0000000 --- a/doc/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - -gamedev: include Directory Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    include Directory Reference
    -
    -
    - - - - - - - - - - - - - - - - - -

    -Files

    file  common.h [code]
     
    file  entities.h [code]
     
    file  inventory.h [code]
     
    file  Quest.h [code]
     
    file  Texture.h [code]
     
    file  ui.h [code]
     
    file  world.h [code]
     The world system.
     
    -
    - - - - diff --git a/doc/html/doc.png b/doc/html/doc.png deleted file mode 100644 index 17edabf..0000000 Binary files a/doc/html/doc.png and /dev/null differ diff --git a/doc/html/doxygen.css b/doc/html/doxygen.css deleted file mode 100644 index a000833..0000000 --- a/doc/html/doxygen.css +++ /dev/null @@ -1,1449 +0,0 @@ -/* The standard CSS for doxygen 1.8.9.1 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 4px 6px; - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - diff --git a/doc/html/doxygen.png b/doc/html/doxygen.png deleted file mode 100644 index 3ff17d8..0000000 Binary files a/doc/html/doxygen.png and /dev/null differ diff --git a/doc/html/dynsections.js b/doc/html/dynsections.js deleted file mode 100644 index 85e1836..0000000 --- a/doc/html/dynsections.js +++ /dev/null @@ -1,97 +0,0 @@ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - -gamedev: include/entities.h Source File - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    entities.h
    -
    -
    -
    1 #ifndef ENTITIES_H
    -
    2 #define ENTITIES_H
    -
    3 
    -
    4 #include <common.h>
    -
    5 #include <Quest.h>
    -
    6 #include <inventory.h>
    -
    7 
    -
    8 #define DEBUG
    -
    9 
    -
    10 #define NPCp(n) ((NPC *)n)
    -
    11 #define Structurep(n) ((Structures *)n)
    -
    12 #define Mobp(n) ((Mob *)n)
    -
    13 
    -
    14 #define PLAYER_INV_SIZE 30 // The size of the player's inventory
    -
    15 #define NPC_INV_SIZE 3 // Size of an NPC's inventory
    -
    16 
    -
    17 enum _TYPE { //these are the main types of entities
    -
    18  OBJECTT = -2,
    -
    19  STRUCTURET = -1,
    -
    20  PLAYERT,
    -
    21  NPCT,
    -
    22  MOBT
    -
    23 };
    -
    24 
    -
    25 enum GENDER{
    -
    26  MALE,
    -
    27  FEMALE,
    -
    28  NONE
    -
    29 };
    -
    30 
    -
    31 enum MOB_SUB {
    -
    32  MS_RABBIT = 1,
    -
    33  MS_BIRD,
    -
    34  MS_TRIGGER
    -
    35 };
    -
    36 
    -
    37 class Entity{
    -
    38 public:
    -
    39  Inventory *inv;
    -
    40 
    -
    41  /*
    -
    42  * Movement variables
    -
    43  */
    -
    44 
    -
    45  vec2 loc;
    -
    46  vec2 vel;
    -
    47 
    -
    48  float width;
    -
    49  float height;
    -
    50 
    -
    51  float speed; // A speed factor for X movement
    -
    52 
    -
    53  /*
    -
    54  * Movement flags
    -
    55  */
    -
    56 
    -
    57  bool near; // Causes name to display
    -
    58  bool canMove; // Enables movement
    -
    59  bool right,left; // Direction faced by Entity
    -
    60  bool alive;
    -
    61  unsigned char ground; // Shows how the Entity is grounded (if it is)
    -
    62 
    -
    63  /*
    -
    64  * Health variables
    -
    65  */
    -
    66 
    -
    67  float health;
    -
    68  float maxHealth;
    -
    69 
    -
    70  /*
    -
    71  * Identification variables
    -
    72  */
    -
    73 
    -
    74  _TYPE type;
    -
    75  int subtype;
    -
    76 
    -
    77  char *name;
    -
    78  GENDER gender;
    -
    79 
    -
    80  Texturec *tex;
    -
    81 
    -
    82 
    -
    83  void draw(void);
    -
    84  void spawn(float, float);
    -
    85 
    -
    86  int ticksToUse; // Used by wander()
    -
    87 
    -
    88  virtual void wander(int){}
    -
    89  virtual void interact(){}
    -
    90 
    -
    91  virtual ~Entity(){}
    -
    92 };
    -
    93 
    -
    94 class Player : public Entity {
    -
    95 public:
    -
    96  QuestHandler qh;
    -
    97  bool light = false;
    -
    98 
    -
    99  Player();
    -
    100  ~Player();
    -
    101  void interact();
    -
    102 };
    -
    103 
    -
    104 class NPC : public Entity{
    -
    105 public:
    -
    106  std::vector<int (*)(NPC *)>aiFunc;
    -
    107 
    -
    108  NPC();
    -
    109  ~NPC();
    -
    110 
    -
    111  void addAIFunc(int (*func)(NPC *),bool preload);
    -
    112  void interact();
    -
    113  void wander(int);
    -
    114 };
    -
    115 
    -
    116 class Structures : public Entity{
    -
    117 public:
    -
    118  void *inWorld;
    -
    119  void *inside;
    -
    120 
    -
    121  Structures();
    -
    122  ~Structures();
    -
    123 
    -
    124  unsigned int spawn(_TYPE, float, float);
    -
    125 };
    -
    126 
    -
    127 class Mob : public Entity{
    -
    128 public:
    -
    129  double init_y;
    -
    130  void (*hey)(Mob *callee);
    -
    131 
    -
    132  Mob(int);
    -
    133  Mob(int,unsigned int);
    -
    134  ~Mob();
    -
    135 
    -
    136  void wander(int);
    -
    137 };
    -
    138 
    -
    139 class Object : public Entity{
    -
    140 private:
    -
    141  int identifier;
    -
    142 public:
    -
    143  char *pickupDialog;
    -
    144  bool questObject = false;
    -
    145 
    -
    146  Object(ITEM_ID id, bool qo, const char *pd);
    -
    147  ~Object();
    -
    148 
    -
    149  void interact(void);
    -
    150 };
    -
    151 #endif // ENTITIES_H
    -
    152 
    -
    Definition: entities.h:139
    -
    Definition: entities.h:127
    -
    Definition: entities.h:116
    -
    Definition: common.h:46
    -
    Definition: Texture.h:12
    -
    Definition: entities.h:37
    -
    Definition: entities.h:104
    -
    Definition: inventory.h:64
    -
    Definition: entities.h:94
    -
    Definition: Quest.h:21
    -
    - - - - diff --git a/doc/html/files.html b/doc/html/files.html deleted file mode 100644 index 5edfdfa..0000000 --- a/doc/html/files.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -gamedev: File List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    File List
    -
    -
    -
    Here is a list of all documented files with brief descriptions:
    -
    [detail level 12]
    - - - - - - - - - -
      include
     common.h
     entities.h
     inventory.h
     Quest.h
     Texture.h
     ui.h
     world.hThe world system
     main.cppThe file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities
    -
    -
    - - - - diff --git a/doc/html/folderclosed.png b/doc/html/folderclosed.png deleted file mode 100644 index bb8ab35..0000000 Binary files a/doc/html/folderclosed.png and /dev/null differ diff --git a/doc/html/folderopen.png b/doc/html/folderopen.png deleted file mode 100644 index d6c7f67..0000000 Binary files a/doc/html/folderopen.png and /dev/null differ diff --git a/doc/html/functions.html b/doc/html/functions.html deleted file mode 100644 index d994463..0000000 --- a/doc/html/functions.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -gamedev: Class Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    Here is a list of all documented class members with links to the class documentation for each member:
    -
    - - - - diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html deleted file mode 100644 index 9dde8ef..0000000 --- a/doc/html/functions_vars.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -gamedev: Class Members - Variables - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    - - - - diff --git a/doc/html/globals.html b/doc/html/globals.html deleted file mode 100644 index e4c182c..0000000 --- a/doc/html/globals.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -gamedev: File Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    Here is a list of all documented file members with links to the documentation:
    -
    - - - - diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html deleted file mode 100644 index e8eaa8a..0000000 --- a/doc/html/globals_enum.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -gamedev: File Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    - - - - diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html deleted file mode 100644 index d4ca4a6..0000000 --- a/doc/html/globals_eval.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - -gamedev: File Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    - - - - diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html deleted file mode 100644 index 9cd38d6..0000000 --- a/doc/html/globals_func.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -gamedev: File Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    - - - - diff --git a/doc/html/globals_vars.html b/doc/html/globals_vars.html deleted file mode 100644 index ad44026..0000000 --- a/doc/html/globals_vars.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -gamedev: File Members - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    - - - - diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html deleted file mode 100644 index 801943e..0000000 --- a/doc/html/hierarchy.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -gamedev: Class Hierarchy - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Class Hierarchy
    -
    -
    -
    This inheritance list is sorted roughly, but not completely, alphabetically:
    -
    [detail level 12]
    - - - - - - - - - - - - - - - - - - - -
     CEntity
     CMob
     CNPC
     CObject
     CPlayer
     CStructures
     CInventory
     CItem
     Citem_t
     Cline_t
     CQuest
     CQuestHandler
     CRay
     Ctexture_t
     CTexturec
     Cvec2
     CWorld
     CArena
     CIndoorWorld
    -
    -
    - - - - diff --git a/doc/html/index.html b/doc/html/index.html deleted file mode 100644 index 8cb711d..0000000 --- a/doc/html/index.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -gamedev: Main Page - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    gamedev Documentation
    -
    -
    -
    - - - - diff --git a/doc/html/inventory_8h_source.html b/doc/html/inventory_8h_source.html deleted file mode 100644 index a475ade..0000000 --- a/doc/html/inventory_8h_source.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -gamedev: include/inventory.h Source File - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    inventory.h
    -
    -
    -
    1 #ifndef INVENTORY_H
    -
    2 #define INVENTORY_H
    -
    3 
    -
    4 #include <common.h>
    -
    5 #include <string.h>
    -
    6 
    -
    7 #define DEBUG
    -
    8 
    -
    9 #define ID Item(
    -
    10 #define NAME ,
    -
    11 #define TYPE ,
    -
    12 #define WIDTH ,
    -
    13 #define HEIGHT ,
    -
    14 #define STACKSIZE ,
    -
    15 #define TEX ,
    -
    16 #define ENI ),
    -
    17 #define STOP )
    -
    18 
    -
    19 /*
    -
    20  * A list of all item IDs.
    -
    21 */
    -
    22 
    -
    23 enum ITEM_ID {
    -
    24  DEBUG_ITEM = 0,
    -
    25  TEST_ITEM = 1,
    -
    26  PLAYER_BAG = 2,
    -
    27  FLASHLIGHT = 3,
    -
    28  SWORD_WOOD = 4
    -
    29 };
    -
    30 
    -
    31 enum ITEM_TYPE{
    -
    32  TOOL = 1,
    -
    33  SWORD = 2,
    -
    34  RANGED = 3,
    -
    35  EQUIP = 4,
    -
    36  FOOD = 5
    -
    37 };
    -
    38 
    -
    39 class Item{
    -
    40 protected:
    -
    41 public:
    -
    42  ITEM_ID id; // ID of the item
    -
    43  char *name;
    -
    44  ITEM_TYPE type; // What category the item falls under
    -
    45  float width;
    -
    46  float height;
    -
    47  int maxStackSize;
    -
    48  char* textureLoc;
    -
    49  Texturec *tex;
    -
    50  GLuint text;
    -
    51 
    -
    52  Item(ITEM_ID i, const char *n, ITEM_TYPE t, float w, float h, int m, const char *tl);
    -
    53  GLuint rtex(){
    -
    54  return tex->image[0];
    -
    55  }
    -
    56 };
    -
    57 
    -
    58 struct item_t{
    -
    59  int count;
    -
    60  ITEM_ID id;
    -
    61 } __attribute__((packed));
    -
    62 
    -
    63 
    -
    64 class Inventory {
    -
    65 private:
    -
    66  unsigned int size; // Size of 'item' array
    -
    67  item_t *inv;
    -
    68  int os = 0;
    -
    69 public:
    -
    70  unsigned int sel;
    -
    71  bool invOpen = false;
    -
    72  bool invOpening = false;
    -
    73  bool invHover = false;
    -
    74  bool selected = false;
    -
    75  bool mouseSel = false;
    -
    76 
    -
    77 
    -
    78  Inventory(unsigned int s); // Creates an inventory of size 's'
    -
    79  ~Inventory(void); // Free's allocated memory
    -
    80 
    -
    81  int addItem(ITEM_ID id,unsigned char count); // Add 'count' items with an id of 'id' to the inventory
    -
    82  int takeItem(ITEM_ID id,unsigned char count); // Take 'count' items with an id of 'id' from the inventory
    -
    83  int useItem(void);
    -
    84 
    -
    85  void setSelection(unsigned int s);
    -
    86 
    -
    87  void draw(void); // Draws a text list of items in this inventory (should only be called for the player for now)
    -
    88 
    -
    89 };
    -
    90 
    -
    91 void itemUse(void *p);
    -
    92 void initInventorySprites(void);
    -
    93 char *getItemTexturePath(ITEM_ID id);
    -
    94 int getItemWidth(ITEM_ID);
    -
    95 int getItemHeight(ITEM_ID);
    -
    96 
    -
    97 #endif // INVENTORY_H
    -
    Definition: Texture.h:12
    -
    Definition: inventory.h:39
    -
    Definition: inventory.h:58
    -
    Definition: inventory.h:64
    -
    - - - - diff --git a/doc/html/jquery.js b/doc/html/jquery.js deleted file mode 100644 index d52a1c7..0000000 --- a/doc/html/jquery.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * jQuery JavaScript Library v1.7.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Nov 21 21:11:03 2011 -0500 - */ -(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
    a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
    ";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
    t
    ";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
    ";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/* - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

    ";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
    ";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
    ","
    "]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
    ").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/* - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/* - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/* - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
    ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/* - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' - - - -
    - -
    -
    main.cpp File Reference
    -
    -
    - -

    The file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities. -More...

    -
    #include <cstdio>
    -#include <chrono>
    -#include <common.h>
    -#include <world.h>
    -#include <ui.h>
    -#include <entities.h>
    -
    - - - - - -

    -Macros

    -#define TICKS_PER_SEC   20
     
    -#define MSEC_PER_TICK   (1000/TICKS_PER_SEC)
     
    - - - - - - - - - - - - - - - -

    -Functions

    -void initEverything (void)
     
    -void logic (void)
     
    -void render (void)
     
    -void mainLoop (void)
     
    -std::string readFile (const char *filePath)
     
    unsigned int millis (void)
     
    int main ()
     
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Variables

    -SDL_Window * window = NULL
     
    -SDL_GLContext mainGLContext = NULL
     
    -GLuint bgDay
     
    -GLuint bgNight
     
    -GLuint bgMtn
     
    -GLuint bgTreesFront
     
    -GLuint bgTreesMid
     
    -GLuint bgTreesFar
     
    -GLuint invUI
     
    -bool gameRunning
     
    -float handAngle
     
    -WorldcurrentWorld =NULL
     
    -Playerplayer
     
    -bool worldInside
     
    -unsigned int tickCount = 0
     
    -unsigned int deltaTime = 0
     
    -GLuint fragShader
     
    -GLuint shaderProgram
     
    -FILE * names
     
    -unsigned int loops = 0
     
    -vec2 offset
     
    -WEATHER weather
     
    -bool fadeEnable
     
    -unsigned int fadeIntensity
     
    -

    Detailed Description

    -

    The file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities.

    -

    Function Documentation

    - -
    -
    - - - - - - - -
    int main ()
    -
    -

    (Attempt to) Initialize SDL libraries so that we can use SDL facilities and eventually make openGL calls. Exit if there was an error.

    -

    ` (Attempt to) Initialize SDL_image libraries with IMG_INIT_PNG so that we can load PNG textures for the entities and stuff.

    -

    (Attempt to) Initialize SDL_mixer libraries for loading and playing music/sound files.

    - -
    -
    - -
    -
    - - - - - - - - -
    unsigned int millis (void )
    -
    -

    millis

    -

    We've encountered many problems when attempting to create delays for triggering the logic function. As a result, we decided on using the timing libraries given by <chrono> in the standard C++ library. This function simply returns the amount of milliseconds that have passed sine the epoch.

    - -
    -
    - - - - - diff --git a/doc/html/md_README.html b/doc/html/md_README.html deleted file mode 100644 index 7126a8c..0000000 --- a/doc/html/md_README.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -gamedev: gamedev - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    gamedev
    -
    -
    -

    gamedev is a high school project between drumsetmonkey and tcsullivan written in C++ and using SDL2/OpenGL. The goal of this project is to have a completed commercial-grade video game available to Linux and Windows users. We plan on profiting off of the game once we finish it, so once the game reaches its final stages it may become closed source (however, what was uploaded will stay for others to use as a resource).

    -
    - - - - diff --git a/doc/html/nav_f.png b/doc/html/nav_f.png deleted file mode 100644 index 72a58a5..0000000 Binary files a/doc/html/nav_f.png and /dev/null differ diff --git a/doc/html/nav_g.png b/doc/html/nav_g.png deleted file mode 100644 index 2093a23..0000000 Binary files a/doc/html/nav_g.png and /dev/null differ diff --git a/doc/html/nav_h.png b/doc/html/nav_h.png deleted file mode 100644 index 33389b1..0000000 Binary files a/doc/html/nav_h.png and /dev/null differ diff --git a/doc/html/open.png b/doc/html/open.png deleted file mode 100644 index 30f75c7..0000000 Binary files a/doc/html/open.png and /dev/null differ diff --git a/doc/html/pages.html b/doc/html/pages.html deleted file mode 100644 index 7eb1e64..0000000 --- a/doc/html/pages.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - -gamedev: Related Pages - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Related Pages
    -
    -
    -
    Here is a list of all related documentation pages:
    - - -
     gamedev
    -
    -
    - - - - diff --git a/doc/html/search/all_0.html b/doc/html/search/all_0.html deleted file mode 100644 index c491fd8..0000000 --- a/doc/html/search/all_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_0.js b/doc/html/search/all_0.js deleted file mode 100644 index 32ab6ed..0000000 --- a/doc/html/search/all_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['arena',['Arena',['../classArena.html',1,'']]] -]; diff --git a/doc/html/search/all_1.html b/doc/html/search/all_1.html deleted file mode 100644 index 89fd5f8..0000000 --- a/doc/html/search/all_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_1.js b/doc/html/search/all_1.js deleted file mode 100644 index ede0030..0000000 --- a/doc/html/search/all_1.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['bg_5fforest',['BG_FOREST',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5a53c9e606f96cd2e762bac6c048d2dddb',1,'world.h']]], - ['bg_5fwoodhouse',['BG_WOODHOUSE',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5ae678da5bb217c4bb81b5ac0de53ad9cb',1,'world.h']]] -]; diff --git a/doc/html/search/all_10.html b/doc/html/search/all_10.html deleted file mode 100644 index 2abed7b..0000000 --- a/doc/html/search/all_10.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_10.js b/doc/html/search/all_10.js deleted file mode 100644 index 4f916f1..0000000 --- a/doc/html/search/all_10.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['vec2',['vec2',['../structvec2.html',1,'']]] -]; diff --git a/doc/html/search/all_11.html b/doc/html/search/all_11.html deleted file mode 100644 index 0c414ce..0000000 --- a/doc/html/search/all_11.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_11.js b/doc/html/search/all_11.js deleted file mode 100644 index b7a1d71..0000000 --- a/doc/html/search/all_11.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['weather',['WEATHER',['../world_8h.html#a7e5783b78992864281462a5380a28924',1,'world.h']]], - ['world',['World',['../classWorld.html',1,'']]], - ['world_2eh',['world.h',['../world_8h.html',1,'']]], - ['world_5fbg_5ftype',['WORLD_BG_TYPE',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5',1,'world.h']]] -]; diff --git a/doc/html/search/all_12.html b/doc/html/search/all_12.html deleted file mode 100644 index 96c8ac7..0000000 --- a/doc/html/search/all_12.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_12.js b/doc/html/search/all_12.js deleted file mode 100644 index 7e92c98..0000000 --- a/doc/html/search/all_12.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['x_5fstart',['x_start',['../classWorld.html#a645767ccf316a9b4469db773ac111ae4',1,'World']]] -]; diff --git a/doc/html/search/all_13.html b/doc/html/search/all_13.html deleted file mode 100644 index 539b000..0000000 --- a/doc/html/search/all_13.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_13.js b/doc/html/search/all_13.js deleted file mode 100644 index 923ed6b..0000000 --- a/doc/html/search/all_13.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['y',['y',['../structline__t.html#a77fb44a40c2154411e5af6cf39194b30',1,'line_t::y()'],['../world_8h.html#aa4f0d3eebc3c443f9be81bf48561a217',1,'y(): world.h']]] -]; diff --git a/doc/html/search/all_2.html b/doc/html/search/all_2.html deleted file mode 100644 index 2c23ed4..0000000 --- a/doc/html/search/all_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_2.js b/doc/html/search/all_2.js deleted file mode 100644 index dfea272..0000000 --- a/doc/html/search/all_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['color',['color',['../structline__t.html#a90c59d30a06d5c4bd7ee6c73c66fc414',1,'line_t::color()'],['../world_8h.html#af61b66b2d9004f4975ae5f51c2177f3d',1,'color(): world.h']]] -]; diff --git a/doc/html/search/all_3.html b/doc/html/search/all_3.html deleted file mode 100644 index 7ddb0cf..0000000 --- a/doc/html/search/all_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_3.js b/doc/html/search/all_3.js deleted file mode 100644 index e2846f9..0000000 --- a/doc/html/search/all_3.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['dark',['DARK',['../world_8h.html#a7e5783b78992864281462a5380a28924a5564de0baf1f25257db17367eba68edd',1,'world.h']]], - ['deleteentities',['deleteEntities',['../classWorld.html#a1c1e6ea7fd0d84660d2791a256aba382',1,'World']]] -]; diff --git a/doc/html/search/all_4.html b/doc/html/search/all_4.html deleted file mode 100644 index eab9eb1..0000000 --- a/doc/html/search/all_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_4.js b/doc/html/search/all_4.js deleted file mode 100644 index 138b927..0000000 --- a/doc/html/search/all_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['entity',['Entity',['../classEntity.html',1,'']]] -]; diff --git a/doc/html/search/all_5.html b/doc/html/search/all_5.html deleted file mode 100644 index 4dfd1d5..0000000 --- a/doc/html/search/all_5.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_5.js b/doc/html/search/all_5.js deleted file mode 100644 index 6eb5f2d..0000000 --- a/doc/html/search/all_5.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['gh',['gh',['../structline__t.html#a43341c3344f32533472fdd85c7e9e430',1,'line_t::gh()'],['../world_8h.html#aa523d841be6ccb88f26cd56294adcd01',1,'gh(): world.h']]], - ['gs',['gs',['../structline__t.html#a06568d82429331a242b9e6f45a36ae6d',1,'line_t::gs()'],['../world_8h.html#aabefe07939b18f14fedbb9c9a14d02d5',1,'gs(): world.h']]], - ['gamedev',['gamedev',['../md_README.html',1,'']]] -]; diff --git a/doc/html/search/all_6.html b/doc/html/search/all_6.html deleted file mode 100644 index b98d731..0000000 --- a/doc/html/search/all_6.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_6.js b/doc/html/search/all_6.js deleted file mode 100644 index b15d5c8..0000000 --- a/doc/html/search/all_6.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['indoorworld',['IndoorWorld',['../classIndoorWorld.html',1,'']]], - ['inventory',['Inventory',['../classInventory.html',1,'']]], - ['item',['Item',['../classItem.html',1,'']]], - ['item_5ft',['item_t',['../structitem__t.html',1,'']]] -]; diff --git a/doc/html/search/all_7.html b/doc/html/search/all_7.html deleted file mode 100644 index ef20222..0000000 --- a/doc/html/search/all_7.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_7.js b/doc/html/search/all_7.js deleted file mode 100644 index 9fbcd65..0000000 --- a/doc/html/search/all_7.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['line',['line',['../classWorld.html#afd9945f6ede5eabc3ff9243ce2b31247',1,'World']]], - ['line_5ft',['line_t',['../structline__t.html',1,'']]], - ['linecount',['lineCount',['../classWorld.html#a432e07fd7f7504aaa6ff29408afe0678',1,'World']]] -]; diff --git a/doc/html/search/all_8.html b/doc/html/search/all_8.html deleted file mode 100644 index 12e5aff..0000000 --- a/doc/html/search/all_8.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_8.js b/doc/html/search/all_8.js deleted file mode 100644 index bc0e165..0000000 --- a/doc/html/search/all_8.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['main',['main',['../main_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main.cpp']]], - ['main_2ecpp',['main.cpp',['../main_8cpp.html',1,'']]], - ['millis',['millis',['../main_8cpp.html#a941a22cb7e0f6429fe40f91e83ead3d9',1,'main.cpp']]], - ['mob',['Mob',['../classMob.html',1,'']]] -]; diff --git a/doc/html/search/all_9.html b/doc/html/search/all_9.html deleted file mode 100644 index 7e10007..0000000 --- a/doc/html/search/all_9.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_9.js b/doc/html/search/all_9.js deleted file mode 100644 index a9913a3..0000000 --- a/doc/html/search/all_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['npc',['NPC',['../classNPC.html',1,'']]] -]; diff --git a/doc/html/search/all_a.html b/doc/html/search/all_a.html deleted file mode 100644 index 95b4c8f..0000000 --- a/doc/html/search/all_a.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_a.js b/doc/html/search/all_a.js deleted file mode 100644 index fdf0dc0..0000000 --- a/doc/html/search/all_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['object',['Object',['../classObject.html',1,'']]] -]; diff --git a/doc/html/search/all_b.html b/doc/html/search/all_b.html deleted file mode 100644 index 1f1beb5..0000000 --- a/doc/html/search/all_b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_b.js b/doc/html/search/all_b.js deleted file mode 100644 index ee7c5ec..0000000 --- a/doc/html/search/all_b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['player',['Player',['../classPlayer.html',1,'']]] -]; diff --git a/doc/html/search/all_c.html b/doc/html/search/all_c.html deleted file mode 100644 index ec9a0c8..0000000 --- a/doc/html/search/all_c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_c.js b/doc/html/search/all_c.js deleted file mode 100644 index 983fed4..0000000 --- a/doc/html/search/all_c.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['quest',['Quest',['../classQuest.html',1,'']]], - ['questhandler',['QuestHandler',['../classQuestHandler.html',1,'']]] -]; diff --git a/doc/html/search/all_d.html b/doc/html/search/all_d.html deleted file mode 100644 index 654d198..0000000 --- a/doc/html/search/all_d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_d.js b/doc/html/search/all_d.js deleted file mode 100644 index 02c7f10..0000000 --- a/doc/html/search/all_d.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['rain',['RAIN',['../world_8h.html#a7e5783b78992864281462a5380a28924a5b1b71f2b77a08a17c728a6f854a7bfe',1,'world.h']]], - ['ray',['Ray',['../structRay.html',1,'']]] -]; diff --git a/doc/html/search/all_e.html b/doc/html/search/all_e.html deleted file mode 100644 index 812aced..0000000 --- a/doc/html/search/all_e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_e.js b/doc/html/search/all_e.js deleted file mode 100644 index cda4d39..0000000 --- a/doc/html/search/all_e.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['singledetect',['singleDetect',['../classWorld.html#a0af69654347b29787877b77020fa0a5a',1,'World']]], - ['star',['star',['../classWorld.html#a4f8b12f8eda220060ec01c0e9a6b9325',1,'World']]], - ['structures',['Structures',['../classStructures.html',1,'']]], - ['sunny',['SUNNY',['../world_8h.html#a7e5783b78992864281462a5380a28924a970420c889e8f3dfb76298adc94c98f0',1,'world.h']]] -]; diff --git a/doc/html/search/all_f.html b/doc/html/search/all_f.html deleted file mode 100644 index c395a47..0000000 --- a/doc/html/search/all_f.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/all_f.js b/doc/html/search/all_f.js deleted file mode 100644 index 6f3a9e4..0000000 --- a/doc/html/search/all_f.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['texture_5ft',['texture_t',['../structtexture__t.html',1,'']]], - ['texturec',['Texturec',['../classTexturec.html',1,'']]] -]; diff --git a/doc/html/search/classes_0.html b/doc/html/search/classes_0.html deleted file mode 100644 index 8888fa8..0000000 --- a/doc/html/search/classes_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_0.js b/doc/html/search/classes_0.js deleted file mode 100644 index 32ab6ed..0000000 --- a/doc/html/search/classes_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['arena',['Arena',['../classArena.html',1,'']]] -]; diff --git a/doc/html/search/classes_1.html b/doc/html/search/classes_1.html deleted file mode 100644 index a402bbe..0000000 --- a/doc/html/search/classes_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_1.js b/doc/html/search/classes_1.js deleted file mode 100644 index 138b927..0000000 --- a/doc/html/search/classes_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['entity',['Entity',['../classEntity.html',1,'']]] -]; diff --git a/doc/html/search/classes_2.html b/doc/html/search/classes_2.html deleted file mode 100644 index 003214b..0000000 --- a/doc/html/search/classes_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_2.js b/doc/html/search/classes_2.js deleted file mode 100644 index b15d5c8..0000000 --- a/doc/html/search/classes_2.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['indoorworld',['IndoorWorld',['../classIndoorWorld.html',1,'']]], - ['inventory',['Inventory',['../classInventory.html',1,'']]], - ['item',['Item',['../classItem.html',1,'']]], - ['item_5ft',['item_t',['../structitem__t.html',1,'']]] -]; diff --git a/doc/html/search/classes_3.html b/doc/html/search/classes_3.html deleted file mode 100644 index fadcfc8..0000000 --- a/doc/html/search/classes_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_3.js b/doc/html/search/classes_3.js deleted file mode 100644 index 1aceefe..0000000 --- a/doc/html/search/classes_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['line_5ft',['line_t',['../structline__t.html',1,'']]] -]; diff --git a/doc/html/search/classes_4.html b/doc/html/search/classes_4.html deleted file mode 100644 index 6056b20..0000000 --- a/doc/html/search/classes_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_4.js b/doc/html/search/classes_4.js deleted file mode 100644 index 75fb49a..0000000 --- a/doc/html/search/classes_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['mob',['Mob',['../classMob.html',1,'']]] -]; diff --git a/doc/html/search/classes_5.html b/doc/html/search/classes_5.html deleted file mode 100644 index ca7c947..0000000 --- a/doc/html/search/classes_5.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_5.js b/doc/html/search/classes_5.js deleted file mode 100644 index a9913a3..0000000 --- a/doc/html/search/classes_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['npc',['NPC',['../classNPC.html',1,'']]] -]; diff --git a/doc/html/search/classes_6.html b/doc/html/search/classes_6.html deleted file mode 100644 index eb8935e..0000000 --- a/doc/html/search/classes_6.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_6.js b/doc/html/search/classes_6.js deleted file mode 100644 index fdf0dc0..0000000 --- a/doc/html/search/classes_6.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['object',['Object',['../classObject.html',1,'']]] -]; diff --git a/doc/html/search/classes_7.html b/doc/html/search/classes_7.html deleted file mode 100644 index 1068c77..0000000 --- a/doc/html/search/classes_7.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_7.js b/doc/html/search/classes_7.js deleted file mode 100644 index ee7c5ec..0000000 --- a/doc/html/search/classes_7.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['player',['Player',['../classPlayer.html',1,'']]] -]; diff --git a/doc/html/search/classes_8.html b/doc/html/search/classes_8.html deleted file mode 100644 index 9a52b63..0000000 --- a/doc/html/search/classes_8.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_8.js b/doc/html/search/classes_8.js deleted file mode 100644 index 983fed4..0000000 --- a/doc/html/search/classes_8.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['quest',['Quest',['../classQuest.html',1,'']]], - ['questhandler',['QuestHandler',['../classQuestHandler.html',1,'']]] -]; diff --git a/doc/html/search/classes_9.html b/doc/html/search/classes_9.html deleted file mode 100644 index 9a3ffd8..0000000 --- a/doc/html/search/classes_9.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_9.js b/doc/html/search/classes_9.js deleted file mode 100644 index 504e498..0000000 --- a/doc/html/search/classes_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['ray',['Ray',['../structRay.html',1,'']]] -]; diff --git a/doc/html/search/classes_a.html b/doc/html/search/classes_a.html deleted file mode 100644 index c78181a..0000000 --- a/doc/html/search/classes_a.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_a.js b/doc/html/search/classes_a.js deleted file mode 100644 index 55afab7..0000000 --- a/doc/html/search/classes_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['structures',['Structures',['../classStructures.html',1,'']]] -]; diff --git a/doc/html/search/classes_b.html b/doc/html/search/classes_b.html deleted file mode 100644 index b22f396..0000000 --- a/doc/html/search/classes_b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_b.js b/doc/html/search/classes_b.js deleted file mode 100644 index 6f3a9e4..0000000 --- a/doc/html/search/classes_b.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['texture_5ft',['texture_t',['../structtexture__t.html',1,'']]], - ['texturec',['Texturec',['../classTexturec.html',1,'']]] -]; diff --git a/doc/html/search/classes_c.html b/doc/html/search/classes_c.html deleted file mode 100644 index e71035e..0000000 --- a/doc/html/search/classes_c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_c.js b/doc/html/search/classes_c.js deleted file mode 100644 index 4f916f1..0000000 --- a/doc/html/search/classes_c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['vec2',['vec2',['../structvec2.html',1,'']]] -]; diff --git a/doc/html/search/classes_d.html b/doc/html/search/classes_d.html deleted file mode 100644 index 1f0b189..0000000 --- a/doc/html/search/classes_d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/classes_d.js b/doc/html/search/classes_d.js deleted file mode 100644 index 18913c5..0000000 --- a/doc/html/search/classes_d.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['world',['World',['../classWorld.html',1,'']]] -]; diff --git a/doc/html/search/close.png b/doc/html/search/close.png deleted file mode 100644 index 9342d3d..0000000 Binary files a/doc/html/search/close.png and /dev/null differ diff --git a/doc/html/search/enums_0.html b/doc/html/search/enums_0.html deleted file mode 100644 index f0d2272..0000000 --- a/doc/html/search/enums_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/enums_0.js b/doc/html/search/enums_0.js deleted file mode 100644 index 739c2d2..0000000 --- a/doc/html/search/enums_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['weather',['WEATHER',['../world_8h.html#a7e5783b78992864281462a5380a28924',1,'world.h']]], - ['world_5fbg_5ftype',['WORLD_BG_TYPE',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5',1,'world.h']]] -]; diff --git a/doc/html/search/enumvalues_0.html b/doc/html/search/enumvalues_0.html deleted file mode 100644 index a1556a6..0000000 --- a/doc/html/search/enumvalues_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/enumvalues_0.js b/doc/html/search/enumvalues_0.js deleted file mode 100644 index ede0030..0000000 --- a/doc/html/search/enumvalues_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['bg_5fforest',['BG_FOREST',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5a53c9e606f96cd2e762bac6c048d2dddb',1,'world.h']]], - ['bg_5fwoodhouse',['BG_WOODHOUSE',['../world_8h.html#a0678a0e576121a23798fdbd5964143c5ae678da5bb217c4bb81b5ac0de53ad9cb',1,'world.h']]] -]; diff --git a/doc/html/search/enumvalues_1.html b/doc/html/search/enumvalues_1.html deleted file mode 100644 index 76abc45..0000000 --- a/doc/html/search/enumvalues_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/enumvalues_1.js b/doc/html/search/enumvalues_1.js deleted file mode 100644 index b1ccd2d..0000000 --- a/doc/html/search/enumvalues_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['dark',['DARK',['../world_8h.html#a7e5783b78992864281462a5380a28924a5564de0baf1f25257db17367eba68edd',1,'world.h']]] -]; diff --git a/doc/html/search/enumvalues_2.html b/doc/html/search/enumvalues_2.html deleted file mode 100644 index c0bcb1f..0000000 --- a/doc/html/search/enumvalues_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/enumvalues_2.js b/doc/html/search/enumvalues_2.js deleted file mode 100644 index 6a4fee6..0000000 --- a/doc/html/search/enumvalues_2.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['rain',['RAIN',['../world_8h.html#a7e5783b78992864281462a5380a28924a5b1b71f2b77a08a17c728a6f854a7bfe',1,'world.h']]] -]; diff --git a/doc/html/search/enumvalues_3.html b/doc/html/search/enumvalues_3.html deleted file mode 100644 index 19220e8..0000000 --- a/doc/html/search/enumvalues_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/enumvalues_3.js b/doc/html/search/enumvalues_3.js deleted file mode 100644 index 7b629bb..0000000 --- a/doc/html/search/enumvalues_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['sunny',['SUNNY',['../world_8h.html#a7e5783b78992864281462a5380a28924a970420c889e8f3dfb76298adc94c98f0',1,'world.h']]] -]; diff --git a/doc/html/search/files_0.html b/doc/html/search/files_0.html deleted file mode 100644 index 0457853..0000000 --- a/doc/html/search/files_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/files_0.js b/doc/html/search/files_0.js deleted file mode 100644 index c93faff..0000000 --- a/doc/html/search/files_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['main_2ecpp',['main.cpp',['../main_8cpp.html',1,'']]] -]; diff --git a/doc/html/search/files_1.html b/doc/html/search/files_1.html deleted file mode 100644 index ce0a3a7..0000000 --- a/doc/html/search/files_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/files_1.js b/doc/html/search/files_1.js deleted file mode 100644 index c81a92d..0000000 --- a/doc/html/search/files_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['world_2eh',['world.h',['../world_8h.html',1,'']]] -]; diff --git a/doc/html/search/functions_0.html b/doc/html/search/functions_0.html deleted file mode 100644 index 88c8a26..0000000 --- a/doc/html/search/functions_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/functions_0.js b/doc/html/search/functions_0.js deleted file mode 100644 index 0dd7696..0000000 --- a/doc/html/search/functions_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['deleteentities',['deleteEntities',['../classWorld.html#a1c1e6ea7fd0d84660d2791a256aba382',1,'World']]] -]; diff --git a/doc/html/search/mag_sel.png b/doc/html/search/mag_sel.png deleted file mode 100644 index 81f6040..0000000 Binary files a/doc/html/search/mag_sel.png and /dev/null differ diff --git a/doc/html/search/nomatches.html b/doc/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/doc/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
    -
    No Matches
    -
    - - diff --git a/doc/html/search/pages_0.html b/doc/html/search/pages_0.html deleted file mode 100644 index 4b85b34..0000000 --- a/doc/html/search/pages_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/pages_0.js b/doc/html/search/pages_0.js deleted file mode 100644 index 10685cd..0000000 --- a/doc/html/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['gamedev',['gamedev',['../md_README.html',1,'']]] -]; diff --git a/doc/html/search/search.css b/doc/html/search/search.css deleted file mode 100644 index 4d7612f..0000000 --- a/doc/html/search/search.css +++ /dev/null @@ -1,271 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; - background-color: white; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:111px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/doc/html/search/search.js b/doc/html/search/search.js deleted file mode 100644 index dedce3b..0000000 --- a/doc/html/search/search.js +++ /dev/null @@ -1,791 +0,0 @@ -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/variables_0.js b/doc/html/search/variables_0.js deleted file mode 100644 index dfea272..0000000 --- a/doc/html/search/variables_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['color',['color',['../structline__t.html#a90c59d30a06d5c4bd7ee6c73c66fc414',1,'line_t::color()'],['../world_8h.html#af61b66b2d9004f4975ae5f51c2177f3d',1,'color(): world.h']]] -]; diff --git a/doc/html/search/variables_1.html b/doc/html/search/variables_1.html deleted file mode 100644 index 6a866b1..0000000 --- a/doc/html/search/variables_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/variables_1.js b/doc/html/search/variables_1.js deleted file mode 100644 index 5830d55..0000000 --- a/doc/html/search/variables_1.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['gh',['gh',['../structline__t.html#a43341c3344f32533472fdd85c7e9e430',1,'line_t::gh()'],['../world_8h.html#aa523d841be6ccb88f26cd56294adcd01',1,'gh(): world.h']]], - ['gs',['gs',['../structline__t.html#a06568d82429331a242b9e6f45a36ae6d',1,'line_t::gs()'],['../world_8h.html#aabefe07939b18f14fedbb9c9a14d02d5',1,'gs(): world.h']]] -]; diff --git a/doc/html/search/variables_2.html b/doc/html/search/variables_2.html deleted file mode 100644 index 3115f99..0000000 --- a/doc/html/search/variables_2.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/variables_2.js b/doc/html/search/variables_2.js deleted file mode 100644 index bac3b6a..0000000 --- a/doc/html/search/variables_2.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['line',['line',['../classWorld.html#afd9945f6ede5eabc3ff9243ce2b31247',1,'World']]], - ['linecount',['lineCount',['../classWorld.html#a432e07fd7f7504aaa6ff29408afe0678',1,'World']]] -]; diff --git a/doc/html/search/variables_3.html b/doc/html/search/variables_3.html deleted file mode 100644 index b2941ee..0000000 --- a/doc/html/search/variables_3.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/variables_3.js b/doc/html/search/variables_3.js deleted file mode 100644 index 407a880..0000000 --- a/doc/html/search/variables_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['star',['star',['../classWorld.html#a4f8b12f8eda220060ec01c0e9a6b9325',1,'World']]] -]; diff --git a/doc/html/search/variables_4.html b/doc/html/search/variables_4.html deleted file mode 100644 index e14a4ff..0000000 --- a/doc/html/search/variables_4.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/doc/html/search/variables_4.js b/doc/html/search/variables_4.js deleted file mode 100644 index 7e92c98..0000000 --- a/doc/html/search/variables_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['x_5fstart',['x_start',['../classWorld.html#a645767ccf316a9b4469db773ac111ae4',1,'World']]] -]; diff --git a/doc/html/splitbar.png b/doc/html/splitbar.png deleted file mode 100644 index fe895f2..0000000 Binary files a/doc/html/splitbar.png and /dev/null differ diff --git a/doc/html/structRay-members.html b/doc/html/structRay-members.html deleted file mode 100644 index 12ab6b3..0000000 --- a/doc/html/structRay-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    Ray Member List
    -
    -
    - -

    This is the complete list of members for Ray, including all inherited members.

    - - - -
    end (defined in Ray)Ray
    start (defined in Ray)Ray
    - - - - diff --git a/doc/html/structRay.html b/doc/html/structRay.html deleted file mode 100644 index 0d0b156..0000000 --- a/doc/html/structRay.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: Ray Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    Ray Struct Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -vec2 start
     
    -vec2 end
     
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/doc/html/structitem__t-members.html b/doc/html/structitem__t-members.html deleted file mode 100644 index 6132d15..0000000 --- a/doc/html/structitem__t-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    item_t Member List
    -
    -
    - -

    This is the complete list of members for item_t, including all inherited members.

    - - - -
    count (defined in item_t)item_t
    id (defined in item_t)item_t
    - - - - diff --git a/doc/html/structitem__t.html b/doc/html/structitem__t.html deleted file mode 100644 index d2b5c05..0000000 --- a/doc/html/structitem__t.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: item_t Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    item_t Struct Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -int count
     
    -ITEM_ID id
     
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/doc/html/structline__t-members.html b/doc/html/structline__t-members.html deleted file mode 100644 index cc2e864..0000000 --- a/doc/html/structline__t-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    line_t Member List
    -
    -
    - -

    This is the complete list of members for line_t, including all inherited members.

    - - - - - -
    colorline_t
    ghline_t
    gsline_t
    yline_t
    - - - - diff --git a/doc/html/structline__t.html b/doc/html/structline__t.html deleted file mode 100644 index 63f1114..0000000 --- a/doc/html/structline__t.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -gamedev: line_t Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    line_t Struct Reference
    -
    -
    - -

    #include <world.h>

    - - - - - - - - - - -

    -Public Attributes

    float y
     
    bool gs
     
    float gh [2]
     
    unsigned char color
     
    -

    Detailed Description

    -

    The line structure. This structure is used to store the world's ground, stored in vertical lines. Dirt color and grass properties are also kept track of here.

    -

    Member Data Documentation

    - -
    -
    - - - - -
    unsigned char line_t::color
    -
    -

    Lightness of dirt (brown)

    - -
    -
    - -
    -
    - - - - -
    float line_t::gh[2]
    -
    -

    Height of glass (2 blades per line)

    - -
    -
    - -
    -
    - - - - -
    bool line_t::gs
    -
    -

    Show grass

    - -
    -
    - -
    -
    - - - - -
    float line_t::y
    -
    -

    Height of this vertical line

    - -
    -
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/doc/html/structtexture__t-members.html b/doc/html/structtexture__t-members.html deleted file mode 100644 index cdfa0a3..0000000 --- a/doc/html/structtexture__t-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    texture_t Member List
    -
    -
    - -

    This is the complete list of members for texture_t, including all inherited members.

    - - - -
    name (defined in texture_t)texture_t
    tex (defined in texture_t)texture_t
    - - - - diff --git a/doc/html/structtexture__t.html b/doc/html/structtexture__t.html deleted file mode 100644 index 057f55c..0000000 --- a/doc/html/structtexture__t.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: texture_t Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    texture_t Struct Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -char * name
     
    -GLuint tex
     
    -
    The documentation for this struct was generated from the following file:
      -
    • src/Texture.cpp
    • -
    -
    - - - - diff --git a/doc/html/structvec2-members.html b/doc/html/structvec2-members.html deleted file mode 100644 index 40d47d7..0000000 --- a/doc/html/structvec2-members.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    vec2 Member List
    -
    -
    - -

    This is the complete list of members for vec2, including all inherited members.

    - - - -
    x (defined in vec2)vec2
    y (defined in vec2)vec2
    - - - - diff --git a/doc/html/structvec2.html b/doc/html/structvec2.html deleted file mode 100644 index a8e3406..0000000 --- a/doc/html/structvec2.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -gamedev: vec2 Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    vec2 Struct Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -float x
     
    -float y
     
    -
    The documentation for this struct was generated from the following file: -
    - - - - diff --git a/doc/html/structwSavePack-members.html b/doc/html/structwSavePack-members.html deleted file mode 100644 index 05622eb..0000000 --- a/doc/html/structwSavePack-members.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - -gamedev: Member List - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    -
    -
    wSavePack Member List
    -
    -
    - -

    This is the complete list of members for wSavePack, including all inherited members.

    - - - -
    lineCount (defined in wSavePack)wSavePack
    x_start (defined in wSavePack)wSavePack
    - - - - diff --git a/doc/html/structwSavePack.html b/doc/html/structwSavePack.html deleted file mode 100644 index ce4ff05..0000000 --- a/doc/html/structwSavePack.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - -gamedev: wSavePack Struct Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - -
    -
    - -
    -
    wSavePack Struct Reference
    -
    -
    - - - - - - -

    -Public Attributes

    -int x_start
     
    -unsigned int lineCount
     
    -
    The documentation for this struct was generated from the following file:
      -
    • src/world.cpp
    • -
    -
    - - - - diff --git a/doc/html/sync_off.png b/doc/html/sync_off.png deleted file mode 100644 index 3b443fc..0000000 Binary files a/doc/html/sync_off.png and /dev/null differ diff --git a/doc/html/sync_on.png b/doc/html/sync_on.png deleted file mode 100644 index e08320f..0000000 Binary files a/doc/html/sync_on.png and /dev/null differ diff --git a/doc/html/tab_a.png b/doc/html/tab_a.png deleted file mode 100644 index 3b725c4..0000000 Binary files a/doc/html/tab_a.png and /dev/null differ diff --git a/doc/html/tab_b.png b/doc/html/tab_b.png deleted file mode 100644 index e2b4a86..0000000 Binary files a/doc/html/tab_b.png and /dev/null differ diff --git a/doc/html/tab_h.png b/doc/html/tab_h.png deleted file mode 100644 index fd5cb70..0000000 Binary files a/doc/html/tab_h.png and /dev/null differ diff --git a/doc/html/tab_s.png b/doc/html/tab_s.png deleted file mode 100644 index ab478c9..0000000 Binary files a/doc/html/tab_s.png and /dev/null differ diff --git a/doc/html/tabs.css b/doc/html/tabs.css deleted file mode 100644 index 9cf578f..0000000 --- a/doc/html/tabs.css +++ /dev/null @@ -1,60 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/doc/html/ui_8h_source.html b/doc/html/ui_8h_source.html deleted file mode 100644 index a36ab6d..0000000 --- a/doc/html/ui_8h_source.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - -gamedev: include/ui.h Source File - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    ui.h
    -
    -
    -
    1 #ifndef UI_H
    -
    2 #define UI_H
    -
    3 
    -
    4 #include <common.h>
    -
    5 #include <cstdarg>
    -
    6 
    -
    7 #include <world.h>
    -
    8 #include <ft2build.h>
    -
    9 #include FT_FREETYPE_H
    -
    10 
    -
    11 #define DEBUG
    -
    12 
    -
    13 namespace ui {
    -
    14 
    -
    15  /*
    -
    16  * Contains the coordinates of the mouse in the window.
    -
    17  */
    -
    18 
    -
    19  extern vec2 mouse;
    -
    20 
    -
    21  /*
    -
    22  * These flags are used elsewhere.
    -
    23  */
    -
    24 
    -
    25  extern bool debug;
    -
    26  extern bool posFlag;
    -
    27  extern unsigned int fontSize;
    -
    28  extern bool dialogBoxExists;
    -
    29  extern unsigned char dialogOptChosen;
    -
    30  extern bool edown;
    -
    31 
    -
    32  /*
    -
    33  * Initializes the FreeType system.
    -
    34  */
    -
    35 
    -
    36  void initFonts(void);
    -
    37 
    -
    38  /*
    -
    39  * Sets the current font/font size.
    -
    40  */
    -
    41 
    -
    42  void setFontFace(const char *ttf);
    -
    43  void setFontSize(unsigned int size);
    -
    44 
    -
    45  /*
    -
    46  * Draw a centered string.
    -
    47  */
    -
    48 
    -
    49  float putStringCentered(const float x,const float y,const char *s);
    -
    50 
    -
    51  /*
    -
    52  * Draws a formatted string at the given coordinates.
    -
    53  */
    -
    54 
    -
    55  float putText(const float x,const float y,const char *str,...);
    -
    56 
    -
    57  /*
    -
    58  * Creates a dialogBox text string (format: `name`: `text`). This function simply sets up
    -
    59  * variables that are drawn in ui::draw(). When the dialog box exists player control is
    -
    60  * limited until a right click is given, closing the box.
    -
    61  */
    -
    62 
    -
    63  void dialogBox(const char *name,const char *opt,const char *text,...);
    -
    64  void waitForDialog(void);
    -
    65 
    -
    66  /*
    -
    67  * Draws a larger string in the center of the screen. Drawing is done inside this function.
    -
    68  */
    -
    69 
    -
    70  void importantText(const char *text,...);
    -
    71 
    -
    72  /*
    -
    73  * Draw various UI elements (dialogBox, player health)
    -
    74  */
    -
    75 
    -
    76  void draw(void);
    -
    77 
    -
    78  /*
    -
    79  * Handle keyboard/mouse events.
    -
    80  */
    -
    81  void handleEvents(void);
    -
    82 
    -
    83  /*
    -
    84  * Toggle the black overlay thing.
    -
    85  */
    -
    86 
    -
    87  void toggleBlack(void);
    -
    88 
    -
    89 }
    -
    90 
    -
    91 #endif // UI_H
    -
    Definition: ui.cpp:66
    -
    Definition: common.h:46
    -
    The world system.
    -
    float y
    Definition: world.h:88
    -
    - - - - diff --git a/doc/html/world_8h.html b/doc/html/world_8h.html deleted file mode 100644 index d4a39db..0000000 --- a/doc/html/world_8h.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -gamedev: include/world.h File Reference - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    - -
    -
    world.h File Reference
    -
    -
    - -

    The world system. -More...

    -
    #include <common.h>
    -#include <entities.h>
    -
    -

    Go to the source code of this file.

    - - - - - - - - - - -

    -Classes

    struct  line_t
     
    class  World
     
    class  IndoorWorld
     
    class  Arena
     
    - - - - - -

    -Macros

    -#define GEN_INC   10
     
    -#define DAY_CYCLE   3000
     
    - - - - - -

    -Enumerations

    enum  WORLD_BG_TYPE { BG_FOREST, -BG_WOODHOUSE - }
     
    enum  WEATHER { SUNNY = 0, -DARK, -RAIN - }
     
    - - - - - -

    -Functions

    -struct line_t __attribute__ ((packed))
     
    -float worldGetYBase (World *w)
     
    - - - - - - - - - - - - - -

    -Variables

    float y
     
    bool gs
     
    float gh [2]
     
    unsigned char color
     
    -class World __attribute__
     
    -int worldShade
     
    -

    Detailed Description

    -

    The world system.

    -

    This file contains the classes and variables necessary to create an in-game world.

    -

    Enumeration Type Documentation

    - -
    -
    - - - - -
    enum WEATHER
    -
    -

    The weather type enum. This enum contains every type of weather currently implemented in the game. Weather is set by the world somewhere.

    - - - - -
    Enumerator
    SUNNY  -

    Sunny/daytime

    -
    DARK  -

    Nighttime

    -
    RAIN  -

    Rain (not implemented :) )

    -
    - -
    -
    - -
    -
    - - - - -
    enum WORLD_BG_TYPE
    -
    -

    The background type enum. This enum contains all different possibilities for world backgrounds; used in World::setBackground() to select the appropriate images.

    - - - -
    Enumerator
    BG_FOREST  -

    A forest theme.

    -
    BG_WOODHOUSE  -

    An indoor wooden house theme.

    -
    - -
    -
    -

    Variable Documentation

    - -
    -
    - - - - -
    unsigned char color
    -
    -

    Lightness of dirt (brown)

    - -
    -
    - -
    -
    - - - - -
    float gh[2]
    -
    -

    Height of glass (2 blades per line)

    - -
    -
    - -
    -
    - - - - -
    bool gs
    -
    -

    Show grass

    - -
    -
    - -
    -
    - - - - -
    float y
    -
    -

    Height of this vertical line

    - -
    -
    -
    - - - - diff --git a/doc/html/world_8h_source.html b/doc/html/world_8h_source.html deleted file mode 100644 index 3e18f62..0000000 --- a/doc/html/world_8h_source.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - - -gamedev: include/world.h Source File - - - - - - - - - - -
    -
    - - - - - - -
    -
    gamedev -
    -
    -
    - - - - - - -
    -
    - - -
    - -
    - - -
    -
    -
    -
    world.h
    -
    -
    -Go to the documentation of this file.
    1 
    -
    8 #ifndef WORLD_H
    -
    9 #define WORLD_H
    -
    10 
    -
    11 #include <common.h> // For HLINE, vec2, OpenGL utilities, etc.
    -
    12 #include <entities.h>
    -
    13 
    -
    14 #define GEN_INC 10 // Defines at what interval y values should be calculated for the array 'line'.
    -
    15  // As explained in World(), the last few lines in the array 'line' are incorrectly calculated
    -
    16  // or not calculated at all, so GEN_INC is also used to decrease 'lineCount' in functions like draw()
    -
    17  // and detect().
    -
    18 
    -
    19 #define DAY_CYCLE 3000
    -
    20 
    -
    27 typedef enum {
    - - - -
    31 
    -
    38 typedef enum {
    -
    39  SUNNY = 0,
    -
    40  DARK,
    - -
    42 } WEATHER;
    -
    43 
    -
    50 struct line_t {
    -
    51  float y;
    -
    52  bool gs;
    -
    53  float gh[2];
    -
    54  unsigned char color;
    -
    55 } __attribute__ ((packed));
    -
    56 
    -
    61 class World {
    -
    62 protected:
    -
    63 
    -
    70  struct line_t *line;
    -
    71 
    -
    78  int x_start;
    -
    79 
    -
    88  void singleDetect(Entity *e);
    -
    89 
    -
    99  void deleteEntities(void);
    -
    100 
    -
    108  unsigned int lineCount;
    -
    109 
    - -
    115 
    -
    116  Texturec *bgTex;
    -
    117 
    -
    118  Mix_Music *bgmObj;
    -
    119  char *bgm;
    -
    120 
    -
    121 public:
    -
    122 
    -
    123  /*
    -
    124  * These pointers keep track of worlds that are adjacent to this one. Used in ui.cpp
    -
    125  * for world jumping.
    -
    126  */
    -
    127 
    -
    128  World *toLeft,
    -
    129  *toRight,
    -
    130  *behind,
    -
    131  *infront;
    -
    132 
    -
    133  /*
    -
    134  * Entity arrays.
    -
    135  */
    -
    136 
    -
    137  std::vector<NPC *> npc;
    -
    138  std::vector<Structures *> build;
    -
    139  std::vector<Mob *> mob;
    -
    140  std::vector<Entity *> entity;
    -
    141  std::vector<Object *> object;
    -
    142 
    -
    143  void addStructure(_TYPE t,float x,float y,World *outside,World *inside);
    -
    144  void addMob(int t,float x,float y);
    -
    145  void addMob(int t,float x,float y,void (*hey)(Mob *));
    -
    146  void addNPC(float x,float y);
    -
    147  void addObject(ITEM_ID, bool, const char *, float, float);
    -
    148 
    -
    149  void update(Player *p,unsigned int delta);
    -
    150 
    -
    151  /*
    -
    152  * Constructor and deconstructor, these do what you would expect.
    -
    153  */
    -
    154 
    -
    155  World(void);
    -
    156  virtual ~World(void); // Frees the 'line' array.
    -
    157 
    -
    158  /*
    -
    159  * Generate a world of width `width`. This function is virtual so that other world
    -
    160  * classes that are based on this one can generate themselves their own way.
    -
    161  */
    -
    162 
    -
    163  virtual void generate(unsigned int width);
    -
    164  void generateFunc(unsigned int width,float(*func)(float));
    -
    165 
    -
    166  /*
    -
    167  * Adds images to using for the background.
    -
    168  */
    -
    169 
    -
    170  void setBackground(WORLD_BG_TYPE bgt);
    -
    171 
    -
    172  /*
    -
    173  * Start/stop background music.
    -
    174  */
    -
    175 
    -
    176  void setBGM(const char *path);
    -
    177  void bgmPlay(void);
    -
    178  void bgmStop(void);
    -
    179 
    -
    180  /*
    -
    181  * Looks for the furthest back layer in this world and adds a new layer of width `width` behind it.
    -
    182  */
    -
    183 
    -
    184  void addLayer(unsigned int width);
    -
    185 
    -
    186  /*
    -
    187  * Draw the world and entities based on the player's coordinates. Virtual for the same
    -
    188  * reason generate() is.
    -
    189  */
    -
    190 
    -
    191  virtual void draw(Player *p);
    -
    192 
    -
    193 
    -
    194  /*
    -
    195  * Detect the player and any entities in the current world.
    -
    196  */
    -
    197 
    -
    198  void detect(Player *p);
    -
    199 
    -
    200  /*
    -
    201  * These functions return the pointer to the world in the direction that is requested if it
    -
    202  * exists and the player is in a condition that it can make the switch, otherwise they
    -
    203  * return the current world.
    -
    204  */
    -
    205 
    -
    206  World *goWorldLeft(Player *p);
    -
    207  World *goWorldRight(Player *p);
    -
    208  World *goWorldBack(Player *p);
    -
    209  World *goWorldFront(Player *p);
    -
    210 
    -
    211  /*
    -
    212  * Called to enter/exit a structure.
    -
    213  */
    -
    214 
    -
    215  World *goInsideStructure(Player *p);
    -
    216 
    -
    217  /*
    -
    218  * These functions add features to the world.
    -
    219  */
    -
    220 
    -
    221  void addHole(unsigned int start,unsigned int end);
    -
    222 
    -
    223  /*
    -
    224  * Get's the world's width.
    -
    225  */
    -
    226 
    -
    227  int getTheWidth(void);
    -
    228 
    -
    229  void save(FILE *);
    -
    230  void load(FILE *);
    -
    231 };
    -
    232 
    -
    233 /*
    -
    234  * Gets a good base y value for background rendering.
    -
    235 */
    -
    236 
    -
    237 float worldGetYBase(World *w);
    -
    238 
    -
    239 /*
    -
    240  * IndoorWorld - Indoor settings stored in a World class ;)
    -
    241  */
    -
    242 
    -
    243 class IndoorWorld : public World {
    -
    244 public:
    -
    245  World *outside;
    -
    246  IndoorWorld(void);
    -
    247  ~IndoorWorld(void);
    -
    248 
    -
    249  void generate(unsigned int width); // Generates a flat world of width 'width'
    -
    250  void draw(Player *p); // Draws the world (ignores layers)
    -
    251 };
    -
    252 
    -
    253 class Arena : public World {
    -
    254 private:
    -
    255  vec2 pxy;
    -
    256  vec2 door;
    -
    257  World *exit;
    -
    258 public:
    -
    259  Arena(World *leave,Player *p);
    -
    260  ~Arena(void);
    -
    261  World *exitArena(Player *p);
    -
    262 };
    -
    263 
    -
    264 extern int worldShade;
    -
    265 
    -
    266 #endif // WORLD_H
    -
    Definition: world.h:50
    -
    Definition: world.h:39
    -
    Definition: world.h:29
    -
    Definition: world.h:61
    -
    Definition: entities.h:127
    -
    Definition: common.h:46
    -
    WEATHER
    Definition: world.h:38
    -
    void deleteEntities(void)
    Definition: world.cpp:87
    -
    Definition: Texture.h:12
    -
    Definition: world.h:41
    -
    float y
    Definition: world.h:51
    -
    struct line_t * line
    Definition: world.h:70
    -
    void singleDetect(Entity *e)
    Definition: world.cpp:660
    -
    Definition: world.h:253
    -
    Definition: entities.h:37
    -
    unsigned char color
    Definition: world.h:54
    -
    float y
    Definition: world.h:88
    -
    float gh[2]
    Definition: world.h:53
    -
    vec2 * star
    Definition: world.h:114
    -
    int x_start
    Definition: world.h:78
    -
    bool gs
    Definition: world.h:52
    -
    unsigned int lineCount
    Definition: world.h:108
    -
    Definition: entities.h:94
    -
    WORLD_BG_TYPE
    Definition: world.h:27
    -
    Definition: world.h:40
    -
    Definition: world.h:243
    -
    Definition: world.h:28
    -
    - - - - diff --git a/doc/items.ods b/doc/items.ods deleted file mode 100644 index 6055ffb..0000000 Binary files a/doc/items.ods and /dev/null differ diff --git a/doc/latex/Makefile b/doc/latex/Makefile deleted file mode 100644 index 8cc3866..0000000 --- a/doc/latex/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -all: refman.pdf - -pdf: refman.pdf - -refman.pdf: clean refman.tex - pdflatex refman - makeindex refman.idx - pdflatex refman - latex_count=8 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - makeindex refman.idx - pdflatex refman - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/doc/latex/annotated.tex b/doc/latex/annotated.tex deleted file mode 100644 index 683751c..0000000 --- a/doc/latex/annotated.tex +++ /dev/null @@ -1,22 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{classArena}{Arena} }{\pageref{classArena}}{} -\item\contentsline{section}{\hyperlink{classEntity}{Entity} }{\pageref{classEntity}}{} -\item\contentsline{section}{\hyperlink{classIndoorWorld}{Indoor\+World} }{\pageref{classIndoorWorld}}{} -\item\contentsline{section}{\hyperlink{classInventory}{Inventory} }{\pageref{classInventory}}{} -\item\contentsline{section}{\hyperlink{classItem}{Item} }{\pageref{classItem}}{} -\item\contentsline{section}{\hyperlink{structitem__t}{item\+\_\+t} }{\pageref{structitem__t}}{} -\item\contentsline{section}{\hyperlink{structline__t}{line\+\_\+t} }{\pageref{structline__t}}{} -\item\contentsline{section}{\hyperlink{classMob}{Mob} }{\pageref{classMob}}{} -\item\contentsline{section}{\hyperlink{classNPC}{N\+P\+C} }{\pageref{classNPC}}{} -\item\contentsline{section}{\hyperlink{classObject}{Object} }{\pageref{classObject}}{} -\item\contentsline{section}{\hyperlink{classPlayer}{Player} }{\pageref{classPlayer}}{} -\item\contentsline{section}{\hyperlink{classQuest}{Quest} }{\pageref{classQuest}}{} -\item\contentsline{section}{\hyperlink{classQuestHandler}{Quest\+Handler} }{\pageref{classQuestHandler}}{} -\item\contentsline{section}{\hyperlink{structRay}{Ray} }{\pageref{structRay}}{} -\item\contentsline{section}{\hyperlink{classStructures}{Structures} }{\pageref{classStructures}}{} -\item\contentsline{section}{\hyperlink{structtexture__t}{texture\+\_\+t} }{\pageref{structtexture__t}}{} -\item\contentsline{section}{\hyperlink{classTexturec}{Texturec} }{\pageref{classTexturec}}{} -\item\contentsline{section}{\hyperlink{structvec2}{vec2} }{\pageref{structvec2}}{} -\item\contentsline{section}{\hyperlink{classWorld}{World} }{\pageref{classWorld}}{} -\end{DoxyCompactList} diff --git a/doc/latex/classArena.eps b/doc/latex/classArena.eps deleted file mode 100644 index 45c5d78..0000000 --- a/doc/latex/classArena.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 727.272727 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.687500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Arena) cw -(World) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Arena) 0.000000 0.000000 box - (World) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classArena.tex b/doc/latex/classArena.tex deleted file mode 100644 index 37f0ba4..0000000 --- a/doc/latex/classArena.tex +++ /dev/null @@ -1,24 +0,0 @@ -\hypertarget{classArena}{}\section{Arena Class Reference} -\label{classArena}\index{Arena@{Arena}} -Inheritance diagram for Arena\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classArena} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classArena_a535e3722c259e4629bf779f4865df761}{}{\bfseries Arena} (\hyperlink{classWorld}{World} $\ast$leave, \hyperlink{classPlayer}{Player} $\ast$p)\label{classArena_a535e3722c259e4629bf779f4865df761} - -\item -\hypertarget{classArena_a58230f6c0670c86d9bdd6f79f53915f2}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries exit\+Arena} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classArena_a58230f6c0670c86d9bdd6f79f53915f2} - -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/\hyperlink{world_8h}{world.\+h}\item -src/world.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classEntity.eps b/doc/latex/classEntity.eps deleted file mode 100644 index c579190..0000000 --- a/doc/latex/classEntity.eps +++ /dev/null @@ -1,215 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 102.564103 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 4.875000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 5 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Entity) cw -(Mob) cw -(NPC) cw -(Object) cw -(Player) cw -(Structures) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Entity) 2.000000 1.000000 box - (Mob) 0.000000 0.000000 box - (NPC) 1.000000 0.000000 box - (Object) 2.000000 0.000000 box - (Player) 3.000000 0.000000 box - (Structures) 4.000000 0.000000 box - -% ----- relations ----- - -solid -1 2.000000 0.250000 out -solid -0.000000 4.000000 1.000000 conn -solid -0 0.000000 0.750000 in -solid -0 1.000000 0.750000 in -solid -0 2.000000 0.750000 in -solid -0 3.000000 0.750000 in -solid -0 4.000000 0.750000 in diff --git a/doc/latex/classEntity.tex b/doc/latex/classEntity.tex deleted file mode 100644 index 46937df..0000000 --- a/doc/latex/classEntity.tex +++ /dev/null @@ -1,92 +0,0 @@ -\hypertarget{classEntity}{}\section{Entity Class Reference} -\label{classEntity}\index{Entity@{Entity}} -Inheritance diagram for Entity\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classEntity} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classEntity_a1ea7af40bd2d22c3ccffffb9d75449f1}{}void {\bfseries draw} (void)\label{classEntity_a1ea7af40bd2d22c3ccffffb9d75449f1} - -\item -\hypertarget{classEntity_a395847a44327233974bdb6c546412f72}{}void {\bfseries spawn} (float, float)\label{classEntity_a395847a44327233974bdb6c546412f72} - -\item -\hypertarget{classEntity_a9cda23bb400ce86af59f673065e8be6e}{}virtual void {\bfseries wander} (int)\label{classEntity_a9cda23bb400ce86af59f673065e8be6e} - -\item -\hypertarget{classEntity_aad35d2bfa6b5f2af9c433177b455f20b}{}virtual void {\bfseries interact} ()\label{classEntity_aad35d2bfa6b5f2af9c433177b455f20b} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classEntity_ac755b0547e12f4b00472fec833807069}{}\hyperlink{classInventory}{Inventory} $\ast$ {\bfseries inv}\label{classEntity_ac755b0547e12f4b00472fec833807069} - -\item -\hypertarget{classEntity_afb76fb5ae8ce6d4410feac55f082c139}{}\hyperlink{structvec2}{vec2} {\bfseries loc}\label{classEntity_afb76fb5ae8ce6d4410feac55f082c139} - -\item -\hypertarget{classEntity_a59d3befa027c6c003b80651d79efae32}{}\hyperlink{structvec2}{vec2} {\bfseries vel}\label{classEntity_a59d3befa027c6c003b80651d79efae32} - -\item -\hypertarget{classEntity_adadfcc784f30b51b8e49f8230a56b793}{}float {\bfseries width}\label{classEntity_adadfcc784f30b51b8e49f8230a56b793} - -\item -\hypertarget{classEntity_a4550dc1011f47f6c4bb86e564e7d605b}{}float {\bfseries height}\label{classEntity_a4550dc1011f47f6c4bb86e564e7d605b} - -\item -\hypertarget{classEntity_a1de3d8d9ab8088f61e6726069b26fa60}{}float {\bfseries speed}\label{classEntity_a1de3d8d9ab8088f61e6726069b26fa60} - -\item -\hypertarget{classEntity_ad25b1a16a6b7b5affbf59b831b86ef69}{}bool {\bfseries near}\label{classEntity_ad25b1a16a6b7b5affbf59b831b86ef69} - -\item -\hypertarget{classEntity_ac3592b1453f4fae35f012f1c3a41a0a0}{}bool {\bfseries can\+Move}\label{classEntity_ac3592b1453f4fae35f012f1c3a41a0a0} - -\item -\hypertarget{classEntity_a4089f437394654df9439248876b704d7}{}bool {\bfseries right}\label{classEntity_a4089f437394654df9439248876b704d7} - -\item -\hypertarget{classEntity_ae64dc68118771cee108ec9a69d0adcc3}{}bool {\bfseries left}\label{classEntity_ae64dc68118771cee108ec9a69d0adcc3} - -\item -\hypertarget{classEntity_a0d09a7e175d9dcfbfb359e5f74f2e692}{}bool {\bfseries alive}\label{classEntity_a0d09a7e175d9dcfbfb359e5f74f2e692} - -\item -\hypertarget{classEntity_a2c8b0ce760cf77a2ba9b8d1c37209fd7}{}unsigned char {\bfseries ground}\label{classEntity_a2c8b0ce760cf77a2ba9b8d1c37209fd7} - -\item -\hypertarget{classEntity_a854c9b7a8ed49aae4538734df4915727}{}float {\bfseries health}\label{classEntity_a854c9b7a8ed49aae4538734df4915727} - -\item -\hypertarget{classEntity_a59499f3d9d7def4f5a5cab1c9c30f570}{}float {\bfseries max\+Health}\label{classEntity_a59499f3d9d7def4f5a5cab1c9c30f570} - -\item -\hypertarget{classEntity_a85be7fcdcdedefeccf05daf80d3bcc73}{}\+\_\+\+T\+Y\+P\+E {\bfseries type}\label{classEntity_a85be7fcdcdedefeccf05daf80d3bcc73} - -\item -\hypertarget{classEntity_a80eea5b24c587dc4ae6beba6c8b3d5b5}{}int {\bfseries subtype}\label{classEntity_a80eea5b24c587dc4ae6beba6c8b3d5b5} - -\item -\hypertarget{classEntity_a861f653e2ffbe97c0deed7ab85eb7ce6}{}char $\ast$ {\bfseries name}\label{classEntity_a861f653e2ffbe97c0deed7ab85eb7ce6} - -\item -\hypertarget{classEntity_a89bc767973827fd8512643f8d2e05837}{}G\+E\+N\+D\+E\+R {\bfseries gender}\label{classEntity_a89bc767973827fd8512643f8d2e05837} - -\item -\hypertarget{classEntity_af664044f029b81c097cb3e6e0d987fb3}{}\hyperlink{classTexturec}{Texturec} $\ast$ {\bfseries tex}\label{classEntity_af664044f029b81c097cb3e6e0d987fb3} - -\item -\hypertarget{classEntity_a9cb580e6e12bace5a86c955e25f8825c}{}int {\bfseries ticks\+To\+Use}\label{classEntity_a9cb580e6e12bace5a86c955e25f8825c} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classIndoorWorld.eps b/doc/latex/classIndoorWorld.eps deleted file mode 100644 index 53b47c6..0000000 --- a/doc/latex/classIndoorWorld.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 449.438202 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 1.112500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(IndoorWorld) cw -(World) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (IndoorWorld) 0.000000 0.000000 box - (World) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classIndoorWorld.tex b/doc/latex/classIndoorWorld.tex deleted file mode 100644 index 7c8e4a1..0000000 --- a/doc/latex/classIndoorWorld.tex +++ /dev/null @@ -1,30 +0,0 @@ -\hypertarget{classIndoorWorld}{}\section{Indoor\+World Class Reference} -\label{classIndoorWorld}\index{Indoor\+World@{Indoor\+World}} -Inheritance diagram for Indoor\+World\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classIndoorWorld} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classIndoorWorld_a06b929154c7dd3cafe6c81550df47494}{}void {\bfseries generate} (unsigned int width)\label{classIndoorWorld_a06b929154c7dd3cafe6c81550df47494} - -\item -\hypertarget{classIndoorWorld_ab201d18555af3121e897ccbe889c90ff}{}void {\bfseries draw} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classIndoorWorld_ab201d18555af3121e897ccbe889c90ff} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classIndoorWorld_a3f9df1a8e4e6751fcb73f77f4bd174fa}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries outside}\label{classIndoorWorld_a3f9df1a8e4e6751fcb73f77f4bd174fa} - -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/\hyperlink{world_8h}{world.\+h}\item -src/world.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classInventory.tex b/doc/latex/classInventory.tex deleted file mode 100644 index 4328d95..0000000 --- a/doc/latex/classInventory.tex +++ /dev/null @@ -1,50 +0,0 @@ -\hypertarget{classInventory}{}\section{Inventory Class Reference} -\label{classInventory}\index{Inventory@{Inventory}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classInventory_a426d86c552dfa7c3350a4e5cac20be44}{}{\bfseries Inventory} (unsigned int s)\label{classInventory_a426d86c552dfa7c3350a4e5cac20be44} - -\item -\hypertarget{classInventory_ada97bb76c3597bbed728ec2ca253c395}{}int {\bfseries add\+Item} (I\+T\+E\+M\+\_\+\+I\+D id, unsigned char count)\label{classInventory_ada97bb76c3597bbed728ec2ca253c395} - -\item -\hypertarget{classInventory_ad15654bd6697d1a7efd368f95a08ceb9}{}int {\bfseries take\+Item} (I\+T\+E\+M\+\_\+\+I\+D id, unsigned char count)\label{classInventory_ad15654bd6697d1a7efd368f95a08ceb9} - -\item -\hypertarget{classInventory_a8ba9b0c4985c76d6ee8305f894281703}{}int {\bfseries use\+Item} (void)\label{classInventory_a8ba9b0c4985c76d6ee8305f894281703} - -\item -\hypertarget{classInventory_a832820a6fbc52955c35c9c33514817d3}{}void {\bfseries set\+Selection} (unsigned int s)\label{classInventory_a832820a6fbc52955c35c9c33514817d3} - -\item -\hypertarget{classInventory_acb3036240abe5fe05fc1980904924528}{}void {\bfseries draw} (void)\label{classInventory_acb3036240abe5fe05fc1980904924528} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classInventory_a5d722c28f93a03629a9f89574b19439c}{}unsigned int {\bfseries sel}\label{classInventory_a5d722c28f93a03629a9f89574b19439c} - -\item -\hypertarget{classInventory_a553173903f401bb9c2266e835eee22c2}{}bool {\bfseries inv\+Open} = false\label{classInventory_a553173903f401bb9c2266e835eee22c2} - -\item -\hypertarget{classInventory_a9421553e33c39f45c0785e6cb3b2cfb6}{}bool {\bfseries inv\+Opening} = false\label{classInventory_a9421553e33c39f45c0785e6cb3b2cfb6} - -\item -\hypertarget{classInventory_a4e403f168bd7356fa4d5ee282bad9443}{}bool {\bfseries inv\+Hover} = false\label{classInventory_a4e403f168bd7356fa4d5ee282bad9443} - -\item -\hypertarget{classInventory_ad6d93c6b6f621f8fe03fbbd1f63863d4}{}bool {\bfseries selected} = false\label{classInventory_ad6d93c6b6f621f8fe03fbbd1f63863d4} - -\item -\hypertarget{classInventory_a263a170660c9a0f9de4a7a13f71a4c6a}{}bool {\bfseries mouse\+Sel} = false\label{classInventory_a263a170660c9a0f9de4a7a13f71a4c6a} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/inventory.\+h\item -src/inventory.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classItem.tex b/doc/latex/classItem.tex deleted file mode 100644 index 5badef0..0000000 --- a/doc/latex/classItem.tex +++ /dev/null @@ -1,47 +0,0 @@ -\hypertarget{classItem}{}\section{Item Class Reference} -\label{classItem}\index{Item@{Item}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classItem_a77eab49b757d200509868e2961a39174}{}{\bfseries Item} (I\+T\+E\+M\+\_\+\+I\+D i, const char $\ast$n, I\+T\+E\+M\+\_\+\+T\+Y\+P\+E t, float w, float h, int m, const char $\ast$tl)\label{classItem_a77eab49b757d200509868e2961a39174} - -\item -\hypertarget{classItem_abd8a2c585eaee924ca99724d236466ab}{}G\+Luint {\bfseries rtex} ()\label{classItem_abd8a2c585eaee924ca99724d236466ab} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classItem_ae16ef760610988c396ff963c2fb486b3}{}I\+T\+E\+M\+\_\+\+I\+D {\bfseries id}\label{classItem_ae16ef760610988c396ff963c2fb486b3} - -\item -\hypertarget{classItem_a06c6faeee0e8202db92886ea8a4472d7}{}char $\ast$ {\bfseries name}\label{classItem_a06c6faeee0e8202db92886ea8a4472d7} - -\item -\hypertarget{classItem_af59b9c75c68c7369ba8992b4a7ac5414}{}I\+T\+E\+M\+\_\+\+T\+Y\+P\+E {\bfseries type}\label{classItem_af59b9c75c68c7369ba8992b4a7ac5414} - -\item -\hypertarget{classItem_a7a444a25dab3814f4c275a44da0ca198}{}float {\bfseries width}\label{classItem_a7a444a25dab3814f4c275a44da0ca198} - -\item -\hypertarget{classItem_a936834d805f6c53630f84dae5765108c}{}float {\bfseries height}\label{classItem_a936834d805f6c53630f84dae5765108c} - -\item -\hypertarget{classItem_a21048ebf5f1893ed429657863c622288}{}int {\bfseries max\+Stack\+Size}\label{classItem_a21048ebf5f1893ed429657863c622288} - -\item -\hypertarget{classItem_a54244d0dc976bc28d091cec66163cd49}{}char $\ast$ {\bfseries texture\+Loc}\label{classItem_a54244d0dc976bc28d091cec66163cd49} - -\item -\hypertarget{classItem_ab457f6ac62ff7d7d593992e70cd7b8d3}{}\hyperlink{classTexturec}{Texturec} $\ast$ {\bfseries tex}\label{classItem_ab457f6ac62ff7d7d593992e70cd7b8d3} - -\item -\hypertarget{classItem_a059046326e4a17610ea4e39f342957d8}{}G\+Luint {\bfseries text}\label{classItem_a059046326e4a17610ea4e39f342957d8} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/inventory.\+h\item -src/inventory.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classMob.eps b/doc/latex/classMob.eps deleted file mode 100644 index 12bbb3a..0000000 --- a/doc/latex/classMob.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 784.313725 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.637500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Mob) cw -(Entity) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Mob) 0.000000 0.000000 box - (Entity) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classMob.tex b/doc/latex/classMob.tex deleted file mode 100644 index f7ddcf3..0000000 --- a/doc/latex/classMob.tex +++ /dev/null @@ -1,35 +0,0 @@ -\hypertarget{classMob}{}\section{Mob Class Reference} -\label{classMob}\index{Mob@{Mob}} -Inheritance diagram for Mob\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classMob} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classMob_ad50eb95b46c938b241740a4d32722819}{}{\bfseries Mob} (int)\label{classMob_ad50eb95b46c938b241740a4d32722819} - -\item -\hypertarget{classMob_a71d17d4e5ea4fe52e26d5915657c6a5a}{}{\bfseries Mob} (int, unsigned int)\label{classMob_a71d17d4e5ea4fe52e26d5915657c6a5a} - -\item -\hypertarget{classMob_a71c65ea9cab8e4c53c46ee37e24ea843}{}void {\bfseries wander} (int)\label{classMob_a71c65ea9cab8e4c53c46ee37e24ea843} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classMob_af70bc5294f024ff06e980452f1aea3f0}{}double {\bfseries init\+\_\+y}\label{classMob_af70bc5294f024ff06e980452f1aea3f0} - -\item -\hypertarget{classMob_ae0639f1baf866a935194372473734033}{}void($\ast$ {\bfseries hey} )(\hyperlink{classMob}{Mob} $\ast$callee)\label{classMob_ae0639f1baf866a935194372473734033} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classNPC.eps b/doc/latex/classNPC.eps deleted file mode 100644 index 4c5ef1b..0000000 --- a/doc/latex/classNPC.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 784.313725 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.637500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(NPC) cw -(Entity) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (NPC) 0.000000 0.000000 box - (Entity) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classNPC.tex b/doc/latex/classNPC.tex deleted file mode 100644 index 9c4f1c1..0000000 --- a/doc/latex/classNPC.tex +++ /dev/null @@ -1,32 +0,0 @@ -\hypertarget{classNPC}{}\section{N\+P\+C Class Reference} -\label{classNPC}\index{N\+P\+C@{N\+P\+C}} -Inheritance diagram for N\+P\+C\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classNPC} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classNPC_a1dc27a95b74708f8c0c1364c14f61cba}{}void {\bfseries add\+A\+I\+Func} (int($\ast$func)(\hyperlink{classNPC}{N\+P\+C} $\ast$), bool preload)\label{classNPC_a1dc27a95b74708f8c0c1364c14f61cba} - -\item -\hypertarget{classNPC_a06fd48676169693baaa46c260c00bb7d}{}void {\bfseries interact} ()\label{classNPC_a06fd48676169693baaa46c260c00bb7d} - -\item -\hypertarget{classNPC_a6b8833617ae24c65787af4ea6074b897}{}void {\bfseries wander} (int)\label{classNPC_a6b8833617ae24c65787af4ea6074b897} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classNPC_ab73690d45357e769bca2ec1bf6c2792d}{}std\+::vector$<$ int($\ast$)(\hyperlink{classNPC}{N\+P\+C} $\ast$)$>$ {\bfseries ai\+Func}\label{classNPC_ab73690d45357e769bca2ec1bf6c2792d} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classObject.eps b/doc/latex/classObject.eps deleted file mode 100644 index fbcba51..0000000 --- a/doc/latex/classObject.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 701.754386 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.712500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Object) cw -(Entity) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Object) 0.000000 0.000000 box - (Entity) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classObject.tex b/doc/latex/classObject.tex deleted file mode 100644 index c5afeac..0000000 --- a/doc/latex/classObject.tex +++ /dev/null @@ -1,32 +0,0 @@ -\hypertarget{classObject}{}\section{Object Class Reference} -\label{classObject}\index{Object@{Object}} -Inheritance diagram for Object\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classObject} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classObject_a18c98f4426616655aa99e8b2240dd636}{}{\bfseries Object} (I\+T\+E\+M\+\_\+\+I\+D id, bool qo, const char $\ast$pd)\label{classObject_a18c98f4426616655aa99e8b2240dd636} - -\item -\hypertarget{classObject_ab95de774fb418c35ebb951a1ba76cc14}{}void {\bfseries interact} (void)\label{classObject_ab95de774fb418c35ebb951a1ba76cc14} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classObject_af7a4246d7ef42249fa87080dbe75457d}{}char $\ast$ {\bfseries pickup\+Dialog}\label{classObject_af7a4246d7ef42249fa87080dbe75457d} - -\item -\hypertarget{classObject_a6e1f7d9e24ca1a0da0b28fa407ca82b4}{}bool {\bfseries quest\+Object} = false\label{classObject_a6e1f7d9e24ca1a0da0b28fa407ca82b4} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classPlayer.eps b/doc/latex/classPlayer.eps deleted file mode 100644 index e2d9527..0000000 --- a/doc/latex/classPlayer.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 701.754386 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.712500 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Player) cw -(Entity) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Player) 0.000000 0.000000 box - (Entity) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classPlayer.tex b/doc/latex/classPlayer.tex deleted file mode 100644 index 39a6b84..0000000 --- a/doc/latex/classPlayer.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{classPlayer}{}\section{Player Class Reference} -\label{classPlayer}\index{Player@{Player}} -Inheritance diagram for Player\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classPlayer} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classPlayer_a10bc8c26a58ca8c85cc1289b7817ff27}{}void {\bfseries interact} ()\label{classPlayer_a10bc8c26a58ca8c85cc1289b7817ff27} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classPlayer_affe7581cbc72ea82130cfdd1f6251df2}{}\hyperlink{classQuestHandler}{Quest\+Handler} {\bfseries qh}\label{classPlayer_affe7581cbc72ea82130cfdd1f6251df2} - -\item -\hypertarget{classPlayer_ae0f3e41a743dcfd1fac43155f166cf5e}{}bool {\bfseries light} = false\label{classPlayer_ae0f3e41a743dcfd1fac43155f166cf5e} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classQuest.tex b/doc/latex/classQuest.tex deleted file mode 100644 index 95f148a..0000000 --- a/doc/latex/classQuest.tex +++ /dev/null @@ -1,26 +0,0 @@ -\hypertarget{classQuest}{}\section{Quest Class Reference} -\label{classQuest}\index{Quest@{Quest}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classQuest_a39ce0527d8b287a38d136ac065b4e5a6}{}{\bfseries Quest} (const char $\ast$t, const char $\ast$d, struct \hyperlink{structitem__t}{item\+\_\+t} r)\label{classQuest_a39ce0527d8b287a38d136ac065b4e5a6} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classQuest_a4beb162692ae1c6f6671534ba41caeaf}{}char $\ast$ {\bfseries title}\label{classQuest_a4beb162692ae1c6f6671534ba41caeaf} - -\item -\hypertarget{classQuest_a3a846582fcef1a800d3795cf1077c95e}{}char $\ast$ {\bfseries desc}\label{classQuest_a3a846582fcef1a800d3795cf1077c95e} - -\item -\hypertarget{classQuest_a188d942f0e5c39771aa1d23b61c0e6c0}{}struct \hyperlink{structitem__t}{item\+\_\+t} {\bfseries reward}\label{classQuest_a188d942f0e5c39771aa1d23b61c0e6c0} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/Quest.\+h\item -src/Quest.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classQuestHandler.tex b/doc/latex/classQuestHandler.tex deleted file mode 100644 index ace0fe4..0000000 --- a/doc/latex/classQuestHandler.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{classQuestHandler}{}\section{Quest\+Handler Class Reference} -\label{classQuestHandler}\index{Quest\+Handler@{Quest\+Handler}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classQuestHandler_a61c30ef0a8f5d5fac0e7595f38f3701a}{}int {\bfseries assign} (const char $\ast$t)\label{classQuestHandler_a61c30ef0a8f5d5fac0e7595f38f3701a} - -\item -\hypertarget{classQuestHandler_afac46a727130210fef11a722dd69235f}{}int {\bfseries drop} (const char $\ast$t)\label{classQuestHandler_afac46a727130210fef11a722dd69235f} - -\item -\hypertarget{classQuestHandler_a0d9905701c9572a7d6337b83f7454d5f}{}int {\bfseries finish} (const char $\ast$t, void $\ast$completer)\label{classQuestHandler_a0d9905701c9572a7d6337b83f7454d5f} - -\item -\hypertarget{classQuestHandler_abea1135d393d5499f1bdc3d924c41825}{}bool {\bfseries has\+Quest} (const char $\ast$t)\label{classQuestHandler_abea1135d393d5499f1bdc3d924c41825} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classQuestHandler_a79966e1ba3decad47149fab057625e8e}{}std\+::vector$<$ const \hyperlink{classQuest}{Quest} $\ast$ $>$ {\bfseries current}\label{classQuestHandler_a79966e1ba3decad47149fab057625e8e} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/Quest.\+h\item -src/Quest.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classStructures.eps b/doc/latex/classStructures.eps deleted file mode 100644 index 32d107a..0000000 --- a/doc/latex/classStructures.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 512.820513 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 0.975000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(Structures) cw -(Entity) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (Structures) 0.000000 0.000000 box - (Entity) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/doc/latex/classStructures.tex b/doc/latex/classStructures.tex deleted file mode 100644 index 52e29df..0000000 --- a/doc/latex/classStructures.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{classStructures}{}\section{Structures Class Reference} -\label{classStructures}\index{Structures@{Structures}} -Inheritance diagram for Structures\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classStructures} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classStructures_a410e68c77b77b9fa61b3dd48a1069dd3}{}unsigned int {\bfseries spawn} (\+\_\+\+T\+Y\+P\+E, float, float)\label{classStructures_a410e68c77b77b9fa61b3dd48a1069dd3} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classStructures_a99b0d24ff339519aa0580761829f3d94}{}void $\ast$ {\bfseries in\+World}\label{classStructures_a99b0d24ff339519aa0580761829f3d94} - -\item -\hypertarget{classStructures_a2de8aa35c7d21ca33af056634e34f1c9}{}void $\ast$ {\bfseries inside}\label{classStructures_a2de8aa35c7d21ca33af056634e34f1c9} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/entities.\+h\item -src/entities.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classTexturec.tex b/doc/latex/classTexturec.tex deleted file mode 100644 index 02418ad..0000000 --- a/doc/latex/classTexturec.tex +++ /dev/null @@ -1,35 +0,0 @@ -\hypertarget{classTexturec}{}\section{Texturec Class Reference} -\label{classTexturec}\index{Texturec@{Texturec}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classTexturec_a9c85c5ad8c49b20e345af412ec9a8cf7}{}{\bfseries Texturec} (uint amt,...)\label{classTexturec_a9c85c5ad8c49b20e345af412ec9a8cf7} - -\item -\hypertarget{classTexturec_a13dfae47f9fa2e09f79530b07a751fcd}{}{\bfseries Texturec} (uint amt, const char $\ast$$\ast$paths)\label{classTexturec_a13dfae47f9fa2e09f79530b07a751fcd} - -\item -\hypertarget{classTexturec_a81be789f196a84a31083b3b2125d76fc}{}void {\bfseries bind\+Next} ()\label{classTexturec_a81be789f196a84a31083b3b2125d76fc} - -\item -\hypertarget{classTexturec_abe4c65be6bedab6909ee6bd9cd349654}{}void {\bfseries bind\+Prev} ()\label{classTexturec_abe4c65be6bedab6909ee6bd9cd349654} - -\item -\hypertarget{classTexturec_a71609907927fdf94bd217991b6e87988}{}void {\bfseries bind} (unsigned int)\label{classTexturec_a71609907927fdf94bd217991b6e87988} - -\item -\hypertarget{classTexturec_af1af4af64edca50836478f27501c2e6b}{}void {\bfseries walk} ()\label{classTexturec_af1af4af64edca50836478f27501c2e6b} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classTexturec_affe3209886e041c0deac1f54eb0bb6ce}{}G\+Luint $\ast$ {\bfseries image}\label{classTexturec_affe3209886e041c0deac1f54eb0bb6ce} - -\end{DoxyCompactItemize} - - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/Texture.\+h\item -src/Texture.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/classWorld.eps b/doc/latex/classWorld.eps deleted file mode 100644 index 0e5fe1d..0000000 --- a/doc/latex/classWorld.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 224.719101 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.225000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 2 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(World) cw -(Arena) cw -(IndoorWorld) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (World) 0.500000 1.000000 box - (Arena) 0.000000 0.000000 box - (IndoorWorld) 1.000000 0.000000 box - -% ----- relations ----- - -solid -1 0.500000 0.250000 out -solid -0.000000 1.000000 1.000000 conn -solid -0 0.000000 0.750000 in -solid -0 1.000000 0.750000 in diff --git a/doc/latex/classWorld.tex b/doc/latex/classWorld.tex deleted file mode 100644 index d0bacd5..0000000 --- a/doc/latex/classWorld.tex +++ /dev/null @@ -1,185 +0,0 @@ -\hypertarget{classWorld}{}\section{World Class Reference} -\label{classWorld}\index{World@{World}} - - -{\ttfamily \#include $<$world.\+h$>$} - -Inheritance diagram for World\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classWorld} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{classWorld_aa02f54d5e38bf0e4c67b210ba4e27761}{}void {\bfseries add\+Structure} (\+\_\+\+T\+Y\+P\+E t, float x, float \hyperlink{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{y}, \hyperlink{classWorld}{World} $\ast$outside, \hyperlink{classWorld}{World} $\ast$inside)\label{classWorld_aa02f54d5e38bf0e4c67b210ba4e27761} - -\item -\hypertarget{classWorld_a631df20b433c01a9f9a215fd6dba0663}{}void {\bfseries add\+Mob} (int t, float x, float \hyperlink{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{y})\label{classWorld_a631df20b433c01a9f9a215fd6dba0663} - -\item -\hypertarget{classWorld_a52f1073c5ff06ff1a9290fb46037ba17}{}void {\bfseries add\+Mob} (int t, float x, float \hyperlink{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{y}, void($\ast$hey)(\hyperlink{classMob}{Mob} $\ast$))\label{classWorld_a52f1073c5ff06ff1a9290fb46037ba17} - -\item -\hypertarget{classWorld_a47b64d285af2fa0ab3e3b5e25b838be1}{}void {\bfseries add\+N\+P\+C} (float x, float \hyperlink{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{y})\label{classWorld_a47b64d285af2fa0ab3e3b5e25b838be1} - -\item -\hypertarget{classWorld_a38a1489059711bc5173b4e45c9424ac2}{}void {\bfseries add\+Object} (I\+T\+E\+M\+\_\+\+I\+D, bool, const char $\ast$, float, float)\label{classWorld_a38a1489059711bc5173b4e45c9424ac2} - -\item -\hypertarget{classWorld_a8920a4df8c88a4e3c2718253e0ce0a9d}{}void {\bfseries update} (\hyperlink{classPlayer}{Player} $\ast$p, unsigned int delta)\label{classWorld_a8920a4df8c88a4e3c2718253e0ce0a9d} - -\item -\hypertarget{classWorld_a21279facd50bb40e28868fe20133392c}{}virtual void {\bfseries generate} (unsigned int width)\label{classWorld_a21279facd50bb40e28868fe20133392c} - -\item -\hypertarget{classWorld_a52f34574219e97541783d8949ccfad63}{}void {\bfseries generate\+Func} (unsigned int width, float($\ast$func)(float))\label{classWorld_a52f34574219e97541783d8949ccfad63} - -\item -\hypertarget{classWorld_a7700979d3d1674dc3d746dff87e522ed}{}void {\bfseries set\+Background} (\hyperlink{world_8h_a0678a0e576121a23798fdbd5964143c5}{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E} bgt)\label{classWorld_a7700979d3d1674dc3d746dff87e522ed} - -\item -\hypertarget{classWorld_a2a90eea0f52e3ca5df95b8526450bb64}{}void {\bfseries set\+B\+G\+M} (const char $\ast$path)\label{classWorld_a2a90eea0f52e3ca5df95b8526450bb64} - -\item -\hypertarget{classWorld_a837cda808f18afd4f4296c4ebb08507f}{}void {\bfseries bgm\+Play} (void)\label{classWorld_a837cda808f18afd4f4296c4ebb08507f} - -\item -\hypertarget{classWorld_ab0b3691cd6afd82c7f5fc8a625a8746e}{}void {\bfseries bgm\+Stop} (void)\label{classWorld_ab0b3691cd6afd82c7f5fc8a625a8746e} - -\item -\hypertarget{classWorld_aa66f71e6886ac0dade68556163017041}{}void {\bfseries add\+Layer} (unsigned int width)\label{classWorld_aa66f71e6886ac0dade68556163017041} - -\item -\hypertarget{classWorld_af52317a2706b62f472457a926c231f46}{}virtual void {\bfseries draw} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_af52317a2706b62f472457a926c231f46} - -\item -\hypertarget{classWorld_a4749d1dbffaed4e4487cc5f4086e481e}{}void {\bfseries detect} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_a4749d1dbffaed4e4487cc5f4086e481e} - -\item -\hypertarget{classWorld_accb9975a135094ecebbe88739b72ab1b}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries go\+World\+Left} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_accb9975a135094ecebbe88739b72ab1b} - -\item -\hypertarget{classWorld_a184a431e5695fbdba411ba2baa5aee0b}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries go\+World\+Right} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_a184a431e5695fbdba411ba2baa5aee0b} - -\item -\hypertarget{classWorld_a46221c8af2234749e3416a45d560ec1c}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries go\+World\+Back} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_a46221c8af2234749e3416a45d560ec1c} - -\item -\hypertarget{classWorld_a6c94d42ed4f963acaf902b9e0f0e6969}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries go\+World\+Front} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_a6c94d42ed4f963acaf902b9e0f0e6969} - -\item -\hypertarget{classWorld_ae8f0c71e69ef6f760cef8fc5b1b4f272}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries go\+Inside\+Structure} (\hyperlink{classPlayer}{Player} $\ast$p)\label{classWorld_ae8f0c71e69ef6f760cef8fc5b1b4f272} - -\item -\hypertarget{classWorld_ab437e9250306323c6e931bb8658485cf}{}void {\bfseries add\+Hole} (unsigned int start, unsigned int end)\label{classWorld_ab437e9250306323c6e931bb8658485cf} - -\item -\hypertarget{classWorld_ab6979295419240f841da48903c7c554d}{}int {\bfseries get\+The\+Width} (void)\label{classWorld_ab6979295419240f841da48903c7c554d} - -\item -\hypertarget{classWorld_abdd6f140f62255b402d649616304fe09}{}void {\bfseries save} (F\+I\+L\+E $\ast$)\label{classWorld_abdd6f140f62255b402d649616304fe09} - -\item -\hypertarget{classWorld_a394c5b449ab36f75a0c6748ec2c34955}{}void {\bfseries load} (F\+I\+L\+E $\ast$)\label{classWorld_a394c5b449ab36f75a0c6748ec2c34955} - -\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{classWorld_aaa256245e0bc49ec2fa55f5d48e1959f}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries to\+Left}\label{classWorld_aaa256245e0bc49ec2fa55f5d48e1959f} - -\item -\hypertarget{classWorld_aa40d02c50a3eedb2f329077f3d6d44e6}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries to\+Right}\label{classWorld_aa40d02c50a3eedb2f329077f3d6d44e6} - -\item -\hypertarget{classWorld_af9aed08dfdf0d280f3e13a21a0090f2c}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries behind}\label{classWorld_af9aed08dfdf0d280f3e13a21a0090f2c} - -\item -\hypertarget{classWorld_a1c1ad92a3d0296c5796a8544537ece13}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries infront}\label{classWorld_a1c1ad92a3d0296c5796a8544537ece13} - -\item -\hypertarget{classWorld_a844d733d29d8367c3896bff7a1fad82d}{}std\+::vector$<$ \hyperlink{classNPC}{N\+P\+C} $\ast$ $>$ {\bfseries npc}\label{classWorld_a844d733d29d8367c3896bff7a1fad82d} - -\item -\hypertarget{classWorld_ab5120be97f20e7ee24e056127ff3164c}{}std\+::vector$<$ \hyperlink{classStructures}{Structures} $\ast$ $>$ {\bfseries build}\label{classWorld_ab5120be97f20e7ee24e056127ff3164c} - -\item -\hypertarget{classWorld_ab45f9d6909b887f01c76bfe6120ccdd9}{}std\+::vector$<$ \hyperlink{classMob}{Mob} $\ast$ $>$ {\bfseries mob}\label{classWorld_ab45f9d6909b887f01c76bfe6120ccdd9} - -\item -\hypertarget{classWorld_afb74ee60415875384d8af0e065d9feb3}{}std\+::vector$<$ \hyperlink{classEntity}{Entity} $\ast$ $>$ {\bfseries entity}\label{classWorld_afb74ee60415875384d8af0e065d9feb3} - -\item -\hypertarget{classWorld_a3ec7a136f45a7283a0a15224819fe330}{}std\+::vector$<$ \hyperlink{classObject}{Object} $\ast$ $>$ {\bfseries object}\label{classWorld_a3ec7a136f45a7283a0a15224819fe330} - -\end{DoxyCompactItemize} -\subsection*{Protected Member Functions} -\begin{DoxyCompactItemize} -\item -void \hyperlink{classWorld_a0af69654347b29787877b77020fa0a5a}{single\+Detect} (\hyperlink{classEntity}{Entity} $\ast$e) -\item -void \hyperlink{classWorld_a1c1e6ea7fd0d84660d2791a256aba382}{delete\+Entities} (void) -\end{DoxyCompactItemize} -\subsection*{Protected Attributes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structline__t}{line\+\_\+t} $\ast$ \hyperlink{classWorld_afd9945f6ede5eabc3ff9243ce2b31247}{line} -\item -int \hyperlink{classWorld_a645767ccf316a9b4469db773ac111ae4}{x\+\_\+start} -\item -unsigned int \hyperlink{classWorld_a432e07fd7f7504aaa6ff29408afe0678}{line\+Count} -\item -\hyperlink{structvec2}{vec2} $\ast$ \hyperlink{classWorld_a4f8b12f8eda220060ec01c0e9a6b9325}{star} -\item -\hypertarget{classWorld_accebca6a747c3db27916770507aee04c}{}\hyperlink{classTexturec}{Texturec} $\ast$ {\bfseries bg\+Tex}\label{classWorld_accebca6a747c3db27916770507aee04c} - -\item -\hypertarget{classWorld_a7ca21c1e62a53cf7024801623aa46325}{}Mix\+\_\+\+Music $\ast$ {\bfseries bgm\+Obj}\label{classWorld_a7ca21c1e62a53cf7024801623aa46325} - -\item -\hypertarget{classWorld_ad8269981b3846aa44b721cdeda30911c}{}char $\ast$ {\bfseries bgm}\label{classWorld_ad8269981b3846aa44b721cdeda30911c} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The world class. This class does everything a world should do. - -\subsection{Member Function Documentation} -\hypertarget{classWorld_a1c1e6ea7fd0d84660d2791a256aba382}{}\index{World@{World}!delete\+Entities@{delete\+Entities}} -\index{delete\+Entities@{delete\+Entities}!World@{World}} -\subsubsection[{delete\+Entities}]{\setlength{\rightskip}{0pt plus 5cm}void World\+::delete\+Entities ( -\begin{DoxyParamCaption} -\item[{void}]{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_a1c1e6ea7fd0d84660d2791a256aba382} -Empties all entity vectors. Each entity vector is iterated through, calling delete for each entry. Once all specific vectors are cleared, the general entity vector is emptied of the pointers to those other vectors. This function should only be called in \hyperlink{classWorld}{World}\textquotesingle{}s destructor, as there shouldn\textquotesingle{}t be another reason to call this function. \hypertarget{classWorld_a0af69654347b29787877b77020fa0a5a}{}\index{World@{World}!single\+Detect@{single\+Detect}} -\index{single\+Detect@{single\+Detect}!World@{World}} -\subsubsection[{single\+Detect}]{\setlength{\rightskip}{0pt plus 5cm}void World\+::single\+Detect ( -\begin{DoxyParamCaption} -\item[{{\bf Entity} $\ast$}]{e} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_a0af69654347b29787877b77020fa0a5a} -Handle physics for a single entity. This function handles gravity and death for an entity. The public version of this, World\+::detect(), handles all entities in the world as well as the player. \hyperlink{classWorld_a0af69654347b29787877b77020fa0a5a}{World\+::single\+Detect()} should never be used outside of World\+::detect(), which is why it is declared private. - -\subsection{Member Data Documentation} -\hypertarget{classWorld_afd9945f6ede5eabc3ff9243ce2b31247}{}\index{World@{World}!line@{line}} -\index{line@{line}!World@{World}} -\subsubsection[{line}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf line\+\_\+t}$\ast$ World\+::line\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_afd9945f6ede5eabc3ff9243ce2b31247} -The line array. This array is created through \textquotesingle{}new\textquotesingle{} in World\+::generate(), with an amount of elements provided by the function. \hypertarget{classWorld_a432e07fd7f7504aaa6ff29408afe0678}{}\index{World@{World}!line\+Count@{line\+Count}} -\index{line\+Count@{line\+Count}!World@{World}} -\subsubsection[{line\+Count}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int World\+::line\+Count\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_a432e07fd7f7504aaa6ff29408afe0678} -Number of lines in the world. While this number is helpful for knowing the world\textquotesingle{}s width, it is kept private for security reasons. To compensate for this, World\+::get\+The\+Width() is provided (see below). \hypertarget{classWorld_a4f8b12f8eda220060ec01c0e9a6b9325}{}\index{World@{World}!star@{star}} -\index{star@{star}!World@{World}} -\subsubsection[{star}]{\setlength{\rightskip}{0pt plus 5cm}{\bf vec2}$\ast$ World\+::star\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_a4f8b12f8eda220060ec01c0e9a6b9325} -An array of star coordinates. \hypertarget{classWorld_a645767ccf316a9b4469db773ac111ae4}{}\index{World@{World}!x\+\_\+start@{x\+\_\+start}} -\index{x\+\_\+start@{x\+\_\+start}!World@{World}} -\subsubsection[{x\+\_\+start}]{\setlength{\rightskip}{0pt plus 5cm}int World\+::x\+\_\+start\hspace{0.3cm}{\ttfamily [protected]}}\label{classWorld_a645767ccf316a9b4469db773ac111ae4} -Starting x coordinate. This x value is the point at which line\mbox{[}0\mbox{]} should reside, can be used to calculate the width of the world. - -The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} -\item -include/\hyperlink{world_8h}{world.\+h}\item -src/world.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex b/doc/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex deleted file mode 100644 index c5d94d3..0000000 --- a/doc/latex/dir_68267d1309a1af8e8297ef4c3efbcdba.tex +++ /dev/null @@ -1,21 +0,0 @@ -\hypertarget{dir_68267d1309a1af8e8297ef4c3efbcdba}{}\section{src Directory Reference} -\label{dir_68267d1309a1af8e8297ef4c3efbcdba}\index{src Directory Reference@{src Directory Reference}} -\subsection*{Files} -\begin{DoxyCompactItemize} -\item -file {\bfseries common.\+cpp} -\item -file {\bfseries entities.\+cpp} -\item -file {\bfseries gameplay.\+cpp} -\item -file {\bfseries inventory.\+cpp} -\item -file {\bfseries Quest.\+cpp} -\item -file {\bfseries Texture.\+cpp} -\item -file {\bfseries ui.\+cpp} -\item -file {\bfseries world.\+cpp} -\end{DoxyCompactItemize} diff --git a/doc/latex/dir_d44c64559bbebec7f509842c48db8b23.tex b/doc/latex/dir_d44c64559bbebec7f509842c48db8b23.tex deleted file mode 100644 index d0ecfec..0000000 --- a/doc/latex/dir_d44c64559bbebec7f509842c48db8b23.tex +++ /dev/null @@ -1,19 +0,0 @@ -\hypertarget{dir_d44c64559bbebec7f509842c48db8b23}{}\section{include Directory Reference} -\label{dir_d44c64559bbebec7f509842c48db8b23}\index{include Directory Reference@{include Directory Reference}} -\subsection*{Files} -\begin{DoxyCompactItemize} -\item -file {\bfseries common.\+h} -\item -file {\bfseries entities.\+h} -\item -file {\bfseries inventory.\+h} -\item -file {\bfseries Quest.\+h} -\item -file {\bfseries Texture.\+h} -\item -file {\bfseries ui.\+h} -\item -file \hyperlink{world_8h}{world.\+h} -\begin{DoxyCompactList}\small\item\em The world system. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/doc/latex/doxygen.sty b/doc/latex/doxygen.sty deleted file mode 100644 index acd68e4..0000000 --- a/doc/latex/doxygen.sty +++ /dev/null @@ -1,480 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{float} -\RequirePackage{ifthen} -\RequirePackage{verbatim} -\RequirePackage[table]{xcolor} -\RequirePackage{xtab} - -%---------- Internal commands used in this style file ---------------- - -\newcommand{\ensurespace}[1]{% - \begingroup% - \setlength{\dimen@}{#1}% - \vskip\z@\@plus\dimen@% - \penalty -100\vskip\z@\@plus -\dimen@% - \vskip\dimen@% - \penalty 9999% - \vskip -\dimen@% - \vskip\z@skip% hide the previous |\vskip| from |\addvspace| - \endgroup% -} - -\newcommand{\DoxyLabelFont}{} -\newcommand{\entrylabel}[1]{% - {% - \parbox[b]{\labelwidth-4pt}{% - \makebox[0pt][l]{\DoxyLabelFont#1}% - \vspace{1.5\baselineskip}% - }% - }% -} - -\newenvironment{DoxyDesc}[1]{% - \ensurespace{4\baselineskip}% - \begin{list}{}{% - \settowidth{\labelwidth}{20pt}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{0pt}% - \setlength{\leftmargin}{\labelwidth+\labelsep}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -\newsavebox{\xrefbox} -\newlength{\xreflength} -\newcommand{\xreflabel}[1]{% - \sbox{\xrefbox}{#1}% - \setlength{\xreflength}{\wd\xrefbox}% - \ifthenelse{\xreflength>\labelwidth}{% - \begin{minipage}{\textwidth}% - \setlength{\parindent}{0pt}% - \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% - \end{minipage}% - }{% - \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% - }% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
     ... 
    -\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \par% - \scriptsize% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
      ...
    ) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
      ...
    ) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
    ...
    ) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% - \begin{center}% -}{% - \end{center}% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @copyright -\newenvironment{DoxyCopyright}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return and @returns -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}{% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablefirsthead{}% - \tablehead{}% - \ifthenelse{\equal{#1}{}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.805\textwidth}|}}% - {\ifthenelse{\equal{#1}{1}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.678\textwidth}|}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% - >{\centering\hspace{0pt}}p{0.15\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.501\textwidth}|}}% - }\hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for fields of simple structs -\newenvironment{DoxyFields}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.15\textwidth}|% - p{0.63\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{##1 {\em ##2}}% -}{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for member lists -\newenvironment{DoxyCompactItemize}{% - \begin{itemize}% - \setlength{\itemsep}{-3pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \setlength{\partopsep}{0pt}% -}{% - \end{itemize}% -} - -% Used for member descriptions -\newenvironment{DoxyCompactList}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - \setlength{\itemsep}{0pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \renewcommand{\makelabel}{\hfill}% - }% -}{% - \end{list}% -} - -% Used for reference lists (@bug, @deprecated, @todo, etc.) -\newenvironment{DoxyRefList}{% - \begin{list}{}{% - \setlength{\labelwidth}{10pt}% - \setlength{\leftmargin}{\labelwidth}% - \addtolength{\leftmargin}{\labelsep}% - \renewcommand{\makelabel}{\xreflabel}% - }% -}{% - \end{list}% -} - -% Used by @bug, @deprecated, @todo, etc. -\newenvironment{DoxyRefDesc}[1]{% - \begin{list}{}{% - \renewcommand\makelabel[1]{\textbf{##1}}% - \settowidth\labelwidth{\makelabel{#1}}% - \setlength\leftmargin{\labelwidth+\labelsep}% - }% -}{% - \end{list}% -} - -% Used by parameter lists and simple sections -\newenvironment{Desc} -{\begin{list}{}{% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - } -}{% - \end{list}% -} - -% Used by tables -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% -\newlength{\tmplength}% -\newenvironment{TabularC}[1]% -{% -\setlength{\tmplength}% - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% - \par\begin{xtabular*}{\linewidth}% - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% -}% -{\end{xtabular*}\par}% - -% Used by nested tables -\newenvironment{TabularNC}[1]% -{% -\setlength{\tmplength}% - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% - \par\begin{tabular*}{\linewidth}% - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% -}% -{\end{tabular*}\par}% - -% Used for member group headers -\newenvironment{Indent}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - }% - \item[]\ignorespaces% -}{% - \unskip% - \end{list}% -} - -% Used when hyperlinks are turned off -\newcommand{\doxyref}[3]{% - \textbf{#1} (\textnormal{#2}\,\pageref{#3})% -} - -% Used by @addindex -\newcommand{\lcurly}{\{} -\newcommand{\rcurly}{\}} - -% Used for syntax highlighting -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/doc/latex/files.tex b/doc/latex/files.tex deleted file mode 100644 index d8d5247..0000000 --- a/doc/latex/files.tex +++ /dev/null @@ -1,11 +0,0 @@ -\section{File List} -Here is a list of all documented files with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{main_8cpp}{main.\+cpp} \\*The file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities }{\pageref{main_8cpp}}{} -\item\contentsline{section}{include/{\bfseries common.\+h} }{\pageref{common_8h}}{} -\item\contentsline{section}{include/{\bfseries entities.\+h} }{\pageref{entities_8h}}{} -\item\contentsline{section}{include/{\bfseries inventory.\+h} }{\pageref{inventory_8h}}{} -\item\contentsline{section}{include/{\bfseries Quest.\+h} }{\pageref{Quest_8h}}{} -\item\contentsline{section}{include/{\bfseries Texture.\+h} }{\pageref{Texture_8h}}{} -\item\contentsline{section}{include/{\bfseries ui.\+h} }{\pageref{ui_8h}}{} -\item\contentsline{section}{include/\hyperlink{world_8h}{world.\+h} \\*The world system }{\pageref{world_8h}}{} -\end{DoxyCompactList} diff --git a/doc/latex/hierarchy.tex b/doc/latex/hierarchy.tex deleted file mode 100644 index 7f4d13a..0000000 --- a/doc/latex/hierarchy.tex +++ /dev/null @@ -1,26 +0,0 @@ -\section{Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically\+:\begin{DoxyCompactList} -\item \contentsline{section}{Entity}{\pageref{classEntity}}{} -\begin{DoxyCompactList} -\item \contentsline{section}{Mob}{\pageref{classMob}}{} -\item \contentsline{section}{N\+P\+C}{\pageref{classNPC}}{} -\item \contentsline{section}{Object}{\pageref{classObject}}{} -\item \contentsline{section}{Player}{\pageref{classPlayer}}{} -\item \contentsline{section}{Structures}{\pageref{classStructures}}{} -\end{DoxyCompactList} -\item \contentsline{section}{Inventory}{\pageref{classInventory}}{} -\item \contentsline{section}{Item}{\pageref{classItem}}{} -\item \contentsline{section}{item\+\_\+t}{\pageref{structitem__t}}{} -\item \contentsline{section}{line\+\_\+t}{\pageref{structline__t}}{} -\item \contentsline{section}{Quest}{\pageref{classQuest}}{} -\item \contentsline{section}{Quest\+Handler}{\pageref{classQuestHandler}}{} -\item \contentsline{section}{Ray}{\pageref{structRay}}{} -\item \contentsline{section}{texture\+\_\+t}{\pageref{structtexture__t}}{} -\item \contentsline{section}{Texturec}{\pageref{classTexturec}}{} -\item \contentsline{section}{vec2}{\pageref{structvec2}}{} -\item \contentsline{section}{World}{\pageref{classWorld}}{} -\begin{DoxyCompactList} -\item \contentsline{section}{Arena}{\pageref{classArena}}{} -\item \contentsline{section}{Indoor\+World}{\pageref{classIndoorWorld}}{} -\end{DoxyCompactList} -\end{DoxyCompactList} diff --git a/doc/latex/main_8cpp.tex b/doc/latex/main_8cpp.tex deleted file mode 100644 index 0ac1988..0000000 --- a/doc/latex/main_8cpp.tex +++ /dev/null @@ -1,148 +0,0 @@ -\hypertarget{main_8cpp}{}\section{main.\+cpp File Reference} -\label{main_8cpp}\index{main.\+cpp@{main.\+cpp}} - - -The file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities. - - -{\ttfamily \#include $<$cstdio$>$}\\* -{\ttfamily \#include $<$chrono$>$}\\* -{\ttfamily \#include $<$common.\+h$>$}\\* -{\ttfamily \#include $<$world.\+h$>$}\\* -{\ttfamily \#include $<$ui.\+h$>$}\\* -{\ttfamily \#include $<$entities.\+h$>$}\\* -\subsection*{Macros} -\begin{DoxyCompactItemize} -\item -\hypertarget{main_8cpp_a4a0c770328891d8916c1142a26481e4a}{}\#define {\bfseries T\+I\+C\+K\+S\+\_\+\+P\+E\+R\+\_\+\+S\+E\+C}~20\label{main_8cpp_a4a0c770328891d8916c1142a26481e4a} - -\item -\hypertarget{main_8cpp_a3ac3c588b407d69920af6496f3aaeaf9}{}\#define {\bfseries M\+S\+E\+C\+\_\+\+P\+E\+R\+\_\+\+T\+I\+C\+K}~(1000/T\+I\+C\+K\+S\+\_\+\+P\+E\+R\+\_\+\+S\+E\+C)\label{main_8cpp_a3ac3c588b407d69920af6496f3aaeaf9} - -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{main_8cpp_af1feec528aef91d55552ce7e325e0f74}{}void {\bfseries init\+Everything} (void)\label{main_8cpp_af1feec528aef91d55552ce7e325e0f74} - -\item -\hypertarget{main_8cpp_a68636a939ce1a8c8736e1671d6f2c921}{}void {\bfseries logic} (void)\label{main_8cpp_a68636a939ce1a8c8736e1671d6f2c921} - -\item -\hypertarget{main_8cpp_a6765cdcebe5c8445969d5f76345df457}{}void {\bfseries render} (void)\label{main_8cpp_a6765cdcebe5c8445969d5f76345df457} - -\item -\hypertarget{main_8cpp_a52387bf053883d1a8feeee2dd2cdd4f3}{}void {\bfseries main\+Loop} (void)\label{main_8cpp_a52387bf053883d1a8feeee2dd2cdd4f3} - -\item -\hypertarget{main_8cpp_a3f4650350f7c52cdb50175e55058c604}{}std\+::string {\bfseries read\+File} (const char $\ast$file\+Path)\label{main_8cpp_a3f4650350f7c52cdb50175e55058c604} - -\item -unsigned int \hyperlink{main_8cpp_a941a22cb7e0f6429fe40f91e83ead3d9}{millis} (void) -\item -int \hyperlink{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -\hypertarget{main_8cpp_aaa8e409e04dcf575ef63fd5fb3db06f9}{}S\+D\+L\+\_\+\+Window $\ast$ {\bfseries window} = N\+U\+L\+L\label{main_8cpp_aaa8e409e04dcf575ef63fd5fb3db06f9} - -\item -\hypertarget{main_8cpp_a7b5f505ee07aa2fc132a1f04ce33162c}{}S\+D\+L\+\_\+\+G\+L\+Context {\bfseries main\+G\+L\+Context} = N\+U\+L\+L\label{main_8cpp_a7b5f505ee07aa2fc132a1f04ce33162c} - -\item -\hypertarget{main_8cpp_a9b008924a50085448a0761c7e841acfc}{}G\+Luint {\bfseries bg\+Day}\label{main_8cpp_a9b008924a50085448a0761c7e841acfc} - -\item -\hypertarget{main_8cpp_a3837f6d6b1701e98578f3ba0ee9d90e7}{}G\+Luint {\bfseries bg\+Night}\label{main_8cpp_a3837f6d6b1701e98578f3ba0ee9d90e7} - -\item -\hypertarget{main_8cpp_afce018081a460f35ddd04033a081ac83}{}G\+Luint {\bfseries bg\+Mtn}\label{main_8cpp_afce018081a460f35ddd04033a081ac83} - -\item -\hypertarget{main_8cpp_a34e3cb52ded6aaf845074c0303a84c33}{}G\+Luint {\bfseries bg\+Trees\+Front}\label{main_8cpp_a34e3cb52ded6aaf845074c0303a84c33} - -\item -\hypertarget{main_8cpp_aa36d4c9de8b002fe641f043ecb819656}{}G\+Luint {\bfseries bg\+Trees\+Mid}\label{main_8cpp_aa36d4c9de8b002fe641f043ecb819656} - -\item -\hypertarget{main_8cpp_a48a7f2abfb80ba87a38600885fc24904}{}G\+Luint {\bfseries bg\+Trees\+Far}\label{main_8cpp_a48a7f2abfb80ba87a38600885fc24904} - -\item -\hypertarget{main_8cpp_a2bf73692c7682fcae9cdc62fb1778e9f}{}G\+Luint {\bfseries inv\+U\+I}\label{main_8cpp_a2bf73692c7682fcae9cdc62fb1778e9f} - -\item -\hypertarget{main_8cpp_aaa52a27abaaf72231a84c99f2bfa4283}{}bool {\bfseries game\+Running}\label{main_8cpp_aaa52a27abaaf72231a84c99f2bfa4283} - -\item -\hypertarget{main_8cpp_adc1a7b3846cdf41f82a17950d107bfb2}{}float {\bfseries hand\+Angle}\label{main_8cpp_adc1a7b3846cdf41f82a17950d107bfb2} - -\item -\hypertarget{main_8cpp_ab0d5cf0befa2a1b6fd9eed35c5f6eb54}{}\hyperlink{classWorld}{World} $\ast$ {\bfseries current\+World} =N\+U\+L\+L\label{main_8cpp_ab0d5cf0befa2a1b6fd9eed35c5f6eb54} - -\item -\hypertarget{main_8cpp_a96781128d3743da3d17e0fdd91afba7b}{}\hyperlink{classPlayer}{Player} $\ast$ {\bfseries player}\label{main_8cpp_a96781128d3743da3d17e0fdd91afba7b} - -\item -\hypertarget{main_8cpp_a8bace7920d06b121b855a75639a7f625}{}bool {\bfseries world\+Inside}\label{main_8cpp_a8bace7920d06b121b855a75639a7f625} - -\item -\hypertarget{main_8cpp_a50403f70d039eb253c1be121d72a9c5a}{}unsigned int {\bfseries tick\+Count} = 0\label{main_8cpp_a50403f70d039eb253c1be121d72a9c5a} - -\item -\hypertarget{main_8cpp_af54c40bfc9df47f871a2f1988b5698a6}{}unsigned int {\bfseries delta\+Time} = 0\label{main_8cpp_af54c40bfc9df47f871a2f1988b5698a6} - -\item -\hypertarget{main_8cpp_a836dcec716beba7d9709b49832064b6a}{}G\+Luint {\bfseries frag\+Shader}\label{main_8cpp_a836dcec716beba7d9709b49832064b6a} - -\item -\hypertarget{main_8cpp_a1e91db27f0eca4f48996febd1ec5fd23}{}G\+Luint {\bfseries shader\+Program}\label{main_8cpp_a1e91db27f0eca4f48996febd1ec5fd23} - -\item -\hypertarget{main_8cpp_aa3a0cfcda8346bb1599fb41cda621f16}{}F\+I\+L\+E $\ast$ {\bfseries names}\label{main_8cpp_aa3a0cfcda8346bb1599fb41cda621f16} - -\item -\hypertarget{main_8cpp_aecf0a8f9c4e7b09fcbcfd911ae015533}{}unsigned int {\bfseries loops} = 0\label{main_8cpp_aecf0a8f9c4e7b09fcbcfd911ae015533} - -\item -\hypertarget{main_8cpp_a1f883088bca4920bd59729925f82fdcb}{}\hyperlink{structvec2}{vec2} {\bfseries offset}\label{main_8cpp_a1f883088bca4920bd59729925f82fdcb} - -\item -\hypertarget{main_8cpp_a01f16482fbffb67b04283fda27a35b0f}{}\hyperlink{world_8h_a7e5783b78992864281462a5380a28924}{W\+E\+A\+T\+H\+E\+R} {\bfseries weather}\label{main_8cpp_a01f16482fbffb67b04283fda27a35b0f} - -\item -\hypertarget{main_8cpp_a4b1577e5b7bc2e8dc302c02dfe2e6526}{}bool {\bfseries fade\+Enable}\label{main_8cpp_a4b1577e5b7bc2e8dc302c02dfe2e6526} - -\item -\hypertarget{main_8cpp_a055bcf8fc0fe2b2a444e957c10f52b96}{}unsigned int {\bfseries fade\+Intensity}\label{main_8cpp_a055bcf8fc0fe2b2a444e957c10f52b96} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The file that links everything together for the game to run. The main game loop contains all of the global variables the game uses, and it runs the main game loop, the render loop, and the logic loop that control all of the entities. - - - -\subsection{Function Documentation} -\hypertarget{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{}\index{main.\+cpp@{main.\+cpp}!main@{main}} -\index{main@{main}!main.\+cpp@{main.\+cpp}} -\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{main_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4} -(Attempt to) Initialize S\+D\+L libraries so that we can use S\+D\+L facilities and eventually make open\+G\+L calls. Exit if there was an error. - -` (Attempt to) Initialize S\+D\+L\+\_\+image libraries with I\+M\+G\+\_\+\+I\+N\+I\+T\+\_\+\+P\+N\+G so that we can load P\+N\+G textures for the entities and stuff. - -(Attempt to) Initialize S\+D\+L\+\_\+mixer libraries for loading and playing music/sound files.\hypertarget{main_8cpp_a941a22cb7e0f6429fe40f91e83ead3d9}{}\index{main.\+cpp@{main.\+cpp}!millis@{millis}} -\index{millis@{millis}!main.\+cpp@{main.\+cpp}} -\subsubsection[{millis}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int millis ( -\begin{DoxyParamCaption} -\item[{void}]{} -\end{DoxyParamCaption} -)}\label{main_8cpp_a941a22cb7e0f6429fe40f91e83ead3d9} -millis - -We\textquotesingle{}ve encountered many problems when attempting to create delays for triggering the logic function. As a result, we decided on using the timing libraries given by $<$chrono$>$ in the standard C++ library. This function simply returns the amount of milliseconds that have passed sine the epoch. \ No newline at end of file diff --git a/doc/latex/md_README.tex b/doc/latex/md_README.tex deleted file mode 100644 index 0f82393..0000000 --- a/doc/latex/md_README.tex +++ /dev/null @@ -1 +0,0 @@ -gamedev is a high school project between drumsetmonkey and tcsullivan written in C++ and using S\+D\+L2/\+Open\+G\+L. The goal of this project is to have a completed commercial-\/grade video game available to Linux and Windows users. We plan on profiting off of the game once we finish it, so once the game reaches its final stages it may become closed source (however, what was uploaded will stay for others to use as a resource). \ No newline at end of file diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex deleted file mode 100644 index 910551f..0000000 --- a/doc/latex/refman.tex +++ /dev/null @@ -1,184 +0,0 @@ -\documentclass[twoside]{book} - -% Packages required by doxygen -\usepackage{fixltx2e} -\usepackage{calc} -\usepackage{doxygen} -\usepackage[export]{adjustbox} % also loads graphicx -\usepackage{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{makeidx} -\usepackage{multicol} -\usepackage{multirow} -\PassOptionsToPackage{warn}{textcomp} -\usepackage{textcomp} -\usepackage[nointegrals]{wasysym} -\usepackage[table]{xcolor} - -% Font selection -\usepackage[T1]{fontenc} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{amssymb} -\usepackage{sectsty} -\renewcommand{\familydefault}{\sfdefault} -\allsectionsfont{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} -\renewcommand{\DoxyLabelFont}{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} -\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} - -% Page & text layout -\usepackage{geometry} -\geometry{% - a4paper,% - top=2.5cm,% - bottom=2.5cm,% - left=2.5cm,% - right=2.5cm% -} -\tolerance=750 -\hfuzz=15pt -\hbadness=750 -\setlength{\emergencystretch}{15pt} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\makeatletter -\renewcommand{\paragraph}{% - \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@parafont% - }% -} -\renewcommand{\subparagraph}{% - \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@subparafont% - }% -} -\makeatother - -% Headers & footers -\usepackage{fancyhdr} -\pagestyle{fancyplain} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Dec 7 2015 08\+:47\+:43 for gamedev by Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Dec 7 2015 08\+:47\+:43 for gamedev by Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -\renewcommand{\footrulewidth}{0.4pt} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} - -% Indices & bibliography -\usepackage{natbib} -\usepackage[titles]{tocloft} -\setcounter{tocdepth}{3} -\setcounter{secnumdepth}{5} -\makeindex - -% Hyperlinks (required, but should be loaded last) -\usepackage{ifpdf} -\ifpdf - \usepackage[pdftex,pagebackref=true]{hyperref} -\else - \usepackage[ps2pdf,pagebackref=true]{hyperref} -\fi -\hypersetup{% - colorlinks=true,% - linkcolor=blue,% - citecolor=blue,% - unicode% -} - -% Custom commands -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} - - -%===== C O N T E N T S ===== - -\begin{document} - -% Titlepage & ToC -\hypersetup{pageanchor=false, - bookmarks=true, - bookmarksnumbered=true, - pdfencoding=unicode - } -\pagenumbering{roman} -\begin{titlepage} -\vspace*{7cm} -\begin{center}% -{\Large gamedev }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.8.9.1}\\ -\vspace*{0.5cm} -{\small Mon Dec 7 2015 08:47:43}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true} - -%--- Begin generated contents --- -\chapter{gamedev} -\label{md_README} -\hypertarget{md_README}{} -\input{md_README} -\chapter{Hierarchical Index} -\input{hierarchy} -\chapter{Class Index} -\input{annotated} -\chapter{File Index} -\input{files} -\chapter{Class Documentation} -\input{classArena} -\input{classEntity} -\input{classIndoorWorld} -\input{classInventory} -\input{classItem} -\input{structitem__t} -\input{structline__t} -\input{classMob} -\input{classNPC} -\input{classObject} -\input{classPlayer} -\input{classQuest} -\input{classQuestHandler} -\input{structRay} -\input{classStructures} -\input{structtexture__t} -\input{classTexturec} -\input{structvec2} -\input{classWorld} -\chapter{File Documentation} -\input{world_8h} -\input{main_8cpp} -%--- End generated contents --- - -% Index -\backmatter -\newpage -\phantomsection -\clearemptydoublepage -\addcontentsline{toc}{chapter}{Index} -\printindex - -\end{document} diff --git a/doc/latex/structRay.tex b/doc/latex/structRay.tex deleted file mode 100644 index f60f22a..0000000 --- a/doc/latex/structRay.tex +++ /dev/null @@ -1,16 +0,0 @@ -\hypertarget{structRay}{}\section{Ray Struct Reference} -\label{structRay}\index{Ray@{Ray}} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structRay_a37cfe593762533d7fb094842172ce3eb}{}\hyperlink{structvec2}{vec2} {\bfseries start}\label{structRay_a37cfe593762533d7fb094842172ce3eb} - -\item -\hypertarget{structRay_a05ef34dc0c2a42ccfa6d54c8c00d00a7}{}\hyperlink{structvec2}{vec2} {\bfseries end}\label{structRay_a05ef34dc0c2a42ccfa6d54c8c00d00a7} - -\end{DoxyCompactItemize} - - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -include/common.\+h\end{DoxyCompactItemize} diff --git a/doc/latex/structitem__t.tex b/doc/latex/structitem__t.tex deleted file mode 100644 index 8599550..0000000 --- a/doc/latex/structitem__t.tex +++ /dev/null @@ -1,16 +0,0 @@ -\hypertarget{structitem__t}{}\section{item\+\_\+t Struct Reference} -\label{structitem__t}\index{item\+\_\+t@{item\+\_\+t}} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structitem__t_a027684448f5b2ab6e00f267e6f9f5fb6}{}int {\bfseries count}\label{structitem__t_a027684448f5b2ab6e00f267e6f9f5fb6} - -\item -\hypertarget{structitem__t_aaa76ee85cd612b5df5f015c3488e99da}{}I\+T\+E\+M\+\_\+\+I\+D {\bfseries id}\label{structitem__t_aaa76ee85cd612b5df5f015c3488e99da} - -\end{DoxyCompactItemize} - - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -include/inventory.\+h\end{DoxyCompactItemize} diff --git a/doc/latex/structline__t.tex b/doc/latex/structline__t.tex deleted file mode 100644 index 458c4d0..0000000 --- a/doc/latex/structline__t.tex +++ /dev/null @@ -1,40 +0,0 @@ -\hypertarget{structline__t}{}\section{line\+\_\+t Struct Reference} -\label{structline__t}\index{line\+\_\+t@{line\+\_\+t}} - - -{\ttfamily \#include $<$world.\+h$>$} - -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -float \hyperlink{structline__t_a77fb44a40c2154411e5af6cf39194b30}{y} -\item -bool \hyperlink{structline__t_a06568d82429331a242b9e6f45a36ae6d}{gs} -\item -float \hyperlink{structline__t_a43341c3344f32533472fdd85c7e9e430}{gh} \mbox{[}2\mbox{]} -\item -unsigned char \hyperlink{structline__t_a90c59d30a06d5c4bd7ee6c73c66fc414}{color} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The line structure. This structure is used to store the world\textquotesingle{}s ground, stored in vertical lines. Dirt color and grass properties are also kept track of here. - -\subsection{Member Data Documentation} -\hypertarget{structline__t_a90c59d30a06d5c4bd7ee6c73c66fc414}{}\index{line\+\_\+t@{line\+\_\+t}!color@{color}} -\index{color@{color}!line\+\_\+t@{line\+\_\+t}} -\subsubsection[{color}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char line\+\_\+t\+::color}\label{structline__t_a90c59d30a06d5c4bd7ee6c73c66fc414} -Lightness of dirt (brown) \hypertarget{structline__t_a43341c3344f32533472fdd85c7e9e430}{}\index{line\+\_\+t@{line\+\_\+t}!gh@{gh}} -\index{gh@{gh}!line\+\_\+t@{line\+\_\+t}} -\subsubsection[{gh}]{\setlength{\rightskip}{0pt plus 5cm}float line\+\_\+t\+::gh\mbox{[}2\mbox{]}}\label{structline__t_a43341c3344f32533472fdd85c7e9e430} -Height of glass (2 blades per line) \hypertarget{structline__t_a06568d82429331a242b9e6f45a36ae6d}{}\index{line\+\_\+t@{line\+\_\+t}!gs@{gs}} -\index{gs@{gs}!line\+\_\+t@{line\+\_\+t}} -\subsubsection[{gs}]{\setlength{\rightskip}{0pt plus 5cm}bool line\+\_\+t\+::gs}\label{structline__t_a06568d82429331a242b9e6f45a36ae6d} -Show grass \hypertarget{structline__t_a77fb44a40c2154411e5af6cf39194b30}{}\index{line\+\_\+t@{line\+\_\+t}!y@{y}} -\index{y@{y}!line\+\_\+t@{line\+\_\+t}} -\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}float line\+\_\+t\+::y}\label{structline__t_a77fb44a40c2154411e5af6cf39194b30} -Height of this vertical line - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -include/\hyperlink{world_8h}{world.\+h}\end{DoxyCompactItemize} diff --git a/doc/latex/structtexture__t.tex b/doc/latex/structtexture__t.tex deleted file mode 100644 index bb5a9cf..0000000 --- a/doc/latex/structtexture__t.tex +++ /dev/null @@ -1,16 +0,0 @@ -\hypertarget{structtexture__t}{}\section{texture\+\_\+t Struct Reference} -\label{structtexture__t}\index{texture\+\_\+t@{texture\+\_\+t}} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structtexture__t_a0a44d52225ea8f0a485404ec6350c21e}{}char $\ast$ {\bfseries name}\label{structtexture__t_a0a44d52225ea8f0a485404ec6350c21e} - -\item -\hypertarget{structtexture__t_afeecfe451c6753eb370af68a54ba4370}{}G\+Luint {\bfseries tex}\label{structtexture__t_afeecfe451c6753eb370af68a54ba4370} - -\end{DoxyCompactItemize} - - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/Texture.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/structvec2.tex b/doc/latex/structvec2.tex deleted file mode 100644 index 7e93833..0000000 --- a/doc/latex/structvec2.tex +++ /dev/null @@ -1,16 +0,0 @@ -\hypertarget{structvec2}{}\section{vec2 Struct Reference} -\label{structvec2}\index{vec2@{vec2}} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structvec2_a002d3519d48fe3cd79729b5b0ded74bf}{}float {\bfseries x}\label{structvec2_a002d3519d48fe3cd79729b5b0ded74bf} - -\item -\hypertarget{structvec2_a6d28b12b511da692550fc9d37b4e9b1d}{}float {\bfseries y}\label{structvec2_a6d28b12b511da692550fc9d37b4e9b1d} - -\end{DoxyCompactItemize} - - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -include/common.\+h\end{DoxyCompactItemize} diff --git a/doc/latex/structwSavePack.tex b/doc/latex/structwSavePack.tex deleted file mode 100644 index 44cd470..0000000 --- a/doc/latex/structwSavePack.tex +++ /dev/null @@ -1,16 +0,0 @@ -\hypertarget{structwSavePack}{}\section{w\+Save\+Pack Struct Reference} -\label{structwSavePack}\index{w\+Save\+Pack@{w\+Save\+Pack}} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -\hypertarget{structwSavePack_ac8c1acad9ad6d6937e7bf7e04a395c47}{}int {\bfseries x\+\_\+start}\label{structwSavePack_ac8c1acad9ad6d6937e7bf7e04a395c47} - -\item -\hypertarget{structwSavePack_ac7f749ffe058ac5419f312f06bc23e67}{}unsigned int {\bfseries line\+Count}\label{structwSavePack_ac7f749ffe058ac5419f312f06bc23e67} - -\end{DoxyCompactItemize} - - -The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/world.\+cpp\end{DoxyCompactItemize} diff --git a/doc/latex/world_8h.tex b/doc/latex/world_8h.tex deleted file mode 100644 index acda8bb..0000000 --- a/doc/latex/world_8h.tex +++ /dev/null @@ -1,117 +0,0 @@ -\hypertarget{world_8h}{}\section{include/world.h File Reference} -\label{world_8h}\index{include/world.\+h@{include/world.\+h}} - - -The world system. - - -{\ttfamily \#include $<$common.\+h$>$}\\* -{\ttfamily \#include $<$entities.\+h$>$}\\* -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \hyperlink{structline__t}{line\+\_\+t} -\item -class \hyperlink{classWorld}{World} -\item -class \hyperlink{classIndoorWorld}{Indoor\+World} -\item -class \hyperlink{classArena}{Arena} -\end{DoxyCompactItemize} -\subsection*{Macros} -\begin{DoxyCompactItemize} -\item -\hypertarget{world_8h_abe6612844622bc702d7bf4d4a02772d1}{}\#define {\bfseries G\+E\+N\+\_\+\+I\+N\+C}~10\label{world_8h_abe6612844622bc702d7bf4d4a02772d1} - -\item -\hypertarget{world_8h_afe31ec7e8b74045491fa2488e73bc13e}{}\#define {\bfseries D\+A\+Y\+\_\+\+C\+Y\+C\+L\+E}~3000\label{world_8h_afe31ec7e8b74045491fa2488e73bc13e} - -\end{DoxyCompactItemize} -\subsection*{Enumerations} -\begin{DoxyCompactItemize} -\item -enum \hyperlink{world_8h_a0678a0e576121a23798fdbd5964143c5}{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E} \{ \hyperlink{world_8h_a0678a0e576121a23798fdbd5964143c5a53c9e606f96cd2e762bac6c048d2dddb}{B\+G\+\_\+\+F\+O\+R\+E\+S\+T}, -\hyperlink{world_8h_a0678a0e576121a23798fdbd5964143c5ae678da5bb217c4bb81b5ac0de53ad9cb}{B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E} - \} -\item -enum \hyperlink{world_8h_a7e5783b78992864281462a5380a28924}{W\+E\+A\+T\+H\+E\+R} \{ \hyperlink{world_8h_a7e5783b78992864281462a5380a28924a970420c889e8f3dfb76298adc94c98f0}{S\+U\+N\+N\+Y} = 0, -\hyperlink{world_8h_a7e5783b78992864281462a5380a28924a5564de0baf1f25257db17367eba68edd}{D\+A\+R\+K}, -\hyperlink{world_8h_a7e5783b78992864281462a5380a28924a5b1b71f2b77a08a17c728a6f854a7bfe}{R\+A\+I\+N} - \} -\end{DoxyCompactItemize} -\subsection*{Functions} -\begin{DoxyCompactItemize} -\item -\hypertarget{world_8h_a990bc0622ea3942233d5274c40fb475d}{}struct \hyperlink{structline__t}{line\+\_\+t} {\bfseries \+\_\+\+\_\+attribute\+\_\+\+\_\+} ((packed))\label{world_8h_a990bc0622ea3942233d5274c40fb475d} - -\item -\hypertarget{world_8h_ab59186fdb5f2b79a00393a6acd285411}{}float {\bfseries world\+Get\+Y\+Base} (\hyperlink{classWorld}{World} $\ast$w)\label{world_8h_ab59186fdb5f2b79a00393a6acd285411} - -\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -float \hyperlink{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{y} -\item -bool \hyperlink{world_8h_aabefe07939b18f14fedbb9c9a14d02d5}{gs} -\item -float \hyperlink{world_8h_aa523d841be6ccb88f26cd56294adcd01}{gh} \mbox{[}2\mbox{]} -\item -unsigned char \hyperlink{world_8h_af61b66b2d9004f4975ae5f51c2177f3d}{color} -\item -\hypertarget{world_8h_a786ac58c78359cc826132c8a25d120fd}{}class \hyperlink{classWorld}{World} {\bfseries \+\_\+\+\_\+attribute\+\_\+\+\_\+}\label{world_8h_a786ac58c78359cc826132c8a25d120fd} - -\item -\hypertarget{world_8h_ac88924e2aeaca61e7a5caa46a9cd0982}{}int {\bfseries world\+Shade}\label{world_8h_ac88924e2aeaca61e7a5caa46a9cd0982} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The world system. - -This file contains the classes and variables necessary to create an in-\/game world. - -\subsection{Enumeration Type Documentation} -\hypertarget{world_8h_a7e5783b78992864281462a5380a28924}{}\index{world.\+h@{world.\+h}!W\+E\+A\+T\+H\+E\+R@{W\+E\+A\+T\+H\+E\+R}} -\index{W\+E\+A\+T\+H\+E\+R@{W\+E\+A\+T\+H\+E\+R}!world.\+h@{world.\+h}} -\subsubsection[{W\+E\+A\+T\+H\+E\+R}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf W\+E\+A\+T\+H\+E\+R}}\label{world_8h_a7e5783b78992864281462a5380a28924} -The weather type enum. This enum contains every type of weather currently implemented in the game. Weather is set by the world somewhere. \begin{Desc} -\item[Enumerator]\par -\begin{description} -\index{S\+U\+N\+N\+Y@{S\+U\+N\+N\+Y}!world.\+h@{world.\+h}}\index{world.\+h@{world.\+h}!S\+U\+N\+N\+Y@{S\+U\+N\+N\+Y}}\item[{\em -\hypertarget{world_8h_a7e5783b78992864281462a5380a28924a970420c889e8f3dfb76298adc94c98f0}{}S\+U\+N\+N\+Y\label{world_8h_a7e5783b78992864281462a5380a28924a970420c889e8f3dfb76298adc94c98f0} -}]Sunny/daytime \index{D\+A\+R\+K@{D\+A\+R\+K}!world.\+h@{world.\+h}}\index{world.\+h@{world.\+h}!D\+A\+R\+K@{D\+A\+R\+K}}\item[{\em -\hypertarget{world_8h_a7e5783b78992864281462a5380a28924a5564de0baf1f25257db17367eba68edd}{}D\+A\+R\+K\label{world_8h_a7e5783b78992864281462a5380a28924a5564de0baf1f25257db17367eba68edd} -}]Nighttime \index{R\+A\+I\+N@{R\+A\+I\+N}!world.\+h@{world.\+h}}\index{world.\+h@{world.\+h}!R\+A\+I\+N@{R\+A\+I\+N}}\item[{\em -\hypertarget{world_8h_a7e5783b78992864281462a5380a28924a5b1b71f2b77a08a17c728a6f854a7bfe}{}R\+A\+I\+N\label{world_8h_a7e5783b78992864281462a5380a28924a5b1b71f2b77a08a17c728a6f854a7bfe} -}]Rain (not implemented \+:) ) \end{description} -\end{Desc} -\hypertarget{world_8h_a0678a0e576121a23798fdbd5964143c5}{}\index{world.\+h@{world.\+h}!W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E@{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E}} -\index{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E@{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E}!world.\+h@{world.\+h}} -\subsubsection[{W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf W\+O\+R\+L\+D\+\_\+\+B\+G\+\_\+\+T\+Y\+P\+E}}\label{world_8h_a0678a0e576121a23798fdbd5964143c5} -The background type enum. This enum contains all different possibilities for world backgrounds; used in World\+::set\+Background() to select the appropriate images. \begin{Desc} -\item[Enumerator]\par -\begin{description} -\index{B\+G\+\_\+\+F\+O\+R\+E\+S\+T@{B\+G\+\_\+\+F\+O\+R\+E\+S\+T}!world.\+h@{world.\+h}}\index{world.\+h@{world.\+h}!B\+G\+\_\+\+F\+O\+R\+E\+S\+T@{B\+G\+\_\+\+F\+O\+R\+E\+S\+T}}\item[{\em -\hypertarget{world_8h_a0678a0e576121a23798fdbd5964143c5a53c9e606f96cd2e762bac6c048d2dddb}{}B\+G\+\_\+\+F\+O\+R\+E\+S\+T\label{world_8h_a0678a0e576121a23798fdbd5964143c5a53c9e606f96cd2e762bac6c048d2dddb} -}]A forest theme. \index{B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E@{B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E}!world.\+h@{world.\+h}}\index{world.\+h@{world.\+h}!B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E@{B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E}}\item[{\em -\hypertarget{world_8h_a0678a0e576121a23798fdbd5964143c5ae678da5bb217c4bb81b5ac0de53ad9cb}{}B\+G\+\_\+\+W\+O\+O\+D\+H\+O\+U\+S\+E\label{world_8h_a0678a0e576121a23798fdbd5964143c5ae678da5bb217c4bb81b5ac0de53ad9cb} -}]An indoor wooden house theme. \end{description} -\end{Desc} - - -\subsection{Variable Documentation} -\hypertarget{world_8h_af61b66b2d9004f4975ae5f51c2177f3d}{}\index{world.\+h@{world.\+h}!color@{color}} -\index{color@{color}!world.\+h@{world.\+h}} -\subsubsection[{color}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char color}\label{world_8h_af61b66b2d9004f4975ae5f51c2177f3d} -Lightness of dirt (brown) \hypertarget{world_8h_aa523d841be6ccb88f26cd56294adcd01}{}\index{world.\+h@{world.\+h}!gh@{gh}} -\index{gh@{gh}!world.\+h@{world.\+h}} -\subsubsection[{gh}]{\setlength{\rightskip}{0pt plus 5cm}float gh\mbox{[}2\mbox{]}}\label{world_8h_aa523d841be6ccb88f26cd56294adcd01} -Height of glass (2 blades per line) \hypertarget{world_8h_aabefe07939b18f14fedbb9c9a14d02d5}{}\index{world.\+h@{world.\+h}!gs@{gs}} -\index{gs@{gs}!world.\+h@{world.\+h}} -\subsubsection[{gs}]{\setlength{\rightskip}{0pt plus 5cm}bool gs}\label{world_8h_aabefe07939b18f14fedbb9c9a14d02d5} -Show grass \hypertarget{world_8h_aa4f0d3eebc3c443f9be81bf48561a217}{}\index{world.\+h@{world.\+h}!y@{y}} -\index{y@{y}!world.\+h@{world.\+h}} -\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}float y}\label{world_8h_aa4f0d3eebc3c443f9be81bf48561a217} -Height of this vertical line \ No newline at end of file diff --git a/include/Quest.h b/include/Quest.h index 75de64c..8f5446c 100644 --- a/include/Quest.h +++ b/include/Quest.h @@ -1,3 +1,10 @@ +/** @file Quest.h + * @brief The quest handling system. + * + * This file contains Quest and QuestHandler, used to manage quests inside the + * game. + */ + #ifndef QUEST_H #define QUEST_H @@ -6,24 +13,100 @@ #include #include +/** + * When defined, DEBUG allows extra messages to be printed to the terminal for + * debugging purposes. + */ + #define DEBUG +/** + * Contains the total number of quests in the game at compile time, see Quest.cpp + * for the actual definition of these quests. + */ + #define TOTAL_QUESTS 1 +/** + * The Quest class. + * + * This contains information for a single quest, and should only really be interacted + * with through QuestHandler. + */ + class Quest { public: - char *title,*desc; + + /** + * Contains the title of the quest. + */ + + char *title; + + /** + * Contains the description of the quest. + */ + + char *desc; + + /** + * Contains the single item that's given as a reward upon quest completion. + */ + struct item_t reward; + + /** + * Populates the values contained in this class. + */ + Quest(const char *t,const char *d,struct item_t r); + + /** + * Frees memory allocated for the title and description text. + */ + ~Quest(); }; +/** + * The Quest Handler class. + * + * This class handles quests, including the assigning, dropping, and completing + * of the quests. + */ + class QuestHandler { public: + + /** + * A vector containing all quests currently being taken by the handler. + */ + std::vectorcurrent; + + /** + * Adds a quest to the current quest vector by its title. + */ + int assign(const char *t); + + /** + * Drops a quest through its title. + */ + int drop(const char *t); + + /** + * Finishes a quest through it's title, also giving a pointer to the Entity + * that gave the quest originally. + */ + int finish(const char *t,void *completer); + + /** + * Returns true if this handler is currently taking the quest. + */ + bool hasQuest(const char *t); }; diff --git a/include/Texture.h b/include/Texture.h index 5f5758b..bcd95af 100644 --- a/include/Texture.h +++ b/include/Texture.h @@ -1,28 +1,95 @@ +/** @file Texture.h + * @brief Defines a method for loading textures. + * + * This file gives facilities for easily loading and binding textures. + */ + #ifndef TEXTURE_H #define TEXTURE_H #include +/** + * When defined, DEBUG allows extra messages to be printed to the terminal for + * debugging purposes. + */ + #define DEBUG +/** + * Texture functions are given a namespace for better organization. + */ + namespace Texture{ + + /** + * Loads a texture from the given file name, returning the GLuint used for + * later referencing of the texture. + */ + GLuint loadTexture(const char *fileName); } +/** + * The Texturec class. + * + * This class can handle an array of textures and allows easy binding of those + * textures. + */ + class Texturec{ private: + + /** + * Contains the index in the image array of the currently loaded texture. + */ + unsigned int texState; + public: + + /** + * Contains an array of the GLuints returned from Texture::loadTexture(). + */ + GLuint *image; + /** + * Populates the image array from a list of strings, with each string as a + * separate argument. + */ + Texturec(uint amt, ...); + + /** + * Populates the image array from an array of strings. + */ + Texturec(uint amt,const char **paths); + + /** + * Frees memory taken by the image array. + */ + ~Texturec(); + /** + * Binds the next texture in the array, incrementing texState. + */ + void bindNext(); + + /** + * Binds the previous texture in the array, decrementing texState. + */ + void bindPrev(); + + /** + * Binds the texture with the provided index. + */ + void bind(unsigned int); - void walk(); }; #endif //TEXTURE_H diff --git a/include/common.h b/include/common.h index 52daf4b..f8bd935 100644 --- a/include/common.h +++ b/include/common.h @@ -1,19 +1,19 @@ +/** @file common.h + * @brief Common items needed by most other files. + * + * This file contains headers, variables and functions that are needed in + * most other files included in this project. + */ + #ifndef COMMON_H #define COMMON_H -/* - * Include basic C/C++ facilities -*/ - #include #include #include #include -#include - -/* - * Include GLEW and the SDL 2 headers -*/ +#include +#include #define GLEW_STATIC #include @@ -22,9 +22,6 @@ #include #include #include -#include -#include - #ifdef __WIN32__ typedef unsigned int uint; @@ -33,100 +30,128 @@ typedef unsigned int uint; #include -/* - * This flag lets the compiler know that we are using shaders -*/ +/** + * This flag lets the compiler know that we want to use shaders. + */ #define SHADERSs -/* - * Create a basic 2-point structure for coordinate saving -*/ +/** + * This structure contains a set of coordinates for ease of coding. + */ typedef struct { float x; float y; } vec2; +/** + * This structure contains two sets of coordinates for ray drawing. + */ + typedef struct { vec2 start; vec2 end; } Ray; -/* - * Define the game's name (displayed in the window title), - * the desired window dimensions, - * and whether or not we want the window to be fullscreen. -*/ +/** + * Define the game's name (displayed in the window title). + */ #define GAME_NAME "Independent Study v.0.4 alpha" +/** + * The desired width of the game window. + */ + #define SCREEN_WIDTH 1280 + +/** + * The desired height of the game window. + */ + #define SCREEN_HEIGHT 720 //#define FULLSCREEN -/* - * Define the length of a single HLINE. +/** + * Define the length of a single HLINE. + * The game has a great amount of elements that need to be drawn or detected, and having each + * of them use specific hard-coded numbers would be painful to debug. As a solution, this + * definition was made. Every item being drawn to the screen and most object detection/physic + * handling is done based off of this number. Increasing it will give the game a zoomed-in + * feel, while decreasing it will do the opposite. * - * The game has a great amount of elements that need to be drawn or detected, and having each - * of them use specific hard-coded numbers would be painful to debug. As a solution, this - * definition was made. Every item being drawn to the screen and most object detection/physic - * handling is done based off of this number. Increasing it will give the game a zoomed-in - * feel, while decreasing it will do the opposite. - * -*/ + */ -#define HLINE 3 // 3 as in 3 pixels +#define HLINE 3 -/* - * Define 'our' random number generation library. Eventually these macros will be replaced - * with actual functions. - * -*/ +/** + * A 'wrapper' for libc's srand(), as we hope to eventually have our own random number + * generator. + */ #define initRand(s) srand(s) -#define getRand() rand() -/* - * At the bottom of this header is the prototype for DEBUG_prints, which writes a formatted - * string to the console containing the callee's file and line number. This macro simplifies - * it to a simple printf call. - * - * DEBUG must be defined for this macro to function. +/** + * A 'wrapper' for libc's rand(), as we hope to eventually have our own random number + * generator. + */ + +#define getRand() rand() + +/** + * Included in common.h is a prototype for DEBUG_prints, which writes a formatted + * string to the console containing the callee's file and line number. This macro simplifies + * it to a simple printf call. * -*/ + * DEBUG must be defined for this macro to function. + */ #define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__ ) +/** + * Defines pi for calculations that need it. + */ #define PI 3.1415926535 -/* - * References the variable in main.cpp, used for smoother drawing. -*/ +/** + * References the variable in main.cpp, used for smoother drawing. + */ extern unsigned int deltaTime; -/* - * References the variable in main.cpp, used for drawing with the player -*/ +/** + * References the variable in main.cpp, used for drawing with the player. + */ + extern vec2 offset; -extern float handAngle; - +/** + * Counts the number of times logic() (see main.cpp) has been called, for animating + * sprites. + */ extern unsigned int loops; -/* +/** * Prints a formatted debug message to the console, along with the callee's file and line * number. - * -*/ + */ void DEBUG_prints(const char* file, int line, const char *s,...); +/** + * Sets color using glColor3ub(), but handles potential overflow. + */ + void safeSetColor(int r,int g,int b); + +/** + * Sets color using glColor4ub(), but handles potential overflow. + */ + void safeSetColorA(int r,int g,int b,int a); #endif // COMMON_H diff --git a/include/world.h b/include/world.h index 083474a..ccf93a8 100644 --- a/include/world.h +++ b/include/world.h @@ -8,13 +8,18 @@ #ifndef WORLD_H #define WORLD_H -#include // For HLINE, vec2, OpenGL utilities, etc. +#include #include -#define GEN_INC 10 // Defines at what interval y values should be calculated for the array 'line'. - // As explained in World(), the last few lines in the array 'line' are incorrectly calculated - // or not calculated at all, so GEN_INC is also used to decrease 'lineCount' in functions like draw() - // and detect(). +/** + * Defines at what interval y values should be calculated for the array 'line'. + */ + +#define GEN_INC 10 + +/** + * Defines how many game ticks it takes for a day to elapse. + */ #define DAY_CYCLE 3000 @@ -113,17 +118,30 @@ protected: vec2 *star; + /** + * The Texturec object that holds the background sprites for this world. + */ + Texturec *bgTex; + /** + * The Mix_Music object that holds the background soundtrack for the world. + */ + Mix_Music *bgmObj; + + /** + * The file path of the song wished to be loaded by bgmObj. + */ + char *bgm; public: - /* - * These pointers keep track of worlds that are adjacent to this one. Used in ui.cpp - * for world jumping. - */ + /** + * These pointers keep track of worlds that are adjacent to this one. Used in + * ui.cpp for world jumping. + */ World *toLeft, *toRight, @@ -131,8 +149,10 @@ public: *infront; /* - * Entity arrays. - */ + * These vectors contain the NPCs, Mobs, Structures and Objects that are + * loaded inside the world, with the Entity vector containing pointers to + * the contents of all the others. + */ std::vector npc; std::vector build; diff --git a/src/Texture.cpp b/src/Texture.cpp index 5e5651d..5e367a9 100644 --- a/src/Texture.cpp +++ b/src/Texture.cpp @@ -100,7 +100,3 @@ void Texturec::bindNext(){ void Texturec::bindPrev(){ bind(--texState); } - -void Texturec::walk(){ - // hey -} diff --git a/src/ui.cpp b/src/ui.cpp index e6dadc2..6fa2770 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -480,11 +480,20 @@ namespace ui { } }else{ - glColor3ub(0,0,0); - x=offset.x-SCREEN_WIDTH/2+HLINE*8; y=(offset.y+SCREEN_HEIGHT/2)-HLINE*8; + + glColor3ub(255,255,255); + glBegin(GL_LINE_STRIP); + glVertex2f(x-1 ,y+1); + glVertex2f(x+1+SCREEN_WIDTH-HLINE*16,y+1); + glVertex2f(x+1+SCREEN_WIDTH-HLINE*16,y-1-SCREEN_HEIGHT/4); + glVertex2f(x-1 ,y-1-SCREEN_HEIGHT/4); + glVertex2f(x-1 ,y+2); + glEnd(); + + glColor3ub(0,0,0); glRectf(x,y,x+SCREEN_WIDTH-HLINE*16,y-SCREEN_HEIGHT/4); rtext=typeOut(dialogBoxText); @@ -543,6 +552,7 @@ namespace ui { } } void handleEvents(void){ + static bool left=true,right=false; static vec2 premouse={0,0}; static int heyOhLetsGo = 0; unsigned char i; @@ -603,12 +613,16 @@ DONE: player->vel.x=-.15; player->left = true; player->right = false; + left = true; + right = false; currentWorld=currentWorld->goWorldLeft(player); break; case SDLK_d: player->vel.x=.15; player->right = true; player->left = false; + left = false; + right = true; currentWorld=currentWorld->goWorldRight(player); break; case SDLK_s: @@ -682,10 +696,10 @@ DONE: case SDL_KEYUP: switch(SDL_KEY){ case SDLK_a: - player->left = false; + left = false; break; case SDLK_d: - player->right = false; + right = false; break; case SDLK_LSHIFT: player->speed = 1; @@ -714,7 +728,7 @@ DONE: break; } - if(!player->left&&!player->right) + if(!left&&!right) player->vel.x=0; break; diff --git a/src/world.cpp b/src/world.cpp index 1e37a78..13605da 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -277,11 +277,13 @@ void World::update(Player *p,unsigned int delta){ */ for(auto &e : entity){ - if(e->type != STRUCTURET) - e->loc.x += e->vel.x * delta; + if(e->type != STRUCTURET){ + if(e->canMove) + e->loc.x += e->vel.x * delta; e->loc.y += e->vel.y * delta; if(e->vel.x < 0)e->left = true; else if(e->vel.x > 0)e->left = false; + } } } -- cgit v1.2.3 From 887a2da911805fe93b2bd33b39226f433641dee7 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 8 Dec 2015 08:43:15 -0500 Subject: gravity fixes --- Changelog | 8 ++++++++ src/world.cpp | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 145d4ec..fbe14bc 100644 --- a/Changelog +++ b/Changelog @@ -380,3 +380,11 @@ - began doxygening headers - fixed entity name reading - fixed entity sprites + +12/8/2015: +========== + + - continued to document header files through doxygen + - added border to dialogBox + - fix entity movement handling; npcs stop when you talk to them + - added sword animation? diff --git a/src/world.cpp b/src/world.cpp index 13605da..2bceba5 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -277,10 +277,9 @@ void World::update(Player *p,unsigned int delta){ */ for(auto &e : entity){ - if(e->type != STRUCTURET){ - if(e->canMove) - e->loc.x += e->vel.x * delta; - e->loc.y += e->vel.y * delta; + e->loc.y += e->vel.y * delta; + if(e->type != STRUCTURET && e->canMove){ + e->loc.x += e->vel.x * delta; if(e->vel.x < 0)e->left = true; else if(e->vel.x > 0)e->left = false; } -- cgit v1.2.3