home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f1f36a
)
Server: Remove unneeded library includes.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 22 Aug 2014 00:01:01 +0000
(
02:01
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 22 Aug 2014 00:01:01 +0000
(
02:01
+0200)
src/server/field_of_view.c
patch
|
blob
|
history
src/server/map.c
patch
|
blob
|
history
src/server/map.h
patch
|
blob
|
history
src/server/thing_actions.c
patch
|
blob
|
history
src/server/things.h
patch
|
blob
|
history
src/server/yx_uint8.h
patch
|
blob
|
history
diff --git
a/src/server/field_of_view.c
b/src/server/field_of_view.c
index b4303970cdee2bcb283ed223aa5a6832f3ca0cb2..3d86402fe3c4f60aebc355e41c7e994271daf95a 100644
(file)
--- a/
src/server/field_of_view.c
+++ b/
src/server/field_of_view.c
@@
-6,9
+6,10
@@
#include <string.h> /* memset() */
#include "../common/rexit.h" /* exit_trouble() */
#include "../common/try_malloc.h" /* try_malloc() */
#include <string.h> /* memset() */
#include "../common/rexit.h" /* exit_trouble() */
#include "../common/try_malloc.h" /* try_malloc() */
+#include "../common/yx_uint8.h" /* yx_uint8 */
#include "map.h" /* mv_yx_in_dir_legal() */
#include "things.h" /* Thing, ThingInMemory, add_thing_to_memory_map() */
#include "map.h" /* mv_yx_in_dir_legal() */
#include "things.h" /* Thing, ThingInMemory, add_thing_to_memory_map() */
-#include "yx_uint8.h" /*
yx_uint8, mv_yx_in_hex_dir(),
mv_yx_in_dir_wrap(), */
+#include "yx_uint8.h" /* mv_yx_in_dir_wrap(), */
#include "world.h" /* world */
#include "world.h" /* world */
diff --git
a/src/server/map.c
b/src/server/map.c
index d98a61f28813730e33388fe48f42b7ec3ff7391b..ae907d2327363fef50919575440a27a6a094a702 100644
(file)
--- a/
src/server/map.c
+++ b/
src/server/map.c
@@
-5,7
+5,7
@@
#include <stdlib.h> /* free() */
#include "../common/rexit.h" /* exit_err() */
#include "../common/try_malloc.h" /* try_malloc() */
#include <stdlib.h> /* free() */
#include "../common/rexit.h" /* exit_err() */
#include "../common/try_malloc.h" /* try_malloc() */
-#include "../common/yx_uint8.h" /*
struct
yx_uint8 */
+#include "../common/yx_uint8.h" /* yx_uint8 */
#include "rrand.h" /* rrand() */
#include "yx_uint8.h" /* mv_yx_in_dir_wrap() */
#include "world.h" /* global world */
#include "rrand.h" /* rrand() */
#include "yx_uint8.h" /* mv_yx_in_dir_wrap() */
#include "world.h" /* global world */
diff --git
a/src/server/map.h
b/src/server/map.h
index 5407dafe34942b65f0ce6a1b6570b38baa8b4771..d704bc27ba81c15144d4ac31e382aa5171c5dbcc 100644
(file)
--- a/
src/server/map.h
+++ b/
src/server/map.h
@@
-7,7
+7,7
@@
#define MAP_H_SERVER
#include <stdint.h> /* uint8_t */
#define MAP_H_SERVER
#include <stdint.h> /* uint8_t */
-#include "../common/yx_uint8.h" /* yx_uint8 */
+struct yx_uint8;
diff --git
a/src/server/thing_actions.c
b/src/server/thing_actions.c
index 627235c7b04728adc0b47ea90ec9c9ade9da26ec..df516e45864f2c076b4fd162eec2f96400f1713d 100644
(file)
--- a/
src/server/thing_actions.c
+++ b/
src/server/thing_actions.c
@@
-8,7
+8,7
@@
#include <string.h> /* strlen(), memcpy(), strncmp() */
#include "../common/rexit.h" /* exit_trouble() */
#include "../common/try_malloc.h" /* try_malloc() */
#include <string.h> /* strlen(), memcpy(), strncmp() */
#include "../common/rexit.h" /* exit_trouble() */
#include "../common/try_malloc.h" /* try_malloc() */
-#include "../common/yx_uint8.h" /*
struct
yx_uint8 */
+#include "../common/yx_uint8.h" /* yx_uint8 */
#include "field_of_view.h" /* build_fov_map() */
#include "hardcoded_strings.h" /* s */
#include "things.h" /* Thing, ThingType, get_player(), own_thing(),
#include "field_of_view.h" /* build_fov_map() */
#include "hardcoded_strings.h" /* s */
#include "things.h" /* Thing, ThingType, get_player(), own_thing(),
diff --git
a/src/server/things.h
b/src/server/things.h
index d5ac7ef1556a3c26c8ea68dc55647f8b08b67906..d87bee8de7a1bff851225032262bdf5fb0f3cf95 100644
(file)
--- a/
src/server/things.h
+++ b/
src/server/things.h
@@
-8,7
+8,7
@@
#define THINGS_H
#include <stdint.h> /* uint8_t, int16_t */
#define THINGS_H
#include <stdint.h> /* uint8_t, int16_t */
-#include "../common/yx_uint8.h" /* yx_uint8
structs
*/
+#include "../common/yx_uint8.h" /* yx_uint8 */
diff --git
a/src/server/yx_uint8.h
b/src/server/yx_uint8.h
index 4763f55a7247fd7c6a74dc918cf0e6809aad3142..54246fd9b7e7d4519d6f74686669dccdf4644295 100644
(file)
--- a/
src/server/yx_uint8.h
+++ b/
src/server/yx_uint8.h
@@
-7,7
+7,7
@@
#define YX_UINT8_H_SERVER
#include <stdint.h> /* uint8_t */
#define YX_UINT8_H_SERVER
#include <stdint.h> /* uint8_t */
-#include "../common/yx_uint8.h" /* yx_uint8 */
+struct yx_uint8;