1
0
Commit Graph

212 Commits

Author SHA1 Message Date
madmaxoft
ee15d4e08e Fixed compilation in VC2008.
Also removed an unused inline header file (yuck).
2013-12-30 17:41:59 +01:00
STRWarrior
4a02898683 Added the Floater files to MCServer.vcproj 2013-12-19 17:46:12 +01:00
madmaxoft
4608beb3c6 Fixed tolua++ compilation.
Duplicate files, wrong includes, const-incorrect code...
2013-12-08 18:24:56 +01:00
madmaxoft
fd68095acc Fixed VS2008 compilation after those huge changes. 2013-12-08 18:13:30 +01:00
madmaxoft
044fd237b6 Moved bindings-related to a Bindings subfolder.
Ref.: #407
2013-12-08 12:17:54 +01:00
madmaxoft
4fd876aa7c Added a new Debug_LuaStatic configuration.
This re-enables plugin debugging using Decoda, lost when we moved Lua out to a DLL.
2013-12-04 20:35:54 +01:00
madmaxoft
28e905bfff Fixed a linker warning in MSVC debug build. 2013-12-03 22:18:03 +01:00
madmaxoft
70cf0c09a8 The server builds and uses Lua as DLL in Debug mode.
This is a test to see how LuaRocks will interact. Only debug mode on Windows is affected, all other platforms and modes are unchanged.
2013-12-02 22:36:59 +01:00
madmaxoft
8e4a1b2ca1 Added the trapdoor header to project file. 2013-11-30 14:52:35 +01:00
madmaxoft
251647f3bd Fixed compilation in VS2008. 2013-11-30 13:54:10 +01:00
madmaxoft
97b03df372 Fixed Win nightbuild scripts after folder moves. 2013-11-27 14:24:36 +01:00
madmaxoft
2113ca3844 Fixed VC2008 compilation, normalized include paths. 2013-11-27 09:17:25 +01:00
Alexander Harkness
0de95a215f Merge remote-tracking branch 'origin/master' into foldermove2
Conflicts:
	VC2008/MCServer.vcproj
2013-11-26 17:21:06 +00:00
Tiger Wang
3466d2cad9 Fixed all outstanding VS compilation issues
Also updated VS2008 files.
2013-11-25 21:32:09 +00:00
STRWarrior
1358a74412 Added ExpOrb.cpp and ExpOrb.h to MCServer.vcproj. 2013-11-25 22:09:20 +01:00
Tiger Wang
e3db69c4ae Attempt to fix compilation 2013-11-24 18:44:22 +00:00
Tiger Wang
3c2e7f1aad Fixed Visual Studio Files 2013-11-24 17:30:42 +00:00
madmaxoft
082573771f Added cSignEntity into API, added cChunkDesc:GetBlockEntity().
This fixes both #228 and #347.
2013-11-14 15:37:09 +01:00
madmaxoft
b6ca98f380 Removed cStringMap.
It wasn't used for anything anymore.
2013-11-09 19:54:52 +01:00
Tiger Wang
72ec10f26d Readded BlockPortal.h (portals) 2013-11-02 00:50:03 +00:00
madmaxoft
dab398d5d6 Added 1.7 to protocol recognizer.
The 1.7 protocol currently only reports server description and playercount.
2013-10-30 23:24:46 +01: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
126ce169f2 Fixed project file after mob update. 2013-10-18 12:54:27 +02:00
madmaxoft
e62cac07c0 Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata. 2013-10-13 18:26:45 +02:00
madmaxoft
55999ee118 Moved cMakeDir::MakeDir to cFile::CreateFolder.
And exported to Lua.
2013-10-09 09:57:48 +02:00
Tiger Wang
5db6213f34 Initial Metadata Commit [SEE DESC]
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
madmaxoft
1012fd82fd HTTP Server can now parse multipart/form-data forms; better architecture. 2013-10-04 13:13:34 +02:00
madmaxoft
8130e6dd54 Created basic cHTTPFormParser.
It can parse forms in the application/x-www-form-urlencoded encoding, used for forms without file uploads.
2013-09-28 19:30:25 +02:00
madmaxoft
d0b9e81795 Split cHTTPConnection implementation into a separate file. 2013-09-27 19:34:46 +02:00
madmaxoft
f4efcb9080 Rewritten HTTPServer to split into cHTTPConnection, cHTTPRequest and cHTTPResponse classes. 2013-09-27 18:14:26 +02:00
madmaxoft
11e0c73ffd Implemented basic HTTP message header parsing. 2013-09-24 20:52:37 +02:00
Tiger Wang
a8a45a4afc Added button placement handler
Also removed an unneeded variable in the stair handler
2013-09-22 19:34:42 +01:00
Tiger Wang
3e698d7b72 Added moar mobs!
+ Added dragons
+ Added golems
+ Added giants
+ Added horses
+ Added some missing items
+ Added missing spawn egg metas
2013-09-18 22:17:43 +01:00
Tiger Wang
846f1223f4 Implemented redstone comparators
They can be placed and toggled, but stills needs proper redstone support
2013-09-18 18:27:21 +01:00
Tiger Wang
480991d1ac Multiple fixes [SEE DESC]
- Removed two random block handling files in the item handling section
that didn't do anything. (One was an attempt at making slabs work, but
failed to realise that the coords would have to be the block CLICKED,
and another was just a random empty file for handling wooden planks.)
* Fixed placing repeater blocks not directioning properly
* Fixed wood directions breaking plank metadata
2013-09-18 00:01:20 +01:00
madmaxoft
4e200df18c Merge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes
Conflicts:
	source/Blocks/BlockTorch.h
2013-09-15 20:34:22 +02:00
Tiger Wang
526c769b6a Possible Linux compile fix 2013-09-15 16:42:23 +01:00
madmaxoft
a58cf6359d APIDump now produces wiki-style tables of functions and constants.
Part of #116.
2013-09-09 22:28:02 +02:00
madmaxoft
5945166a98 Merge branch 'boats' of git://github.com/tigerw/MCServer. 2013-09-09 11:13:14 +02:00
madmaxoft
b8d2d94d90 Removed the cDoors class.
The helper functions that it implemented were moved into their respective blockhandlers.
2013-09-09 10:49:52 +02:00
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