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 Sync to changes in the data structure definitions. 2012-04-26 12:36:29 -05:00
block_square_event_mineralst.methods.inc Sync to changes in the data structure definitions. 2012-04-26 12:36:29 -05:00
coord.methods.inc Fix coord/coord2d division/modulo operators to properly handle negative numbers (fixes some glitches with revflood and possibly other utils) 2012-04-01 19:44:35 -05:00
coord2d.methods.inc Get rid of some obsolete api functions, and restructure MapCache. 2012-04-10 18:21:19 +04:00
coord2d_path.methods.inc Update to match the data definitions. 2012-01-21 17:18:53 +04:00
coord_path.methods.inc Some tweaking and edited NEWS. 2012-10-06 12:40:46 +04:00
inorganic_raw.methods.inc Cleanup code to get rid of MSVC warning C4482 2012-01-31 10:17:27 -06:00
material.methods.inc Cleanup code to get rid of MSVC warning C4482 2012-01-31 10:17:27 -06:00
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