dfhack/plugins/diggingInvaders
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
..
CMakeLists.txt Digging Invaders: reorganized the files to make it easier to work with. 2013-01-03 18:14:16 -05:00
assignJob.cpp Make using new for allocating DF objects with vtables a compile-time error. 2014-04-30 21:28:02 +04:00
assignJob.h diggingInvaders: added per-creature dig times and differentiated between smooth and rough constructions. 2013-06-15 23:04:15 -04:00
diggingInvaders.cpp Added enable/disable functionality to diggingInvaders. 2013-10-19 21:42:24 -04:00
edgeCost.cpp diggingInvaders: added per-creature dig times and differentiated between smooth and rough constructions. 2013-06-15 23:04:15 -04:00
edgeCost.h diggingInvaders: added per-creature dig times and differentiated between smooth and rough constructions. 2013-06-15 23:04:15 -04:00