forked from github/server
clarification: at_dict is deprecated but has a conversion.
This commit is contained in:
parent
7fcecc9468
commit
fb52bc8846
|
@ -14,7 +14,6 @@
|
||||||
#include "stealth.h"
|
#include "stealth.h"
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
#include "movement.h"
|
#include "movement.h"
|
||||||
#include "dict.h"
|
|
||||||
#include "otherfaction.h"
|
#include "otherfaction.h"
|
||||||
#include "overrideroads.h"
|
#include "overrideroads.h"
|
||||||
#include "racename.h"
|
#include "racename.h"
|
||||||
|
@ -198,7 +197,6 @@ void register_attributes(void)
|
||||||
at_deprecate("gm", a_readint);
|
at_deprecate("gm", a_readint);
|
||||||
at_deprecate("guard", a_readint); /* used to contain guard-flags (v3.10.0-259-g8597e8b) */
|
at_deprecate("guard", a_readint); /* used to contain guard-flags (v3.10.0-259-g8597e8b) */
|
||||||
at_register(&at_stealth);
|
at_register(&at_stealth);
|
||||||
at_register(&at_dict);
|
|
||||||
at_register(&at_unitdissolve);
|
at_register(&at_unitdissolve);
|
||||||
at_register(&at_observer);
|
at_register(&at_observer);
|
||||||
at_register(&at_overrideroads);
|
at_register(&at_overrideroads);
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "attributes/dict.h"
|
||||||
|
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "vortex.h"
|
#include "vortex.h"
|
||||||
#include "alchemy.h"
|
#include "alchemy.h"
|
||||||
|
@ -358,6 +360,7 @@ void register_tolua_helpers(void)
|
||||||
{
|
{
|
||||||
tt_register(&tt_caldera);
|
tt_register(&tt_caldera);
|
||||||
at_register(&at_direction);
|
at_register(&at_direction);
|
||||||
|
at_register(&at_dict); /* deprecated, but has an upgrade path */
|
||||||
at_deprecate("lcbuilding", building_action_read);
|
at_deprecate("lcbuilding", building_action_read);
|
||||||
|
|
||||||
callbacks.equip_unit = lua_equipunit;
|
callbacks.equip_unit = lua_equipunit;
|
||||||
|
|
Loading…
Reference in New Issue