1
0
Commit Graph

2532 Commits

Author SHA1 Message Date
Samuel Barney
228ccc5c6a Bats only spawn where there is no sunlight, and the light level is below 5 2013-10-22 17:11:38 -06:00
Samuel Barney
d6d73a1754 Invalid light value is now 127 2013-10-22 17:10:32 -06: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
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
madmaxoft
ca538d5323 Adapted code style. 2013-10-18 20:02:53 +02:00
madmaxoft
24aad485b9 StringToItem() recognizes "ItemName:Dmg" strings.
This allows commands such as "/i woodenshovel:40"
2013-10-18 18:13:20 +02:00
madmaxoft
546dbf3c53 Fixed item-breaking.
This fixes #232.
2013-10-18 18:01:19 +02:00
madmaxoft
5d4fa298d3 Fixed indentation and re-styled conditions. 2013-10-18 16:34:01 +02:00
Mattes D
2a9997881c Merge pull request #259 from tonibm19/patch-2
Fixed horse saddle
2013-10-18 07:29:23 -07:00
madmaxoft
126ce169f2 Fixed project file after mob update. 2013-10-18 12:54:27 +02:00