summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-12-18Disconnection message no longer shown if pingTiger Wang1-5/+8
2013-12-18Prettified command error messagesTiger Wang2-9/+23
Using the magic of overlords (overloads) and standards compliance.
2013-12-18The "<>" of a player name is now colouredTiger Wang1-1/+1
2013-12-18Fixed 1.7 player disconnection not calling hookTiger Wang1-4/+14
This fixes #357
2013-12-18Implented Nether Wart.STRWarrior4-0/+110
2013-12-18Renamed back EntityAnimation to PlayerAnimationTiger Wang8-15/+51
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
2013-12-18Removed offending tr1/memory header inclusion.madmaxoft1-3/+0
We already use <memory> at line 160, this was a double include, additionally causing problems (#424).
2013-12-18Fixed wire powering blocks beneathTiger Wang1-1/+1
2013-12-18Fixed bad repeater power queuing in corner caseTiger Wang2-83/+76
Repeaters remain queued to power even if their original source has since unpowered. Also functionised and cleaned up code.
2013-12-17Fixed player falling through the floor on spawn.madmaxoft1-1/+5
The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem.
2013-12-17cBlockArea: origin is initialized in the constructor and the loader.madmaxoft1-0/+6
2013-12-17Fixed naming and initialization.madmaxoft1-4/+12
2013-12-17Forgot to change one Vector3d to Vector3i.STRWarrior1-1/+1
2013-12-17Renamed Pos to m_Pos.STRWarrior1-3/+3
2013-12-17Using Recommendations.STRWarrior1-10/+23
2013-12-17Made buckets work when the player does not 'look' at a block. This fixes #265STRWarrior1-32/+53
2013-12-16Fixed multiple inheritance in ToLua++.madmaxoft8-36/+127
This fixes #422.
2013-12-16Boats spawn on top of a block. not between 4 blocks.STRWarrior1-1/+1
2013-12-16Using suggestions for Boat placing.STRWarrior1-1/+1
2013-12-16Removed some old cRedstone remnantsTiger Wang3-30/+0
2013-12-16Boats drop a boat pickup when destroyed by hand. You can now actualy use boats.STRWarrior2-3/+33
2013-12-16Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior2-4/+15
2013-12-16You can spawn boats on water.STRWarrior1-7/+32
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft5-31/+48
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187.
2013-12-16Fixed multiple player spawn broadcasts.madmaxoft1-3/+0
2013-12-15Server saves if a player is flying.STRWarrior1-1/+3
2013-12-15Fixed player spawning packet.madmaxoft1-1/+1
The player was spawned 1.62 blocks below their pos. This fixes #323.
2013-12-15Exported to LuaSTRWarrior2-10/+10
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior2-3/+3
2013-12-15Fixed calling OnPlayerJoined() in the wrong place.madmaxoft1-6/+1
This is the first part of a fix for #187.
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior5-4/+49
2013-12-15Implemented xoft's suggestionsTiger Wang1-3/+16
2013-12-15Fixed indentation.madmaxoft1-1/+1
2013-12-15Moved reading flags to the protocol.STRWarrior3-19/+23
2013-12-15Fixed wire repeater checkingTiger Wang1-1/+1
2013-12-15Exported Set and Get functions to Lua.STRWarrior2-2/+136
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior5-3/+90
2013-12-15Wires now power repeaters properlyTiger Wang1-0/+7
2013-12-15Fixed the hopefully final wire self-powering bugTiger Wang1-1/+13
2013-12-15Fixed pre 1.7 clients crashing.STRWarrior1-2/+2
2013-12-15cPlayer is using the broadcast functions.STRWarrior1-3/+3
2013-12-15This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior6-0/+89
2013-12-14Added tolua++ redirection include.madmaxoft1-0/+13
This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution. Should fix PR #431.
2013-12-14Removed leftover debugging messages from cProtocol172.madmaxoft1-4/+0
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior5-4/+31
2013-12-14Added E_EFFECT_<Effect>STRWarrior2-3/+32
2013-12-14Potentially fixed debug assertsTiger Wang1-5/+5
2013-12-14Wires no longer power if a block cuts them offTiger Wang1-23/+32
Also reduced more unneeded code.
2013-12-14Forgot to commit the ClientHandle.STRWarrior2-0/+20
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior8-1/+91
2013-12-14Implemented note block playing and fixed wireTiger Wang9-5/+125
Game of Thrones music in Minecraft, here I come!
2013-12-14Exported the cTNTEntitySTRWarrior4-9/+85
2013-12-14Fixed compilating!Tiger Wang1-5/+5
2013-12-14Fixed not getting XP from mobs.STRWarrior2-1/+7
2013-12-14Improved player permissions loggingTiger Wang1-1/+1
2013-12-14Fixes to redstone wire and torchesTiger Wang3-21/+37
+ Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc.
2013-12-14Groups.ini and Users.ini are now generatedTiger Wang2-3/+25
2013-12-14Removed loads of unneeded code againTiger Wang1-86/+60
2013-12-14Reduced loads of unneeded codeTiger Wang1-188/+44
Merged wire powering detection code into a single function.
2013-12-13Improved redstone loading performanceTiger Wang1-2/+10
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft4-191/+219
2013-12-13Using "a_ClosestPlayer != NULL" in cExpOrb.STRWarrior1-1/+1
2013-12-13Fixed QueueSetBlock not sending to client changesTiger Wang1-2/+1
2013-12-13Redstone data is now loaded on chunk loadTiger Wang2-0/+7
2013-12-12Unknown packet type extended to 32 bits.madmaxoft2-4/+4
2013-12-12Fixed protocol 1.7 recovery after unknown packet.madmaxoft1-4/+0
2013-12-11Fixed pistons being viable middle blockTiger Wang1-0/+3
Also an excuse to update submodules
2013-12-11HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.STRWarrior1-0/+1
2013-12-11ExpOrbs now move.STRWarrior1-4/+8
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior9-2/+98
2013-12-10Provides a possible fix for repeater timingsTiger Wang2-2/+2
Not completely reliable, but at least some types of clock work.
2013-12-10fixed unused expression warnings in blockFireTycho Bickerstaff1-7/+6
2013-12-10fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff1-1/+1
2013-12-10added abort to DeadlockDetector to generate core dumps on failureTycho Bickerstaff1-5/+2
2013-12-10Readded initial lineTiger Wang1-0/+1
2013-12-10Fixed compile (alas, no more goto)Tiger Wang1-11/+14
2013-12-10Fixed Floody lava to stone fizzleTiger Wang1-2/+16
2013-12-10Added repeater delaysTiger Wang2-1/+62
They DO sometimes get stuck though :P
2013-12-10Slight redstone wire performance improvementTiger Wang1-1/+6
2013-12-10Changed more FastSetBlocks to SetBlocksTiger Wang1-3/+3
Fixes duplication bugs.
2013-12-10Improved pickups spawning speed againTiger Wang2-7/+6
2013-12-08Fixed angle normalization typo.madmaxoft1-1/+1
2013-12-08Fixed tolua++ compilation.madmaxoft7-192/+5
Duplicate files, wrong includes, const-incorrect code...
2013-12-08Fixed VS2008 compilation after those huge changes.madmaxoft2-5/+7
2013-12-08Now spawn points will not be in deep oceans or rivers etc.STRWarrior1-1/+1
2013-12-08Readded redstone lamp handlerTiger Wang1-0/+2
2013-12-08Fixed tabcompletion packet, fixes #356Tiger Wang1-8/+4
2013-12-08Fixed normalizing large angles.madmaxoft4-8/+51
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft41-1238/+1237
Ref.: #407
2013-12-08Fixed stationary water starting fires and flowing lava not.madmaxoft1-2/+2
2013-12-08Fixed falling block metas, fixes #406Tiger Wang1-1/+1
2013-12-08moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741Tycho Bickerstaff1-2/+4
2013-12-08reordered initalisation order at src/Generating/Cave.h line 73Tycho Bickerstaff1-2/+2
2013-12-08fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff1-1/+1
removed unused variable at src/Generating/BioGen.cpp line 379 and added default fallthrough clause to switch at src/Generating/BioGen.cpp line 725
2013-12-08added default fallthrough clause to switch at line 178 of src/UI/Window.cppTycho Bickerstaff1-0/+4
2013-12-08Reordered Listed Initalisation order in src/UI/Window.cppTycho Bickerstaff1-2/+2
Reordered the Listed Initalisation order for CWindow to the executed initalisation order. The compiler initalises values in the order the fields are declared not the initalisations listed
2013-12-08Bonemeal has particles, fixes #393Tiger Wang2-3/+8
2013-12-08Removed unused variable ResultSlotTycho Bickerstaff1-1/+0
2013-12-09Fix Undefined behavior at Bindings/LuaWindow line 32worktycho1-1/+4
2013-12-09Fix Unused Variable Warning at FluidSimulator.cpp line 169 and 176worktycho1-4/+3
2013-12-09Fixed warning unchecked enum value at Chunk.cpp line 841worktycho1-2/+4
2013-12-09Fixed Warning Unhandeled enum values in switch as src/UI/SlotArea.cpp line 54worktycho1-1/+4
2013-12-07Console trims its commands before executing 'emTiger Wang1-3/+3
2013-12-07Fixed water starting firesTiger Wang1-1/+0
2013-12-07Improved piston animationsTiger Wang1-4/+4
2013-12-07Fixed some new 1.7 client crash bugsTiger Wang4-1/+37
Some technical blocks were removed; trying to render them as items caused a crash.
2013-12-07Changed some FastSetBlocks to SetBlockTiger Wang1-3/+3
Should fix some duplication glitches.
2013-12-07Fixed trapdoors not togglingTiger Wang3-17/+103
The redstone simulator kept on resetting them.
2013-12-07Added a SpawnFallingBlock function so plugins can make other blocks fall.STRWarrior4-2/+93
2013-12-07Added basic ender chestsTiger Wang10-14/+355
Note that they just mirror chests now, so no per player inventory.
2013-12-07Renamed animation functionTiger Wang23-47/+82
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-06Fixed bed leave animationTiger Wang1-1/+1
2013-12-06Fixed duplication glitch with QueueSetBlockTiger Wang7-16/+38
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched.
2013-12-06Added trapdoor cursor Y detectionTiger Wang1-2/+0
2013-12-06Puking now uses GetEyeHeight()Tiger Wang1-1/+1
2013-12-06Added pickup invalid item checkTiger Wang1-0/+11
They aren't spawned at all if their itemtype isn't valid; possibly fixes the client crashing with bad pickups.
2013-12-06Re-implemented redstone duplicate checkingTiger Wang1-0/+29
2013-12-06Fixed eating using wrong animationTiger Wang1-1/+1
2013-12-06Fixed trapdoors not overriding OnUseTiger Wang1-1/+1
2013-12-06Spawn eggs use IsGameMode()Tiger Wang1-2/+2
Possible fix for #316.
2013-12-06Tools make a sound when breaking, fixes #266Tiger Wang2-2/+5
2013-12-06Cleaned up torch code and added commentsTiger Wang1-31/+7
2013-12-06Removed another export and inline'd stuffTiger Wang1-5/+5
2013-12-06Removed exporting of a torch functionTiger Wang1-3/+3
2013-12-06Updated comments for slabsTiger Wang1-5/+6
2013-12-06Fixed pickups spawning for BlockEntitiesTiger Wang1-1/+1
2013-12-05Added cPluginManager:GetCurrentPlugin() to Lua API.madmaxoft1-7/+22
2013-12-05Merged if statements.Samuel Barney1-7/+1
2013-12-05Finished MergeSamuel Barney1-2/+2
2013-12-05ByteBuffer: Fixed optimization failures with threading checks.madmaxoft1-1/+1
2013-12-04Hopefully fixed the sparc not being detectedAlexander Harkness1-1/+3
2013-12-04Lava can spawn fire.madmaxoft5-8/+93
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-12-04Fixed an error in cChunk's block ticking.madmaxoft1-2/+2
Absolute coords were passed to a handler expecting relative coords.
2013-12-04Made suggested changesSamuel Barney2-6/+11
2013-12-02Fire no longer goes out when on top of nether rackSamuel Barney1-1/+6
2013-12-02Removed stray printf, again.Samuel Barney1-1/+0
2013-12-02Switched to using provided ReadItem function.Samuel Barney2-17/+12
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02Removed stray printf.Samuel Barney1-1/+0
2013-12-02Fixed 1.7 slab and stair placement.Samuel Barney1-0/+19
2013-12-01Fixed compiler warnings in LightingThread.cpp.madmaxoft1-2/+2
2013-12-01Fixed linux compile errors and formatting in RedstoneSimulator.cppmadmaxoft1-14/+26
2013-11-30DeadlockDetect is configurable now.madmaxoft3-7/+15
This is needed when debugging Lua plugins.
2013-11-30Fixed compiler warnings in IsBiomeNoDownfall().madmaxoft1-1/+4
2013-11-30Fixed pistons extendingTiger Wang1-0/+10
They didn't when a source was in front, but now they do! Yay!
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft15-63/+117
2013-11-30Added IsBiomeNoDownfall() function.madmaxoft3-103/+164
2013-11-30Explicitly set spawnpoint fixes.madmaxoft1-20/+11
The value names are case-insensitive. The debug message is printed only once.
2013-11-30Removed redstone duplicate power checkingTiger Wang1-2/+0
There was no need for it, and it introduced some bugs.
2013-11-30Improved piston direction checkingTiger Wang1-62/+8
Now uses AddFaceDirection, as suggested by xoft.
2013-11-30Added the real tick duration to the OnWorldTick hook.madmaxoft8-17/+34
2013-11-30Grass doesn't spread to podzol or grassless dirt blocks.madmaxoft1-2/+3
2013-11-30Added floor pattern for MegaTaiga biomes.madmaxoft1-1/+10
2013-11-30Pistons no longer accept power through front faceTiger Wang2-3/+96
This fixes #60.
2013-11-30Fixed thin snow CanBeAt checkingTiger Wang1-1/+13
Now takes into account the possibility that thin snow can be on top of full thin snow.
2013-11-30Properly fixed snow height, fixes #98 and #264Tiger Wang3-25/+53
2013-11-30Improved redstone speed and fixed a wire bugTiger Wang1-73/+83
The redstone simulator no longer goes through the Powered and LinkedPowered blocks lists for EVERY item in the chunk data, instead, only at every tick. Also, wires powering each other that had the same data value is now fixed.
2013-11-29Stairs reset meta when dropped, fixes #269Tiger Wang1-2/+22
Additionally, they now have walking sounds.
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang5-3/+131
Also updated redstone simulator to support it
2013-11-29Removed unneeded CPP filesTiger Wang11-221/+77
Also removed unneeded #include in BlockStems
2013-11-29Implemented mesa biomes in DistortedHeightmap CompoGen.madmaxoft3-21/+106
2013-11-29Fixed CheckerboardBiomeGen in negative coords.madmaxoft1-2/+3
2013-11-29DistortedHeightmap: Improved speed, prepared for mesa biomes.madmaxoft2-157/+424
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-29Fixed an off-by-one error in cByteBuffer.madmaxoft1-1/+1
Could have caused random protocol errors and maybe even crashes.
2013-11-29Alpha-sorted BlockMetas, added red sand.madmaxoft1-125/+128
2013-11-28Trees will generate in the new biomes.madmaxoft2-14/+101
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28Added new biomes to old composition generator.madmaxoft4-0/+145
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28Added new biomes to old height generators.madmaxoft4-39/+179
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft3-48/+74
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28Moved json includes to where they are really needed.madmaxoft3-1/+2
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft2-0/+229
2013-11-28Fixed a bug with TNT waking simulatorsTiger Wang1-2/+2
2013-11-28Improved TNT pickup randomisationTiger Wang1-1/+1
2013-11-27Made TNT pickups spawning chance 25%Tiger Wang2-3/+3
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft3-54/+29
2013-11-27Fixed a load of issues, clang autodetection works now.Alexander Harkness1-1/+0
This fixes issue #210. This also removes the disableasm option, so it would be wise to remove it from any scripts that use it. I also removed a random line in the middle of globals.h, why was it there?
2013-11-27Added missing files for Voronoi map generation.madmaxoft2-0/+140
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft12-12/+12
2013-11-27Fixed the remaining derpsAlexander Harkness26-30/+30
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness9-11/+11
2013-11-26ANOTHER compile fixTiger Wang1-1/+1
This one was broken by bear. :P
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang5-5/+5
2013-11-26Compile fix againTiger Wang1-1/+1
2013-11-26Fixed Linux compile againTiger Wang1-1/+1
2013-11-26Fixed tolua++ filesTiger Wang3-4/+4
2013-11-26Fixed loads more of them.Alexander Harkness11-13/+13
2013-11-26AnotherAlexander Harkness1-1/+1
2013-11-26And another.Alexander Harkness1-1/+1
2013-11-26Fixed another.Alexander Harkness1-1/+1
2013-11-26Fixed another one.Alexander Harkness1-1/+1
2013-11-26Fixed a mis-includeAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang24-27/+27
2013-11-24Attempt to fix compilationTiger Wang48-59/+58
2013-11-24Moved SQLite, LuaExpat, and MD5 to /libTiger Wang8-148557/+0
2013-11-24Moved source to srcAlexander Harkness469-0/+285880
2012-08-19Android: Moved Android stuff to the ~/trunk/Android/ folder!faketruth1-267/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@758 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Finally a log! :Dfaketruth1-32/+44
git-svn-id: http://mc-server.googlecode.com/svn/trunk@754 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Showing last MCServer related logcat messagefaketruth1-13/+63
git-svn-id: http://mc-server.googlecode.com/svn/trunk@753 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server statusfaketruth1-9/+146
Android: Put quite some testing code in ToJava.h and app-android.cpp ... I still can't send log messages to Java. The issue is threads, I can't use JNI stuff from threads that were not created by Java (at least not easily) git-svn-id: http://mc-server.googlecode.com/svn/trunk@752 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: Pressing back button sends stop command to serverfaketruth1-9/+30
Android: ToJava can call functions on Java by using JNI Android: Plugins work Android: Added android specific files to VS2008 project, but they are excluded from compiling git-svn-id: http://mc-server.googlecode.com/svn/trunk@747 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-3/+13
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+37
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6