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


  • 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
    User avatar
    z80
    Advanced member
     
    Posts: 92
    Joined: Sun Jul 26, 2009 7:35 pm
    Location: Russia

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.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

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.
    User avatar
    z80
    Advanced member
     
    Posts: 92
    Joined: Sun Jul 26, 2009 7:35 pm
    Location: Russia



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest