1
0
Commit Graph

2924 Commits

Author SHA1 Message Date
Tiger Wang
83ce4d4792 Fixed spawn point being generally in an ocean 2013-11-26 21:54:40 +00:00
Tiger Wang
b628cfb734 Fixed repeaters not powering from wire
This should also fix comparators (in the future).
This also updates XML comments so that they are compatible with Doxygen.
2013-11-26 21:54:07 +00:00
Tiger Wang
56f13f83bb Merge remote-tracking branch 'origin/master' into redstonefixes 2013-11-25 21:45:22 +00:00
madmaxoft
0fef69e612 Fixed cFile compilation on Linux. 2013-11-25 21:24:41 +01:00
madmaxoft
2d68969a45 AnvilStats: Fixed compilation. 2013-11-24 22:10:27 +01:00
madmaxoft
274bdc40ff BiomeVisualiser: Added 1.7 biomes, recolored using AMIDST colors. 2013-11-24 17:49:04 +01:00
Tiger Wang
f95064a85c Merge remote-tracking branch 'origin/master' into redstonefixes 2013-11-24 14:55:08 +00:00
Tiger Wang
f570948d79 Fixed some comments and added debug logging 2013-11-24 14:52:28 +00:00
madmaxoft
319d32117d Removed a stale comment. 2013-11-24 14:43:06 +01:00
madmaxoft
dbb76ef9fe RCONClient: Initial implementation.
Fix #79.
2013-11-24 14:35:35 +01:00
madmaxoft
c10daa8530 RCON server: Login failure gets sent to the client. 2013-11-24 14:29:15 +01:00
madmaxoft
1f8399fae5 Fixed socket connection startup. 2013-11-24 14:28:51 +01:00
madmaxoft
e683c54b49 APIDump: Moved projectiles' documentation to a separate file. 2013-11-24 10:08:04 +01:00
madmaxoft
51b02854f9 APIDump: Removed needless whitespace output. 2013-11-24 10:03:02 +01:00
madmaxoft
38fe16d8b6 APIDump: Removed unwanted functions. 2013-11-23 21:43:38 +01:00
madmaxoft
3ef7f2008f APIDump: Reformatted the sqlite docs. 2013-11-23 21:32:18 +01:00
madmaxoft
d9dc241e6f APIDump: The descriptions are read from multiple files.
All the files in the Classes subfolder are read for class descriptions, and in the Hooks subfolder for the hook descriptions.
2013-11-23 21:27:02 +01:00
STRWarrior
cc77ffd069 Documented sqlite functions. Used: http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#sqlite3_functions 2013-11-23 21:13:55 +01:00
madmaxoft
e662a31094 Fixed Lua bindings for cFile:GetFolderContents(). 2013-11-23 20:26:23 +01:00
madmaxoft
94e14e1ace Added cFile:ReadWholeFile() to Lua API. 2013-11-23 20:26:00 +01:00
madmaxoft
520088fc7c APIDump: Added more constant groups.
Also fixed the parsing of the Include data in the constant groups, and added linkification to group texts.
2013-11-23 19:40:35 +01:00
Tiger Wang
a6695564f3 Expanded one-line if statement 2013-11-23 12:10:33 +00:00
Tiger Wang
6a051b7cd8 Properly fixed piston bugs 2013-11-22 23:15:59 +00:00
Tiger Wang
e40b384547 Fixed some piston bugs
Due to our QueueSetBlocks, a fast extension then retraction would lead
to invalid game states. This hopefully fixes it. Also reduced delay
speed.
2013-11-22 22:00:37 +00:00
Tiger Wang
c7d55d8bbd Fixed spawning pickups with piston arms 2013-11-22 21:57:06 +00:00
madmaxoft
b8aaf13a12 APIDump: Added a few constant groups to the descriptions. 2013-11-22 22:12:46 +01:00
madmaxoft
7a2170f6b3 APIDump: Implemented constant groups.
Fix #289.
2013-11-22 21:46:06 +01:00
madmaxoft
63753c5e84 Added cFile:GetFolderContents().
Fix 162.
2013-11-22 20:11:24 +01:00
madmaxoft
4fbfe59ea0 APIDump: Fixed cRoot's furnace query API. 2013-11-22 16:52:09 +01:00
madmaxoft
281bf8f90b Added cRoot:GetFurnaceFuelBurnTime() to Lua API. 2013-11-22 16:50:03 +01:00
madmaxoft
14569885e5 Fixed cRoot:GetFurnaceRecipe() Lua binding. 2013-11-22 16:49:38 +01:00
madmaxoft
7fd3fda5d3 APIDump: Documented new cRoot:GetFurnaceRecipe(). 2013-11-22 12:37:55 +01:00
madmaxoft
07a1de8ebb Debuggers: Added a test harness for cRoot:GetFurnaceRecipe().
The "/fr" command lists the furnace recipe for the currently held item.
2013-11-22 12:26:39 +01:00
madmaxoft
3de6f6357f Changed cRoot:GetFurnaceRecipe() Lua binding signature.
Fix #364.
2013-11-22 12:26:06 +01:00
Tiger Wang
314884d9bb Multiple enhancements [SEE DESC]
+ Added lever location checking
* Fixed button location checking
* Fixed button pressing/unpressing
* Fixed repeaters updating
* Minor enhancements
2013-11-21 22:44:18 +00:00
madmaxoft
98be3ca0e4 APIDump: Documented cPlayer XP-related functions. 2013-11-21 22:12:52 +01:00
madmaxoft
f92512ebdf Exported static XP calculation to Lua API. 2013-11-21 22:09:11 +01:00
Tiger Wang
d48ce1d10f Multiple bugfixes [SEE DESC]
* Fixed compilation on VC2013
* Fixed redstone self powering - still one more scenario to go
+ Redstone now powers block beneath
* Improved code: functionized stuff, and reduced unneeded GetBlockMetas;
also utilised direct chunk access, as recommended by xoft
+ Added torches powering blocks above it
* Fixed repeaters getting power when they shouldn't
- Stopped wires getting power from another wire through a block, which
could lead to wire-powering loops (vanilla behaviour)
2013-11-20 22:54:28 +00:00
madmaxoft
e9a8b96479 APIDump: Documented cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt(). 2013-11-20 22:04:16 +01:00
madmaxoft
fed37bca4d Debuggers: Test harness for cWorld:ForEachBlockEntityInChunk().
The fill command will fill all empty slots in block entities with containment with gold nuggets, one per slot.
2013-11-20 21:54:37 +01:00
madmaxoft
a5c2d639c6 Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions.
Also exported them to the Lua API.
2013-11-20 21:53:29 +01:00
madmaxoft
1797b5b8fe Ignoring SDF files. 2013-11-20 21:11:07 +01:00
madmaxoft
ba438ccd8a Removed the bloody sdf file. 2013-11-20 21:09:41 +01:00
Mattes D
0bad762352 Merge pull request #360 from mc-server/redstonefixes
Fixed piston sound effect (when unable to extend)
2013-11-20 11:55:03 -08:00
Tiger Wang
78f45e0bd1 Fixed piston sound effect (when unable to extend) 2013-11-19 20:40:07 +00:00
Mattes D
ced076c561 Merge pull request #350 from mc-server/arrows
Fixed arrow bugs
2013-11-19 01:13:49 -08:00
Mattes D
208f2397f4 Merge pull request #359 from mc-server/redstone
Redstone Megacommit
2013-11-19 01:12:23 -08:00
madmaxoft
7567f19052 Merge branch 'master' of git://github.com/nesco/MCServer. 2013-11-19 10:01:25 +01:00
madmaxoft
e2ea6b59f5 APIDump: Slight performance improvement.
Strings don't need concatenation when using write().
2013-11-19 09:56:36 +01:00
Tiger Wang
f06d686f63 Possible compile fix
Also removed unneeded variables.
2013-11-19 07:49:02 +00:00