1
0
Commit Graph

8309 Commits

Author SHA1 Message Date
Mattes D
b1d4b3bb96 Unified cByteBuffer types.
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-21 13:00:20 +01:00
Mattes D
abd3f06a76 APIDump: Added inheritance checking. 2015-03-19 21:29:23 +01:00
Mattes D
2d1d4ae3e3 Removed unwanted base classes from Lua API. 2015-03-19 21:26:38 +01:00
Mattes D
93031dffd8 AllToLua: Fixed cMonster inheritance. 2015-03-19 21:06:28 +01:00
Mattes D
2fed8c3227 Improved DoWithID bindings. 2015-03-19 16:24:32 +01:00
Mattes D
241c441de7 Merge pull request #1819 from bibo38/bugfix1783
Fixed creation of Fluid-Source-Blocks
2015-03-19 14:38:08 +01:00
bibo38
54d97f8c17 Removed wrong else clause, which caused that the following if-Statement got only executed in rare cases. This has blocked the creation of new Fluid-Sources. Bugfix #1783 2015-03-19 13:23:03 +01:00
Mattes D
e301ff48fa APIDump: Removed the tolua.cast() example.
The example was all wrong and the function is normally not needed at all (#1789).
Fixes #1787
2015-03-19 12:57:00 +01:00
Mattes D
f3046417ec Fixed a clang warning, improved comments. 2015-03-19 12:46:37 +01:00
Mattes D
9eb9541060 AllToLua: Removed an unneeded class declaration.
It's perfectly possible to declare a class in ManualBindings without the need for declaration in AllToLua.pkg.
2015-03-19 12:34:16 +01:00
Mattes D
09da6e7a6e AllToLua: Fixed the parse order for bindings generation.
Fixes #1789.
2015-03-19 12:19:04 +01:00
Mattes D
5f660f7677 Added cNetwork initialization to program start.
Otherwise the server could crash because MSVC doesn't implement magic statics yet.
2015-03-18 22:07:57 +01:00
Mattes D
fa17fb9b80 Debuggers: Added inheritance testing.
This allows detailed testing of #1789 - bad Lua bindings for class inheritance.
2015-03-18 16:07:15 +01:00
Mattes D
49e59ee06b World:DoWithEntityByID() checks the entities-to-add as well.
This allows plugins to create entities and immediately act on them using that call. This will most likely need to be added to most of the DoWith<> and ForEach<> calls.
2015-03-18 15:35:19 +01:00
Mattes D
c41183d450 Debuggers: Added a cBoundingBox test. 2015-03-18 13:50:43 +01:00
Mattes D
0aff42a4bc Network: Close the UDP endpoint in destructor. 2015-03-18 13:50:43 +01:00
worktycho
29e267cac0 Merge pull request #1817 from bibo38/bugfix1715
Changed Variable types of Endianness.h to uniform UInt* types
2015-03-17 20:42:13 +00:00
bibo38
7b025d6605 Changed Variable types of Endianness.h to uniform UInt* types from Globals.h 2015-03-17 20:00:21 +01:00
worktycho
d16dc5a1db Merge pull request #1816 from bibo38/bugfix1715
Bugfix 1715
2015-03-17 17:56:14 +00:00
bibo38
9ac094e95a Fixed double underscore identifiers in the Endianess.h file, which are reserved for implementation use. Bug #1715 2015-03-17 18:22:27 +01:00
Mattes D
0add3d4617 Merge pull request #1810 from mc-server/paintings
Paintings
2015-03-15 14:30:23 +01:00
worktycho
83531707f3 Merge pull request #1811 from mc-server/grass
Fixed grass spread, closes #1743
2015-03-15 12:16:37 +00:00
Tiger Wang
a8a2d3d504 Use thread_local in cFastRandom 2015-03-14 21:52:13 +00:00
Mattes D
65d2ef32e9 Merge pull request #1734 from mc-server/pistons
Handle client 'leave bed' request
2015-03-14 22:44:04 +01:00
Mattes D
ebf0126dc9 Merge pull request #1808 from tumultenrx/master
Monsters will now attack. Additional checks have been added when generating spawn.
2015-03-14 22:32:23 +01:00
tumultenrx
5c45c8897c Fixed a small bug 2015-03-14 20:45:16 +01:00
Tiger Wang
e94886c140 Fixed grass spread, closes #1743
- Removed the salt parameter in cFastRandom functions, it wasn't doing
what we thought it was following the move to C++11
2015-03-14 00:59:53 +00:00
Tiger Wang
cb8ea41c90 Fixed style violations 2015-03-13 23:22:09 +00:00
Tiger Wang
3d398baf35 cPainting saving implemented
Additionally, it now inherits from cHangingEntity.
2015-03-13 23:05:06 +00:00
Tiger Wang
e15e30a030 Fixed confusion over Item Frame directions 2015-03-13 22:29:27 +00:00
NiLSPACE
57d2a09c8c Merge pull request #1809 from flx5/master
Performance improvements for #1807
2015-03-13 08:55:48 +01:00
tumultenrx
a215070cf2 Monsters will now attack. Additional checks have been added when generating spawn.
Monsters will now attack. Additional checks have been added when generating spawn.
2015-03-13 00:02:36 +01:00
flx5
936d56a711 Performance improvements for #1807 2015-03-12 20:16:12 +01:00
Mattes D
f9991c9f92 Merge pull request #1761 from mc-server/NetworkIPEnum
cNetwork: Added EnumLocalIPAddresses() function.
2015-03-12 13:35:45 +01:00
Mattes D
439eb8d6cb Merge pull request #1807 from flx5/master
Fixes #493 and #490
2015-03-11 22:43:52 +01:00
Alexander Harkness
b43ac6f0ed Merge pull request #1804 from mc-server/streamlinetravis
Streamline Travis testing
2015-03-11 20:06:22 +00:00
Alexander Harkness
98a4a1f3cd Reduced number of build jobs. 2015-03-11 20:06:07 +00:00
flx5
f6912bd01c Fixed coding conventions for Pull Request #1807 2015-03-11 20:02:11 +01:00
flx5
d8ab99e944 Fixed issue with quotes not appearing in pairs 2015-03-11 19:52:49 +01:00
Mattes D
1b60fe12a8 Merge pull request #1665 from mc-server/Inventory
Own classes for all windows and implemented vanilla-like shift click.
2015-03-11 14:26:04 +01:00
Mattes D
3b91e31ccd Merge pull request #1805 from mc-server/chunkDataFix
Fixed Bug in cChunkData.
2015-03-11 09:56:49 +01:00
flx5
76012ee090 Fixed some markup issues 2015-03-11 04:38:15 +01:00
flx5
451ab6860f Fixed some markup issues 2015-03-11 04:33:17 +01:00
flx5
d130696e95 Fixes #493 and #490 2015-03-11 04:14:17 +01:00
Tiger Wang
12971c4ce2 Reduce amount of testing, realises #1795 2015-03-10 22:48:39 +00:00
Tiger Wang
4ffaace384 Use std::memcpy to fix alignment
As suggested by @madmaxoft
2015-03-10 22:25:53 +00:00
worktycho
45fa2d98db Fixed Bug in cChunkData.
FIxed a bug where if the index was not aligned with the sections empty sections would not be set in the correct location.
2015-03-10 20:32:01 +00:00
Howaner
685f6e3713 Moved window code into cpp files 2015-03-10 19:40:53 +01:00
Howaner
a96c21fc0d Merge branch 'master' into Inventory 2015-03-09 22:39:11 +01:00
Howaner
ce6219530a Fixed client kick/crash if many block changes happend 2015-03-09 22:32:12 +01:00