taisei/src/stageobjects.h

37 lines
788 B
C
Raw Normal View History

2017-12-20 19:53:09 +01:00
/*
* This software is licensed under the terms of the MIT License.
2017-12-20 19:53:09 +01:00
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
2019-07-03 20:00:56 +02:00
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
2017-12-20 19:53:09 +01:00
*/
2017-12-13 20:05:12 +01:00
#ifndef IGUARD_stageobjects_h
#define IGUARD_stageobjects_h
#include "taisei.h"
2017-12-13 20:05:12 +01:00
#include "objectpool.h"
typedef struct StageObjectPools {
union {
struct {
ObjectPool *projectiles; // includes particles as well
ObjectPool *items;
ObjectPool *enemies;
ObjectPool *lasers;
2019-04-07 00:55:13 +02:00
ObjectPool *stagetext;
ObjectPool *bosses;
};
2017-12-13 20:05:12 +01:00
ObjectPool *first;
};
2017-12-13 20:05:12 +01:00
} StageObjectPools;
extern StageObjectPools stage_object_pools;
void stage_objpools_alloc(void);
void stage_objpools_free(void);
#endif // IGUARD_stageobjects_h