1
0
Commit Graph

2688 Commits

Author SHA1 Message Date
Samuel Barney
d6d73a1754 Invalid light value is now 127 2013-10-22 17:10:32 -06:00
madmaxoft
34de5210d6 APIDump: member variables without a setter are considered constants.
This fixes cChatColor constants being reported erroneously as member variables.
2013-10-22 22:07:39 +02:00
madmaxoft
ec94104a3c APIDump: Inheritance is tested properly.
This fixes #195 's second iteration.
2013-10-22 21:53:35 +02:00
madmaxoft
0152a6ffb4 Temporary fix for world not locking chunkmap in TickMobs.
Reported as #283; this is a hotfix only.
2013-10-22 18:30:26 +02:00
madmaxoft
4cf0862c12 Fixed an assert in cMonster 2013-10-22 17:54:23 +02:00
madmaxoft
76ed2f441a Implemented UnboundedRel BlockLight and SkyLight.
Also unified the various UnboundedRel operations to use the same underlying structure.
2013-10-22 17:54:09 +02:00
Samuel Barney
6e361f195f Added two new unbounded del functions to deal with looking up the lighting. 2013-10-21 14:38:38 -06:00
madmaxoft
628eebefd3 Ignoring a few generated files. 2013-10-21 21:40:14 +02:00
madmaxoft
3a95aad523 Added ASSERTs to all ChunkDef operations.
This should avoid errors such as #276.
2013-10-21 21:38:31 +02:00
Samuel Barney
56fa632d5e Swapped which block is checked for light first. 2013-10-21 10:03:05 -06:00
Samuel Barney
d73a0cd8b0 Current Mob Spawning code. 2013-10-21 09:41:48 -06:00
madmaxoft
5174d9cbd6 Fixed GetHTMLEscapedString() binding, removed obsolete memory function from API. 2013-10-21 13:22:47 +02:00
madmaxoft
b571294b6e APIDump: Added link from cItem to the global ItemToString() et al. 2013-10-20 23:43:09 +02:00
madmaxoft
83d2d375c9 APIDump: Fixed link in cPawn's desc. 2013-10-20 23:36:00 +02:00
madmaxoft
70a734d4f9 APIDump: Various small fixes and additions. 2013-10-20 15:32:33 +02:00
madmaxoft
16afec96de APIDump: Fixed a few broken links. 2013-10-20 15:08:30 +02:00
madmaxoft
0230936f61 APIDump: Statistics have a graphical meter; added hooks. 2013-10-20 14:56:09 +02:00
madmaxoft
b6741865f2 Fixed memory leak in cMobFamilyCollecter. 2013-10-20 14:16:21 +02:00
madmaxoft
d8576a7953 Reimplemented cMonster::FamilyFromType() as a simple switch (duh!) 2013-10-20 14:15:55 +02:00
madmaxoft
6075f7cecd Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. 2013-10-20 14:00:45 +02:00
madmaxoft
71d06e3015 Fixed binary search in StringToMobType(). 2013-10-20 13:42:59 +02:00
madmaxoft
d16d0a7ab7 Fixed memory leaks in cMobSpawner. 2013-10-20 13:33:23 +02:00
madmaxoft
848d061de1 Moved all MobTypesManager functions to cMonster.
This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua.
2013-10-20 13:25:56 +02:00
madmaxoft
359918127b Rewritten MobTypesManager not to leak memory. 2013-10-20 13:10:21 +02:00
madmaxoft
07a117b096 APIDump: Added basic statistics about the docs. 2013-10-20 11:12:33 +02:00
madmaxoft
4f40eb7f55 APIDump: Fixed listing undocumented objects.
Classes with undefined "Functions" section would not list their functions as undocumented; similar for "Constants" and "Variables".
2013-10-20 10:33:40 +02:00
madmaxoft
34928378b8 Fixed loading allowed mobs in world. 2013-10-20 10:23:30 +02:00
madmaxoft
0258213d24 Merge branch 'htmlescape'. 2013-10-20 09:14:30 +02:00
madmaxoft
769c98403b APIDump: Undocumented member variables are listed. 2013-10-19 22:44:28 +02:00
Alexander Harkness
3272b45bc5 Added a string reserve. 2013-10-19 21:30:54 +01:00
madmaxoft
bbcb0ead73 APIDump: Extra pages use the local prettify and CSS. 2013-10-19 22:28:58 +02:00
Alexander Harkness
5ba998174a Fixed compile error. silly parentheses creeping in. 2013-10-19 21:21:44 +01:00
madmaxoft
3f2813d6ff APIDump: Added member-variable filtering. 2013-10-19 22:21:38 +02:00
Alexander Harkness
d1ddd2492b Added a APIDump description for GetHTMLEscapedString. 2013-10-19 21:18:27 +01:00
Alexander Harkness
0677872d88 Changed the code according to xoft's suggestions. 2013-10-19 21:13:47 +01:00
madmaxoft
9f8df5f702 APIDump: Member variables are read from the API. 2013-10-19 22:07:06 +02:00
madmaxoft
b59329bf3a APIDump: Better header text for classes. 2013-10-19 21:47:59 +02:00
Alexander Harkness
f7c9230106 Fixed general failings with everything. Fixes #211.
My editor fixed some extra tabs in globals.
2013-10-19 17:37:47 +01:00
Alexander Harkness
9701a7fb84 Added a HTML escaping function to cWebAdmin.
Apparently my editor fixed some failed tabs too.
2013-10-19 17:17:33 +01:00
madmaxoft
be996c1662 APIDump: Added cIniFile additional info. 2013-10-18 23:22:26 +02:00
madmaxoft
1b7a84d494 APIDump: Offline prettify is working. 2013-10-18 22:02:06 +02:00
madmaxoft
1e67ff3499 APIDump: Added example code to cItem. 2013-10-18 21:49:07 +02:00
madmaxoft
373900964c APIDump: Documented cItem's variables. 2013-10-18 21:38:44 +02:00
madmaxoft
07ba48840d APIDump: Added support for member variables. 2013-10-18 21:29:38 +02:00
madmaxoft
314c7d98fb APIDump: Added prettify's license. 2013-10-18 21:27:35 +02:00
madmaxoft
db2d4aa4e3 APIDump: Fixed offline JS.
This time it's really offline :)
2013-10-18 21:02:43 +02:00
madmaxoft
77af5c6fe7 APIDump: Do not list empty Constants or Functions sections.
Also implemented writing inherited constants.
2013-10-18 20:49:30 +02:00
madmaxoft
778d786349 APIDump: Split long code into functions. 2013-10-18 20:32:36 +02:00
madmaxoft
41270dc02e APIDump: Ignore internal APIDump stuff. 2013-10-18 20:22:24 +02:00
madmaxoft
201c84afb3 APIDump: using local JS files instead of networked.
This allows offline API browsing.
2013-10-18 20:21:26 +02:00