home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slightly re-structured and re-styled a for-loop for greater understandability.
[plomrogue]
/
src
/
map_objects.h
diff --git
a/src/map_objects.h
b/src/map_objects.h
index ebda3143de670cb5e6fb73ba91798618686cc885..fb33fe504fd0072b79442b982d3dfab32caf2282 100644
(file)
--- a/
src/map_objects.h
+++ b/
src/map_objects.h
@@
-16,7
+16,6
@@
struct World;
/* Player is non-standard: single and of a hard-coded type. */
/* Player is non-standard: single and of a hard-coded type. */
-
struct Player
{
struct yx_uint16 pos;
struct Player
{
struct yx_uint16 pos;
@@
-88,7
+87,8
@@
extern void init_map_object_defs(struct World * world, char * filename);
*/
extern void * build_map_objects(struct World * world, void * start, char def_id,
unsigned char n, size_t size,
*/
extern void * build_map_objects(struct World * world, void * start, char def_id,
unsigned char n, size_t size,
- void (*) (struct MapObjDef *, void *));
+ void (* b_typedata) (struct MapObjDef *,
+ void *));
extern void build_map_objects_itemdata(struct MapObjDef * map_obj_def,
void * start);
extern void build_map_objects_monsterdata(struct MapObjDef * map_obj_def,
extern void build_map_objects_itemdata(struct MapObjDef * map_obj_def,
void * start);
extern void build_map_objects_monsterdata(struct MapObjDef * map_obj_def,
@@
-119,4
+119,6
@@
extern void read_map_objects_monsterdata( void * start, FILE * file);
/* Get pointer to the map object definition of identifier "def_id". */
extern struct MapObjDef * get_map_obj_def(struct World * world, char def_id);
/* Get pointer to the map object definition of identifier "def_id". */
extern struct MapObjDef * get_map_obj_def(struct World * world, char def_id);
+
+
#endif
#endif