Forgot the file, lol...
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
1 cent a minute calls anywhere in the U.S.!
http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com
FAQ Started at 2001-11-26
- TOC -
1 READ THIS FIRST! - Starting information for you(the reader) about the
suppliers of information and some risks.
2 OTHER TEXT! - General information that migth be fun to read, not...
3 FIRST OFF! - What you need to do as a start.
4 SECOND! - The makefile used to compile the project... This you must
have!
5 THIRD! - The rest of the information. This is the section where my own
ideas disapanted...
6 SUPPLIERS! - Suppliers of information and their E-mail, if they allowed
it...
READ THIS FIRST!
I will take no responsability for any damage this does to your code, none what
so ever...
You change your own code at your own risk, I cannot garantee that this FAQ will
work for you!
The information in this file is gathered from all over the world as I cant
figure this out myself,
I have had to ask friends and other people for this information so the people
that wanted their
name in this FAQ will have their names at the end of the file, hope you dont
mind.
OTHER TEXT!
I have tried for some time now to get Rom 2.4b6 compiled on a win32 system
without Cygwin/MS Visual C++
but the code, for those of you that dont know this already, arent really made
for Windows systems.
I have some complaints on this code because it is in C not in C++, C is old
stuff and apperantly not
as good on memory control as C++, or so I've heard. Becuase of the fact that I
have started in a C++ class
I am starting to learn a little but most likely it'll take some time for me to
get C++ in to my system.
The Rom code is a big chunk of code and very little of it is commented to it's
full capasity.
The Rom creators should fix that, I relise that such a thing will take some
huge amount of work, but in
the end it will be a huge + for the Rom code. The fact that the Rom code cant
be compiled without changes
is also a -, can also be fixed.
I whould love to work on the Rom code, make these changes but as I'm not one of
the people that "made" the
code I cant really change the things I want to have changed and send it out as
the official Rom code.
Below is some of the changes I needed to do to compile Rom 2.4b6 on my win32
system with
Borland Free Commandline Compiler 5.5
I hope it will be some help to you people...
FIRST OFF!
1 Change all sys/time.h to sys/timeb.h
Or you can make a ifdefined thingy, I just changed them, dont know how
to do the ifdefined thing yet, YET!!
2 In tables.h you got some extern things, these needs to be placed at the
end of the file, just cut and paste.
3 Remember to always make backups on your files, if something should
happen.
SECOND!
This is the makefile I used, those of you that are Unix/Linux freeks may even
understand this, I dont...
The file is called Makefile.bor, you can change it to what ever you want it to
be called.
I dont know if the first section on the PROF= line in nessesary but -DMSDOS
-DOLD_RAND is...
-------------------------------------------
CC = bcc32
PROF = -q -v -tW -tWC -w-8057 -w-8004 -w-8012 -D_WINVER=0x0400
-D_WIN32_WINNT=0x0400 -DMSDOS -DOLD_RAND
NOCRYPT =
C_FLAGS = $(PROF) $(NOCRYPT)
L_FLAGS = $(PROF)
O_FILES = act_comm.obj act_enter.obj act_info.obj act_move.obj act_obj.obj
act_wiz.obj \
alias.obj ban.obj comm.obj const.obj db.obj db2.obj effects.obj
fight.obj flags.obj \
handler.obj healer.obj interp.obj note.obj lookup.obj magic.obj
magic2.obj \
music.obj recycle.obj save.obj scan.obj skills.obj special.obj
tables.obj \
update.obj
rom.exe: $(O_FILES)
$(CC) $(L_FLAGS) -e rom.exe $(O_FILES)
..c.o:
$(CC) -c $(C_FLAGS) $<
-------------------------------------------
If this where a Unix/Linux file the file whould say...
-------------------------------------------
CC = gcc
PROF = -O -g -DMSDOS -DOLD_RAND
NOCRYPT =
C_FLAGS = -Wall $(PROF) $(NOCRYPT)
L_FLAGS = $(PROF)
O_FILES = act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o \
alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o \
handler.o healer.o interp.o note.o lookup.o magic.o magic2.o \
music.o recycle.o save.o scan.o skills.o special.o tables.o \
update.o
rom: $(O_FILES)
rm -f rom
$(CC) $(L_FLAGS) -o rom $(O_FILES)
.c.o: merc.h
$(CC) -c $(C_FLAGS) $<
-------------------------------------------
Does anyone see a striking similarence?
THIRD!
1 Here comes the rest at a later time... Need to find out what to do next
from some guys. lol...
SUPPLIERS!
Nallen - Mattias Holmström(Sweden) [EMAIL PROTECTED] - the creator of this FAQ