xonotic/netradiant.git
2 days agoMerge branch 'macos' into 'master' master
Thomas Debesse [Tue, 21 May 2019 23:46:40 +0000 (23:46 +0000)]
Merge branch 'macos' into 'master'

MacOS compilation fix

See merge request xonotic/netradiant!112

4 days agoonly apply mac fix on macos 112/head
Thomas Debesse [Sun, 19 May 2019 23:11:31 +0000 (01:11 +0200)]
only apply mac fix on macos

4 days agoFix compilation on OS X for RTLD_DEEPBIND.
Jay Dolan [Sat, 6 May 2017 13:38:00 +0000 (09:38 -0400)]
Fix compilation on OS X for RTLD_DEEPBIND.

5 days agoMerge branch 'xdgpath' into 'master'
Thomas Debesse [Sat, 18 May 2019 21:15:43 +0000 (21:15 +0000)]
Merge branch 'xdgpath' into 'master'

detect XDG compliant games on Linux, obsolete !111, <3 Ingar

See merge request xonotic/netradiant!113

5 days agoradiant: spacing fix 113/head
Thomas Debesse [Sun, 25 Nov 2018 01:05:00 +0000 (02:05 +0100)]
radiant: spacing fix

5 days agoq3map2: drop Q_UNIX definition (rely on GDEF_OS_POSIX instead)
Thomas Debesse [Sun, 25 Nov 2018 00:53:22 +0000 (01:53 +0100)]
q3map2: drop Q_UNIX definition (rely on GDEF_OS_POSIX instead)

5 days agoq3map2: use ~/Library/Application Support on Mac
Thomas Debesse [Sun, 25 Nov 2018 00:35:12 +0000 (01:35 +0100)]
q3map2: use ~/Library/Application Support on Mac

5 days agoq3map2: better detection of Windows
Thomas Debesse [Sun, 25 Nov 2018 00:26:46 +0000 (01:26 +0100)]
q3map2: better detection of Windows

5 days agoq3map2: check Linux prefix against XDG_DATA_HOME before HOME
Thomas Debesse [Sat, 24 Nov 2018 22:40:04 +0000 (23:40 +0100)]
q3map2: check Linux prefix against XDG_DATA_HOME before HOME

5 days agoq3map2: code simplification
Thomas Debesse [Sat, 24 Nov 2018 22:17:53 +0000 (23:17 +0100)]
q3map2: code simplification

5 days agoq3map2: revert Unvanquished prefix to legacy format
Thomas Debesse [Sat, 24 Nov 2018 22:07:29 +0000 (23:07 +0100)]
q3map2: revert Unvanquished prefix to legacy format

5 days agoradiant: check Linux prefix against XDG_DATA_HOME before HOME
Thomas Debesse [Sat, 24 Nov 2018 22:06:59 +0000 (23:06 +0100)]
radiant: check Linux prefix against XDG_DATA_HOME before HOME

5 days agoradiant: does not use Linux home path on MacOS
Thomas Debesse [Sun, 25 Nov 2018 00:18:34 +0000 (01:18 +0100)]
radiant: does not use Linux home path on MacOS

5 days agocmake/radiant: FHS fixes 109/head
Thomas Debesse [Wed, 2 Jan 2019 03:06:29 +0000 (04:06 +0100)]
cmake/radiant: FHS fixes

really install game files in share/netradiant
look for glsl stuff in share/netradiant/gl
and a bit more

5 days agoreadme: update
Thomas Debesse [Wed, 14 Nov 2018 21:56:03 +0000 (22:56 +0100)]
readme: update

5 days agocmake: allow to configure for radiant/tools/gamepacks separately
Thomas Debesse [Wed, 14 Nov 2018 21:13:18 +0000 (22:13 +0100)]
cmake: allow to configure for radiant/tools/gamepacks separately

people can switch on/off

- BUILD_RADIANT
- BUILD_TOOLS
- DOWNLOAD_GAMEPACKS

5 days agocmake: do not look for graphical libs when not building radiant
Thomas Debesse [Mon, 12 Nov 2018 19:01:33 +0000 (20:01 +0100)]
cmake: do not look for graphical libs when not building radiant

5 days agocmake: option for FHS installation is now FHS_INSTALL
Thomas Debesse [Sun, 4 Nov 2018 04:24:31 +0000 (05:24 +0100)]
cmake: option for FHS installation is now FHS_INSTALL

5 days agoradiant: strip .[ExecutableType] entirely (including preceding dot) outside of Windows
Thomas Debesse [Sun, 4 Nov 2018 04:02:18 +0000 (05:02 +0100)]
radiant: strip .[ExecutableType] entirely (including preceding dot) outside of Windows

keep backward compatibility with existing build menus

5 days agocmake: XDG desktop integration
Thomas Debesse [Sun, 16 Jul 2017 01:53:36 +0000 (03:53 +0200)]
cmake: XDG desktop integration

- desktop file
- application icon
- map mime type

5 days agocmake: rename “radiant” binary to “netradiant”
Thomas Debesse [Wed, 18 Apr 2018 18:34:00 +0000 (20:34 +0200)]
cmake: rename “radiant” binary to “netradiant”

5 days agocmake: FHS installation
Thomas Debesse [Sun, 4 Nov 2018 01:01:48 +0000 (02:01 +0100)]
cmake: FHS installation

optional installation following Filesystem Hierarchy Standard

5 days agocmake: drop generation and usage of radiant version files
Thomas Debesse [Sat, 3 Nov 2018 23:16:02 +0000 (00:16 +0100)]
cmake: drop generation and usage of radiant version files

RADIANT_MAJOR etc.

5 days agoMerge branch 'msys2thread' into 'master'
Thomas Debesse [Sat, 18 May 2019 20:46:00 +0000 (20:46 +0000)]
Merge branch 'msys2thread' into 'master'

threading: [partial] Working NetRadiant and q3map2 on MSYS2 (both x86, x86_64)

See merge request xonotic/netradiant!118

5 days agothreading: [partial] Working NetRadiant and q3map2 on MSYS2 (both x86, x86_64) 118/head
Aleksandr Palamar [Thu, 24 Mar 2016 18:29:16 +0000 (20:29 +0200)]
threading: [partial] Working NetRadiant and q3map2 on MSYS2 (both x86, x86_64)

this code is meant to fix q3map2 threading on MSYS2

partial commit from original by Aleksandr “void995” Palamar:

c1c3c66ec062438e1a99266751122557517d708d

initially named:

> Working NetRadiant and q3map2 on MSYS2 (both x86, x86_64),
> fixed problems with out of bounds and got rid of unneeded
> warning messages. Optimisations for MSYS2 were disabled as
> they are causing crashes. Added specific MSYS2 shell scripts
> for installing DLLs and GTK themes.

see merge request !18

https://gitlab.com/xonotic/netradiant/merge_requests/18

5 days agoMerge branch 'q3rally-gamepack' into 'master'
Thomas Debesse [Sat, 18 May 2019 20:44:12 +0000 (20:44 +0000)]
Merge branch 'q3rally-gamepack' into 'master'

add Q3Rally gamepack

See merge request xonotic/netradiant!121

5 days agoadd Q3Rally gamepack 121/head
Thomas Debesse [Sun, 21 Apr 2019 12:59:39 +0000 (14:59 +0200)]
add Q3Rally gamepack

5 days agoMerge branch 'gridcolors-adwaitadark' into 'master'
Thomas Debesse [Sat, 18 May 2019 20:39:33 +0000 (20:39 +0000)]
Merge branch 'gridcolors-adwaitadark' into 'master'

Optional grid color scheme to fit the Adwaita Dark GTK theme

See merge request xonotic/netradiant!110

5 days agoOptional grid color scheme to fit the Adwaita Dark GTK theme 110/head
Thomas Debesse [Sun, 4 Nov 2018 08:43:50 +0000 (09:43 +0100)]
Optional grid color scheme to fit the Adwaita Dark GTK theme

5 days agoMerge branch 'mschwan/gdef-inline-fix' into 'master'
Thomas Debesse [Sat, 18 May 2019 20:36:25 +0000 (20:36 +0000)]
Merge branch 'mschwan/gdef-inline-fix' into 'master'

Include globaldefs.h in arrayedlist.h

Closes #118

See merge request xonotic/netradiant!115

5 days agoMerge branch 'nomaccheck' into 'master'
Thomas Debesse [Sat, 18 May 2019 20:32:17 +0000 (20:32 +0000)]
Merge branch 'nomaccheck' into 'master'

drop old MAC_STATIC_HACK no one requested to be enabled in 12 years

See merge request xonotic/netradiant!120

5 days agodrop old MAC_STATIC_HACK no one requested to be enabled in 12 years 120/head
Thomas Debesse [Sun, 4 Mar 2018 17:10:07 +0000 (18:10 +0100)]
drop old MAC_STATIC_HACK no one requested to be enabled in 12 years

3 weeks agoredo !103, refix #76, was reintroduced in 957d2ff
Thomas Debesse [Sat, 27 Apr 2019 22:19:38 +0000 (00:19 +0200)]
redo !103, refix #76, was reintroduced in 957d2ff

2 months agoMerge branch 'fixrevert' into 'master'
Thomas Debesse [Sun, 10 Mar 2019 23:48:35 +0000 (23:48 +0000)]
Merge branch 'fixrevert' into 'master'

redo a windows fix from 20dbf5c that was mistakenly lost

See merge request xonotic/netradiant!117

2 months agoredo a windows fix from 20dbf5c that was mistakenly lost 117/head
Thomas Debesse [Sun, 10 Mar 2019 23:44:48 +0000 (00:44 +0100)]
redo a windows fix from 20dbf5c that was mistakenly lost

3 months agoMerge branch 'revert-restyle' into 'master'
Mario [Tue, 12 Feb 2019 04:36:09 +0000 (04:36 +0000)]
Merge branch 'revert-restyle' into 'master'

Revert the fork maker commit [revert restyle]

See merge request xonotic/netradiant!116

3 months agoRevert partially (manual) "reformat code! now the code is only ugly on the *inside*" 116/head
Thomas Debesse [Mon, 11 Feb 2019 01:31:14 +0000 (02:31 +0100)]
Revert partially (manual) "reformat code! now the code is only ugly on the *inside*"

This reverts commit 9dfae1c9b270ee369c6362903a9205b30751b95f.
But only for files whose changes that were manually reverted.

3 months agoRevert partially (auto) "reformat code! now the code is only ugly on the *inside*"
Thomas Debesse [Sun, 10 Feb 2019 19:43:55 +0000 (20:43 +0100)]
Revert partially (auto) "reformat code! now the code is only ugly on the *inside*"

This reverts commit 9dfae1c9b270ee369c6362903a9205b30751b95f.
But only for files whose changes that were automatically reverted.

4 months agoRemove a mention of -mcpu.
Rudolf Polzer [Tue, 8 Jan 2019 22:31:59 +0000 (14:31 -0800)]
Remove a mention of -mcpu.

4 months agoInclude globaldefs.h in arrayedlist.h 115/head
Martin Schwan [Sun, 6 Jan 2019 18:54:45 +0000 (19:54 +0100)]
Include globaldefs.h in arrayedlist.h

This fixes a compiler error where GDEF_ATTRIBUTE_INLINE was not defined
and thus made tools/quake2/qdata_heretic2/qcommon/arrayedlist.h to fail.

5 months agoMerge branch 'werror' into 'master'
Thomas Debesse [Wed, 28 Nov 2018 22:39:12 +0000 (22:39 +0000)]
Merge branch 'werror' into 'master'

Add -werror option to q3map2 to make all warnings into errors

See merge request xonotic/netradiant!114

5 months agoAdd -werror option to q3map2 to make all warnings into errors 114/head
maek [Wed, 28 Nov 2018 08:59:27 +0000 (08:59 +0000)]
Add -werror option to q3map2 to make all warnings into errors

6 months agogamepack-manager: fix extra-urls trick
Thomas Debesse [Mon, 5 Nov 2018 14:50:25 +0000 (15:50 +0100)]
gamepack-manager: fix extra-urls trick

6 months agogame fixes
Thomas Debesse [Thu, 25 Oct 2018 04:06:55 +0000 (06:06 +0200)]
game fixes

6 months agoMerge branch 'picomodel-obj-surface-vertexes' into 'master'
Thomas Debesse [Sun, 4 Nov 2018 17:45:56 +0000 (17:45 +0000)]
Merge branch 'picomodel-obj-surface-vertexes' into 'master'

Fix over allocating vertexes for OBJ models with multiple surfaces

See merge request xonotic/netradiant!107

6 months agoMerge branch 'werror' into 'master'
Thomas Debesse [Sun, 4 Nov 2018 07:37:09 +0000 (07:37 +0000)]
Merge branch 'werror' into 'master'

make -Werror and -pedantic-errors a cmake option named USE_WERROR

See merge request xonotic/netradiant!106

6 months agomake -Werror and -pedantic-errors a cmake option named USE_WERROR 106/head
Thomas Debesse [Sun, 28 Oct 2018 23:09:46 +0000 (00:09 +0100)]
make -Werror and -pedantic-errors a cmake option named USE_WERROR

6 months agoa bunch of gamepack-manager udpates
Thomas Debesse [Sun, 4 Nov 2018 07:23:51 +0000 (08:23 +0100)]
a bunch of gamepack-manager udpates

6 months agoFix a minor typo
Mario [Sat, 3 Nov 2018 22:37:41 +0000 (08:37 +1000)]
Fix a minor typo

6 months agoMerge branch 'webp' into 'master'
Mario [Sat, 3 Nov 2018 22:36:18 +0000 (22:36 +0000)]
Merge branch 'webp' into 'master'

add webp support (Ingar code)

See merge request xonotic/netradiant!100

6 months agoMerge branch 'picomodel-obj-messages' into 'master'
Mario [Fri, 2 Nov 2018 23:48:03 +0000 (23:48 +0000)]
Merge branch 'picomodel-obj-messages' into 'master'

Print OBJ/MTL filename in all picomodel OBJ loader messages

See merge request xonotic/netradiant!108

6 months agoFix over allocating vertexes for OBJ models with multiple surfaces 107/head
Zack Middleton [Wed, 31 Oct 2018 01:21:16 +0000 (20:21 -0500)]
Fix over allocating vertexes for OBJ models with multiple surfaces

Loading Wavefront OBJ models in picomodel (used by radiant and q3map2)
did not reset the surface vertex index when starting a new surface. This
caused there to be unused vertexes, equal to the number of vertexes in
all previous surfaces, at the beginning of each surface. Exponential OBJ
vertex memory usage as number of surfaces increases. It did not affect
displaying or processing the surface faces.

6 months agoMerge branch 'gamepack-manager' into 'master'
Mario [Wed, 31 Oct 2018 04:22:41 +0000 (04:22 +0000)]
Merge branch 'gamepack-manager' into 'master'

new gamepack-manager script to download and install game packs

See merge request xonotic/netradiant!98

6 months agonew gamepack-manager script to download and install game packs 98/head
Thomas Debesse [Sat, 9 Jun 2018 18:38:38 +0000 (20:38 +0200)]
new gamepack-manager script to download and install game packs

New gamepack-manager script to download and install game packs
--------------------------------------------------------------

Just run `./gamepack-manager -h` to get an extensive help.

It obsoletes:

- `download-gamepacks.sh`
- `install-gamepack.sh`
- `install-gamepacks.sh`

New cmake options to configure game pack downloading
----------------------------------------------------

- `GAMEPACK_LICENSE`
- `GAMEPACK_NAME`

They must be used with `DOWNLOAD_GAMEPACKS=ON`

If set to `none`, those extra filters are not used.
By default `GAMEPACK_LICENSE` filters for free licenses only.
By default `GAMEPACK_NAME` does not filter anything.

Examples
--------

Configure to only fetch free game packs:

```sh
cmake .. \
-DDOWNLOAD_GAMEPACKS=ON \
-DGAMEPACKS_LICENSE=free \
-DGAMEPACKS_NAME=none
```

Configure to only fetch Xonotic and Unvanquished game packs:

```sh
cmake .. \
-DDOWNLOAD_GAMEPACKS=ON \
-DGAMEPACKS_LICENSE=none \
-DGAMEPACKS_NAME="Xonotic Unvanquished"
```

Configure to only fetch GPL game packs and Quake2 game pack:

```sh
cmake .. \
-DDOWNLOAD_GAMEPACKS=ON \
-DGAMEPACKS_LICENSE=GPL \
-DGAMEPACKS_NAME="Quake2"
```

Fetch the game packs:

```
make game_packs
```

Note that it also works on `install` stage.

6 months agoPrint name of undefined OBJ material 108/head
Zack Middleton [Wed, 31 Oct 2018 02:48:05 +0000 (21:48 -0500)]
Print name of undefined OBJ material

From Garux's netradiant-custom fork.

6 months agoPrint OBJ/MTL filename in all picomodel OBJ loader messages
Zack Middleton [Wed, 31 Oct 2018 02:00:20 +0000 (21:00 -0500)]
Print OBJ/MTL filename in all picomodel OBJ loader messages

Filename was previously only displayed in OBJ fatal error.

6 months agoreadme update 100/head
Thomas Debesse [Sun, 28 Oct 2018 22:35:43 +0000 (23:35 +0100)]
readme update

6 months agoavoid the do while false hack, use goto
Thomas Debesse [Sun, 28 Oct 2018 22:12:37 +0000 (23:12 +0100)]
avoid the do while false hack, use goto

6 months agoremove questionable disabled debug dds code, git is made to keep track of junk history
Thomas Debesse [Sun, 28 Oct 2018 22:09:03 +0000 (23:09 +0100)]
remove questionable disabled debug dds code, git is made to keep track of junk history

6 months agowebp: add cmake support
Thomas Debesse [Fri, 6 Jul 2018 19:22:25 +0000 (21:22 +0200)]
webp: add cmake support

6 months agoWebP support for radiant and q3map2.
Stijn Buys [Sun, 30 Jun 2013 12:11:59 +0000 (14:11 +0200)]
WebP support for radiant and q3map2.

6 months agoq3map2/image.c: avoid the pyramid of if
Thomas Debesse [Fri, 6 Jul 2018 18:28:42 +0000 (20:28 +0200)]
q3map2/image.c: avoid the pyramid of if

6 months agooops, readd crunch submodule
Thomas Debesse [Sun, 28 Oct 2018 22:19:32 +0000 (23:19 +0100)]
oops, readd crunch submodule

6 months agolast minute fix to save legacy Makefile life one more time
Thomas Debesse [Sun, 28 Oct 2018 21:56:32 +0000 (22:56 +0100)]
last minute fix to save legacy Makefile life one more time

6 months agoMerge branch 'crunch-submodule' into 'master'
Mario [Sun, 28 Oct 2018 21:33:15 +0000 (21:33 +0000)]
Merge branch 'crunch-submodule' into 'master'

Add crunch support to radiant and q3map2, the submodule way

See merge request xonotic/netradiant!104

6 months agomake crunch build optional and disabled by default 104/head
Thomas Debesse [Sun, 28 Oct 2018 21:24:54 +0000 (22:24 +0100)]
make crunch build optional and disabled by default

6 months agomake crunch a submodule
Thomas Debesse [Tue, 2 Oct 2018 22:26:44 +0000 (00:26 +0200)]
make crunch a submodule

6 months agoq3map2: Add crn loading support to q3map2
dolcetriade [Thu, 5 Jul 2018 19:07:31 +0000 (12:07 -0700)]
q3map2: Add crn loading support to q3map2

6 months agoimage: add crn support to the image plugin.
dolcetriade [Wed, 4 Jul 2018 05:49:58 +0000 (22:49 -0700)]
image: add crn support to the image plugin.

This works by converting the crn file to dds in memory
and then using the dds load functions to convert the dds
file to RGBA. This is because crn also stores the file as
a compressed texture meant to be uploaded directly to the
GPU, however, radiant wants an RGBA array.

6 months agoMerge branch 'image_nofail' into 'master'
Mario [Sun, 28 Oct 2018 21:20:16 +0000 (21:20 +0000)]
Merge branch 'image_nofail' into 'master'

do not fail on missing image or model plugin, they can be optional

See merge request xonotic/netradiant!105

6 months agodo not fail on missing image or model plugin, they can be optional 105/head
Thomas Debesse [Sun, 28 Oct 2018 19:45:16 +0000 (20:45 +0100)]
do not fail on missing image or model plugin, they can be optional

7 months agoMerge branch 'illwieckz/dropwin9x' fix !50
Thomas Debesse [Wed, 3 Oct 2018 00:05:48 +0000 (02:05 +0200)]
Merge branch 'illwieckz/dropwin9x' fix !50

7 months agoDrop Windows 9x support 50/head
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)

7 months agoMerge branch 'illwieckz/vfs' fix !101
Thomas Debesse [Wed, 3 Oct 2018 00:01:40 +0000 (02:01 +0200)]
Merge branch 'illwieckz/vfs' fix !101

7 months agoloadSpecial is not used 101/head
Thomas Debesse [Sun, 15 Jul 2018 12:50:53 +0000 (14:50 +0200)]
loadSpecial is not used

7 months agodefault texture is notex, not textures/ dir
Thomas Debesse [Sat, 14 Jul 2018 21:54:51 +0000 (23:54 +0200)]
default texture is notex, not textures/ dir

use textures/radiant/notex as default texture path
instead of textures/ (which is a directory not a file)

7 months agoload notex textures from a builtin vfs
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)

7 months agorefresh vfs before parsing map
Thomas Debesse [Sat, 14 Jul 2018 17:19:56 +0000 (19:19 +0200)]
refresh vfs before parsing map

7 months agoMerge branch 'illwieckz/nonumbers' fix !95
Thomas Debesse [Tue, 2 Oct 2018 23:44:34 +0000 (01:44 +0200)]
Merge branch 'illwieckz/nonumbers' fix !95

7 months agodo not write useless empty line at beginning of map file 95/head
Thomas Debesse [Sat, 5 May 2018 18:05:41 +0000 (20:05 +0200)]
do not write useless empty line at beginning of map file

7 months ago“Load last map at startup” wording
Thomas Debesse [Sat, 5 May 2018 17:37:26 +0000 (19:37 +0200)]
“Load last map at startup” wording

7 months agoadd an opt-out setting to not write entity and brush number comment on map write
Thomas Debesse [Sat, 5 May 2018 17:35:27 +0000 (19:35 +0200)]
add an opt-out setting to not write entity and brush number comment on map write

7 months agoMerge branch 'illwieckz/lastmodelfolder' fix !85
Thomas Debesse [Tue, 2 Oct 2018 23:28:25 +0000 (01:28 +0200)]
Merge branch 'illwieckz/lastmodelfolder' fix !85

7 months agorestore “open userGamePath/maps/” behavior when LastMapFolder unset 85/head
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.

7 months agoremember last model opened folder “LastModelFolder”
Thomas Debesse [Mon, 5 Feb 2018 02:38:47 +0000 (03:38 +0100)]
remember last model opened folder “LastModelFolder”

7 months agorename “LastFolder” to “LastMapFolder”
Thomas Debesse [Mon, 5 Feb 2018 02:10:56 +0000 (03:10 +0100)]
rename “LastFolder” to “LastMapFolder”

7 months agoMerge branch 'illwieckz/fixpng' fix !102
Thomas Debesse [Tue, 2 Oct 2018 23:25:23 +0000 (01:25 +0200)]
Merge branch 'illwieckz/fixpng' fix !102

7 months agoradiant: fix alpha channel for palette-with-transparency png 102/head
Thomas Debesse [Sun, 15 Jul 2018 18:44:12 +0000 (20:44 +0200)]
radiant: fix alpha channel for palette-with-transparency png

7 months agoMerge branch 'illwieckz/undodetail' fix !103
Thomas Debesse [Tue, 2 Oct 2018 23:21:20 +0000 (01:21 +0200)]
Merge branch 'illwieckz/undodetail' fix !103

10 months agoallow undo “make detail/structural”, <3 @SpiKe, thanks @Garux, fix #76
Thomas Debesse [Sun, 15 Jul 2018 19:42:02 +0000 (21:42 +0200)]
allow undo “make detail/structural”, <3 @SpiKe, thanks @Garux, fix #76

see https://gitlab.com/xonotic/netradiant/issues/76

11 months agoMerge branch 'picomodelname' into 'master'
Mario [Tue, 5 Jun 2018 10:14:35 +0000 (10:14 +0000)]
Merge branch 'picomodelname' into 'master'

print picomodel filename on error for @Viech, fix #112

Closes #112

See merge request xonotic/netradiant!93

11 months agoMerge branch 'filternonshader' into 'master'
Mario [Tue, 5 Jun 2018 10:11:00 +0000 (10:11 +0000)]
Merge branch 'filternonshader' into 'master'

filter non-shader texture paths at the same place

See merge request xonotic/netradiant!94

11 months agoMerge branch 'optional_q3map2_type' into 'master'
Mario [Tue, 5 Jun 2018 10:03:31 +0000 (10:03 +0000)]
Merge branch 'optional_q3map2_type' into 'master'

Fix BSP import error when q3map2_type is missing from gamepack xml

See merge request xonotic/netradiant!96

11 months agoMerge branch 'transfilterfix' into 'master'
Mario [Sat, 2 Jun 2018 13:22:16 +0000 (13:22 +0000)]
Merge branch 'transfilterfix' into 'master'

refresh vfs on map load instead of restarting it, fix #115

Closes #115

See merge request xonotic/netradiant!97

11 months agofix typo 97/head
Thomas Debesse [Sat, 2 Jun 2018 12:57:48 +0000 (14:57 +0200)]
fix typo

11 months agorefresh vfs on map load instead of restarting it, fix #115
Thomas Debesse [Sat, 2 Jun 2018 12:56:34 +0000 (14:56 +0200)]
refresh vfs on map load instead of restarting it, fix #115

it prevents the crash happening at map load when translucent
texture filter is activated, see #115

12 months agoFix BSP import error when q3map2_type is missing from gamepack xml 96/head
Zack Middleton [Tue, 22 May 2018 20:44:57 +0000 (15:44 -0500)]
Fix BSP import error when q3map2_type is missing from gamepack xml

Using File -> Import... to import a BSP using a gamepack that does not
specify q3map2_type (such as the Quake 3 gamepack) resulted in a fatal
error:

    runtime error: game attribute "q3map2_type" not found in "q3.game"

The code already has a fallback to use type "quake3" if q3map2_type is
missing so don't require gamepacks to specify it.

12 months agofilter non-shader texture paths at the same place 94/head
Thomas Debesse [Sat, 5 May 2018 01:23:14 +0000 (03:23 +0200)]
filter non-shader texture paths at the same place

also filter more known suffixes

12 months agoprint picomodel filename on error for @Viech, fix #112 93/head
Thomas Debesse [Fri, 4 May 2018 15:55:06 +0000 (17:55 +0200)]
print picomodel filename on error for @Viech, fix #112

12 months agoMerge branch 'Mario/winfix' into 'master'
TimePath [Thu, 3 May 2018 09:52:10 +0000 (09:52 +0000)]
Merge branch 'Mario/winfix' into 'master'

Merge branch Mario/winfix (S merge request)

See merge request xonotic/netradiant!91