summaryrefslogtreecommitdiffstats
path: root/src/Entities/TNTEntity.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-1/+1
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-09-12Use tracing for explosions (#4845)Tiger Wang1-7/+3
* TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-04-16Using Super.Mattes D1-3/+6
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-8/+8
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-07-24Removed redundant semicolons and re-added warningarchshift1-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-03-08Change TNT Fuse to ticksHowaner1-5/+5
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner1-7/+16
2013-12-14Exported the cTNTEntitySTRWarrior1-2/+6
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-08-25Moved entity spawning into cEntity::Initialize().madmaxoft1-1/+0
It has been called in every descendant anyway, so it's better this way - reduced duplicate code.
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+0
2013-08-17Fixed compile-time warning in TNTEntity.madmaxoft1-4/+4
The FuseTime is now a double instead of a float
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-1/+1
As requested in FS 418.
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-34/+34
2013-06-18More TNT fixes.madmaxoft@gmail.com1-6/+7
Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-0/+33
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6