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 Fix issue #195 - off by one error in building dimensions 2013-04-24 17:41:25 +02:00
Burrows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Constructions.cpp EventManager: made Buildings module keep track of buildings so that it 2013-01-01 22:22:31 -05:00
Engravings.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
EventManager.cpp Assorted cleanup 2014-04-23 08:23:34 -05:00
Graphic.cpp Digging Invaders: merged eventManager and recent. 2013-01-02 11:26:30 -05:00
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 Make it build and run on linux (no stonesense, df2mc, dfusion) 2012-02-09 03:07:26 +01:00
Once.cpp New module: Once. Intended to help prevent debug error message spam. 2013-03-23 22:38:33 -04:00
Random.cpp Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Screen.cpp Digging Invaders: merged eventManager and recent. 2013-01-02 11:26:30 -05:00
Translation.cpp Digging Invaders: merged eventManager and recent. 2013-01-02 11:26:30 -05:00
Units.cpp Add a couple of useful scripts and fix two missing NULL checks. 2014-04-21 09:24:05 +04:00
Vermin.cpp Get rid of Simple namespace, Gui module is now a namespace. 2012-03-03 14:38:24 +01:00
Windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
World.cpp Hide fake historical figures from legends xml export. 2013-11-07 12:27:53 +04:00
kitchen.cpp Merge further changes (???) 2012-09-10 09:19:21 -04:00