# (just copy paste this part to the file ~/.xonotic-map-compiler)
# Path to Xonotic (where the data directory is in)
- our $XONOTICDIR = '/home/rpolzer/Games/Xonotic';
+ our $XONOTICDIR = '.';
# Path to your q3map2 program. You find it in your GtkRadiant/install
# directory.
- our $Q3MAP2 = '/home/rpolzer/Games/Xonotic/netradiant/install/q3map2.x86';
+ our $Q3MAP2 = './netradiant/install/q3map2.x86';
# General flags for q3map2 (for example -threads 4)
our $Q3MAP2FLAGS = '-fs_forbiddenpath xonotic*-data*.pk3* -fs_forbiddenpath xonotic*-nexcompat*.pk3*';
{
$options->{order} = [split /\s*,\s*/, shift @ARGV];
}
+ elsif($_ eq '-sRGB')
+ {
+ push @{$options->{bsp}}, "-sRGBtex", "-sRGBcolor";
+ push @{$options->{light}}, "-sRGBtex", "-sRGBcolor", "-sRGBlight"
+ if defined $options->{light};
+ }
+ elsif($_ eq '-nosRGB')
+ {
+ push @{$options->{bsp}}, "-nosRGBtex", "-nosRGBcolor";
+ push @{$options->{light}}, "-nosRGBtex", "-nosRGBcolor", "-nosRGBlight"
+ if defined $options->{light};
+ }
elsif($_ =~ /^--no(-.*)/)
{
if($curmode eq 'maps')