Little Nexuiz source code improvement

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Little Nexuiz source code improvement

Postby z80 » Thu Jul 30, 2009 9:44 am

Dear Sirs,

I've found 2 little key features in engine source. Might be it is not expected to be built on MSVC2008 Express, but with these fixes it works.

1-st: file "zone.c" line 25: under Windows MSVC2008 Express there is no such file "stdint.h", I've added a #if / #endif section, after this it works well

2-d: if MEMPARANOIA is disabled, then in the same file "zone.c" line 673 should be either taken in #if MEMPARANOIA / #endif borders.

Code: Select all
#if MEMPARANOIA
   sentinel_seed = rand();
#endif // MEMPARANOIA
z80
Advanced member
 
Posts: 92
Joined: Sun Jul 26, 2009 7:35 pm
Location: Russia

Postby divVerent » Thu Jul 30, 2009 9:52 am

This is already applied in current svn for weeks. Where did you get the source from?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby z80 » Thu Jul 30, 2009 10:12 am

from DarkPlaces site as ZIP archive, it is dated 9.07.2009, if I'm not mistaken. Sorry for useless information.
z80
Advanced member
 
Posts: 92
Joined: Sun Jul 26, 2009 7:35 pm
Location: Russia


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron