
// !!!! Set wad pathes here for hlrad. (no need for wad files that have been included into bsp)
#ifdef <hlrad>
  #define -waddir "D:\HL_1-2_SDK\Goldsource_SRC\Wads"
  #define -waddir "D:\HL_1-2_SDK\Goldsource_SRC\Wads\MeckV_Final"
  #define -waddir "D:\HL_1-2_SDK\Goldsource_SRC\Wads\Mecklenburg_rain\B5"
#endif



// What is this file designed for :
//     It provides a simple way of adding custom settings such as pathes and changing default behaviors of the compiler.
//     This file is not a must since you can always set any argument through command line.

// How does this file works :
//   It modifies command line arguments directly when the program starts.
//   Each word begins with '#' is a command which can be followed with some parameters (denote as A B C).
//   List of commands:
//     #ifdef A B C           If there is a sequence of parameters in the command line that matches A B C, execute the following commands till an '#else' or '#endif'.
//     #ifndef A B C          If there is not a sequence of parameters in the command line that matches A B C, execute the following commands till an '#else' or '#endif'.
//     #else                  If previous commands has been skipped, execute the following commands till an '#else' or '#endif'.
//     #define A B C          Add parameters A B C to the end of the command line.
//     #undef A B C           Remove any sequence of patamenters in the command line that matches A B C.
//   Special kinds of parameters:
//     First character '*'    Match a parameter as long as it ends with specific string.
//     Last character '*'     Match a parameter as long as it begins with specific string.
//     <program name>         Match program name.



// List of frequently used parameters:
// 
// Shared:
//   -low
//   -estimate
//   -chart
// 
// HLCSG:
//   -onlyents
//   -wadautodetect
//   -nowadtextures
//   -wadinclude #
// 
// HLBSP:
//   -maxnodesize #
// 
// HLVIS:
//   -full
//   -fast
// 
// HLRAD:
//   -waddir #
//   -extra
//   -sparse
//   -nomatrix
//   -bounce #
//   -smooth #
//   -smooth2 #
//   -chop #
//   -texchop #
//   -coring #
// 
// RIPENT:
//   -export
//   -import
//   -parse



#ifndef <ripent>              // CSG\BSP\VIS\RAD
    #ifndef -high
        #define -low
    #endif
      //#define -estimate
#endif

#ifdef <hlcsg>                // CSG
      //#define -onlyents
        #define -wadautodetect
      //#define -nowadtextures
#endif

#ifdef <hlbsp>                // BSP
#endif

#ifdef <hlvis>                // VIS
      //#define -fast
    #ifndef -fast
      //#define -full
    #endif
#endif

#ifdef <hlrad>                // RAD
     //#define -extra
     //#define -sparse
#endif

#ifdef <ripent>               // RIPENT
     //#define -parse
  #ifndef -import
  #ifndef -export
    #define -pause
    #define -chart
    #ifdef *.bsp
      #define -export
    #endif
    #ifdef *.ent
      #define -import
    #endif
    #ifdef *.tex
      #define -import
    #endif
    #ifdef *.wad
      #define -import
    #endif
  #endif
  #endif
#endif

