Search found 132 matches

by szo
Sun Apr 14, 2013 6:31 am
Forum: Engine Programming
Topic: qbismSuper8 builds
Replies: 413
Views: 148635

Re: qbismSuper8 builds

I think it was this one http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145 i remember i couldnt get the code to run unless i added -fwrapv to the -O3 optimizations, it seems to be caused by the switch from ppl to isl optimization libraries. There was also a bug in current release binutils (cant ...
by szo
Sat Apr 13, 2013 7:27 pm
Forum: Engine Programming
Topic: qbismSuper8 builds
Replies: 413
Views: 148635

Re: qbismSuper8 builds

Gcc has a known history of goofing up with agressive optimization :)
some versions Work some dont so as a rule of thumb i allways use O2 and specific optimization options to rule out the optimization switches that fail.
Many (but surely not all) failures are actually due to bugs in user code. Gcc ...
by szo
Fri Apr 12, 2013 7:35 pm
Forum: General Discussion
Topic: QuakeSpasm 0.85.9
Replies: 1
Views: 2920

QuakeSpasm 0.85.9

Version 0.85.9 of QuakeSpasm is released:

Downloads
Project page

ChangeLog:
* fixes for several undefined behaviors in C code (gcc-4.8 support.)
* implemented Hor+ style field of view (FOV) scaling, useful for widescreen resolutions. configured by new cvar fov_adapt: set it to 1 and your fov ...
by szo
Sat Mar 16, 2013 2:03 pm
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.6
Replies: 4
Views: 3889

uHexen2 (Hammer of Thyrion) v1.5.6

Version 1.5.6 of Hammer of Thyrion (uHexen2) is released:

Downloads
Downloads
Project page

Short ChangeLog:

* Screen: implemented Hor+ style field of view (FOV) scaling, useful for widescreen resolutions. Configured by new cvar fov_adapt: set it to 1 and your fov will be scaled ...
by szo
Wed Jan 23, 2013 9:20 am
Forum: General Discussion
Topic: QuakeForge 0.7.2 released.
Replies: 20
Views: 9089

Re: QuakeForge 0.7.2 released.

One thing you should be careful about after adding w64 support is the
socket types and the relevant return codes: socket() returns SOCKET
type which is actually an uintptr_t, however the quake code assumes
signed int32 everywhere which does work for w32 but not necessarily
for w64. My solution to ...
by szo
Tue Jan 15, 2013 8:12 pm
Forum: Programming Tutorials
Topic: COM_Parse and multiline comments/DP save compatibility
Replies: 9
Views: 17888

Re: COM_Parse and multiline comments/DP save compatibility

The problem with the QF code posted here is that they would stop at the first '*' within the comment, e.g. something like:

/*
* $Header$
*/

... will result in '$' as the first available character, an issue which I hit myself. Correct one would be like the following:

// skip /*..*/ comments ...
by szo
Sat Jan 12, 2013 9:07 am
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.5
Replies: 14
Views: 6072

Re: uHexen2 (Hammer of Thyrion) v1.5.5

I played a little of 1.5.5 Win7 x64 and it ran smoothly in both software and GL. Native laptop mode was detected (1600x900). Was trying to figure out how to shepherd with the teleporter without telefragging them. Pushing barrels around also works nicely. Amazing how they can be pushed off the edge ...
by szo
Wed Jan 09, 2013 1:15 pm
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.5
Replies: 14
Views: 6072

Re: uHexen2 (Hammer of Thyrion) v1.5.5

by 'version 7' progs, I *REALLY* hope you refer to a fourth type of 'version 7'.
the fteqcc-v7 implies a whole load of new instructions, as well as some other twiddles.
the qfcc-v7 implies a whole load of new instructions also, as well as some other stuff that I've not read enough to explain.
the ...
by szo
Wed Jan 09, 2013 10:28 am
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.5
Replies: 14
Views: 6072

Re: uHexen2 (Hammer of Thyrion) v1.5.5

leileilol wrote:Did the software -conwidth stuff get in?
If you are referring to the stuff posted by Siggi at http://sourceforge.net/projects/uhexen2 ... ic/5568940 then no: he said himself that his implementation is very slow (see one of the last posts in the thread), so I didn't add.
by szo
Wed Jan 09, 2013 9:15 am
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.5
Replies: 14
Views: 6072

Re: uHexen2 (Hammer of Thyrion) v1.5.5

Did you get the image loader code i posted to Work ? or was it scrapped :) just asking out of curiosity.
If you did you should probably scrap the DDS portion as it newer worked to well besides its still in the blue if its legal to use.
Sorry, the external image loader stuff didn't make into 1.5.5 ...
by szo
Wed Jan 09, 2013 7:47 am
Forum: General Discussion
Topic: uHexen2 (Hammer of Thyrion) v1.5.5
Replies: 14
Views: 6072

uHexen2 (Hammer of Thyrion) v1.5.5

Version 1.5.5 of Hammer of Thyrion (uHexen2) is released:

Downloads
Downloads
Project page

ChangeLog:

* Utils (light, vis, jsh2color): Added unix pthreads support for running multi-threaded. Enabled windows multi-threads on all platforms instead of alpha-only. Default is single-threaded ...
by szo
Fri Dec 14, 2012 7:45 am
Forum: Engine Programming
Topic: Mundane C tricks ...
Replies: 97
Views: 30710

Re: Mundane C tricks ...

taniwha wrote:... I despise Hungarian notation
Seconded. And I not just despise it but feel disgusted by it. (Try reading datatypes in the windows SDK and see....)
by szo
Thu Oct 25, 2012 4:26 pm
Forum: Engine Programming
Topic: Trying to organize SDL Quake's mess
Replies: 1
Views: 2875

Re: Trying to organize SDL Quake's mess

So, i'm trying to get SDL Quake organized, by removing unused and obsolete code. Based on the popular SDL Quake codebase, which of those files are safe to remove? vid_win.c, snd_dma.c, etc. They all seem useless since SDL was implemented. Or am i wrong?
Labeling something as a 'mess' requires you ...
by szo
Mon Oct 22, 2012 5:49 am
Forum: General Programming
Topic: Funny "bugfixes"
Replies: 9
Views: 19768

Re: Funny "bugfixes"

Most possibly a sneaky stack corruption bug, although a compiler bug is not impossible either.
by szo
Tue Oct 09, 2012 7:34 am
Forum: General Discussion
Topic: QuakeSpasm 0.85.8
Replies: 9
Views: 4295

Re: QuakeSpasm 0.85.8

r00k wrote:EDIT: ^^ what szo said, was typing the message as he replied.
--------------------------------------------------------------------------
Well, I'm certainly not a qc expert and I only looked at his code _very_ briefly,
so your analysis may be correct too.