Message-ID: <386133EC.9A2D3722@NOSPAM.nic.fi> From: Antti =?iso-8859-1?Q?Koskip=E4=E4?= X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Quake source References: <83qq4o$ui9$1 AT news DOT kdt DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 130 Date: Wed, 22 Dec 1999 22:26:20 +0200 NNTP-Posting-Host: 212.38.225.62 X-Trace: uutiset.nic.fi 945890567 212.38.225.62 (Wed, 22 Dec 1999 21:22:47 EET) NNTP-Posting-Date: Wed, 22 Dec 1999 21:22:47 EET Organization: NIC Tietoverkot Oy - NIC Data Networks Ltd. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > On Wed, 22 Dec 1999, Daniel J. Rauhaus wrote: > > > id Software has released the sources for Quake under GPL today... > > ftp://ftp.cdrom.com/pub/idgames/idstuff/source/q1source.zip > > > > Has anyone managed to compile the DOS version with DJGPP? (The source > > distribution doesn't contain a DOS makefile, and I'm not experienced in > > writing those...) > > Since Quake was originally written for DJGPP, isn't it enough to simply > compile and link all the source files? Blah. I've had the source for a few years. It does compile under DJGPP, you only need to select the correct files; eg. no UNIX or win32 stuff. Compiling with optimizations does not seem to improve Quake's performance compared to non-optimized, and introduces some strange glitches too. (-O6, PGCC 1.0.1) I have written a batch file that compiles the whole thing: (If you don't use 4DOS, remove timer's and all %&'s) timer gcc -c %& cd_audio.c gcc -c %& cl_demo.c gcc -c %& cl_input.c gcc -c %& cl_main.c gcc -c %& cl_parse.c gcc -c %& cl_tent.c gcc -c %& cmd.c gcc -c %& common.c gcc -c %& console.c gcc -c %& crc.c gcc -c %& cvar.c gcc -c %& d_copy.S gcc -c %& d_draw.S gcc -c %& d_draw16.S gcc -c %& d_edge.c gcc -c %& d_fill.c gcc -c %& d_init.c gcc -c %& d_modech.c gcc -c %& d_part.c gcc -c %& d_parta.S gcc -c %& d_polysa.S gcc -c %& d_polyse.c gcc -c %& d_scan.c gcc -c %& d_scana.S gcc -c %& d_sky.c gcc -c %& d_spr8.S gcc -c %& d_sprite.c gcc -c %& d_surf.c gcc -c %& d_vars.c gcc -c %& d_zpoint.c gcc -c %& dos_v2.c gcc -c %& dosasm.S gcc -c %& draw.c gcc -c %& host.c gcc -c %& host_cmd.c gcc -c %& in_dos.c gcc -c %& keys.c gcc -c %& math.S gcc -c %& mathlib.c gcc -c %& menu.c gcc -c %& model.c gcc -c %& mplib.c gcc -c %& mplpc.c gcc -c %& net_bw.c gcc -c %& net_dgrm.c gcc -c %& net_dos.c gcc -c %& net_ipx.c gcc -c %& net_loop.c gcc -c %& net_main.c gcc -c %& net_mp.c gcc -c %& net_ser.c gcc -c %& net_vcr.c gcc -c %& pr_cmds.c gcc -c %& pr_edict.c gcc -c %& pr_exec.c gcc -c %& r_aclip.c gcc -c %& r_aclipa.S gcc -c %& r_alias.c gcc -c %& r_aliasa.S gcc -c %& r_bsp.c gcc -c %& r_draw.c gcc -c %& r_drawa.S gcc -c %& r_edge.c gcc -c %& r_edgea.S gcc -c %& r_efrag.c gcc -c %& r_light.c gcc -c %& r_main.c gcc -c %& r_misc.c gcc -c %& r_part.c gcc -c %& r_sky.c gcc -c %& r_sprite.c gcc -c %& r_surf.c gcc -c %& r_vars.c gcc -c %& sbar.c gcc -c %& screen.c gcc -c %& snd_dma.c gcc -c %& snd_dos.c gcc -c %& snd_gus.c gcc -c %& snd_mem.c gcc -c %& snd_mix.c gcc -c %& snd_mixa.S gcc -c %& surf16.S gcc -c %& surf8.S gcc -c %& sv_main.c gcc -c %& sv_move.c gcc -c %& sv_phys.c gcc -c %& sv_user.c gcc -c %& sys_dos.c gcc -c %& sys_dosa.S gcc -c %& vid_dos.c gcc -c %& vid_ext.c gcc -c %& vid_vga.c gcc -c %& view.c gcc -c %& vregset.c gcc -c %& wad.c gcc -c %& world.c gcc -c %& worlda.S gcc -c %& zone.c gcc %& -o ownquake.exe *.o timer -- - Antti - To reply, remove the "NOSPAM".