1
0
Commit Graph

3726 Commits

Author SHA1 Message Date
madmaxoft
e29749b35e Added packet diagnostics to 1.7 protocol.
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-16 15:26:58 +01:00
madmaxoft
6f739359e3 Yet another attempt at VarArgs. 2014-01-16 09:01:12 +01:00
madmaxoft
ba49a32c3a Another VarArgs fix.
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-16 08:34:10 +01:00
Mattes D
4974bf2832 Merge pull request #545 from mc-server/VarArgs
Var args
2014-01-15 13:41:45 -08:00
madmaxoft
3b8b558979 ProtoProxy: use CMake to generate the MSVC project files. 2014-01-15 22:41:12 +01:00
madmaxoft
7e2675a998 APIDump: Explicitly listed static cPlayer functions. 2014-01-15 19:26:01 +01:00
madmaxoft
f436f87464 Fixed ProtoProxy compilation. 2014-01-15 19:10:03 +01:00
madmaxoft
dd6c5779ec Using a 2nd argument instead of va_copy().
This seems to be the only reasonable C++03-only solution.
2014-01-15 18:28:51 +01:00
madmaxoft
3fd19df9fd Fixed varargs modification.
Ref.: #541.
2014-01-15 17:46:29 +01:00
Mattes D
0571b1a7e6 Merge pull request #543 from mc-server/Furnace_Minecarts
Furnace minecarts
2014-01-15 06:45:34 -08:00
Tiger Wang
c4da025d5a Updated Core! ±±±___±±± 2014-01-15 14:08:41 +00:00
Mattes D
5bef7d85ce Update COMPILING.md
Added instructions for Windows compiling, including CMake.
2014-01-15 14:42:22 +01:00
STRWarrior
72dcd70f22 Furnace minecarts now stop being active after a while. 2014-01-15 14:38:54 +01:00
STRWarrior
bdfe31f917 First implementation for furnace minecarts. 2014-01-15 14:03:09 +01:00
madmaxoft
d67cd8dafc CMake: MSVC release builds use LTCG. 2014-01-15 13:54:06 +01:00
madmaxoft
d23e743303 CMake: Removed SCL warnings from Lua and ZLib. 2014-01-15 12:01:03 +01:00
madmaxoft
20209750aa CMake: MSVC builds use static CRT.
We don't want to be dependent on the VC runtime.
2014-01-15 11:49:26 +01:00
Mattes D
eb89de4c88 Merge pull request #542 from worktycho/schedular
added cWorld::ScheduleTask Function
2014-01-15 02:45:25 -08:00
Mattes D
457e93f1ed Merge pull request #538 from mc-server/minecarts
Minecarts
2014-01-15 02:42:24 -08:00
Tycho
292ccdc09e added cWorld::ScheduleTask Function
ScheduleTask schedules a SceduledTask object to be run x ticks in the future.
In is exported to lua, fixes #150
2014-01-14 12:17:03 -08:00
Tiger Wang
e3b839b69f Yes newline at end of file :D 2014-01-14 18:16:13 +00:00
worktycho
8e19ea4744 Updated GETTING-STARTED.md to remove completed issues 2014-01-14 14:02:26 +00:00
madmaxoft
f31043a5e7 CMake: Release profile build inherits from Release, not Debug. 2014-01-14 11:05:57 +01:00
madmaxoft
e3117d797e Moved profiling scripts into the MCServer folder.
Also they default to the 2010 version of the tools, which is Win7-compatible, and should be 64-bit-compatible, too.
2014-01-14 11:05:27 +01:00
madmaxoft
b263d55a2d CMake: Added postfix for profiled exe 2014-01-14 09:32:43 +01:00
Tiger Wang
a66e154b90 Final improvements to Minecarts
* Fixed curved rails being a little broken
+ Implemented detector rails
+ Implemented block collisions on rails
* Fixed snapping to rail
- Removed minecart physics conditions in Entity.cpp as minecarts use
their own simulator when on rails

Fixes #148 and #217; partially implemented #215.

This is Cave Johnson, and we're done here.
2014-01-13 22:37:09 +00:00
madmaxoft
f7c691caaa APIDump: Wrapped example code so that it displays well on small screens.
The listing was pushing the resulting webpage too wide on my 19" screen, causing various distortions.
2014-01-13 21:39:21 +01:00
madmaxoft
bc24cd8c70 Renamed unused source files from zlib.
These files are included in zlib, but they should not be compiled into the actual library. Since they contain example code on how to use the lib, I decided to keep them, renamed to .txt.
2014-01-13 21:28:27 +01:00
madmaxoft
8828ac75a2 The VS2008 nightbuild uses CMake. 2014-01-13 21:20:06 +01:00
madmaxoft
5407cec41c Removed shutdown() from socket closing.
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite.
Fixes #537.
2014-01-13 20:54:58 +01:00
madmaxoft
ada54b79d7 Added handshake processing to protocol 1.7.
This fixes #495
2014-01-13 20:32:15 +01:00
madmaxoft
9af16c3f28 ProtoProxy: Fixed login kick packet direction. 2014-01-13 20:31:08 +01:00
madmaxoft
7e59296157 Generating the bindings outputs a message at the end. 2014-01-13 19:57:19 +01:00
madmaxoft
74ddd03a9f APIDump: Added OnPluginMessage.lua file to Decoda project. 2014-01-13 19:48:07 +01:00
madmaxoft
448ac3ef14 APIDump: Added missing bits of documentation.
The recent changes didn't document some of the new API functions.
2014-01-13 19:45:15 +01:00
madmaxoft
55e92f056d APIDump: Documented the plugin messaging hook and function. 2014-01-13 19:21:57 +01:00
Mattes D
252def339d Merge pull request #536 from worktycho/nativearch
Added -march=native to linux targets
2014-01-13 10:19:59 -08:00
Tycho
9c669e9217 Added -march=native to linux targets 2014-01-13 10:13:09 -08:00
madmaxoft
332c1c59eb cCreeper is no longer available in API.
Has been replaced by cMonster.
2014-01-13 17:25:16 +01:00
madmaxoft
0a3fae7c35 CMake: Removed leftover debugging output. 2014-01-13 17:22:01 +01:00
madmaxoft
89e641071e CMake: Added resources to windows projects. 2014-01-13 17:15:34 +01:00
madmaxoft
b9eb38a17f Added a generic .user file for MSVC.
This brings in the default debugging settings for the MSVC project, when generated by CMake.
2014-01-13 16:49:49 +01:00
madmaxoft
caea934d37 CMake: Lua DLL is built in the correct folder.
Also removed SCL warnings from MSVC builds.
2014-01-13 10:59:37 +01:00
Tiger Wang
edefa27a48 Detaching improvements
* Players now search for an area around themselves to teleport to when
detaching from something
2014-01-12 23:23:36 +00:00
Tiger Wang
1d81db6446 Fixed wire, rail, and pressure plate unpowering 2014-01-12 23:19:08 +00:00
madmaxoft
118b7a121b Moved the win resources into a separate subfolder.
This will allow us to use them in CMake builds.
2014-01-12 17:57:29 +01:00
madmaxoft
2ca06cc213 CMake generates Bindings when not existant (win) 2014-01-12 17:20:29 +01:00
Tiger Wang
e114008559 Fixed settings plugin generation after IniFile 2014-01-12 14:03:50 +00:00
Tiger Wang
e932c69b82 Fixed VS2013 compile and updated Core 2014-01-12 13:59:39 +00:00
Tiger Wang
ec6c510bd4 Multiple enhancements and fixes to minecarts
+ They are destroyed instantly by creative mode
* Physics is much improved
+ Basic implementation of powered rails
2014-01-12 13:28:37 +00:00