Thomas Debesse [Thu, 13 Jul 2017 15:15:32 +0000 (17:15 +0200)]
Drop Windows 9x support
- Windows 98 was using `%windir%\Application Data` without defining `%APPDATA%`
- Writing user config in `C:\netradiant` looked fine on single user OS driving FAT file system
- We can't build for Windows platforms that does not support `%APPDATA%`
- Windows XP Schrödinger edition is able to define `%APPDATA%` while being dead at the same time
- Even ReactOS 3.11 for Workgroups defines `%APPDATA%`
- Wine defines `%APPDATA%` like a boss
- Twenty first century is now a thing
- NetRadiant will never run on OpenGEM/FreeDOS (and that's a shame)
Thomas Debesse [Sat, 14 Jul 2018 20:33:10 +0000 (22:33 +0200)]
load notex textures from a builtin vfs
- allow gamepack to override it (example: smokinguns has custom ones)
- it's not required anymore to compute paths from bitmaps from them
- we can use textures/radian/notex as a default texture (and we need to)
Thomas Debesse [Mon, 5 Feb 2018 02:54:58 +0000 (03:54 +0100)]
restore “open userGamePath/maps/” behavior when LastMapFolder unset
The former behavior when LastMapFolder was not implemented
was to try to open maps/ dir in userGamePath.
When LastMapFolder code was written the code only looked
for userGamePath, this is restoring that behavior,
mimicking the code for model opening that does the
same with userGamePath/models.
As an extra, it also fallback on userGamePath is maps/
is missing.
Thomas Debesse [Sun, 4 Mar 2018 03:43:35 +0000 (04:43 +0100)]
implement CSG Make Room, thanks to Garux, <3 Mario
- implement CSG Make Room using code by @Garux from !11
- calls this operation “Make Room” like in DarkRadiant
this is what GTKRadiant calls “CSG Hollow Touch”
- draw the pixmap icon according to the current theme
- greet @Mario
Thomas Debesse [Sun, 31 Dec 2017 17:30:47 +0000 (18:30 +0100)]
radiant/q3map2: add option to disable engine path and home path
- add radiant options to not load assets from
engine path and home path, it helps people to build
safe development environment
- add -fs_nobasepath and -fs_nohomepath to q3map2
to do the same
- make radiant pass these options to q3map2
Thomas Debesse [Sun, 31 Dec 2017 16:21:00 +0000 (17:21 +0100)]
radiant: add optional pakpath support
- add optional pakpath support
currently an hardcoded number of 5 extra pakpath are possible
this is still better than nothing
- if build profile use [ExtraQ3map2Args] keyword,
radiant pass the extra pakpaths options to q3map2
thanks to the -fs_pakpath switch that was added
in a previous commit
Zack Middleton [Sat, 4 Nov 2017 01:00:50 +0000 (20:00 -0500)]
Fix deprecated pango code always being used in glfont.cpp
The version check to see if the non-deprecated API is available,
PANGO_VERSION_CHECK(1,22,0), always returns false if pango-features.h
isn't included. This is because PANGO_VERSION_MAJOR, _MINOR, _MICRO
are not defined and are evaluated as 0 in the preprocessor code.
This commit fixes compiling on Debian 8 using libpango1.0-dev 1.36.8.
It was failing because deprecated function pango_ft2_get_context()
was not available (hidden in header file by PANGO_DISABLE_DEPRECATED).
Thomas Debesse [Sat, 14 Oct 2017 02:06:45 +0000 (04:06 +0200)]
fix game_packs_all target
Previously, game_packs_all target was just calling game_packs target, so it
was just installing free game packs, not all. It's now a proper target
setting proper environment variables before calling install-gamepacks.sh.
Thomas Debesse [Sat, 14 Oct 2017 02:01:02 +0000 (04:01 +0200)]
do not look for pack to install in already installed pack
Previously, the install-gamepacks.sh script was looking for all
subdirectories in games/ directory for *.games directory to
copy them inside games/ directory.
So, on first run,
it was looking for games/XonoticPack/xonotic.game
to copy it as games/xonotic.game
Then on second run,
it was looking for games/XonoticPack/xonotic.game
and also for games/xonotic.game/xonotic.game
which is silly.
Now the install-gamepacks.sh script is looking for games/*Pack
subdirectories only, it means all gamepacks must end with a
capitalized Pack suffix, which is already the case and is defined
in download-gamepacks.sh after all.