Changeset 322

Show
Ignore:
Timestamp:
09/20/08 06:07:36 (2 months ago)
Author:
lordhavoc
Message:

patch from Rudolf Polzer implementing bsp46 support and adding -game
quakelive and -game nexuiz modes to q3map2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • GtkRadiant/trunk/tools/quake3/q3map2/bspfile_ibsp.c

    r319 r322  
    515515 
    516516        /* advertisements */ 
    517         numBSPAds = CopyLump( (bspHeader_t*) header, LUMP_ADVERTISEMENTS, bspAds, sizeof( bspAdvertisement_t ) ); 
     517        if(header->version == 47) // quake live's bsp version 
     518                numBSPAds = CopyLump( (bspHeader_t*) header, LUMP_ADVERTISEMENTS, bspAds, sizeof( bspAdvertisement_t ) ); 
     519        else 
     520                numBSPAds = 0; 
    518521 
    519522        /* free the file buffer */ 
  • GtkRadiant/trunk/tools/quake3/q3map2/game_etut.h

    r302 r322  
    151151        1.0f,                           /* lightmap compensate */ 
    152152        "IBSP",                         /* bsp file prefix */ 
    153         47,                                   /* bsp file version */ 
     153        46,                                   /* bsp file version */ 
    154154        qfalse,                         /* cod-style lump len/ofs order */ 
    155155        LoadIBSPFile,           /* bsp load function */ 
  • GtkRadiant/trunk/tools/quake3/q3map2/game_quake3.h

    r319 r322  
    115115        1.0f,                           /* lightmap compensate */ 
    116116        "IBSP",                         /* bsp file prefix */ 
    117         47,                                   /* bsp file version */ 
     117        46,                                   /* bsp file version */ 
    118118        qfalse,                         /* cod-style lump len/ofs order */ 
    119119        LoadIBSPFile,           /* bsp load function */ 
  • GtkRadiant/trunk/tools/quake3/q3map2/game_wolf.h

    r302 r322  
    132132        1.0f,                           /* lightmap compensate */ 
    133133        "IBSP",                         /* bsp file prefix */ 
    134         47,                                   /* bsp file version */ 
     134        46,                                   /* bsp file version */ 
    135135        qfalse,                         /* cod-style lump len/ofs order */ 
    136136        LoadIBSPFile,           /* bsp load function */ 
  • GtkRadiant/trunk/tools/quake3/q3map2/game_wolfet.h

    r302 r322  
    6969        1.0f,                           /* lightmap compensate */ 
    7070        "IBSP",                         /* bsp file prefix */ 
    71         47,                                   /* bsp file version */ 
     71        46,                                   /* bsp file version */ 
    7272        qfalse,                         /* cod-style lump len/ofs order */ 
    7373        LoadIBSPFile,           /* bsp load function */ 
  • GtkRadiant/trunk/tools/quake3/q3map2/q3map2.h

    r319 r322  
    18341834                                                                #include "game_quake3.h" 
    18351835                                                                , 
     1836                                                                #include "game_quakelive.h"/* most be after game_quake3.h as they share defines! */ 
     1837                                                                , 
     1838                                                                #include "game_nexuiz.h"/* most be after game_quake3.h as they share defines! */ 
     1839                                                                , 
    18361840                                                                #include "game_tremulous.h" /*LinuxManMikeC: must be after game_quake3.h, depends on #define's set in it */ 
    18371841                                                                ,