summaryrefslogtreecommitdiffstats
path: root/src/World.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Small changes; warning fixing.archshift2014-04-251-6/+3
|
* Merge pull request #909 from jfhumann/fixesMattes D2014-04-221-5/+5
|\ | | | | | | | | Bug fixes and optimizations. We need to visit the API functions and check that they return only those values expected. `cWorld::CreateProjectile()` seems affected, too, by the same issue of ToLua returning extra values. In the cleanest form, these functions will need moving to ManualBindings.cpp
| * Merge remote-tracking branch 'origin/master' into fixesjfhumann2014-04-181-5/+4
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp
| * | Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-5/+5
| | |
* | | Fixed #904Tiger Wang2014-04-181-0/+5
| |/ |/|
* | Rewrote redstone powering to use power levelsTiger Wang2014-04-151-1/+1
| |
* | Simplified pickup speed randomisationTiger Wang2014-04-121-4/+3
|/
* Fixed double projectile spawning.madmaxoft2014-04-051-1/+0
| | | | Two spawn packets were sent per projectile.
* Removed unused constants.madmaxoft2014-03-251-3/+0
| | | | DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
* Fixed code style after recent merge.madmaxoft2014-03-201-30/+28
|
* Added bracesTiger Wang2014-03-201-0/+2
|
* ENUMified shrapnel levelTiger Wang2014-03-201-3/+3
|
* Merge branch 'master' into awesometntTiger Wang2014-03-181-6/+5
|\ | | | | | | | | Conflicts: src/ChunkMap.cpp
| * Merge branch 'master' into warningsTycho2014-03-141-3/+3
| |\
| | * Fixed a warning.madmaxoft2014-03-141-3/+3
| | |
| * | Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho2014-03-121-2/+2
| | |
| * | Merge branch 'Werror' into warningsTycho2014-03-121-1/+0
| |\| | | | | | | | | | | | | Conflicts: src/Globals.h
| | * Unified Vector classesandrew2014-03-111-1/+0
| | |
| * | Fixed more Format issuesTycho2014-03-111-2/+2
| |/
* | Added levels of shrapnelTiger Wang2014-03-181-1/+3
| |
* | Merge remote-tracking branch 'origin/master' into awesometntTiger Wang2014-03-101-11/+11
|\| | | | | | | | | | | Conflicts: src/Items/ItemLighter.h src/Simulator/IncrementalRedstoneSimulator.cpp
| * Merge pull request #768 from Howaner/BlockEntitysTiger Wang2014-03-091-2/+2
| |\ | | | | | | Add TNT load/save
| | * Merge branch 'master' into BlockEntitysHowaner2014-03-081-8/+18
| | |\
| | * | Change TNT Fuse to ticksHowaner2014-03-081-2/+2
| | | |
| * | | Merge branch 'master' into ballisticmissilesTiger Wang2014-03-091-27/+112
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/ClientHandle.cpp
| * | | Improved formatting of username tabcompleteTiger Wang2014-03-091-7/+7
| | | |
| * | | Implemented ballistic missiles (fireworks)Tiger Wang2014-02-271-2/+2
| | | | | | | | | | | | | | | | + Added fireworks
* | | | Merge branch 'master' into awesometntTiger Wang2014-03-101-27/+112
|\ \ \ \ | | |/ / | |/| |
| * | | Merge pull request #763 from Howaner/BlockEntitysMattes D2014-03-071-2/+11
| |\ \ \ | | | |/ | | |/| Add Flower Pots
| | * | Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-071-2/+2
| | | |
| | * | Add Flower PotsHowaner2014-03-071-0/+9
| | | |
| * | | Merge remote-tracking branch 'xdot/master'madmaxoft2014-03-061-8/+18
| |\ \ \ | | |/ / | |/| |
| | * | Implemented vanilla-like fluid simulatorandrew2014-03-051-8/+18
| | | |
| * | | Fixed an assert in map-loading.madmaxoft2014-03-041-3/+1
| | | | | | | | | | | | | | | | The maps were loaded too soon, the world wasn't initialized yet.
| * | | Fixed previous weather changes.madmaxoft2014-03-031-3/+3
| | | | | | | | | | | | | | | | cWorld::GetDefaultWeatherInterval() returns -1 for unknown weather.
| * | | Merge pull request #746 from Howaner/SlabsMattes D2014-03-031-13/+81
| |\ \ \ | | |/ / | |/| | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone Bugs
| | * | Add cancelling to WeatherChanging event.Howaner2014-03-021-13/+40
| | | |
| | * | More documentation (thanks to madmaxoft) and use GetBlockTypeMetaHowaner2014-03-021-4/+8
| | | |
| | * | Add Trapdoor Functions to cWorld and fix Trapdoor Redstone BugsHowaner2014-03-021-0/+37
| | |/
| * / cBlockInfo now manages the respective cBlockHandlerandrew2014-03-021-1/+1
| |/
* | Shrapnel now configurableTiger Wang2014-03-101-2/+1
| |
* | Added extra awesomeness to TNTTiger Wang2014-03-051-1/+5
|/ | | | | | | + TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
* Merge pull request #669 from xdot/masterTiger Wang2014-02-241-0/+8
|\ | | | | Implementation of in-game maps :D
| * Maps: Improvementsandrew2014-02-231-3/+3
| |
| * Thread safe cMap managerandrew2014-02-201-1/+2
| |
| * Manual merge (Fixed conflicts)andrew2014-02-201-95/+85
| |\
| * | Map item handler; Fixed several bugsandrew2014-02-171-8/+20
| | |
| * | Send map when selectedandrew2014-02-141-2/+43
| | |
| * | IDCount Serializationandrew2014-02-131-0/+54
| | |
* | | Merge pull request #700 from Howaner/GlobalFixesMattes D2014-02-201-4/+6
|\ \ \ | |_|/ |/| | Add new Trees (without Generator)
| * | Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner2014-02-191-6/+6
| | |
| * | Add new Trees (without Generator)Howaner2014-02-191-0/+2
| | |
* | | Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+9
|\ \ \ | |/ / |/| | Add Skulls/Heads to MCServer
| * | Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
| | |
| * | Add Heads completelyHowaner2014-02-181-0/+9
| | |
* | | The cuboid for cWorld::SetAreaBiome() doesn't need sorting.madmaxoft2014-02-181-1/+5
| | |
* | | Added cWorld:SetAreaBiome() API function.madmaxoft2014-02-181-0/+37
|/ / | | | | | | Fixes #675.
* | Removed the unnecessary LoopPlayersAndBroadcastChat() functions.madmaxoft2014-02-151-1/+1
| |
* | Implemented cCompositeChat.madmaxoft2014-02-151-1/+19
| | | | | | | | | | This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
* | Merged branch 'narroo/master'.madmaxoft2014-02-131-0/+22
|\ \ | |/ |/| | | This merges pull request #661.
| * Fixed formatting. Moved UnloadUnusedChunks from public to private.narroo2014-02-111-0/+7
| |
| * Fixed formatting of previous commit.narroo2014-02-111-0/+5
| |
| * Fixed bug #385. UnloadUnusedChunks now has the same interface asnarroo2014-02-111-0/+10
| | | | | | | | | | | | SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from now on to prevent deadlocking.
* | More gcc warnings fixed.madmaxoft2014-02-111-3/+3
| |
* | Merge remote-tracking branch 'origin/master' into ChunkStaymadmaxoft2014-02-091-6/+9
|\|
| * Fixed compile and some warnings in MSVSTiger Wang2014-02-091-2/+0
| |
| * Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-4/+36
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * \ Merge branch 'master' into playerimprovementsTiger Wang2014-02-091-3/+3
| |\ \ | | | | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * | | Moved Gamemode setting into General root tagTiger Wang2014-02-071-1/+1
| | | |
| * | | Added sender name to PM if prefixes disabledTiger Wang2014-02-071-1/+1
| | | | | | | | | | | | | | | | * Also moved the PVP setting into Mechanics
| * | | Improved chat messaging functionsTiger Wang2014-02-071-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
* | | | Initial ChunkStay code.madmaxoft2014-02-081-12/+0
| |_|/ |/| |
* | | Fixed comment.STRWarrior2014-02-081-1/+1
| | |
* | | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later).STRWarrior2014-02-071-12/+8
| | |
* | | Implemented an easy way of adding new redstone simulators.STRWarrior2014-02-071-3/+37
| | | | | | | | | | | | Also added a "noop" redstone simulator that does the same as the fluid version.
* | | Merge pull request #646 from worktycho/warningfixesAlexander Harkness2014-02-051-2/+2
|\ \ \ | |_|/ |/| | Fixed most of the reordering warnings
| * | Fixed most of the reordering warningsTycho2014-02-051-2/+2
| | |
* | | Merge pull request #635 from tonibm19/masterMattes D2014-02-041-1/+1
|\ \ \ | |/ / |/| | Exported Item:IsEnchantable and Monster:MoveToPosition to Lua API
| * | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm192014-02-031-1/+1
| |/
* / Increased Type safety of BiomesTycho2014-02-031-2/+2
|/ | | | | Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings
* Merge pull request #602 from mc-server/improvementsandfixesMattes D2014-02-031-3/+3
|\ | | | | Redstone crash fix and current console line replace function
| * Added IsBlockWaterOrIce()Tiger Wang2014-02-021-1/+1
| |
| * Revert "Added LOGREPLACELINE for line replacement"Tiger Wang2014-02-021-5/+5
| | | | | | | | This reverts commit 7d03876a3e11aedff0201a8330bfdb2b5523fc5e.
| * Revert "Improved code"Tiger Wang2014-02-021-2/+0
| | | | | | | | This reverts commit d8aa0b0ec7a2ebea2fc157c623ae8cd7d0b6ba1c.
| * Possibly fixed #618Tiger Wang2014-02-021-2/+2
| |
| * Added checks for ice into IsBlockWater()Tiger Wang2014-02-011-1/+1
| | | | | | | | | | * This fixes players spawning in vast oceans of ice, as opposed to the previous water
| * Improved codeTiger Wang2014-01-311-0/+2
| | | | | | | | | | * Fixed some issues * Fixed standard violation
| * Added LOGREPLACELINE for line replacementTiger Wang2014-01-291-5/+5
| |
* | Changed pointers to referencesTycho2014-02-011-4/+3
| |
* | Merge branch 'master' into GeneratingBenchmark2Tycho2014-02-011-2/+2
|\ \ | | | | | | | | | | | | Conflicts: src/World.h
| * | Attempt at implementing #563tonibm192014-01-301-2/+1
| |/ | | | | Not tested (I don't have RasPi)
| * The world can now be configured wether farmers should be able to harvest crops.STRWarrior2014-01-271-0/+1
| |
* | Merge branch 'master' into GeneratingBenchmark2Tycho2014-01-261-3/+37
|\| | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h
| * Did what xoft recommendedTiger Wang2014-01-251-1/+1
| |
| * Mob bugfixesTiger Wang2014-01-251-2/+11
| | | | | | | | | | | | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
| * Command block fixes 2andrew2014-01-231-1/+26
| |
* | Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-88/+5
|/
* cWorld now saves/loads the scoreboardandrew2014-01-221-0/+9
|
* Merge branch 'master' of https://github.com/mc-server/MCServerandrew2014-01-211-15/+21
|\
| * Changed the cWorld::ScheduleTask() signature.madmaxoft2014-01-191-11/+21
| | | | | | | | Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly.
| * Merge pull request #551 from worktycho/schedularMattes D2014-01-191-6/+2
| |\ | | | | | | Implemented xoft's suggestion for a saturating counter in the scheduler
| | * Fixed iterators bugTycho2014-01-181-2/+1
| | |
| | * switched to using m_WorldAge rather than m_TickIDTycho2014-01-181-6/+3
| | |
| | * Increased tick count to longTycho2014-01-171-2/+2
| | |
| | * Implemented xsofts suggestion for a saturating counter in the schedulerTycho2014-01-171-5/+5
| | |
* | | Scoreboard protocol supportandrew2014-01-211-1/+56
|/ /
* | Merge pull request #559 from mc-server/SpawnMobParticlesMattes D2014-01-191-3/+0
|\ \ | | | | | | Removed the particles when a mob spawns.
| * | Removed the particles when a mob spawns.STRWarrior2014-01-181-3/+0
| | |
* | | Basic command block implementationandrew2014-01-181-0/+9
|/ /
* / Added user setting compression factorTycho2014-01-171-1/+3
|/
* Merge pull request #534 from mc-server/SpawnMinecartMattes D2014-01-171-0/+24
|\ | | | | Added cWorld::SpawnMinecart.
| * Renamed cEmptyMinecart to cRideableMinecartSTRWarrior2014-01-121-2/+2
| |
| * EmptyMinecarts should be able to get a block inside of them.STRWarrior2014-01-121-3/+3
| |
| * Added cWorld::SpawnMinecart.STRWarrior2014-01-121-0/+24
| |
* | added cWorld::ScheduleTask FunctionTycho2014-01-141-0/+39
|/ | | | | ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150
* Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft2014-01-101-1/+77
| | | | Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
* rewrote queue not to use promises for waitsTycho Bickerstaff2014-01-021-1/+4
|
* fixed warnings in World.cppTycho Bickerstaff2013-12-311-1/+3
|
* Implented BroadcastParticleEffectSTRWarrior2013-12-221-0/+9
|
* Fixed the rest of constructor reorders.madmaxoft2013-12-201-6/+6
|
* Removed some old cRedstone remnantsTiger Wang2013-12-161-24/+0
|
* This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior2013-12-151-0/+18
|
* Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+9
| | | | Game of Thrones music in Minecraft, here I come!
* Improved pickups spawning speed againTiger Wang2013-12-101-4/+4
|
* Merge pull request #408 from mc-server/SpawnPoint_FixMattes D2013-12-081-1/+1
|\ | | | | Now spawn points will not be in deep oceans or rivers etc.
| * Now spawn points will not be in deep oceans or rivers etc.STRWarrior2013-12-081-1/+1
| |
* | Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-2/+13
|\| | | | | | | | | | | | | Conflicts: src/Bindings/Bindings.cpp src/Bindings/Bindings.h src/Blocks/BlockHandler.cpp
| * Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-2/+1
| | | | | | | | Ref.: #407
| * Added a SpawnFallingBlock function so plugins can make other blocks fall.STRWarrior2013-12-071-0/+12
| |
* | Bonemeal has particles, fixes #393Tiger Wang2013-12-081-0/+6
| |
* | Renamed animation functionTiger Wang2013-12-071-2/+2
| | | | | | | | | | Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
* | Fixed duplication glitch with QueueSetBlockTiger Wang2013-12-061-2/+2
| | | | | | | | | | | | | | 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.
* | Added pickup invalid item checkTiger Wang2013-12-061-0/+11
|/ | | | | They aren't spawned at all if their itemtype isn't valid; possibly fixes the client crashing with bad pickups.
* Lava can spawn fire.madmaxoft2013-12-041-0/+1
| | | | Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
* Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-2/+2
|
* Explicitly set spawnpoint fixes.madmaxoft2013-11-301-20/+11
| | | | | The value names are case-insensitive. The debug message is printed only once.
* Added the real tick duration to the OnWorldTick hook.madmaxoft2013-11-301-9/+10
|
* Made TNT pickups spawning chance 25%Tiger Wang2013-11-271-1/+1
|
* Merged master into redstonefixesTiger Wang2013-11-271-11/+73
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-0/+12
| | | | | Conflicts: VC2008/MCServer.vcproj
* Fixed another one.Alexander Harkness2013-11-261-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-0/+18
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+2715