1
0
Commit Graph

2089 Commits

Author SHA1 Message Date
madmaxoft
7567f19052 Merge branch 'master' of git://github.com/nesco/MCServer. 2013-11-19 10:01:25 +01:00
madmaxoft
b5821998b4 Mineshafts: silenced a compiler warning. 2013-11-17 23:29:17 +01:00
Mattes D
5277360098 Merge pull request #345 from mc-server/warningfixes
Fix Some Compiler Warnings
2013-11-17 14:26:53 -08:00
Mattes D
d169a1959d Merge pull request #353 from marmot21/playerxp
Playerxp
2013-11-17 14:12:09 -08:00
nesco
416292a824 Blank Line added 2013-11-17 17:41:58 +01:00
Alexander Harkness
dbf2982e52 And another... 2013-11-16 18:58:38 +00:00
Alexander Harkness
f4f906563f another 2013-11-16 18:58:17 +00:00
Alexander Harkness
ef8ac545d8 Fixed another one. 2013-11-16 18:57:03 +00:00
Alexander Harkness
0150de3688 Fixed some unsigned int comparison warnings. 2013-11-16 18:55:49 +00:00
Alexander Harkness
755fe9cb21 WaveNoise not used, removing. 2013-11-16 18:54:01 +00:00
Alexander Harkness
45aebbd5ab This is a copy-paste fail, right? 2013-11-16 18:52:48 +00:00
Alexander Harkness
9ac95fc24a Got rid of yet another unused variable. 2013-11-16 18:50:33 +00:00
Alexander Harkness
c1880e1162 Got rid of another unused variable. 2013-11-16 18:47:25 +00:00
Alexander Harkness
eb77bfc1b3 Those variables weren't used.
It seems strange for them to be there, is the code written wrong?
2013-11-16 18:46:06 +00:00
Alexander Harkness
5687ca7bad Fixed another one... 2013-11-16 18:44:19 +00:00
Alexander Harkness
a319973e50 Fixed yet another unsigned integer comparison. 2013-11-16 18:43:40 +00:00
Alexander Harkness
d3360051b1 Fixed typo causing buggy code. 2013-11-16 18:37:43 +00:00
Alexander Harkness
f217981de9 Fixed another unsigned integer comparison. 2013-11-16 18:34:54 +00:00
Alexander Harkness
574e8f1419 Fixed unsigned integer comparison. 2013-11-16 18:27:30 +00:00
Alexander Harkness
5337fee8e0 Fixed a warning about brackets.
Is this the right way round? This is how C++ interprets it, so it should be changed if this is the wrong way round.
2013-11-16 18:26:46 +00:00
Alexander Harkness
9060fbf4b5 Fixed a warning about unsigned int comparison - probably was a real issue. 2013-11-16 18:15:12 +00:00
Alexander Harkness
ab676060fa Revert "Silenced another warning."
This reverts commit dc94b92753.
2013-11-16 17:54:18 +00:00
Alexander Harkness
33e1439c80 Revert "Silenced yet another not completed enum warning."
This reverts commit 444e6e4fa7.
2013-11-16 17:53:55 +00:00
Alexander Harkness
2f2fe8ab0c Revert "Fixed another one."
This reverts commit 3328c80aec.
2013-11-16 17:53:27 +00:00
madmaxoft
1480d6d64d LineBlockTracer: Using the coord-based block faces. 2013-11-16 17:11:32 +01:00
Daniel O'Brien
cd1c405894 minor change in LOGD call 2013-11-17 00:13:53 +11:00
Daniel O'Brien
c7f38761ed removed magic number 2013-11-16 22:46:27 +11:00
Daniel O'Brien
d2d8b1d073 edited comment and changed error behavior of DeltaXp 2013-11-16 22:43:42 +11:00
Daniel O'Brien
b3bb34974f updated plugin again... 2013-11-16 22:17:46 +11:00
Daniel O'Brien
b72ced3164 removed SpendExperience and changed AddExperience to handle removing Xp 2013-11-16 22:00:45 +11:00
Daniel O'Brien
3595392937 fixed bug and added SpendExperience() 2013-11-16 21:38:57 +11:00
Daniel O'Brien
c0c8fe1bcd fix possible threadlock issue, changed function names to be closer to standard 2013-11-16 20:29:57 +11:00
Daniel O'Brien
a94a6d48a0 alignment fixes :) 2013-11-16 02:32:04 +11:00
Daniel O'Brien
04dff4882a finished #143 I believe 2013-11-16 02:23:50 +11:00
Daniel O'Brien
5e3614ce87 Merge remote-tracking branch 'upstream/master' into playerxp 2013-11-16 00:07:42 +11:00
nesco
c868d31377 Update Giant.cpp 2013-11-15 14:06:58 +01:00
Daniel O'Brien
1b2e6e7473 added cProtocol function to pass xp to client 2013-11-15 22:42:09 +11:00
madmaxoft
ee1ac65e54 cChunkDesc::GetBlockEntity() re-creates block entity when blocktype doesn't match. 2013-11-15 11:33:24 +01:00
madmaxoft
49d6afd501 Removed cBlockEntity:CreateByBlockType() from the Lua API.
Plugins cannot be allowed to create block entities, that would result in memory leaks.
2013-11-15 10:15:27 +01:00
madmaxoft
90fc51c4d0 cRoot::SaveAllChunks() doesn't wait for the save (deadlocks).
Rather, it only queues the save task onto each world's tick thread.
2013-11-15 10:13:32 +01:00
madmaxoft
ebb2ccaa26 Removed BlockEntities' constructors from the API.
Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
2013-11-15 09:49:56 +01:00
Daniel O'Brien
af17faac45 Merge remote-tracking branch 'upstream/master' into playerxp 2013-11-15 18:25:20 +11:00
nesco
8fa4f38202 Update Giant.cpp 2013-11-14 23:15:19 +01:00
Daniel O'Brien
f6e16ce150 cProtocol add SendExperience() and debugging 2013-11-15 08:35:02 +11:00
Samuel Barney
570aedb927 Fixed growing issue with crops. 2013-11-14 09:53:09 -07:00
madmaxoft
4533fc34ec Added cNoteEntity to Lua API.
Ref. #228.
2013-11-14 17:14:54 +01:00
madmaxoft
efb6f598bc Exported cJukeboxEntity to Lua API.
Ref. #228
2013-11-14 16:05:55 +01:00
Daniel O'Brien
ea778c7027 fixed XpGetPercentage 2013-11-15 01:46:41 +11:00
madmaxoft
082573771f Added cSignEntity into API, added cChunkDesc:GetBlockEntity().
This fixes both #228 and #347.
2013-11-14 15:37:09 +01:00
Alexander Harkness
3328c80aec Fixed another one. 2013-11-14 07:42:54 +00:00