Make vlighting static

This commit is contained in:
Kp 2015-12-04 03:36:31 +00:00
parent ed55763603
commit a9b82e3f7f
4 changed files with 4 additions and 6 deletions

View file

@ -182,7 +182,6 @@ extern struct tm Editor_time_of_day;
extern int SegSizeMode; // Mode = 0/1 = not/is legal to move bound vertices,
void init_editor(void);
void close_editor(void);
// Initialize all vertices to inactive status.
extern void init_all_vertices(void);

View file

@ -115,7 +115,7 @@ static sbyte bm_flag = BM_NONE;
static int abm_flag = 0;
static int rod_flag = 0;
static short wall_open_sound, wall_close_sound,wall_explodes,wall_blastable, wall_hidden;
float vlighting=0;
static float vlighting=0;
static int obj_eclip;
static int dest_vclip; //what vclip to play when exploding
static int dest_eclip; //what eclip to play when exploding

View file

@ -109,7 +109,7 @@ static sbyte bm_flag = BM_NONE;
static int abm_flag = 0;
static int rod_flag = 0;
static short wall_open_sound, wall_close_sound,wall_explodes,wall_blastable, wall_hidden;
float vlighting=0;
static float vlighting=0;
static int obj_eclip;
static char *dest_bm; //clip number to play when destroyed
static int dest_vclip; //what vclip to play when exploding

View file

@ -344,8 +344,6 @@ void init_editor()
init_autosave();
// atexit(close_editor);
Clear_window = 1; // do full window clear.
InitCurve();
@ -817,8 +815,9 @@ int SafetyCheck()
}
//called at the end of the program
void close_editor() {
static void close_editor()
{
// _MARK_("end of editor");//Nuked to compile -KRB
#ifndef __linux__