home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Igromania 1999 February
/
17_02_1999.iso
/
doom
/
ddbin065p.exe
/
docs
/
CODERS.TXT
next >
Wrap
Text File
|
1998-12-22
|
2KB
|
43 lines
Programming Notes:
-This code is for the djgpp compiler, v2.01.
Get it at www.delorie.com/djgpp/
-You now need allegro 3.1 to compile it.
It is used for a lot of the dos-specific routines.
Get it at http://www.talula.demon.co.uk/allegro/
Suggested changes to Allegro:
Boost sound volume:mixer.c:185
mix_vol_table[j][i] = (i-128) * j * 768 / MIX_VOLUME_LEVELS / mix_voices;
Disable detection of default.cfg in current directory:digmid.c:467
/*
replace_filename(path, __crt0_argv[0], "", sizeof(path));
if (try_patch_location(path, dir, file))
return TRUE;
*/
Fix Joystick:allegro.h:641
((joy[0].stick[1].axis[1].d1) ? 4 : \
((joy[0].stick[1].axis[1].d2) ? 2 : \
-You also need BCD, a cd-audio playing library to compile dosdoom.
Get It http://brennan.home.ml.org/programming/
-The DOSDoom Team uses RHIDE V1.4 as the programming enviroment,
therefore use RHIDE to compile. (Get it at the same place as DJGPP).
-All of doom's KEY_* vars have been renamed to KEYD_* because allegro
uses KEY_ variables
-If you recompile the code you'll probably get an exe thats much larger
than the one in this release. That is because the disturbed exe is
compressed with djp. DJP can probably be obtained from the same place
you got djgpp.
-The enable greater error checking in DOSDoom add -DDEVELOPERS to the
compile options.
-See the LOG directory for changes and work done.