summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior7-17/+18
2014-01-12Moved the win resources into a separate subfolder.madmaxoft5-0/+22
This will allow us to use them in CMake builds.
2014-01-12CMake generates Bindings when not existant (win)madmaxoft1-0/+10
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior7-10/+33
2014-01-12Fixed settings plugin generation after IniFileTiger Wang1-3/+3
2014-01-12Added cWorld::SpawnMinecart.STRWarrior2-0/+27
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang4-132/+191
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2014-01-12Disabled a useless MSVC warning in Bindings.cpp.madmaxoft1-0/+6
2014-01-11Lua errors display stack trace.madmaxoft2-3/+27
Fixes #418.
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft3-119/+103
PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418.
2014-01-11Fixed rails poweringTiger Wang1-0/+2
2014-01-11Removed an unused file.madmaxoft2-130/+0
2014-01-11Removed unused variables.madmaxoft1-2/+0
The Lua API calls had no side-effects, either.
2014-01-11Did some stuff with the vectorsTiger Wang1-32/+17
2014-01-11Fixed glowstone drop countandrew1-2/+2
2014-01-11Fixed a door bug and reduced codeTiger Wang1-19/+1
Doors wouldn't get powered by repeaters, and some blocks, like glass, were viable middle blocks when they shouldn't have been.
2014-01-11Renamed g_TorchPlaceable...Tiger Wang6-71/+71
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-10Globals.h needs to be first includeBill Derouin1-1/+1
2014-01-10Fixed doors, fixes #453Tiger Wang1-38/+8
2014-01-10Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft10-50/+188
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
2014-01-10Major refactoring of redstoneTiger Wang4-186/+181
This commit is a refactoring of the redstone code, mainly the functions handling the removal of invalid blocks from power supplier data structures. Its aim is to improve performance and potentially reduce the memory footprint of the data structures. It works to reduce the amount of GetBlock()s triggered every tick. Before, a GetBlock() was requested for every single item in the data lists, as well as for every single redstone block in a chunk. Following these changes, the AddBlock() event is utilised more effectively to only update the lists when needed (a block is changed), as well as to insert the block type (and update it when needed) alongside the coordinates into the main redstone simulator chunkdata list. In short, a single GetBlock() is now cached, with this cache being updated when the simulator is awoken due to a block change. At least, I *hope* that this is what it does :P
2014-01-10Include Biome enum in ChunkDefBill Derouin1-2/+1
Can't forward declare an enum
2014-01-10Added newlines at ends of filesBill Derouin2-2/+2
2014-01-10Fixed generator adding values to ini file.madmaxoft2-1/+3
2014-01-10Added cFinishGenNetherSprinkleFoliage.STRWarrior3-2/+73
2014-01-10Fixed missing externalsBill Derouin1-1/+2
Turns out you actually have to include the .cpp in the project file
2014-01-10Fixed recurring pattern.STRWarrior1-1/+1
2014-01-09Move biome definition to separate filesBill Derouin8-222/+241
2014-01-09Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft1-0/+30
2014-01-09Fixed wrong packet number for PluginMessage packet.madmaxoft1-1/+1
2014-01-09Fixed chunk borders.STRWarrior1-3/+3
2014-01-09Added cClientHandle::SendPluginMessage().madmaxoft9-0/+50
It is not yet exported in the API, though.
2014-01-09Composition generator creating moved to a separate function.madmaxoft2-61/+83
Also it forces the defaults into the INI file.
2014-01-09Height generator creating moved info HeiGen.cpp.madmaxoft3-54/+82
The generator also explicitly sets the default back into the INI file.
2014-01-08Speed-up. I got about 40 extra ch/sSTRWarrior1-9/+14
2014-01-08A couple touchupsBill Derouin1-2/+3
2014-01-08WormNestCaves now remove soul sand.STRWarrior1-0/+1
2014-01-08NetherGen: Now generates SoulSand.STRWarrior1-1/+11
2014-01-08Fixed AppendVPrintf() handling for large strings.madmaxoft1-6/+4
This caused a failure in server favicons.
2014-01-07Graceful shutdown on SIGTERMTiger Wang1-0/+5
2014-01-07Add missing plugin errorBill Derouin1-0/+12
Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made.
2014-01-07Fixed faviconsTiger Wang4-18/+8
2014-01-07Plugin messages are received and handed to plugins.madmaxoft8-2/+68
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07Avoid making copies of favicon stringBill Derouin2-2/+2
2014-01-07Disabled an unneeded MSVC warning.madmaxoft1-4/+7
Also sorted the enabled warnings by their numerical code for easier searching..
2014-01-07Removed a debugging log output in cPluginManager:AddHook().madmaxoft1-1/+0
2014-01-07More MSVC warning fixes.madmaxoft9-11/+11
2014-01-07LuaState can push strings with embedded NULs.madmaxoft1-1/+1
This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly.
2014-01-07A few more touch upsBill Derouin2-12/+2
2014-01-07A few touch upsBill Derouin2-2/+5
2014-01-07Removed unused lineBill Derouin1-1/+0
2014-01-07Implement favicon for 1.7.2Bill Derouin4-0/+28
Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet
2014-01-07Fixed a few MSVC warnings.madmaxoft8-18/+21
2014-01-07Added Base64Encode().madmaxoft2-0/+51
2014-01-06Disabled the type conversion MSVC warning.madmaxoft1-1/+3
It was hitting way too many false positives.
2014-01-06Fixed a few MSVC warnings.madmaxoft11-16/+12
2014-01-06Exported cWorld::BroadcastBlockAction().madmaxoft1-1/+1
As requested in #508; no guarantees about it.
2014-01-06Output dir set to $/MCServer.madmaxoft1-1/+1
Ref.: #510.
2014-01-06Fixed wrong enqueueing.madmaxoft1-2/+9
Fixes #505.
2014-01-05Added fake functions into cCriticalSection because of the change to ASSERTDiusrex1-0/+5
2014-01-05Changed the release version of ASSERT.Diusrex1-1/+1
This was so a variable only used in ASSERT statements will not give a warning about not being used.
2014-01-05Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.hDiusrex5-3/+68
I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
2014-01-05Making all of the useful level 4 warnings be active.Diusrex1-1/+13
2014-01-05Fixed cPluginManager:AddHook() binding.madmaxoft1-6/+13
Fixes #401. Old formats are still accepted, for compatibility reasons.
2014-01-05Fixed a race condition in the cQueue class.madmaxoft1-59/+86
Fixes #505.
2014-01-03Fixed DocumentationTycho1-4/+2
2014-01-03derpTycho1-1/+1
2014-01-03actual fixTycho1-2/+9
2014-01-03fixed failure to return a value from RemoveTycho1-1/+1
2014-01-03implement xsofts recommendationsTycho Bickerstaff1-9/+15
2014-01-02added documentationTycho Bickerstaff1-7/+45
2014-01-02fixed a few remaining issues with worldstorageTycho Bickerstaff2-24/+6
2014-01-02More memory alignment fixes.madmaxoft2-6/+6
Ref.: #420.
2014-01-02Fixed unaligned memory access in FastNBT.madmaxoft3-5/+44
This should fix #420.
2014-01-02rewrote queue not to use promises for waitsTycho Bickerstaff6-121/+24
2014-01-01OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior5-5/+5
2014-01-01Fixed GetPhysicalRAMUsage on Linuxandrew1-2/+2
2013-12-31fogot to add promise classesTycho Bickerstaff2-0/+92
2013-12-31clean up code for patchingTycho Bickerstaff3-3/+5
2013-12-31refactored chunk Queue to seperate classTycho Bickerstaff7-124/+162
2013-12-31implemented the recommendations Xoft gave.STRWarrior7-12/+25
2013-12-31removed unneccisary castTycho Bickerstaff1-1/+2
2013-12-31fixed warnings in LineBlockTracer.cppTycho Bickerstaff1-1/+0
2013-12-31fixed warnings in LightingThread.cppTycho Bickerstaff1-0/+1
2013-12-31take Z axis into account when calculating neighboors in LightingThread::ChunkReadyTycho Bickerstaff1-1/+1
2013-12-31fixed warnings in World.cppTycho Bickerstaff4-6/+34
2013-12-31fixxed warnings in Server.cppTycho Bickerstaff1-0/+5
2013-12-31fixed warnings in Inventory.cppTycho Bickerstaff1-2/+2
2013-12-31fixed warnings in bytebuffer.cppTycho Bickerstaff2-4/+4
2013-12-31fixed ClientHandle warningsTycho Bickerstaff1-0/+1
2013-12-31fixed warnings in webadmin.cppTycho Bickerstaff1-0/+3
2013-12-31fixed warnings in BlockArea.cppTycho Bickerstaff1-0/+2
2013-12-31Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw1-2/+2
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior6-1/+97
2013-12-30Fixed compilation in VC2008.madmaxoft6-75/+13
Also removed an unused inline header file (yuck).
2013-12-28Added support for out-of-source builds.madmaxoft2-18/+30
2013-12-27Made cmake compilation possible on Windows.madmaxoft4-21/+27
2013-12-26Server now handles death messagesTiger Wang1-0/+16
2013-12-26Added proper precompiled headers for MSVC.madmaxoft1-48/+47
2013-12-26Simplefied Extreme Hills M pattern select.STRWarrior1-11/+3
2013-12-26cBlockArea: Fixed writing full-height areas.madmaxoft1-2/+2
2013-12-26Moved increment operator to back of variablesTiger Wang1-9/+9
2013-12-25Extreme Hills M biomes now generate gravel, stone and grass patterns.STRWarrior1-2/+10
2013-12-25Changed tbGravel. Vanilla has 3 layers of gravel and then stone.STRWarrior1-3/+3
2013-12-25Normal extreme hills (plus) now generate a stone/grass pattern.STRWarrior1-2/+20
2013-12-25Re-added empty line.STRWarrior1-0/+1
2013-12-25This generates gravel in Extreme Hills M biomes.STRWarrior2-3/+20
2013-12-25Fixed block area height check.madmaxoft1-2/+2
The block area couldn't be read up to chunk height.
2013-12-25(Hopefully) fixed if conditionstonibm191-4/+1
2013-12-25Fixed Parentheses.STRWarrior1-2/+2
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior3-38/+206
2013-12-25Preliminary mobile entity savingTiger Wang4-13/+790
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-12-25Implemented xoft suggestion (partly)tonibm191-25/+29
I only get it working in first condition. It seems it's not compatible with else if...
2013-12-25Fixed rails not updating with diagonalsTiger Wang1-0/+34
2013-12-25Braced up some codeTiger Wang1-0/+2
2013-12-25Used IsGamemodeCreative() functionTiger Wang1-1/+1
2013-12-24BLOCKTYPE...tonibm191-2/+2
2013-12-24Fixed compilationtonibm191-29/+9
2013-12-24Implemented xoft suggestiontonibm191-7/+11
2013-12-24Using BLOCKTYPE instead of inttonibm191-2/+2
2013-12-24Fixed commentstonibm191-8/+8
2013-12-24Changed a little how detection works and added comments.tonibm191-28/+31
2013-12-24Storing Y -1 and -2 blocks in a variabletonibm191-5/+7
2013-12-24Fixed comments in main.cpp and Player.cppTiger Wang2-2/+2
2013-12-24Implemented stone and wooden pressure platesTiger Wang2-3/+105
2013-12-24Improved knockback animationTiger Wang1-3/+3
* Critical hits now actually increase damage * Looking down at an entity and hitting them still produces upwards motion (as per Vanilla experience) * Reduced force to be more realistic
2013-12-24Fixed getting configure button going to port 0.STRWarrior2-3/+9
2013-12-24removed the function def alsoAlexander Harkness1-1/+0
2013-12-24Finally removed the function.Alexander Harkness1-6/+0
2013-12-24Using parenthesistonibm191-8/+8
2013-12-24Fixed a possible crashtonibm191-39/+42
2013-12-24fixed compile?Alexander Harkness1-1/+1
2013-12-24finally removed them all?Alexander Harkness1-1/+1
2013-12-24updated another file...Alexander Harkness1-4/+4
2013-12-24Updated MakeColour's defenition in the header.Alexander Harkness1-9/+9
2013-12-24Update as per xoft's instructions.Alexander Harkness1-1/+1
2013-12-24Update chat coloursAlexander Harkness1-3/+2
@madmaxoft, is this right? fixes #467
2013-12-23Replaced esCreeper with esMonster.madmaxoft3-4/+7
Any monster will be able to explode, and also this fixes #425.
2013-12-23Improved player fall particle positionsTiger Wang1-5/+2
2013-12-23Provides an enhancement to daylight sensorsTiger Wang1-2/+27
2013-12-23Improved iron golem detection algorithmtonibm191-3/+16
- You need to make it like in vanilla - Only used blocks are removed
2013-12-23Clarified some code in Player.cppTiger Wang1-2/+5
2013-12-23Fixed a comment in Entity.cppTiger Wang1-1/+1
2013-12-23Added some comments in main.cppTiger Wang1-1/+1
2013-12-23Some fixes (SEE DESC)tonibm191-0/+6
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
2013-12-23You can now spawn iron golems.tonibm191-3/+20
You can spawn them like in vanilla.
2013-12-23Daylight sensor sensing enhancementTiger Wang1-9/+11
2013-12-22added link dependency between WorldStorage and OSSupportTycho Bickerstaff1-0/+2
2013-12-22Fixed bug where snowgolems could replace non-solid blocks to snow blocks.STRWarrior1-1/+3
2013-12-22A fix for daylight sensorsTiger Wang1-2/+3
2013-12-22Implemented knockback and critical hitTiger Wang1-4/+21
2013-12-22Added many event catchersTiger Wang2-20/+78
* Window close * CTRL-C * etc.
2013-12-22Implemented fall particlesTiger Wang1-3/+18
2013-12-22Snow golems die in hot biomes and leave a snow trail.STRWarrior2-0/+18
2013-12-22You can spawn snow golems with snow blocks and pumpkins.STRWarrior1-0/+15
2013-12-22EnderDragons and SnowGolems are able to spawn.STRWarrior1-0/+2
2013-12-22Fixed cacus breaking when next to any non-air block.STRWarrior1-1/+1
2013-12-22fixed bad mergeTycho Bickerstaff1-4/+0
2013-12-22merged in warnings changesTycho Bickerstaff26-93/+94
2013-12-22fixed accedental commitTycho Bickerstaff1-2/+1
2013-12-22fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker notTycho Bickerstaff2-1/+33
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft6-3/+64
This fixes #482.
2013-12-29Added function to create Tall Birch tree in BirchTreeForest biomesMike Hunsinger2-3/+49
2013-12-28Fixed a (valid) warning in RCONServer.madmaxoft1-0/+3
2013-12-22Made the lure enchantment work.STRWarrior1-1/+1
2013-12-22Fixed signedness warning in cItemGrid.madmaxoft2-4/+4
2013-12-22Fixed compiler warning.STRWarrior1-1/+1
2013-12-22Fishing underground is slower and fishing while raining is faster.STRWarrior1-0/+15
2013-12-22Fixed compiler warnings.STRWarrior1-2/+2
2013-12-22Countdown time is between 100 and 900 ticks.STRWarrior1-1/+1
2013-12-22Fishing now uses a countdown instead of a random number each tick.STRWarrior2-12/+29
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff16-39/+100
2013-12-22Implented BroadcastParticleEffectSTRWarrior17-2/+122
2013-12-22Daylight sensorsTiger Wang1-2/+1
2013-12-22Fixed them again, confound itTiger Wang1-9/+21
2013-12-21Using regular assignments.STRWarrior1-6/+6
2013-12-21Once again better Y direction for the items given when fishing.STRWarrior1-2/+2
2013-12-21You are now able to get different items from fishing.STRWarrior1-2/+108
2013-12-21Bindings regen script updated.madmaxoft1-11/+6
The Bindings.cpp / .h files are no longer stored in the git repo.
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2-0/+32
2013-12-21Chunk is now warnings cleanTycho Bickerstaff4-6/+5
2013-12-21fixed hidden bug with furnaces ignoring time burntTycho Bickerstaff1-1/+1
this patch fixes an issue with furnaces where they would ignore the time burnt in setBurnTimes this did not cause a problem as this function was only called with the same value as the one it was using for time burnt
2013-12-21Root is now warnings cleanTycho Bickerstaff8-30/+32
2013-12-21Piston is now warnings cleanTycho Bickerstaff5-6/+6
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff6-9/+10
2013-12-21basic threadsafe queue interfaceTycho Bickerstaff2-0/+34
2013-12-21You could now only get fish from non-source blocks. Fixed it.STRWarrior1-1/+1
2013-12-21Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.STRWarrior1-0/+5
2013-12-21Fixed bug where you could get fish from non-source blocks.STRWarrior1-1/+1
2013-12-20Fixed repeaters delay, maybeTiger Wang3-12/+41
Also added basic daylight sensors, though because GetBlockSkylight always is 15, it doesn't work.
2013-12-20Increased the range an Floater can shoot to.STRWarrior1-1/+1
2013-12-20Fixed the rest of constructor reorders.madmaxoft9-97/+92
2013-12-20Fish now actualy jumps to the player instead of a few block bellow them.STRWarrior1-1/+1
2013-12-20Fixed bug where the floater could pop in the water while you could already get a fish.STRWarrior1-2/+2
2013-12-20More reordering fixes.madmaxoft3-7/+16
2013-12-20added precompiled headerstycho1-13/+24
2013-12-20Fixed a typo in cBlockArea merging code.madmaxoft1-2/+1
2013-12-20Sorted a few constructors to remove warnings.madmaxoft10-49/+57
2013-12-20fixed include of math on windowstycho2-1/+10
2013-12-20Fixed minor warnings.madmaxoft2-5/+7
2013-12-20Fixed warnings in HTTP parser.madmaxoft4-5/+15
2013-12-20Attempt at fixing cChunkDef::Height signedness.madmaxoft4-21/+24
2013-12-20Properly fixed warnings in cFastRandom.madmaxoft1-4/+4
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft28-62/+66
2013-12-20Fixed melon and pumpkin growing.madmaxoft1-1/+1
2013-12-20Fixed missing parenthesis.madmaxoft1-4/+4
2013-12-20Fixed clang warnings in Noise.cpp.madmaxoft1-20/+20
Fix-a-random-warning-per-day :)
2013-12-20Fixed assertion during dirt block OnUpdate()Tiger Wang1-1/+1
2013-12-19Fixed #include in Floater.cpp.STRWarrior1-1/+1
2013-12-19The floater now actualy dives under water.STRWarrior1-1/+1
2013-12-19You can get fish from fishing :D. Only one type of fish though.STRWarrior1-12/+27
2013-12-19Fixed PlayerAbilities and creativeTiger Wang3-13/+24
2013-12-20fixed include paths on windows and added build dir to gitignoretycho1-0/+2
2013-12-20fixed compile errors with headers and math librarytycho1-6/+15
2013-12-20fixed multiprocessing on windows and removed redundend compile of headerstycho1-1/+0
2013-12-19Implented cItemFishingRodHandler.STRWarrior2-0/+65
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2-0/+12
2013-12-19Added cFloater class.STRWarrior3-0/+90
2013-12-19Fixed 1.7 arm swing animationTiger Wang1-1/+23
2013-12-19Fixed dust from being placed on nonsolidsTiger Wang2-1/+6
2013-12-19Fixed repeaters not updating powerTiger Wang1-11/+41
2013-12-19fixed a number of windows issuestycho1-13/+28
2013-12-19added md5 as a dependency for bindingsTycho Bickerstaff1-1/+2
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff2-2/+2
2013-12-19added all cpp files to bindingsTycho Bickerstaff1-1/+4
2013-12-19moved HTTPServer to globsTycho Bickerstaff1-1/+5
2013-12-19added pthread linking code to OSSupportTycho Bickerstaff1-0/+4
2013-12-19moved protocol to globTycho Bickerstaff1-1/+5
2013-12-19added blocks and blockentitiesTycho Bickerstaff3-2/+18
2013-12-19linked in luaTycho Bickerstaff1-1/+1
2013-12-19fixed bindings generationTycho Bickerstaff1-8/+2
2013-12-19bindings regenration logicTycho Bickerstaff3-32240/+8
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-18added zlib and UITycho Bickerstaff1-0/+11
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-11added zlibTycho Bickerstaff1-1/+1
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-11added UI folderTycho Bickerstaff1-1/+3
2013-12-11moved Worldstorage to globsTycho Bickerstaff1-1/+5
2013-12-11moved entities to globsTycho Bickerstaff1-1/+5
2013-12-11moved mobs to globsTycho Bickerstaff1-1/+5
2013-12-11moved simulor to globsTycho Bickerstaff1-1/+5
2013-12-11removed leakfinder form buildTycho Bickerstaff1-1/+1
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff3-6/+8
2013-12-10more cmake changesTycho Bickerstaff3-6/+15
2013-12-10removed more accedentailly commited object filesTycho Bickerstaff9-3985/+0
2013-12-10removed accedentailly commited object filesTycho Bickerstaff27-0/+0
2013-12-10more cmakeTycho Bickerstaff46-6/+4051
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-10more cmake stuffTycho Bickerstaff3-2/+18
2013-12-10fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff4-0/+36
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