Search found 132 matches

by szo
Fri Apr 01, 2011 3:20 pm
Forum: Programming Tutorials
Topic: snprintf for Windows MSVC
Replies: 2
Views: 2312

bad return value

This is incomplete for people who'd expect c99-compliant behavior.. You moust do

Code: Select all

if (ret < 0) ret = (int)size;
The count == 0 case also doesn't conform to c99, either. See the standarts, or at least recent unix (linux) man pages.
by szo
Fri Apr 01, 2011 6:33 am
Forum: General Discussion
Topic: QuakeSpasm
Replies: 27
Views: 9482

QuakeSpasm

Updated version 0.85.4 is out. Changelog is here. Downloads.
by szo
Fri Mar 04, 2011 6:19 am
Forum: Engine Programming
Topic: dosquake's MPATH driver
Replies: 2
Views: 866

leileilol wrote:Check out those mp*.c files
I know them already, however they are not the source for quakeudp.dll or mgenvxd.vxd or genvxd.dll other habaloo.
by szo
Thu Mar 03, 2011 8:11 pm
Forum: Engine Programming
Topic: dosquake's MPATH driver
Replies: 2
Views: 866

dosquake's MPATH driver

Anyone knows any details about the MPATH (mplayer??) udp driver? I know that it wraps around win95 winsock but is it open source in any way? (There was even a bugfix for it, ie an updated quakeudp.dll available from QIP to fix a segfault; don't know its actual origin..) BTW, someone tried (and appar...
by szo
Sun Feb 27, 2011 10:40 am
Forum: Engine Programming
Topic: Quake2 engines
Replies: 20
Views: 6191

Also see the yamagi port at http://www.yamagi.org/quake2/
by szo
Mon Jan 31, 2011 11:38 am
Forum: Engine Programming
Topic: List of interesting engine topics/tutorial ideas
Replies: 30
Views: 4442

leileilol wrote:
szo wrote:I already ported uhexen2 music system to quakespasm.
I meant this?
Hmm, maybe. Or, modplug, or mikmod... (patches welcome, of course.)
by szo
Mon Jan 31, 2011 10:00 am
Forum: Engine Programming
Topic: List of interesting engine topics/tutorial ideas
Replies: 30
Views: 4442

leileilol wrote:DUMB ogg and mod playback into the quake sound system.

HINTHINTHINT FOR HoT HINTHINTHINTHINT
I already ported uhexen2 music system to quakespasm.
leileilol wrote:(It works on djgpp too iirc)
Oh yes (only mp3 though, due to the predictable malloc behavior of libmad)
by szo
Mon Jan 31, 2011 9:27 am
Forum: Engine Programming
Topic: List of interesting engine topics/tutorial ideas
Replies: 30
Views: 4442

Re: List of interesting engine topics/tutorial ideas

if you are part of the Quakespasm team Yes, I am ... or just doing some stuffs for Spirit I don't know who does what some stuff for whatever reason for spirit (???) Thanks for infos. If I do any stuff useful to Quakespasm, I'll probably post some links in the Quakespasm thread @ Func. That would be...
by szo
Sun Jan 30, 2011 10:41 pm
Forum: Engine Programming
Topic: List of interesting engine topics/tutorial ideas
Replies: 30
Views: 4442

Re: List of interesting engine topics/tutorial ideas

Hi Baker, 3. Adding 5 button mouse support under the SDL scheme. (Does Quakespasm have this) Umm no, not yet. Our uhexen2 has it, though (see in_sdl.c), maybe I port over to quakespasm. 2. A tutorial to add Nehahra support without support for those .xm music files (I'm not a fan of fmod). Well, thos...
by szo
Tue Jan 18, 2011 11:55 am
Forum: Engine Programming
Topic: problem with 16 bit sounds
Replies: 1
Views: 854

problem with 16 bit sounds

While adding streaming music support to quakespasm (http://quakespasm.sourceforge.net/), I had to move the snd_vol usage in snd_mix.c to SND_PaintChannelFrom16() for 16 bit samples. This is in parallel to quake2 (as well as quake3) code. Here's the relevant svn change: http://quakespasm.svn.sourcefo...
by szo
Tue Dec 28, 2010 10:17 pm
Forum: Engine Programming
Topic: Engine crashing bsp file
Replies: 18
Views: 5218

Re: Engine crashing bsp file

Callback would allow the sys_error to tell us the calling function. Providing a backtrace would be a hassle, but yes, useful at times. idea 2: What if Hunk_AllocName just returned NULL instead of sys_error, and left it to the calling function to print to console, sys_error, or ... Well, data sent t...
by szo
Tue Dec 28, 2010 8:36 pm
Forum: Engine Programming
Topic: Engine crashing bsp file
Replies: 18
Views: 5218

Re: Engine crashing bsp file

I love crashing engines, so here is a new file that crashed every engine I tried so far (all on Linux). Please make your engines more fault tolerant and safe to use. desp.bsp from ftp://ftp.gamers.org/pub/mirrors/ftp.gamesdomain.co.uk/multiplayer/q1desparado.zip fitz, quakespasm, joequake-gl.glx, f...