Commit Graph
100 Commits
Author SHA1 Message Date
madmaxoft 111fb24d3a ProtoProxy: Updated the server-side packets to 1.7. 2013-10-29 19:05:51 +01:00
madmaxoft 21192e5ead ProtoProxy: The login part of the protocol is implemented. 2013-10-29 15:47:22 +01:00
madmaxoft fe82ada084 ProtoProxy: Implemented 1.7.2 status request / response / ping. 2013-10-28 23:05:53 +01:00
madmaxoft fd85ac23c1 ProtoProxy: Fixed compilation after the previous cByteBuffer changes. 2013-10-28 21:12:49 +01:00
madmaxoft dfefdcf7f1 MC uses VarInts only up to 32-bits. 2013-10-28 20:57:03 +01:00
madmaxoft c9b6c3bc2e cByteBuffer: Added the VarInt and VarUTF8String type reading and writing.
This implements #296.
2013-10-28 20:40:55 +01:00
madmaxoft 1eac38f3d7 Fixed indentation in tonibm19's code. 2013-10-28 19:54:03 +01:00
Mattes D 65b43604a5 Merge pull request #294 from tonibm19/patch-3
Correct wool drops when shearing a sheep.
2013-10-28 11:51:46 -07:00
madmaxoft d41d5c15b1 Debuggers: Fixed after the cWindow API change. 2013-10-28 13:44:57 +01:00
madmaxoft 2bb1dd5015 APIDump: Documented cWindow. 2013-10-28 13:32:10 +01:00
madmaxoft df20c19986 Renamed cWindow constants to include the "wt" prefix. 2013-10-28 13:30:24 +01:00
madmaxoft 1a29c19619 APIDump: Documented HTTPFormData and HTTPRequest. 2013-10-28 13:08:14 +01:00
madmaxoft aca526d158 APIDump: Fixed a failure in documented classes with no functions. 2013-10-28 13:07:30 +01:00
madmaxoft 4f32079692 APIDump: Documented cWorld. 2013-10-27 09:45:02 +01:00
madmaxoft 4871968bc9 APIDump: Documented cRoot. 2013-10-27 09:39:11 +01:00
madmaxoft 5d58457c9e APIDump: Documented cProjectileEntity. 2013-10-27 09:29:02 +01:00
madmaxoft 3fa03e854f Added cChunk::UnboundedRelGetBlockLights().
This queries both BlockLight and SkyLight for the specified block.
2013-10-27 09:19:13 +01:00
madmaxoft a7d44d69dd Authenticator doesn't save the ini file.
Didn't load it -> shouldn't save it.
2013-10-27 09:09:39 +01:00
madmaxoft f032a2ff74 Merge branch 'origin/LoadWorlds/cAuthenticatorINI' 2013-10-27 09:04:39 +01:00
madmaxoft 73e7d21387 APIDump: Documented cPickup. 2013-10-26 19:54:51 +02:00
madmaxoft 52f88b9595 Merge branch 'IniFileCleanup' 2013-10-26 19:43:34 +02:00
madmaxoft e7b3ced70b APIDump: Documented cIniFile. 2013-10-26 10:33:44 +02:00
madmaxoft c15bc15121 cIniFile: Improved doxy-comments. 2013-10-26 10:33:28 +02:00
madmaxoft de6f628d2e ChunkWorx: Updated for the cIniFile changes. 2013-10-25 12:36:39 +02:00
madmaxoft 323ebf119f cIniFile: Renamed functions to make meaning more explicit.
For example KeyComment() -> GetKeyComment() / AddKeyComment()
2013-10-25 11:38:14 +02:00
madmaxoft 9e9198e090 cIniFile doesn't store filename internally anymore. 2013-10-25 11:15:44 +02:00
madmaxoft 86bec4c57c cMonster: Improved doxycomments. 2013-10-25 10:41:19 +02:00
madmaxoft c875b88758 APIDump: Documented cMonster. 2013-10-24 17:20:52 +02:00
madmaxoft 5331555708 Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). 2013-10-24 16:45:13 +02:00
madmaxoft 99d369d837 cPickup cleanup. 2013-10-24 16:44:25 +02:00
madmaxoft 7c2ba55442 APIDump: Documented cEnchantments.
The constants are self-documenting, no need to describe them further.
2013-10-24 16:32:51 +02:00
madmaxoft 785301c9a0 APIDump: Documented cPickup. 2013-10-24 16:27:48 +02:00
madmaxoft 625c5f86de Fixed cPickup's constructor's parameter naming. 2013-10-24 15:05:23 +02:00
madmaxoft 6cad07c429 APIDump: Documented cItemGrid and cPlayer. 2013-10-24 12:24:40 +02:00
madmaxoft eca6955a2d Cleanup in cPlayer. 2013-10-24 12:24:40 +02:00
madmaxoft d359c5a2fe Unified cPlayer's Heal() function with cEntity's. 2013-10-24 12:24:39 +02:00
madmaxoft 2cf196a892 APIDump: Added cChatColor constants.
They don't really need much documentation, so just ignoring them in the Undocumented output.
2013-10-23 13:34:44 +02:00
madmaxoft 88db43e8d3 Fixed cLuaWindow's binding.
No longer exporting multiple inheritance.
2013-10-23 13:31:04 +02:00
madmaxoft 60abe99d5e APIDump: Documented the cHopperEntity class. 2013-10-23 12:19:43 +02:00
madmaxoft a91b422594 APIDump: Linkified cEntity returns. 2013-10-23 12:09:34 +02:00
madmaxoft b8a2793228 Fixed bindings for cHopperEntity:GetOutputBlockPos(). 2013-10-23 12:09:11 +02:00
madmaxoft 90bea6a914 Fixed cDropSpenserEntity bindings generating an extra var.
Caused by inadvertently exporting multiple-inheritance from a class that is not Lua-exported.
2013-10-23 11:17:16 +02:00
madmaxoft 730195c47e Exported cHopperEntity to API.
This allows hoppers to be created by plugins during chunk generation.
2013-10-23 11:12:04 +02:00
madmaxoft d3db97301b Removed cRoot:m_PrimaryServerVersion from Lua API.
We have the accessor methods for it.
2013-10-23 11:06:39 +02: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
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
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
madmaxoft bbcb0ead73 APIDump: Extra pages use the local prettify and CSS. 2013-10-19 22:28:58 +02:00
madmaxoft 3f2813d6ff APIDump: Added member-variable filtering. 2013-10-19 22:21:38 +02: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
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
madmaxoft e6bb025a9f Fixed webadmin logging.
This fixes #262.
2013-10-18 12:50:50 +02:00
Mattes D 8bba2b02a1 Merge pull request #253 from SamJBarney/master
Merge of Mob Spawning code by mgueydan
2013-10-18 03:41:43 -07:00
madmaxoft 1c0ab57d12 APIDump: Renamed output for helper stuff.
Undocumented objects are output to _undocumented.lua
Overdocumented objects are output to _unexported-documented.txt
Missing pages are output to _missingPages.txt
2013-10-18 12:33:46 +02:00
madmaxoft 22102b4a64 APIDump: Makes a list of bad links.
This fixes #219.
2013-10-18 12:30:06 +02:00
madmaxoft 5992c41501 APIDump: Improved page titles. 2013-10-18 11:56:58 +02:00
madmaxoft 9776b89fb7 APIDump: Documented HOOK_PLAYER_RIGHT_CLICKING_ENTITY. 2013-10-18 10:04:44 +02:00
madmaxoft 5a31d191eb APIDump: Documented HOOK_PLAYER_SHOOTING. 2013-10-18 09:57:35 +02:00
madmaxoft 8020cbd3d7 APIDump: Documented HOOK_PLAYER_SPAWNED. 2013-10-18 09:47:21 +02:00
madmaxoft 1f6498de22 APIDump: Documented HOOK_PLAYER_TOSSING_ITEM. 2013-10-18 09:40:18 +02:00
madmaxoft fd7c1754d0 APIDump: Documented HOOK_PLAYER_USED_BLOCK. 2013-10-17 17:14:57 +02:00