Commit Graph

186 Commits (ac9224da919fb642aba8dde71d1c8deaf0cc8005)

Author SHA1 Message Date
madmaxoft c85acd4ece Renamed Plugin_NewLua to PluginLua. 2013-08-10 08:22:52 +02:00
madmaxoft eb323166d9 Removed LuaScript.
The WebAdmin now uses LuaState directly to call the one function it needs.
2013-08-08 16:30:02 +02:00
madmaxoft 03d0e2142e Removed squirrel from project includes 2013-08-08 08:16:05 +02:00
madmaxoft 09ebda4d10 Removed Squirrel.
This compiles under Windows, but is untested in Linux.
2013-08-07 22:39:40 +02:00
madmaxoft c0066e7260 Merge branch 'master' into BlockTracing 2013-08-05 16:02:41 +02:00
madmaxoft 073bcd0361 Added the Carpet block. 2013-08-05 10:43:43 +02:00
madmaxoft 71bb41ee86 LuaState refactoring: initial part.
The cLuaState class is a wrapper for the lua_State * and for the common functions on it. The cPlugin_NewLua has been rewritten to use it instead of the raw pointer. Part of #33
2013-08-04 23:11:25 +02:00
madmaxoft 5fe7008966 First attempt at implementing a cLineBlockTracer class
Not yet tested, will probably have lots of bugs, if it is at all usable.
2013-08-04 13:25:48 +02:00
madmaxoft f660475905 Added a global .user file to initialize debugging options.
This helps newly checked-out repositories get the proper debugging settings under MSVC.
2013-08-04 09:03:10 +02:00
Alexander Harkness 53e22b1185 Changed everyting to Unix line endings. 2013-07-29 12:13:03 +01:00
madmaxoft 752e57108d Merge remote-tracking branch 'origin/master' into hunger 2013-07-29 09:53:47 +02:00
FakeTruth 5a9d4f89c2 WebAdmin templates can use Lua
New WebAdmin templates can use Lua to completely compose the pages
themselves. This should allow infinite WebAdmin design possibilities.
2013-07-29 02:37:59 +02:00
madmaxoft f4ffd35ddc Added PNG versions of the MCServer icon.
Extracted from the icon.ico, these are to be used for logos, avatars etc.
2013-07-28 19:16:49 +02:00
Alexander Harkness 74a3de203b Added a .gitignore for the VC2008 folder. 2013-07-28 10:31:10 +01:00
madmaxoft@gmail.com f5e475d44f Added the cFastRandom class
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1672 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-11 08:34:41 +00:00
madmaxoft@gmail.com de5cec7419 Initial 1.6.1 protocol support.
The client connects and is capable of basic gameplay, but the player moves at an incredible speed (50 blocks / sec).

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1646 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-05 19:40:19 +00:00
madmaxoft@gmail.com 7b75aaea7c Advanced RCON: Command output is sent to the RCON client.
RCON authentication is now required before executing commands.
Console command handlers now return two values, bool (IsHandled) and string (CommandOutput).
API change: removed cRoot:ExecuteConsoleCommand(), added cRoot:QueueExecuteConsoleCommand().
API change: removed cPluginManager:ExecuteConsoleCommand(), use cRoot:QueueExecuteConsoleCommand() instead

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1631 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-29 15:30:05 +00:00
madmaxoft@gmail.com bc421842c6 Added a basic RCON protocol
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-27 15:14:20 +00:00
madmaxoft@gmail.com 9dd0486faf Added the End height and composition generators.
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 18:41:08 +00:00
madmaxoft@gmail.com 547c341325 TNT fixes.
Other blocks can be placed next to TNT.
Explosions activate nearby TNT blocks.
TNT doesn't destroy bedrock, obsidian and liquid blocks.
Server doesn't crash when a TNT (or other entity) leaves the valid Y range.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-18 08:24:34 +00:00
madmaxoft@gmail.com 03c6bb9f85 Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13 07:36:43 +00:00
madmaxoft@gmail.com 007e75de9d Implemented the Hopper block handler
Hoppers can be placed properly, but won't work yet.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1583 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12 08:22:34 +00:00
faketruth 3ccba12e39 Added dead bush block handler so a dead bush pickup is dropped when the sand underneath it is removed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1569 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-09 15:16:07 +00:00
madmaxoft@gmail.com 3ee5236284 Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 19:22:14 +00:00
madmaxoft@gmail.com 1161c4982c Expat project: fixed intermediate files output folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1554 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 14:25:24 +00:00
madmaxoft@gmail.com a19a070121 Enchantments: API and sending to client
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02 10:40:20 +00:00
madmaxoft@gmail.com 9684f90f83 LuaWindow: Initial code, the window can be opened, but not much manipulated
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1532 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-30 19:34:09 +00:00
madmaxoft@gmail.com 9be27992e2 Moved BlockEntities to a separate folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28 19:12:47 +00:00
madmaxoft@gmail.com 5c3235ecdc Implemented droppers
Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26 14:39:04 +00:00
madmaxoft@gmail.com 40d049e9c6 More CodeBlocks project tweaks
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1511 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25 15:02:46 +00:00
madmaxoft@gmail.com 67154217a2 Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25 14:59:41 +00:00
madmaxoft@gmail.com c640e9346c cChestEntity and cDispenserEntity now inherit from a common ancestor, cBlockEntityWithItems
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1507 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25 11:59:13 +00:00
madmaxoft@gmail.com 1927095d25 Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 17:55:49 +00:00
madmaxoft@gmail.com 2bd03871c7 Added generic LinearInterpolation in 1D, 2D and 3D.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1470 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-11 21:08:20 +00:00
madmaxoft@gmail.com 270560a198 Added the DistortedHeightmap height and composition generator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 16:27:08 +00:00
madmaxoft@gmail.com 8aa6f08959 BlockZapper: Initial import, can zap blocks but not entities
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1439 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01 17:27:17 +00:00
madmaxoft@gmail.com fb58acf27c New terrain generator - Noise3D.
A testbed for a generator based on 3D noise.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1414 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 13:38:40 +00:00
madmaxoft@gmail.com 7624d4ed81 VC2008 project file: enabled multi-threaded compilation of Release and Release-profiled targets
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1403 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:26:39 +00:00
madmaxoft@gmail.com c97851adc6 Fixed Profiled Release build (missing preprocessor macro for static XML compilation)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1399 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-21 17:18:59 +00:00
keyboard.osh@gmail.com 01b7c1fbfb Added BlockTNT.h to VC project file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1394 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18 12:56:27 +00:00
madmaxoft@gmail.com fe601fd3e7 Added TNTEntity to VC project file
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1393 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18 12:13:26 +00:00
madmaxoft@gmail.com a4be800a91 Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17 20:57:05 +00:00
madmaxoft@gmail.com cc26f16463 Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.
http://forum.mc-server.org/showthread.php?tid=831

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 19:52:03 +00:00
madmaxoft@gmail.com c603180470 Fixed Windows Release build
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1379 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 07:53:52 +00:00
madmaxoft 48cec90c3f Added Expat and LuaExpat, XML parsing now available in the API.
FS #336
Windows version only, Linux to be fixed soon.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1374 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-09 13:43:24 +00:00
madmaxoft@gmail.com 499962029a Added SQLite and LuaSQLite, Lua plugins can now use SQLite.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1368 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07 19:28:32 +00:00
madmaxoft@gmail.com 2006de2217 Cobwebs are now washed away by water and can be broken by swords and shears, giving string.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 18:20:06 +00:00
madmaxoft@gmail.com a4963b69ef MineShafts: backup commit with initial work, still unusable.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1321 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 16:46:58 +00:00
madmaxoft@gmail.com 561f105394 CryptoPP: Pruned unused files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1304 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23 20:53:08 +00:00
madmaxoft@gmail.com eaf973544b Removed the Classic fluid simulator, it was too unstable
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1274 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14 20:46:40 +00:00