Fixes for compiling with clang
This commit is contained in:
parent
73769c62e4
commit
68ebcb559f
|
@ -445,7 +445,7 @@ end
|
|||
local function initMarketItems()
|
||||
-- populate all market items
|
||||
marketItems = {}
|
||||
local types = g_things.findThingTypeByAttr(ThingAttrMarket)
|
||||
local types = g_things.findThingTypeByAttr(ThingAttrMarket, 0)
|
||||
for i = 1, #types do
|
||||
local t = types[i]
|
||||
local newItem = Item.create(t:getId())
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#define PARTICLESYSTEM_H
|
||||
|
||||
#include "declarations.h"
|
||||
#include "particle.h"
|
||||
#include "particleemitter.h"
|
||||
#include "particleaffector.h"
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#define CONTAINER_H
|
||||
|
||||
#include "declarations.h"
|
||||
#include "item.h"
|
||||
|
||||
#include <framework/luaengine/luaobject.h>
|
||||
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include "declarations.h"
|
||||
#include "item.h"
|
||||
#include "animatedtext.h"
|
||||
#include "effect.h"
|
||||
#include "creature.h"
|
||||
#include "container.h"
|
||||
#include "protocolgame.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include <framework/global.h>
|
||||
#include "thing.h"
|
||||
#include "effect.h"
|
||||
#include "itemtype.h"
|
||||
|
||||
enum ItemAttr : uint8
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "creatures.h"
|
||||
#include "animatedtext.h"
|
||||
#include "statictext.h"
|
||||
#include "tile.h"
|
||||
|
||||
#include <framework/core/clock.h>
|
||||
|
||||
|
|
|
@ -24,8 +24,9 @@
|
|||
#define THINGTYPE_H
|
||||
|
||||
#include "declarations.h"
|
||||
|
||||
#include <framework/core/declarations.h>
|
||||
#include <framework/graphics/declarations.h>
|
||||
#include <framework/graphics/texture.h>
|
||||
#include <framework/graphics/coordsbuffer.h>
|
||||
#include <framework/luaengine/luaobject.h>
|
||||
#include <framework/net/server.h>
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
#define TILE_H
|
||||
|
||||
#include "declarations.h"
|
||||
#include "effect.h"
|
||||
#include "creature.h"
|
||||
#include "item.h"
|
||||
#include <framework/luaengine/luaobject.h>
|
||||
|
||||
enum tileflags_t
|
||||
|
|
Loading…
Reference in New Issue