*Added a custom makefile for DevCpp which solves the ressources multiple-definitions problem (Game and Editor, the Character Editor wasn't affected).

Following requests/reports :
Blades of Exile :
*Corrected the Skill and Giant Strength abilities handling so that they actually increase the chances of hitting instead of decreasing it (damages were correctly handled).
*Now trying to enter a blocked space multiple times won't produce a lot of message but add a (xX) suffix to the "blocked:" message (X number of tries to enter the space)

Minor Editor changes :
*When opening a new town or assigning a new town to a town entry on outdoor map, the input field is already selected (extended the basic function for flexibility).

Code-wise :
*Readded legacy monster skill constants in CONSTS.h, to make the original code easier to understand for newcomers.

Chokboyz

git-svn-id: http://openexile.googlecode.com/svn/trunk@145 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2010-03-22 02:27:00 +00:00
parent f42f974453
commit 8fa380832c
15 changed files with 351 additions and 72 deletions

View File

@@ -0,0 +1,111 @@
# Project: Blades of Exile Win32
# Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = Blades_of_Exile_private.res
OBJ = boe.actions.o boe.main.o boe.combat.o boe.dlgutil.o boe.fields.o boe.fileio.o GLOBAL.o boe.graphics.o boe.graphutil.o boe.infodlg.o boe.itemdata.o boe.items.o boe.locutils.o boe.monster.o boe.newgraph.o boe.party.o boe.specials.o boe.text.o boe.town.o GLOBVAR.o tools/soundtool.o tools/soundvars.o tools/DLOGTOOL.o tools/mathutil.o classes/item.o classes/LOCATION.o classes/PC.o $(RES)
LINKOBJ = boe.actions.o boe.main.o boe.combat.o boe.dlgutil.o boe.fields.o boe.fileio.o GLOBAL.o boe.graphics.o boe.graphutil.o boe.infodlg.o boe.itemdata.o boe.items.o boe.locutils.o boe.monster.o boe.newgraph.o boe.party.o boe.specials.o boe.text.o boe.town.o GLOBVAR.o tools/soundtool.o tools/soundvars.o tools/DLOGTOOL.o tools/mathutil.o classes/item.o classes/LOCATION.o classes/PC.o $(RES)
LIBS = -L"C:/Dev-Cpp/lib/GTK+" -mwindows -lwinmm
INCS = -I"include"
CXXINCS =
BIN = "Blades of Exile.exe"
CXXFLAGS = $(CXXINCS) -Wall -O2
CFLAGS = $(INCS) -O2
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before "Blades of Exile.exe" all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Blades of Exile.exe" $(LIBS)
boe.actions.o: boe.actions.cpp
$(CPP) -c boe.actions.cpp -o boe.actions.o $(CXXFLAGS)
boe.main.o: boe.main.cpp
$(CPP) -c boe.main.cpp -o boe.main.o $(CXXFLAGS)
boe.combat.o: boe.combat.cpp
$(CPP) -c boe.combat.cpp -o boe.combat.o $(CXXFLAGS)
boe.dlgutil.o: boe.dlgutil.cpp
$(CPP) -c boe.dlgutil.cpp -o boe.dlgutil.o $(CXXFLAGS)
boe.fields.o: boe.fields.cpp
$(CPP) -c boe.fields.cpp -o boe.fields.o $(CXXFLAGS)
boe.fileio.o: boe.fileio.cpp
$(CPP) -c boe.fileio.cpp -o boe.fileio.o $(CXXFLAGS)
GLOBAL.o: GLOBAL.CPP
$(CPP) -c GLOBAL.CPP -o GLOBAL.o $(CXXFLAGS)
boe.graphics.o: boe.graphics.cpp
$(CPP) -c boe.graphics.cpp -o boe.graphics.o $(CXXFLAGS)
boe.graphutil.o: boe.graphutil.cpp
$(CPP) -c boe.graphutil.cpp -o boe.graphutil.o $(CXXFLAGS)
boe.infodlg.o: boe.infodlg.cpp
$(CPP) -c boe.infodlg.cpp -o boe.infodlg.o $(CXXFLAGS)
boe.itemdata.o: boe.itemdata.cpp
$(CPP) -c boe.itemdata.cpp -o boe.itemdata.o $(CXXFLAGS)
boe.items.o: boe.items.cpp
$(CPP) -c boe.items.cpp -o boe.items.o $(CXXFLAGS)
boe.locutils.o: boe.locutils.cpp
$(CPP) -c boe.locutils.cpp -o boe.locutils.o $(CXXFLAGS)
boe.monster.o: boe.monster.cpp
$(CPP) -c boe.monster.cpp -o boe.monster.o $(CXXFLAGS)
boe.newgraph.o: boe.newgraph.cpp
$(CPP) -c boe.newgraph.cpp -o boe.newgraph.o $(CXXFLAGS)
boe.party.o: boe.party.cpp
$(CPP) -c boe.party.cpp -o boe.party.o $(CXXFLAGS)
boe.specials.o: boe.specials.cpp
$(CPP) -c boe.specials.cpp -o boe.specials.o $(CXXFLAGS)
boe.text.o: boe.text.cpp
$(CPP) -c boe.text.cpp -o boe.text.o $(CXXFLAGS)
boe.town.o: boe.town.cpp
$(CPP) -c boe.town.cpp -o boe.town.o $(CXXFLAGS)
GLOBVAR.o: GLOBVAR.CPP
$(CPP) -c GLOBVAR.CPP -o GLOBVAR.o $(CXXFLAGS)
tools/soundtool.o: tools/soundtool.cpp
$(CPP) -c tools/soundtool.cpp -o tools/soundtool.o $(CXXFLAGS)
tools/soundvars.o: tools/soundvars.cpp
$(CPP) -c tools/soundvars.cpp -o tools/soundvars.o $(CXXFLAGS)
tools/DLOGTOOL.o: tools/DLOGTOOL.CPP
$(CPP) -c tools/DLOGTOOL.CPP -o tools/DLOGTOOL.o $(CXXFLAGS)
tools/mathutil.o: tools/mathutil.cpp
$(CPP) -c tools/mathutil.cpp -o tools/mathutil.o $(CXXFLAGS)
classes/item.o: classes/item.cpp
$(CPP) -c classes/item.cpp -o classes/item.o $(CXXFLAGS)
classes/LOCATION.o: classes/LOCATION.CPP
$(CPP) -c classes/LOCATION.CPP -o classes/LOCATION.o $(CXXFLAGS)
classes/PC.o: classes/PC.CPP
$(CPP) -c classes/PC.CPP -o classes/PC.o $(CXXFLAGS)
Blades_of_Exile_private.res: Blades_of_Exile_private.rc BLADES.RC GAMEDLOG.RC GAMESTR.RC
$(WINDRES) -i Blades_of_Exile_private.rc --input-format=rc -o Blades_of_Exile_private.res -O coff -D_INCLUDED_RC