madmaxoft
f91ff9e68b
Added the cBoundingBox class.
2013-09-01 12:25:53 +02:00
madmaxoft
d7a5287000
Basic support for thrown items - eggs, snowballs and ender pearls.
...
They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
2013-08-30 18:10:58 +02:00
madmaxoft
17ad4c2610
Shooting a bow kinda works.
...
The arrow is released, but sometimes hits wrong blocks or disappears completely.
2013-08-30 14:24:03 +02:00
madmaxoft
73afb1507d
Added skeleton code for projectile spawning.
2013-08-22 08:55:58 +02:00
madmaxoft
0faa1ee2cb
Started work on the cProjectileEntity class.
2013-08-20 16:48:27 +02:00
madmaxoft
8289ac8ba7
Added a "Debug profiled" MSVC configuration.
...
Used for profiling debug builds, which turned out to be necessary from time to time.
2013-08-19 21:58:15 +02:00
madmaxoft
1a7912744f
Moved entities into the Entities subfolder.
2013-08-19 11:39:13 +02:00
madmaxoft
50205bc4df
Added simple deadlock detection code.
...
This will assert and then deliberately crash the server once a deadlock is detected. For detection, only the world tick threads are considered, cWorld's m_WorldAge is checked periodically and if it doesn't increment for several seconds, a deadlock is reported.
2013-08-14 22:39:12 +02:00
madmaxoft
7b190f5044
Updated the Core Lua files in MCServer project externals.
2013-08-13 23:06:23 +02:00
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