home · contact · privacy
Minor formatting improvements.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jul 2013 01:05:45 +0000 (03:05 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jul 2013 01:05:45 +0000 (03:05 +0200)
src/map_objects.c
src/map_objects.h
src/misc.c

index 2fb6b80ca5dc777d6873924a5920ea5a41f8fe05..4fc9f1c44d24cb80829bdd6d74cf87d19021d117 100644 (file)
@@ -159,7 +159,8 @@ extern void read_map_objects_monsterdata (void * start, FILE * file)
 
 extern void * build_map_objects(struct World * world, void * start, char def_id,
                                 unsigned char n, size_t size,
-                                void (* b_typedata) (struct MapObjDef *, void *))
+                                void (* b_typedata) (struct MapObjDef *,
+                                                     void *))
 {
     unsigned char i;
     struct MapObj * mo;
index d5985148a04707f3c4b0a89697e36de8d6c2db9c..fb33fe504fd0072b79442b982d3dfab32caf2282 100644 (file)
@@ -87,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,
-                                 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,
index a8918a9ccdfdc76a1899226298823b4fbacbfd43..8998d0a462f807f6485fae2ff752e1940033682b 100644 (file)
@@ -4,17 +4,20 @@
 #include <stdlib.h> /* for exit(), EXIT_SUCCESS define, calloc(), free() */
 #include <string.h> /* for strlen(), strcmp(), memcpy() */
 #include <ncurses.h> /* for endwin() */
-#include "windows.h" /* for suspend_win(), append_win(), reset_pad_offset(), */
-                     /* resize_active_win(), cycle_active_win(),             */
-                     /* shift_active_win(), struct Win, struct WinMeta       */
-#include "keybindings.h" /* for get_action_key(), save_keybindings(),  */
-                         /* keyswin_move_selection(), keyswin_mod_key() */
-#include "readwrite.h" /* for write_uint16_bigendian() */
-                       /* write_uint32_bigendian()     */
-#include "map_objects.h" /* for struct Monster, write_map_objects(), */
-                         /* write_map_objects_monsterdata()          */
+#include "windows.h" /* for suspend_win(), append_win(), reset_pad_offset(),
+                      * resize_active_win(), cycle_active_win(),
+                      * shift_active_win(), struct Win, struct WinMeta
+                      */
+#include "keybindings.h" /* for get_action_key(), save_keybindings(),
+                          * keyswin_move_selection(), keyswin_mod_key()
+                          */
+#include "readwrite.h" /* for write_uint16_bigendian(), write_uint32_bigendian()
+                        */
+#include "map_objects.h" /* for struct Monster, write_map_objects(),
+                          * write_map_objects_monsterdata()
+                          */
 #include "map_object_actions.h" /* for is_passable(), move_monster() */
-#include "map.h" /* for map_scroll()/map_center_player(), Map struct, dir enum */
+#include "map.h" /* for map_scroll(),map_center_player(), Map struct,dir enum */
 #include "main.h" /* for World struct */
 #include "yx_uint16.h" /* for yx_uint16 */