Changeset 288

Show
Ignore:
Timestamp:
06/27/08 09:30:13 (4 months ago)
Author:
mattn
Message:

* Tremulous patch by Ingar

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • GtkRadiant/trunk/COMPILING

    r260 r288  
    1414  Change the current directory to the desired location for the source. 
    1515  svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant 
    16   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack 
    17   svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./GtkRadiant/games/UFOAIPack 
    1816 
     17Download the desired game packs: 
     18  cd ./GtkRadiant/install/installs 
     19  svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./Q3Pack 
     20  svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./UFOAIPack 
     21  svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/TremulousPack/trunk/ ./TremulousPack 
    1922 
    2023Linux/OSX(using X-windows) 
  • GtkRadiant/trunk/radiant/preferences.cpp

    r286 r288  
    32493249                        gtk_combo_box_append_text( GTK_COMBO_BOX( combo ), _("Nexuiz") ); 
    32503250                        break; 
     3251                case GAME_TREMULOUS: 
     3252                        gtk_combo_box_append_text( GTK_COMBO_BOX( combo ), _("Tremulous") ); 
     3253                        break; 
    32513254                } 
    32523255                iGame++; 
     
    34153418                break; 
    34163419        } 
     3420        case GAME_TREMULOUS: { 
     3421                fprintf( fg, "  gametools=\"%sinstalls/TremulousPack/game\"\n", g_strAppPath.GetBuffer() ); 
     3422                fprintf( fg, "  prefix=\".tremulous\"\n" ); 
     3423                Str source = g_strAppPath.GetBuffer(); 
     3424                source += "installs/"; 
     3425                source += TREMULOUS_PACK; 
     3426                source += "/install/"; 
     3427                Str dest = m_strEngine.GetBuffer(); 
     3428                CopyTree( source.GetBuffer(), dest.GetBuffer() ); 
     3429                fprintf( fg, "  basegame=\"base\"\n" ); 
     3430                break; 
     3431        } 
    34173432        } 
    34183433        fprintf( fg, "/>\n" ); 
     
    34553470                        m_availGames[ iGame++ ] = GAME_Q2; 
    34563471                } 
     3472                if ( stricmp( dirname, TREMULOUS_PACK ) == 0 ) { 
     3473                        m_availGames[ iGame++ ] = GAME_TREMULOUS; 
     3474                } 
    34573475        } 
    34583476} 
  • GtkRadiant/trunk/radiant/preferences.h

    r286 r288  
    207207#define NEXUIZ_PACK "NexuizPack" 
    208208#define Q2_PACK "Q2Pack" 
     209#define TREMULOUS_PACK "TremulousPack" 
    209210 
    210211class CGameInstall : public Dialog { 
     
    227228                GAME_NEXUIZ, 
    228229                GAME_Q2, 
     230                GAME_TREMULOUS, 
    229231                GAME_COUNT 
    230232        };