1
0
Fork 0
cuberite-2a/src/UI
peterbell10 a4dbb5c582
Prefer static_cast to reinterpret_cast (#4223)
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.

reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2018-05-02 08:50:36 +01:00
..
AnvilWindow.cpp Moved window code into cpp files 2015-03-10 19:40:53 +01:00
AnvilWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
BeaconWindow.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
BeaconWindow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BrewingstandWindow.cpp Corrected brewingstand and added support for fuel 2017-05-08 06:30:54 +02:00
BrewingstandWindow.h Implemented brewing 2015-11-03 18:00:55 +01:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ChestWindow.cpp Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
ChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
CraftingWindow.cpp Moved window code into cpp files 2015-03-10 19:40:53 +01:00
CraftingWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
DropSpenserWindow.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
DropSpenserWindow.h More style checking. 2015-05-09 12:58:54 +02:00
EnchantingWindow.cpp Made -Weverything an error. 2015-05-24 12:56:56 +01:00
EnchantingWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
EnderChestWindow.cpp Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
EnderChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
FurnaceWindow.cpp More style checking. 2015-05-09 12:58:54 +02:00
FurnaceWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
HopperWindow.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
HopperWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
HorseWindow.cpp Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
HorseWindow.h Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
InventoryWindow.cpp Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) 2017-05-24 08:09:58 +02:00
InventoryWindow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MinecartWithChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
SlotArea.cpp Prefer static_cast to reinterpret_cast (#4223) 2018-05-02 08:50:36 +01:00
SlotArea.h Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
Window.cpp A player's inventory is always opened by its owner. (#4176) 2018-01-28 17:24:59 +00:00
Window.h cWindow: Fix slot area priority when double click stacking. (#4086) 2018-01-15 11:35:27 +00:00
WindowOwner.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00