dfhack/library/include/df/custom
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
..
block_burrow.methods.inc
block_square_event_mineralst.methods.inc
coord.methods.inc
coord2d.methods.inc
coord2d_path.methods.inc
coord_path.methods.inc Some tweaking and edited NEWS. 2012-10-06 12:40:46 +04:00
inorganic_raw.methods.inc
material.methods.inc
tile_bitmask.methods.inc Implement writing veins tile by tile through MapCache. 2013-10-08 18:17:36 +04:00
viewscreen.methods.inc Make using new for allocating DF objects with vtables a compile-time error. 2014-04-30 21:28:02 +04:00