Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-05-06 | Fixed various MSVC warnings. | Mattes D | 1 | -4/+0 | |
2020-05-04 | Refactor minecart collision detection code. (#4712) | Alexander Harkness | 1 | -109/+275 | |
* Refactor minecart collision detection code. - Use new GetBoundingBox function. - Handle descending and ascending rails. - Snap to descending rails. * Add message for UNREACHABLE | |||||
2020-05-01 | Unify entity spawn packet sending | Tiger Wang | 1 | -1/+1 | |
2020-04-16 | Using Super. | Mattes D | 1 | -13/+13 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+1 | |
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | |||||
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 1 | -8/+7 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -12/+15 | |
2019-08-08 | Change TakeDamageInfo::FinalDamage from int to float (#4359) | Aplaus228 | 1 | -2/+2 | |
Closes #4357 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -0/+4 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2017-11-22 | Store Health as a float (#4073) | Fabian | 1 | -1/+1 | |
* Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | |||||
2017-10-21 | Fix minecart deceleration (#4059) | peterbell10 | 1 | -32/+45 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -13/+10 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -10/+13 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -13/+10 | |
2017-06-05 | Fixes problems with windows: | Lukas Pioch | 1 | -1/+1 | |
- Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | |||||
2016-12-15 | Fixed minecart destruction using deallocated memory. | Mattes D | 1 | -3/+8 | |
2016-12-10 | Powered rails can kick-start minecarts (#3472) | Marvin Kopf | 1 | -32/+60 | |
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -1/+9 | |
2016-09-03 | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 1 | -0/+5 | |
2016-08-20 | Fix minecart destruction crash (#3336) | LogicParrot | 1 | -1/+1 | |
2016-08-20 | Fixed minecraft with chest destruction crash (#3335) | LogicParrot | 1 | -2/+11 | |
2016-06-30 | Close chest window if minecart is destroyed | Lukas Pioch | 1 | -0/+1 | |
2016-04-22 | Fix minecart block collision on curved rails | Woazboat | 1 | -10/+56 | |
2016-04-15 | Add speed limit enforcement for minecarts | Marvin Kopf | 1 | -41/+51 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -4/+1 | |
2016-02-16 | Fix minecart entity collision | Marvin Kopf | 1 | -26/+10 | |
* Minecarts no longer handle a collision if the entity is behind them. * Minecarts will leave the pushing after a collision on a straight rail to the entity. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -10/+10 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -6/+6 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -5/+0 | |
Ad fix a load of warnings | |||||
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-03-31 | Changed air drag units to 'interpolated ticks' per second | DevToaster | 1 | -1/+1 | |
2015-03-31 | Modified physics for more vanilla-like behavior | DevToaster | 1 | -1/+3 | |
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -4/+7 | |
2015-01-18 | Fixed type-conversion warnings. | Mattes D | 1 | -1/+1 | |
2015-01-16 | Converted MinecartEntity to std::chrono | Tycho | 1 | -5/+5 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -5/+5 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-13 | Own classes for all windows. | Howaner | 1 | -0/+1 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -6/+23 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -7/+7 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -7/+7 | |
2014-09-28 | Compilation fix | Tiger Wang | 1 | -2/+2 | |
2014-09-27 | Suggestions | Tiger Wang | 1 | -2/+2 | |
2014-09-23 | A few compiler warning fixes | Chris Darnell | 1 | -40/+41 | |
2014-09-22 | Made it compile with clang | Chris Darnell | 1 | -2/+2 | |
2014-09-13 | Implemented Chest Minecarts | Tiger Wang | 1 | -8/+33 | |
2014-09-01 | Added name tag | Howaner | 1 | -2/+3 | |
2014-08-30 | Fixed MSVC2008 compilation. | madmaxoft | 1 | -18/+18 | |
It was getting confused about which sqrt() overload to call. | |||||
2014-08-28 | Fixed a typo. | Mattes D | 1 | -1/+1 | |
2014-08-24 | Change comment formatting | Christophe Piveteau | 1 | -20/+12 | |
2014-08-18 | Adjust comment formatting | Christophe Piveteau | 1 | -20/+40 | |
2014-08-15 | Added a lot of comments | Christophe Piveteau | 1 | -30/+36 | |
2014-08-15 | Clarify comment message | Christophe Piveteau | 1 | -2/+2 | |
2014-08-15 | End of comment moved away from new line | Christophe Piveteau | 1 | -2/+1 | |
2014-08-15 | Add some comments | Christophe Piveteau | 1 | -10/+21 | |
2014-08-14 | Further changes in coding style | Christophe Piveteau | 1 | -38/+28 | |
2014-08-13 | Further fixing of coding style errors | Christophe Piveteau | 1 | -26/+22 | |
2014-08-13 | Another intendation error | Christophe Piveteau | 1 | -2/+2 | |
2014-08-13 | Fixed braces and intendation errors | Christophe Piveteau | 1 | -3/+11 | |
2014-08-13 | Implement ability to push minecarts on curved rails | Christophe Piveteau | 1 | -2/+70 | |
2014-07-19 | Minecart: slimmed down SpawnOn by keeping subtype in the payload enum | archshift | 1 | -15/+1 | |
2014-07-17 | More trailing whitespace fixes. | madmaxoft | 1 | -4/+4 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -46/+46 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-04-26 | Further refactored, Reverted Minecart change | archshift | 1 | -14/+20 | |
Other small changes. | |||||
2014-04-26 | Fixed a couple more warnings. | archshift | 1 | -20/+14 | |
2014-04-26 | Add entity invulnerable | Howaner | 1 | -5/+9 | |
2014-04-21 | reverted the revert of the minecart collision detection fix. | jfhumann | 1 | -2/+1 | |
2014-04-19 | Fixed Flint and Steel, reverted Minecart change, renamed a parameter name | jfhumann | 1 | -1/+2 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -1/+1 | |
2014-04-17 | Added new AI rules | Tiger Wang | 1 | -19/+19 | |
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT | |||||
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -2/+2 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -8/+8 | |
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -5/+5 | |
2014-01-25 | Rail speed tweak | Tiger Wang | 1 | -2/+2 | |
2014-01-24 | Added more minecart powered rail directions | Tiger Wang | 1 | -3/+63 | |
2014-01-19 | Begin implementing ascending rails | Tiger Wang | 1 | -2/+42 | |
2014-01-19 | Added one more direction into collision checks | Tiger Wang | 1 | -26/+51 | |
* Added direction XM_XP * Improved performance, thanks STR and xoft | |||||
2014-01-19 | Minecart improvements and fixes | Tiger Wang | 1 | -33/+43 | |
* Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail() | |||||
2014-01-18 | Minecart collision and general improvements | Tiger Wang | 1 | -68/+237 | |
+ Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug | |||||
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -12/+12 | |
2014-01-15 | Furnace minecarts now stop being active after a while. | STRWarrior | 1 | -1/+11 | |
2014-01-15 | First implementation for furnace minecarts. | STRWarrior | 1 | -1/+22 | |
2014-01-13 | Final improvements to Minecarts | Tiger Wang | 1 | -56/+263 | |
* Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here. | |||||
2014-01-12 | Renamed cEmptyMinecart to cRideableMinecart | STRWarrior | 1 | -3/+4 | |
2014-01-12 | EmptyMinecarts should be able to get a block inside of them. | STRWarrior | 1 | -2/+4 | |
2014-01-12 | Multiple enhancements and fixes to minecarts | Tiger Wang | 1 | -128/+182 | |
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails | |||||
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-10-09 | Second round of fixes | Tiger Wang | 1 | -2/+2 | |
* Implemented suggestions | |||||
2013-10-08 | Initial Metadata Commit [SEE DESC] | Tiger Wang | 1 | -4/+54 | |
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned | |||||
2013-09-22 | Fixed a few compiler warnings | madmaxoft | 1 | -21/+34 | |
2013-09-13 | Even more fixes [SEE DESC] | Tiger Wang | 1 | -8/+12 | |
* Fixed minecarts breaking completely due to stuff * Rails are now non solid again + Added IsRail inline bool - Removed Herobrine | |||||
2013-09-09 | A few Minecart fixes | Tiger Wang | 1 | -6/+1 | |
* Removed unneeded flatrail setpos * Fixed health checking | |||||
2013-09-03 | Fixed inconsistent meta naming | Tiger Wang | 1 | -10/+10 | |
2013-09-02 | Minecart enhancements [SEE DESC] | Tiger Wang | 1 | -112/+238 | |
Curved rails. Better physics. Better code as improved by xoft. Stuff. | |||||
2013-08-29 | Physics enhancements | Tiger Wang | 1 | -23/+22 | |
Minecarts no longer glitch on flat rails Improved acceleration, speed limit, and stopping | |||||
2013-08-29 | Corrected comment TypeType | Tiger Wang | 1 | -1/+1 | |
2013-08-29 | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 1 | -32/+14 | |
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType | |||||
2013-08-28 | Fixed Minecart spawning issues | Tiger Wang | 1 | -9/+10 | |
Now you can have everything! | |||||
2013-08-27 | Preliminary Minecart physics handling [SEE DESC] | Tiger Wang | 1 | -1/+196 | |
This commit includes physics handling for the following scenarios: Flat rails in orientations [N, S, W, E] Ascending/descending rails in orientations [N, S, W, E] Powered rails are NOT handled (they don't respond to redstone). Curved rails are NOT handled (I haven't figured out how to do them :P) Please note that I have not tried to emulate vanilla behaviour because of a lack of knowledge on velocity unites/C++. We can say it's a feature or something. :P | |||||
2013-08-25 | Moved entity spawning into cEntity::Initialize(). | madmaxoft | 1 | -14/+0 | |
It has been called in every descendant anyway, so it's better this way - reduced duplicate code. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -2/+2 | |
2013-08-16 | Possible entity ID fix? | Tiger Wang | 1 | -2/+2 | |
2013-08-16 | Compilation and Minecart fixes | Tiger Wang | 1 | -6/+6 | |
2013-08-16 | Feature and bugfixes [SEE DESC] | Tiger Wang | 1 | -0/+26 | |
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue | |||||
2013-08-08 | Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks. | madmaxoft | 1 | -3/+7 | |
As requested in FS 418. | |||||
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -160/+160 | |
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -1/+1 | |
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Minecarts get saved into Anvil. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -0/+11 | |
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -0/+87 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-18 | Minecarts can now be placed. | madmaxoft@gmail.com | 1 | -0/+62 | |
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6 |