1
0
cuberite-2a/Server
Mat 7d4934534e
Stabilise MoveToWorld (#4004)
* Stabilise MoveToWorld

* Fix comments and deprecate ScheduleMoveToWorld

* Enhanced thread safety for m_WorldChangeInfo

* Return unique_ptr from cAtomicUniquePtr::exchange

* cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld.

Allows broadcasting entities added to the world from the world's tick thread.
This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize.

As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible.
This isn't used anywhere in Cuberite so it's now deprecated.

* Update entity position after removing it from the world.
Fixes broadcasts being sent to the wrong chunk.

* Fix style

* cEntity: Update LastSentPosition when sending spawn packet

* Add Wno-deprecated-declarations to the lua bindings

* Kill uses of ScheduleMoveToWorld
2020-03-05 12:52:34 +02:00
..
Install Remove unused file in Unix executable list 2020-02-10 21:54:52 +02:00
Plugins Stabilise MoveToWorld (#4004) 2020-03-05 12:52:34 +02:00
Prefabs Fixed and extended TestRails cubeset. 2016-12-15 11:09:11 +01:00
Protocol Improved the UpgradeBlockTypePalette. 2020-01-13 22:42:18 +01:00
webadmin WebAdmin improvements (#4433) 2019-12-28 02:15:12 +02:00
.gitignore Removed binary ToLua++ from build. 2017-05-04 17:38:05 +02:00
brewing.txt Minor changes (#3909) 2017-08-24 11:19:40 +02:00
crafting.txt Golden Apple Fixes (#4130) 2018-01-06 00:39:23 +00:00
delete_windows_service.cmd Renamed output directory to Server 2015-09-05 22:01:21 +02:00
favicon.png New icon colors (#3675) 2017-06-03 18:49:02 +02:00
furnace.txt Smelting Gives Experience (#4094) 2018-04-11 07:46:11 +01:00
hg Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
hg.supp Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
install_windows_service.cmd Renamed output directory to Server 2015-09-05 22:01:21 +02:00
items.ini Correct spider eye item ID (#4110) 2017-12-25 09:04:38 +00:00
monsters.ini Add BurnsInDaylight to Lua API and Monsters.ini (#4295) 2018-09-24 21:32:47 +01:00
README.txt Change outdated support link 2019-12-30 03:53:29 +02:00
vg Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
vg.supp Renamed output directory to Server 2015-09-05 22:01:21 +02:00

--------------------------------------------------------------------------------
   Welcome to your new Cuberite server, compatible with Minecraft 1.8 - 1.12!
--------------------------------------------------------------------------------

 - To get started with your server, read the user's manual at
   https://book.cuberite.org/

 - Subscribe to the Newsletter for update news and important information at
   https://cuberite.org/news/#subscribe

 - For information about adding plugins to your server, visit
   https://cuberite.org/plugins/

 - For additional support, visit https://cuberite.org/discuss/

--------------------------------------------------------------------------------