Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp

This commit is contained in:
zicodxx 2013-01-03 16:44:52 +01:00
parent 88de21684d
commit 1e4e463394
6 changed files with 3 additions and 6 deletions

View file

@ -9,7 +9,7 @@ main/bmread.c, main/hostage.c, main/piggy.h: Moved remove_char declaration to pi
main/multi.h, main/net_udp.c: Moved multi_* declarations to multi.h - patch by Kp
maths/rand.c: Included maths.h in rand.c to get d_rand prototype - patch by Kp
arch/include/joy.h, arch/sdl/event.c, arch/sdl/joy.c: Moved joy_*_handler declarations to joy.h - patch by Kp
editor/group.c, editor/medwall.c, editor/segment.c, main/gameseg.h, main/wall.h: Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp
20121102
--------

View file

@ -80,8 +80,6 @@ int Group_orientation[MAX_GROUPS+1];
int current_group=-1;
int num_groups=0;
extern void validate_segment_side(segment *sp, int sidenum);
// -- void swap_negate_columns(vms_matrix *rotmat, int col1, int col2)
// -- {
// -- fix col1_1,col1_2,col1_3;

View file

@ -610,7 +610,6 @@ int wall_dialog_handler(UI_DIALOG *dlg, d_event *event, wall_dialog *wd)
//---------------------------------------------------------------------
extern void wall_close_door_num(int door_num);
// Restore all walls to original status (closed doors, repaired walls)
int wall_restore_all()

View file

@ -1080,8 +1080,6 @@ void delete_vertices_in_segment(segment *sp)
update_num_vertices();
}
extern void validate_segment_side(segment *sp, int sidenum);
// -------------------------------------------------------------------------------
// Delete segment *sp in Segments array.
// Return value:

View file

@ -226,6 +226,7 @@ extern void extract_up_vector_from_segment(segment *sp,vms_vector *vp);
extern void create_walls_on_side(segment *sp, int sidenum);
extern void pick_random_point_in_seg(vms_vector *new_pos, int segnum);
extern void validate_segment_side(segment *sp, int sidenum);
#endif

View file

@ -274,6 +274,7 @@ extern void active_door_read_n_swap(active_door *ad, int n, int swap, PHYSFS_fil
void wall_read_n_swap(wall *w, int n, int swap, PHYSFS_file *fp);
extern void wall_write(wall *w, short version, PHYSFS_file *fp);
void wall_close_door_num(int door_num);
#endif