1
0
Commit Graph

5952 Commits

Author SHA1 Message Date
worktycho
2de36c8ccc Merge pull request #1059 from mc-server/coverity_fixes
Coverity fixes
2014-06-04 12:23:28 +01:00
JoannisO
852e162f95 - Removed the code that removed fireworks from a dispenser even thought
they weren't launched.
2014-06-04 12:40:01 +02:00
worktycho
c94d0c8144 derp 2014-06-04 11:39:21 +01:00
JoannisO
e5b345a9c9 - Fixed variable names in a function. 2014-06-04 12:37:51 +02:00
JoannisO
2c103a713e - Fixed a lot of astethics 2014-06-04 12:35:45 +02:00
worktycho
ae37dfec8d Fixed bad coordinate 2014-06-04 11:29:08 +01:00
worktycho
98c575ebc2 Make sure m_StackSizeToBeUsedInRepair Always has a valid value 2014-06-04 11:12:06 +01:00
worktycho
85be62a8cd Removed unused field test 2014-06-04 11:02:17 +01:00
worktycho
87c4d0ea57 Initialise m_Callbacks field to NULL in empty constructor. 2014-06-04 10:58:09 +01:00
madmaxoft
b79142c8e7 Fixed buffer overflow in JSON.
Reported on Coverity as CID 43614.
2014-06-04 10:47:12 +02:00
Tiger Wang
9ef4b9d52d Exploded creepers drop nothing, part of #1058 2014-06-04 09:27:50 +01:00
Tiger Wang
c4e0da2d0a Fixed mob loading, part of #1058 2014-06-04 09:22:19 +01:00
Tiger Wang
8e57f75622 Fixed #1057 2014-06-04 09:21:44 +01:00
Julian Laubstein
8604dedfdf Update IncrementalRedstoneSimulator.cpp 2014-06-04 10:20:20 +02:00
madmaxoft
9edd5507d6 docs/Generator: Re-fixed the wording. 2014-06-03 23:45:25 +02:00
Julian Laubstein
1499426472 Update Globals.h 2014-06-03 21:32:46 +02:00
madmaxoft
c0015d01c6 Player permissions aren't logged to console anymore.
This was only logspam on most servers and there are alternative ways to list players' permissions.
2014-06-03 19:50:27 +02:00
JoannisO
7993caa553 - Fixed an issue where there were 2 "DispChunk"-s in the same function.
Resused the initial one.
2014-06-03 19:43:15 +02:00
JoannisO
c0716bfcf6 - Fixed a bug where I didn't return anything in the GetShootVector
function. This was however passed as "working" by GCC.
2014-06-03 19:39:56 +02:00
madmaxoft
492f99eaeb Merge remote-tracking branch 'howaner/Inventory' 2014-06-03 19:30:01 +02:00
madmaxoft
d92520016d Fixed OnProjectileHitBlock bindings.
Also sorted the various cLuaState::Push() functions.
2014-06-03 19:29:23 +02:00
madmaxoft
62ea8615b7 docs/Generator: Updated PerlinRivers with better images. 2014-06-03 19:08:48 +02:00
Mattes D
0c5492946b Merge pull request #1028 from mc-server/pistonfixes
Piston fixes
2014-06-03 19:02:40 +02:00
JoannisO
2ecf425c39 - Fixed a bug where I used the FireCharge ITEM instead of the Projectile
ENUM
2014-06-03 18:19:06 +02:00
madmaxoft
aeeb4dc4b0 docs/Generator: Shrunk the hand-drawn images by 50 %. 2014-06-03 18:16:16 +02:00
JoannisO
daae75b30b - Cleaned up the code massively
- Stopped using cChunk in the GetShootVector class. Parameter is now the
Metadata of the block
- Stopped using cChunk in the SpawnProjectileFromDispenser method now
using coordinates and finding the chunk by itself.
- Removed the matrix calculations from GetShootVector.
2014-06-03 17:21:38 +02:00
madmaxoft
9d1475808c Merge branch 'GeneratorArticle' 2014-06-03 14:12:01 +02:00
madmaxoft
49b39f97e0 Generator article: Added TOC with links. 2014-06-03 14:00:50 +02:00
Joannis
545478802b - Added doxy comments and exported to lua
- Manipulation of the ShootVector is not to be done by the function that
wants to spawn a projectile.
2014-06-03 09:26:14 +02:00
madmaxoft
6f7ac0089f Generator article: fixed bad wording. 2014-06-02 21:56:59 +02:00
Mattes D
60786cb06d Merge pull request #1052 from mc-server/UnderwaterBaseGen
Underwater base gen
2014-06-02 21:49:47 +02:00
madmaxoft
345d477849 Generator article: Finished the Biome-gen section and images. 2014-06-02 21:43:07 +02:00
Tiger Wang
5fc7592cba Merge remote-tracking branch 'origin/pistonfixes'
Conflicts:
	src/Chunk.cpp
2014-06-02 19:49:14 +01:00
STRWarrior
b9ca7bd120 Small tweak for mobs
Mobs move a bit smoother and aren't able to move allot when in air.
2014-06-02 14:16:36 +02:00
madmaxoft
b7dc4177d0 cBlockArea reading hotfix.
This should fix the crashes introduced with chunksparsing. Not the most performant solution, but at least it should work.
Ref.: #1056
2014-06-02 14:07:36 +02:00
STRWarrior
8cf4e806ba APIDump: Fixed crash 2014-06-02 13:49:05 +02:00
STRWarrior
4c757de9ff Added OnProjectileHitBlock example in Debuggers 2014-06-02 11:54:45 +02:00
STRWarrior
fa78379f5a Updated OnProjectileHitBlock documentation. 2014-06-02 11:45:32 +02:00
Mattes D
cdddb1aeac AnvilStats: Added new biome colors. 2014-06-01 22:35:29 +02:00
Mattes D
24bea1d0b2 Generator article now has all biome genertors and most their imgs. 2014-06-01 22:33:53 +02:00
madmaxoft
23b0823108 Update UnderwaterBase prefabs.
Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights.
2014-06-01 22:02:58 +02:00
Tiger Wang
a84f107400 Suggestions two 2014-06-01 20:00:11 +01:00
Mattes D
61edb83ce5 Merge pull request #844 from mc-server/ProjectileHitBlock
OnProjectileHitBlock tweak.
2014-06-01 20:10:03 +02:00
worktycho
750333855c abort does not take a parameter. 2014-06-01 17:23:02 +01:00
worktycho
476fdc9952 Use abort in SIGSEGV and SIGABRT handlers
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01 17:05:51 +01:00
Mattes D
869cd7a208 Hot-fixed AnvilStats compilation for MSVC2013. 2014-06-01 15:19:01 +02:00
STRWarrior
319169eafb Made a_BlockHitPos a reference 2014-06-01 14:06:47 +02:00
Mattes D
2059944d1e Merge branch 'master' into GeneratorArticle 2014-06-01 10:43:37 +02:00
madmaxoft
046c149797 Updated UnderwaterBase prefabs. 2014-06-01 10:07:57 +02:00
madmaxoft
75fe89b8ae Updated AlchemistVillage prefabs. 2014-06-01 09:27:54 +02:00