dfhack/library/modules
Alexander Gavrilov 415cdad489 Make using new for allocating DF objects with vtables a compile-time error.
When done from plugins, it doesn't correctly initialize the vtable
because of some weird things MSVC does, so the only safe way is to
use df::allocate<df::foo>(). For consistency, it is also enforced
for code in the main library. It reveals the issue in the digging
invaders plugin, first found by warmist.

This change is linked to a modification in df-structures codegen.
2014-04-30 21:28:02 +04:00
..
Buildings.cpp
Burrows.cpp
Constructions.cpp
Engravings.cpp
EventManager.cpp Assorted cleanup 2014-04-23 08:23:34 -05:00
Graphic.cpp
Gui.cpp Add new API functions for creating announcements and combat reports. 2014-04-15 19:50:23 +04:00
Items.cpp Make using new for allocating DF objects with vtables a compile-time error. 2014-04-30 21:28:02 +04:00
Job.cpp Assorted cleanup 2014-04-23 08:23:34 -05:00
MapCache.cpp DFHack compiles under OS X now. 2014-01-25 03:21:56 -05:00
Maps.cpp Assorted cleanup 2014-04-23 08:23:34 -05:00
Materials.cpp MaterialInfo: fix decoding for COAL subtypes 2013-11-05 00:31:32 +01:00
Notes.cpp
Once.cpp
Random.cpp Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Screen.cpp
Translation.cpp
Units.cpp Add a couple of useful scripts and fix two missing NULL checks. 2014-04-21 09:24:05 +04:00
Vermin.cpp
Windows.cpp
World.cpp Hide fake historical figures from legends xml export. 2013-11-07 12:27:53 +04:00
kitchen.cpp