summaryrefslogtreecommitdiffstats
path: root/src/Entities/Boat.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-05Deal with covered switches consistently (#4161)peterbell101-7/+2
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+2
2017-05-24Exported boatLukas Pioch1-3/+106
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2016-09-03Entities now bail out of ticks if destroyed (#3363)LogicParrot1-0/+5
2016-07-18Fixes for boat entities (#3265)beeduck1-2/+36
protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted.
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-03-31Changed air drag units to 'interpolated ticks' per secondDevToaster1-1/+1
2015-03-31Modified physics for more vanilla-like behaviorDevToaster1-1/+3
2015-03-20Correct world height validations.Tommy Santerre1-1/+1
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-09-01Added name tagHowaner1-0/+2
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-1/+1
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-26Add entity invulnerableHowaner1-2/+6
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney1-2/+0
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-02-24Small improvements to boats.STRWarrior1-3/+7
2014-02-09Fixed a boat ASSERTTiger Wang1-2/+8
2013-12-16Boats drop a boat pickup when destroyed by hand. You can now actualy use boats.STRWarrior1-2/+31
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-09-08Fixed a bunch of stuffTiger Wang1-3/+3
* Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy
2013-09-08Initial boat supportTiger Wang1-0/+84
+ Boats are saved + Boats have physics + Boats spawn