#Makefile started by Ryzic.
GCC = gcc
RM = rm
EXE = rom
CC = ccache g++
C_FLAGS = -Wall -c -ggdb3 -DLINUX -DNOCRYPT -ansi -Os -g3 -march=native
L_FLAGS = -DLINUX
#L_FLAGS = -g -lcrypt -lm -w -fno-builtin
#Source files.
SRC := $(wildcard *.c)
#Object files.
OBJ_DIR = obj
OBJ := $(patsubst %.c,$(OBJ_DIR)/%.o,$(SRC))
#Make rom
rom: $(OBJ)
$(RM) -f $(EXE)
$(GCC) $(L_FLAGS) -o $(EXE) $(OBJ) -lcrypt
$(OBJ_DIR)/%.o: %.c
$(GCC) $(C_FLAGS) -c -o $@ $<
clean:
rm -f obj/* *~ *.bak *.orig *.rej $(EXE)
# $(RM) -f $(OBJ) $(EXE) *~ *.bak *.orig *.rej *.~c *.~h *.c~ *.h~
ROM24b6 base
Im not sure what I did but I cant get my mobs to repop. They WILL load
on a startup, on a copyover/reboot but they will NOT repop on their own
nor can I force a repop by calling reset_room/area, they just wont load.
I have ripped my code apart and cant figure it out, im missing something.
Can someone tell me what parts of the code 'exactly' that control this because
im brainfarting. The fact that they load on reboots and not on their own
has me stumped.
Thanks for any input, and dont make fun… hehe