]>
git.rm.cloudns.org Git - xonotic/netradiant.git/log
Thomas Debesse [Sun, 17 May 2020 15:53:01 +0000 (15:53 +0000)]
Merge branch 'illwieckz/gcc10' into 'master'
Fix compilation with GCC 10, <3 @SpiKe, fix #140
Closes #140
See merge request xonotic/netradiant!163
Thomas Debesse [Fri, 15 May 2020 03:33:45 +0000 (05:33 +0200)]
daemonmap: update submodule
Thomas Debesse [Fri, 15 May 2020 03:18:01 +0000 (05:18 +0200)]
h2data: use static for homonyms
Thomas Debesse [Fri, 15 May 2020 02:51:27 +0000 (04:51 +0200)]
q3data: already defined in cmdlib.h
Thomas Debesse [Fri, 15 May 2020 02:21:03 +0000 (04:21 +0200)]
q2map: declare once, define as extern
Thomas Debesse [Fri, 15 May 2020 02:11:36 +0000 (04:11 +0200)]
q2map: do not define globally when used locally
Thomas Debesse [Thu, 14 May 2020 11:18:25 +0000 (13:18 +0200)]
h2data: do not redefine if unused
Thomas Debesse [Thu, 14 May 2020 11:14:19 +0000 (13:14 +0200)]
h2data: declare once, define as extern
Thomas Debesse [Thu, 14 May 2020 11:04:30 +0000 (13:04 +0200)]
q3map2: declare or define with Q_EXTERN
Thomas Debesse [Thu, 14 May 2020 11:02:03 +0000 (13:02 +0200)]
q3map2: already defined in inout.h
Thomas Debesse [Fri, 24 Apr 2020 23:34:51 +0000 (01:34 +0200)]
readme: add download link, make sure people download source using git, and other rewording
Thomas Debesse [Sun, 19 Apr 2020 09:49:36 +0000 (11:49 +0200)]
q3map2: generate unvanquished minimap sidecar file
also enable the option for work-in-progress smokinguns port on dæmon
Thomas Debesse [Sat, 18 Apr 2020 08:03:56 +0000 (10:03 +0200)]
q3map2: remove useless zlib dependency
Rudolf Polzer [Sun, 19 Apr 2020 00:41:25 +0000 (02:41 +0200)]
Comment ColorToBytesNonZero and fix zero detection in light.c.
Rudolf Polzer [Sat, 18 Apr 2020 00:10:39 +0000 (20:10 -0400)]
Fix ioq3 compatibility bug with lightgrid and only one light.
Correct math requires the ambient component of the lightgrid to be zero
in that case. However, ioq3 ignores lightgrid cells with all zero ambient
value, EVEN if the directed value is nonzero.
This change sets the ambient value to #010101 if it'd be pitch black. This
should be a minimal change without affecting light hue that fixes
lightgrid rendering. In engines like DarkPlaces, almost no map should
look different from this.
Fixes #137.
Thomas Debesse [Mon, 6 Apr 2020 00:16:27 +0000 (02:16 +0200)]
easy-builder: make it compatible with Ubuntu 18.04/CMake 3.10
on CMake 3.10i, options -S and -B were not supported yet
Thomas Debesse [Sun, 5 Apr 2020 03:57:55 +0000 (05:57 +0200)]
readme: update
Thomas Debesse [Sun, 5 Apr 2020 03:53:57 +0000 (05:53 +0200)]
Merge branch 'clang' into 'master'
Thomas Debesse [Sun, 5 Apr 2020 03:52:42 +0000 (05:52 +0200)]
readme: gcc is not required anymore on FreeBSD and macOS
Thomas Debesse [Sun, 5 Apr 2020 03:37:54 +0000 (05:37 +0200)]
easy-builder: do not enforce gcc on FreeBSD and macOS
slipher [Sun, 5 Apr 2020 03:09:07 +0000 (05:09 +0200)]
clang/error: fix: call to convertToOpaque is ambiguous
slipher [Sun, 5 Apr 2020 02:13:48 +0000 (04:13 +0200)]
clang/error: fix: non-type template argument refers to function Export that does not have linkage
slipher [Sun, 5 Apr 2020 01:44:55 +0000 (03:44 +0200)]
clang/error: fix: non-type template argument refers to function ExportThunk that does not have linkage
Thomas Debesse [Sat, 4 Apr 2020 19:23:28 +0000 (21:23 +0200)]
radiant/build: add comment telling MaingFrame_getWindow() is suspicious
Thomas Debesse [Sat, 4 Apr 2020 09:09:58 +0000 (11:09 +0200)]
docs: set index.html to redirect
Thomas Debesse [Sat, 4 Apr 2020 08:39:28 +0000 (10:39 +0200)]
contrib: update urls and names
Thomas Debesse [Sat, 4 Apr 2020 08:07:56 +0000 (10:07 +0200)]
radiant/build: center buildmenu editor on screen
I haven't managed to center it on main windows
centering on screen is still better than top -left
Thomas Debesse [Sat, 4 Apr 2020 05:21:15 +0000 (07:21 +0200)]
bikeshedding: unifying some variable in contrib/bobtoolz
Thomas Debesse [Sat, 4 Apr 2020 04:54:05 +0000 (06:54 +0200)]
bikeshedding: unifying some variable in contrib/shaderplug
Thomas Debesse [Sat, 4 Apr 2020 05:42:55 +0000 (07:42 +0200)]
contrib/bobtoolz: center some dialog windows on main window
also rename the Path Plotter window title correctly
Thomas Debesse [Sat, 4 Apr 2020 04:41:46 +0000 (06:41 +0200)]
contrib/brushexport: center export window on main window
Thomas Debesse [Sat, 4 Apr 2020 04:23:10 +0000 (06:23 +0200)]
contrib/prtview: center config window on main window
also center color picker on config window
Thomas Debesse [Sat, 4 Apr 2020 07:50:54 +0000 (09:50 +0200)]
radiant/xywindow: center background select error message on main window
Thomas Debesse [Sat, 4 Apr 2020 06:07:10 +0000 (08:07 +0200)]
radiant/prefs: center preferences window on main window
Thomas Debesse [Sat, 4 Apr 2020 05:13:15 +0000 (07:13 +0200)]
radiant: center messagebox on main window
Thomas Debesse [Sat, 4 Apr 2020 02:32:17 +0000 (04:32 +0200)]
radiant/about: reword message
Thomas Debesse [Sat, 4 Apr 2020 02:26:15 +0000 (04:26 +0200)]
radiant/about: rework layout
Thomas Debesse [Sat, 4 Apr 2020 02:02:17 +0000 (04:02 +0200)]
radiant/about: add link to website
Thomas Debesse [Sat, 4 Apr 2020 01:53:47 +0000 (03:53 +0200)]
radiant/about: make issue tracker url clickable
Thomas Debesse [Sat, 4 Apr 2020 01:23:47 +0000 (03:23 +0200)]
contrib/bobtoolz: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:14:50 +0000 (03:14 +0200)]
contrib/sunplug: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:10:12 +0000 (03:10 +0200)]
contrib/prtview: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:36:42 +0000 (03:36 +0200)]
cmake: install global.xlink
Thomas Debesse [Sat, 4 Apr 2020 01:30:28 +0000 (03:30 +0200)]
global.xlink: fix q3map2 handbook url (was dead link)
Thomas Debesse [Sat, 4 Apr 2020 01:29:27 +0000 (03:29 +0200)]
global.xlink: update netradiant website url
Thomas Debesse [Sat, 4 Apr 2020 00:43:57 +0000 (02:43 +0200)]
daemonmap: sync submodule to print own git version
Thomas Debesse [Sat, 4 Apr 2020 00:35:21 +0000 (02:35 +0200)]
cmake: drop useless version.h
Thomas Debesse [Sat, 4 Apr 2020 00:25:11 +0000 (02:25 +0200)]
tools/cmake: do not compute git version again
Thomas Debesse [Mon, 30 Mar 2020 02:27:13 +0000 (04:27 +0200)]
bundle: make daemonmap buildable and bundlable like other tools as submodule
Thomas Debesse [Tue, 31 Mar 2020 23:37:26 +0000 (01:37 +0200)]
easy-builder: make possible to check for more than one submodule
Thomas Debesse [Tue, 31 Mar 2020 16:48:23 +0000 (18:48 +0200)]
easy-builder: strip release binaries, support older cmake
- use `install/strip` target for release build
- CMake used in Ubuntu bionic (currently used to build
redistributable packages, old enough to be older than
most of the commonly used distributions) does not
support -S option yet
Thomas Debesse [Tue, 31 Mar 2020 00:44:09 +0000 (02:44 +0200)]
readme: use cmake -S instead of undocumented -H
undocumented -H for source directory was replaced
by documented -S and -H is now an alias to --help
Thomas Debesse [Tue, 31 Mar 2020 00:40:34 +0000 (02:40 +0200)]
easy-builder: improvements
- handle arguments with spaces properly
- provide fallback for nproc
- replace cmake undocumented -H with -S
- do not require to change directory
Thomas Debesse [Sun, 29 Mar 2020 20:19:59 +0000 (22:19 +0200)]
bikeshedding: minor readme fix
Thomas Debesse [Sun, 29 Mar 2020 16:47:33 +0000 (18:47 +0200)]
q3map2/smokinguns: fix .tex writing, <3 @vloup
Thanks ElBarto (@vloup) for reporting this
Garux [Sun, 29 Mar 2020 00:59:32 +0000 (01:59 +0100)]
bikeshedding: reduce diff noise with Garux tree
see:
https://github.com/Garux/netradiant-custom/commit/
4292115ef741ff066b382c094f8c7814afaccf59 #diff-386c03feac6f15ccc15c4dab7bb97320R342
that's not fair
Thomas Debesse [Sun, 29 Mar 2020 00:28:29 +0000 (01:28 +0100)]
q3map2: pad with zero, not with null pointers, ref #160
see:
https://gitlab.com/xonotic/netradiant/-/merge_requests/160#note_287938815
Thomas Debesse [Fri, 27 Mar 2020 18:11:38 +0000 (19:11 +0100)]
radiant/buildmenu: rename ".[ExecutableType]" as "[ExecutableExt]"
- introduce GDEF_OS_EXE_EXT
- no need for RADIANT_EXECUTABLE anymore
- keep "[ExecutableType]" parsing but it looks useless
Thomas Debesse [Sat, 28 Mar 2020 00:52:57 +0000 (01:52 +0100)]
radiant/buildmenu: fixup, ref #138
Thomas Debesse [Fri, 27 Mar 2020 16:32:57 +0000 (17:32 +0100)]
radiant/buildmenu: better executable extension strip, ref #138
this fixes issue #138 on my end
Thomas Debesse [Fri, 27 Mar 2020 00:29:04 +0000 (01:29 +0100)]
bikeshedding: some touchup on library-bundler
Thomas Debesse [Fri, 27 Mar 2020 15:43:17 +0000 (15:43 +0000)]
Merge branch 'missingarg' into 'master'
q3map2: fix segfault when missing bspfile arg on light stage
See merge request xonotic/netradiant!161
Thomas Debesse [Fri, 27 Mar 2020 00:52:28 +0000 (01:52 +0100)]
q3map2: fix segfault when missing bspfile arg on light stage
Thomas Debesse [Thu, 23 Jan 2020 21:53:18 +0000 (21:53 +0000)]
Merge branch 'memoryfixes' into 'master'
q3map2: fix memory errors and misuses
See merge request xonotic/netradiant!160
Thomas Debesse [Thu, 23 Jan 2020 21:27:12 +0000 (22:27 +0100)]
q3map2: use safe_malloc0 when safe_malloc is followed by a memset to 0 with the same size
Thomas Debesse [Thu, 23 Jan 2020 18:54:31 +0000 (19:54 +0100)]
q3map2: zero the verts array on initialization, verts are tested to not be null in FindMetaVertex()
Thomas Debesse [Tue, 14 Jan 2020 08:01:29 +0000 (09:01 +0100)]
q3map: magic string, know about the asctime's trailing \n
Thomas Debesse [Tue, 14 Jan 2020 08:00:14 +0000 (09:00 +0100)]
q3map: magic string, no closing parenthesis
Thomas Debesse [Tue, 14 Jan 2020 10:01:58 +0000 (11:01 +0100)]
tools/quake2: use same strupr other tools use
Thomas Debesse [Tue, 14 Jan 2020 10:00:47 +0000 (11:00 +0100)]
tools/hd2data: strupr is windows only, define it elsewhere
some compiler may ask if strstr would have to be used instead, which is wrong
Thomas Debesse [Tue, 14 Jan 2020 09:34:48 +0000 (10:34 +0100)]
q3map2/vis: do not read outside of script before detecting end of script
Thomas Debesse [Tue, 14 Jan 2020 08:42:37 +0000 (09:42 +0100)]
autoexpand: add an alternative way to autoexpand while zeroing the allocated memory
use it to allocate shader lump, without that, garbage from uninitialized memory may be written
after the ending \0 of strings
Thomas Debesse [Tue, 14 Jan 2020 07:06:47 +0000 (08:06 +0100)]
bsp lump write: pad with zeros, not with random unitialized memory data
Thomas Debesse [Tue, 14 Jan 2020 06:28:50 +0000 (07:28 +0100)]
q3map2/vfs: free temporary allocated dirlist when not used
Thomas Debesse [Tue, 14 Jan 2020 05:52:08 +0000 (06:52 +0100)]
LoadPNGBuffer: use safe_malloc0 to allocate a zeored imate buffer
valgrind reports there may be issues if this is not initialized
Thomas Debesse [Tue, 14 Jan 2020 05:17:15 +0000 (06:17 +0100)]
introduce safe_malloc0, also 0 the memory before usage
note called safe_calloc because calloc does not have the same syntax
and this safe_malloc0 uses malloc syntax
Thomas Debesse [Tue, 14 Jan 2020 05:12:06 +0000 (06:12 +0100)]
unnecessary SAFE_MALLOC ifdef: always defined
Thomas Debesse [Tue, 14 Jan 2020 04:47:47 +0000 (05:47 +0100)]
valgrind: Conditional jump or move depends on uninitialised value
Thomas Debesse [Tue, 14 Jan 2020 04:39:45 +0000 (05:39 +0100)]
fix a buffer overflow due to a string not being large enough to store ending \0
Thomas Debesse [Mon, 20 Jan 2020 19:52:02 +0000 (19:52 +0000)]
Merge branch 'easy-builder' into 'master'
introduce easy-builder script
See merge request xonotic/netradiant!157
Thomas Debesse [Sat, 16 Nov 2019 15:42:01 +0000 (16:42 +0100)]
update readme
Thomas Debesse [Tue, 12 Nov 2019 09:34:49 +0000 (10:34 +0100)]
add simple easy-builder script
Thomas Debesse [Tue, 12 Nov 2019 08:24:20 +0000 (09:24 +0100)]
fail library-bundler script on error
Thomas Debesse [Tue, 12 Nov 2019 07:31:04 +0000 (08:31 +0100)]
enable crunch if available
Thomas Debesse [Wed, 25 Dec 2019 19:22:59 +0000 (20:22 +0100)]
crn_rgba: use “algorithm” header to avoid std::min/max being unknown
avoid this error on some systems (Clang on macOS or FreeBSD):
netradiant/libs/crnrgba/crn_rgba.cpp:93:38: error: no
member named 'max' in namespace 'std'
const crn_uint32 blocks_x = std::max(1U, (ti.m_width + 3) >> 2);
Thomas Debesse [Wed, 25 Dec 2019 17:41:48 +0000 (17:41 +0000)]
Merge branch 'illwieckz/gcclt7' into 'master'
Fix compiling using GCC older than 7, obsolete !143, fix #122, <3 @zturtleman, bananovenc
Closes #122
See merge request xonotic/netradiant!159
Thomas Debesse [Wed, 25 Dec 2019 03:07:10 +0000 (04:07 +0100)]
Fix compiling using GCC older than 7, obsolete !143, fix #122, <3 @zturtleman, bananovenc
Thomas Debesse [Sat, 7 Dec 2019 04:12:31 +0000 (04:12 +0000)]
Merge branch 'fixpng' into 'master'
radiant: redo
6011367 (!102), fix alpha channel for tRNS cheap transparency PNG
See merge request xonotic/netradiant!158
Thomas Debesse [Sat, 7 Dec 2019 03:38:39 +0000 (04:38 +0100)]
radiant: redo
6011367 , fix alpha channel for tRNS cheap transparency PNG
Thomas Debesse [Sun, 13 Oct 2019 02:53:43 +0000 (02:53 +0000)]
Merge branch 'packonce' into 'master'
q3map2/light: add option to only store lightmaps on very last bounce, q3map2/bsp: add fast meta option
See merge request xonotic/netradiant!156
Thomas Debesse [Sun, 22 Sep 2019 08:48:48 +0000 (10:48 +0200)]
q3map2/bsp: introduce -fastmeta option
set lightmap and surface verts and indexes values like quake3, known to be fast
equivalent to:
-maxlightmapverts 64 -maxsurfaceverts 999 -maxsurfaceindexes 6000
Thomas Debesse [Sun, 22 Sep 2019 08:09:43 +0000 (10:09 +0200)]
q3map2/bsp: introduce -maxsurfacevertices, rename -mv and -mi
- introduce -maxsurfaceverts (was missing as command line option)
- rename -mv to -maxlightmapvertices
- rename -mi to -maxsurfaceindexes
Thomas Debesse [Sun, 22 Sep 2019 00:16:08 +0000 (02:16 +0200)]
q3map2/light: introduce -nobouncestore
when storing computed lightmap on each bounce, user can interrupt compilation and
get working files, but it spends allocation time (which is slow and single-threaded
with this option, user can decide to only allocate lightmaps on the very final
bounce, it means it can't be interrupted, but it can save a lot of time
Thomas Debesse [Sun, 22 Sep 2019 00:24:08 +0000 (02:24 +0200)]
q3map2/light: rename -fastallocate to -fastlightmapsearch
Thomas Debesse [Sun, 13 Oct 2019 00:57:37 +0000 (00:57 +0000)]
Merge branch 'deprecate-makefile' into 'master'
deprecate the legacy Makefile
See merge request xonotic/netradiant!138
Thomas Debesse [Sun, 13 Oct 2019 00:52:52 +0000 (02:52 +0200)]
makefile: remind future ourselves that conftest.cpp belongs to the legacy Makefile
Thomas Debesse [Sun, 13 Oct 2019 00:50:27 +0000 (02:50 +0200)]
makefile: move conftest.cpp back right to legacy Makefile since it's required by it
Thomas Debesse [Fri, 5 Jul 2019 01:45:26 +0000 (03:45 +0200)]
makefile: deprecate the legacy Makefile
requires make to be called this way:
make I_KNOW_MAKEFILE_IS_DEPRECATED=1
Thomas Debesse [Sat, 12 Oct 2019 21:38:40 +0000 (21:38 +0000)]
Merge branch 'restart' into 'master'
do not prompt for game when restarting after switching game, <3 @Garux
See merge request xonotic/netradiant!155
Thomas Debesse [Sat, 12 Oct 2019 21:34:24 +0000 (23:34 +0200)]
import some improvements from garux tree
see https://github.com/Garux/netradiant-custom/commit/
1a18246a1fcb08ad15da046382684f7754d6aae1