1
0
Commit Graph

3738 Commits

Author SHA1 Message Date
Mattes D
4385ab008f CMake: Fixed Lua output folder for MSVC2010+. 2014-01-17 08:09:03 +01:00
Tiger Wang
7ecf50c309 Fixed block break packet number 2014-01-16 22:42:47 +00:00
Tiger Wang
d3bc92c65d Fixed #535 2014-01-16 21:51:30 +01:00
madmaxoft
4da8818291 Fixed SIGPIPE on cSocket::Send(). 2014-01-16 21:08:17 +01:00
madmaxoft
a085319455 Protocol 1.7: Unknown packets are dumped to log in Debug mode. 2014-01-16 20:39:59 +01:00
madmaxoft
de4ac55398 Disabled excessive entity-related logging in Debug mode. 2014-01-16 20:31:06 +01:00
madmaxoft
c44ce84497 Fixed whitespace in previous commit. 2014-01-16 20:30:25 +01:00
madmaxoft
343136a2ae Finished exporting cWorld:ScheduleTask() to Lua API. 2014-01-16 19:56:08 +01:00
Alexander Harkness
bf0d58428d Merge pull request #548 from worktycho/documention
Added Documention for a few features I've added
2014-01-16 09:55:37 -08:00
Tycho
daf94e5f48 Documented the SchedualeTask function 2014-01-16 09:53:46 -08:00
Tycho
9a8975420e documented CROSSCOMPILING flag 2014-01-16 09:51:01 -08:00
madmaxoft
dab37db562 CMake: Fixed output paths for all MSVC versions. 2014-01-16 18:33:28 +01:00
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