divverent/netradiant.git
10 years agoallow different file type selections for open/import/save
Rudolf Polzer [Sun, 10 Oct 2010 12:35:18 +0000 (14:35 +0200)]
allow different file type selections for open/import/save

10 years agoclean up the reload-if-failed code
Rudolf Polzer [Sun, 10 Oct 2010 12:10:10 +0000 (14:10 +0200)]
clean up the reload-if-failed code

10 years agorename to toggleFormat
Rudolf Polzer [Sun, 10 Oct 2010 11:54:01 +0000 (13:54 +0200)]
rename to toggleFormat

10 years agoclean up toggleProjection code
Rudolf Polzer [Sun, 10 Oct 2010 11:53:40 +0000 (13:53 +0200)]
clean up toggleProjection code

10 years agosomewhat unclean code, sorry... but it allows opening brushPrimitives maps in nonBrus...
Rudolf Polzer [Sun, 10 Oct 2010 08:47:16 +0000 (10:47 +0200)]
somewhat unclean code, sorry... but it allows opening brushPrimitives maps in nonBrushPrimitives mode (experimental) by temp toggling to the correct mode

10 years agoallow changing the "Alternate texture projection" mode at runtime (requires Map_New...
Rudolf Polzer [Sun, 10 Oct 2010 08:26:46 +0000 (10:26 +0200)]
allow changing the "Alternate texture projection" mode at runtime (requires Map_New currently though)

10 years agodetect the wrong type Q3 format by a different error message when loading
Rudolf Polzer [Sun, 10 Oct 2010 08:05:03 +0000 (10:05 +0200)]
detect the wrong type Q3 format by a different error message when loading

10 years agowarn on wrong -convert use, always allow .map input
Rudolf Polzer [Sat, 9 Oct 2010 19:54:55 +0000 (21:54 +0200)]
warn on wrong -convert use, always allow .map input

10 years agodon't write the bsp twice when pseudo compiling
Rudolf Polzer [Sat, 9 Oct 2010 19:29:15 +0000 (21:29 +0200)]
don't write the bsp twice when pseudo compiling

10 years agoEXPERIMENTAL: make the pseudo compiler able to output a .bsp file:
Rudolf Polzer [Sat, 9 Oct 2010 19:22:22 +0000 (21:22 +0200)]
EXPERIMENTAL: make the pseudo compiler able to output a .bsp file:
q3map2 -game xonotic -convert -format xonotic filename.map
note that this is a quite bad compile (no tjunctions, no models, nothing, but lightning fast)

10 years agoadd missing EndBSPFile() call
Rudolf Polzer [Sat, 9 Oct 2010 17:47:13 +0000 (19:47 +0200)]
add missing EndBSPFile() call

10 years ago.ase also works from .map!
Rudolf Polzer [Sat, 9 Oct 2010 17:37:43 +0000 (19:37 +0200)]
.ase also works from .map!

10 years agothe decompiler now can convert .map files too
Rudolf Polzer [Sat, 9 Oct 2010 17:28:19 +0000 (19:28 +0200)]
the decompiler now can convert .map files too

10 years agoinitial code for converting .map to .map
Rudolf Polzer [Sat, 9 Oct 2010 16:25:19 +0000 (18:25 +0200)]
initial code for converting .map to .map

10 years agofix issues with embedded models
Rudolf Polzer [Fri, 8 Oct 2010 18:38:30 +0000 (20:38 +0200)]
fix issues with embedded models

10 years agoproperly export texdef origin brushes
Rudolf Polzer [Fri, 8 Oct 2010 04:30:36 +0000 (06:30 +0200)]
properly export texdef origin brushes

10 years agofix "bad texdef"
Rudolf Polzer [Fri, 8 Oct 2010 04:22:47 +0000 (06:22 +0200)]
fix "bad texdef"

10 years agodecompiler now outputs somewhat correct texdef
Rudolf Polzer [Thu, 7 Oct 2010 19:04:54 +0000 (21:04 +0200)]
decompiler now outputs somewhat correct texdef

10 years agobreak break break ;)
Rudolf Polzer [Thu, 7 Oct 2010 15:56:41 +0000 (17:56 +0200)]
break break break ;)

10 years agofix compile errors
Rudolf Polzer [Thu, 7 Oct 2010 15:43:05 +0000 (17:43 +0200)]
fix compile errors

10 years agoexperimental non-BrushPrimit map decompiling (probably won't even compile yet)
Rudolf Polzer [Thu, 7 Oct 2010 15:38:45 +0000 (17:38 +0200)]
experimental non-BrushPrimit map decompiling (probably won't even compile yet)

10 years agoYEAH! I think this fixes the lightmaps-of-patches bug!
Rudolf Polzer [Tue, 5 Oct 2010 16:50:24 +0000 (18:50 +0200)]
YEAH! I think this fixes the lightmaps-of-patches bug!

10 years agomore warnings
Rudolf Polzer [Tue, 5 Oct 2010 13:06:52 +0000 (15:06 +0200)]
more warnings

10 years agofix some more warnings
Rudolf Polzer [Tue, 5 Oct 2010 13:04:45 +0000 (15:04 +0200)]
fix some more warnings

10 years agofix "ExpandPath called without qdir set" as qdir is never set in Xonotic/Nexuiz/any...
Rudolf Polzer [Tue, 5 Oct 2010 09:24:42 +0000 (11:24 +0200)]
fix "ExpandPath called without qdir set" as qdir is never set in Xonotic/Nexuiz/any other nonquake

10 years agomake radiant compile again
rpolzer [Tue, 5 Oct 2010 09:05:24 +0000 (11:05 +0200)]
make radiant compile again

10 years agoq3map2 is now waring free
rpolzer [Tue, 5 Oct 2010 08:57:07 +0000 (10:57 +0200)]
q3map2 is now waring free

10 years agoadd a missing VectorClear
rpolzer [Mon, 4 Oct 2010 08:48:22 +0000 (10:48 +0200)]
add a missing VectorClear

10 years agouse a Gaussian-like random distribution for random subsampling
Rudolf Polzer [Sun, 3 Oct 2010 19:14:54 +0000 (21:14 +0200)]
use a Gaussian-like random distribution for random subsampling

10 years agoalso subsample the deluxemap (this was forgotten all the time!)
Rudolf Polzer [Sun, 3 Oct 2010 18:50:09 +0000 (20:50 +0200)]
also subsample the deluxemap (this was forgotten all the time!)

10 years agooption -randomsamples: makes -samples use adaptive random subsampling (only subsample...
Rudolf Polzer [Sun, 3 Oct 2010 18:23:14 +0000 (20:23 +0200)]
option -randomsamples: makes -samples use adaptive random subsampling (only subsamples near edges, uses random distribution for luxels then)

10 years agofix bugs in skin load code
Rudolf Polzer [Fri, 1 Oct 2010 10:13:36 +0000 (12:13 +0200)]
fix bugs in skin load code

10 years agofix segfault
Rudolf Polzer [Fri, 1 Oct 2010 09:55:29 +0000 (11:55 +0200)]
fix segfault

10 years agoskinfiles: use the VFS
Rudolf Polzer [Fri, 1 Oct 2010 09:49:38 +0000 (11:49 +0200)]
skinfiles: use the VFS

10 years agofix warnings
Rudolf Polzer [Fri, 1 Oct 2010 09:28:27 +0000 (11:28 +0200)]
fix warnings

10 years agosupport .skin files for models (modelname_<n>.skin) like Q3A and DP
Rudolf Polzer [Fri, 1 Oct 2010 09:28:07 +0000 (11:28 +0200)]
support .skin files for models (modelname_<n>.skin) like Q3A and DP

10 years agotemporarily disable WarsowPack as its download fails
Rudolf Polzer [Mon, 27 Sep 2010 11:08:01 +0000 (13:08 +0200)]
temporarily disable WarsowPack as its download fails

10 years agoMerge branch 'master' of ssh://git.xonotic.org/netradiant
Rudolf Polzer [Mon, 27 Sep 2010 07:58:57 +0000 (09:58 +0200)]
Merge branch 'master' of ssh://git.xonotic.org/netradiant

10 years agoremove some unused code
Rudolf Polzer [Mon, 27 Sep 2010 07:58:50 +0000 (09:58 +0200)]
remove some unused code

10 years agoremove some debug code that is potentially dangerous
Rudolf Polzer [Mon, 27 Sep 2010 07:58:22 +0000 (09:58 +0200)]
remove some debug code that is potentially dangerous

10 years agomore deluxemap+surfacelight fixes
Rudolf Polzer [Thu, 23 Sep 2010 06:30:17 +0000 (08:30 +0200)]
more deluxemap+surfacelight fixes

10 years agoforce subsampling only where REALLY needed
Rudolf Polzer [Wed, 22 Sep 2010 06:49:43 +0000 (08:49 +0200)]
force subsampling only where REALLY needed

10 years agofix compile error
Rudolf Polzer [Wed, 22 Sep 2010 06:28:00 +0000 (08:28 +0200)]
fix compile error

10 years agoforce going all the way down when subsampling grates
Rudolf Polzer [Wed, 22 Sep 2010 06:26:54 +0000 (08:26 +0200)]
force going all the way down when subsampling grates

10 years agoforce the first stage of subsampling on luxels that are hit through an alphashadow...
Rudolf Polzer [Wed, 22 Sep 2010 06:22:26 +0000 (08:22 +0200)]
force the first stage of subsampling on luxels that are hit through an alphashadow surface

10 years agotry to help subsampling with grates
Rudolf Polzer [Wed, 22 Sep 2010 05:28:51 +0000 (07:28 +0200)]
try to help subsampling with grates

10 years agodeluxemapping: ignore light contribution from the other side of a surface
Rudolf Polzer [Wed, 22 Sep 2010 05:17:33 +0000 (07:17 +0200)]
deluxemapping: ignore light contribution from the other side of a surface

10 years agonew funny option: -samplessearchboxsize, tunes the size of the search box of -samples...
Rudolf Polzer [Wed, 22 Sep 2010 04:38:02 +0000 (06:38 +0200)]
new funny option: -samplessearchboxsize, tunes the size of the search box of -samples (default 1 = "correct" size, can be up to 4)

10 years agofix the maths REALLY
Rudolf Polzer [Wed, 22 Sep 2010 04:23:27 +0000 (06:23 +0200)]
fix the maths REALLY

10 years agofix a small math error in -samples causing it to only ever consider 2/3 of the length...
Rudolf Polzer [Tue, 21 Sep 2010 20:04:55 +0000 (22:04 +0200)]
fix a small math error in -samples causing it to only ever consider 2/3 of the length of each luxel

10 years agofix cloning (don't clone the worldspam)
Rudolf Polzer [Sat, 4 Sep 2010 11:52:03 +0000 (13:52 +0200)]
fix cloning (don't clone the worldspam)

10 years agoMerge remote branch 'origin/merlijn/osx-compile'
Rudolf Polzer [Wed, 1 Sep 2010 19:29:48 +0000 (21:29 +0200)]
Merge remote branch 'origin/merlijn/osx-compile'

10 years agodo not break tjunctions :P
Rudolf Polzer [Wed, 1 Sep 2010 06:30:09 +0000 (08:30 +0200)]
do not break tjunctions :P

10 years agoanother debug print
Rudolf Polzer [Wed, 1 Sep 2010 05:52:20 +0000 (07:52 +0200)]
another debug print

10 years agoimprove area calculation by a shift width to simulate fragments
Rudolf Polzer [Wed, 1 Sep 2010 05:51:01 +0000 (07:51 +0200)]
improve area calculation by a shift width to simulate fragments

10 years agofavor blocky triangles over thin triangles a bit
Rudolf Polzer [Wed, 1 Sep 2010 05:14:16 +0000 (07:14 +0200)]
favor blocky triangles over thin triangles a bit

10 years agobsp: new option -maxarea, selects more GPU friendly face surface splitting algorithm
Rudolf Polzer [Tue, 31 Aug 2010 13:38:00 +0000 (15:38 +0200)]
bsp: new option -maxarea, selects more GPU friendly face surface splitting algorithm

10 years agoUpdate documentation
merlijn [Sun, 29 Aug 2010 19:35:58 +0000 (21:35 +0200)]
Update documentation

10 years agoUpdate these files as well
merlijn [Sun, 29 Aug 2010 18:47:06 +0000 (20:47 +0200)]
Update these files as well

10 years agoOSX build stuff - default to using MacPorts instead of Fink and update the MACVERSION...
merlijn [Sun, 29 Aug 2010 18:44:05 +0000 (20:44 +0200)]
OSX build stuff - default to using MacPorts instead of Fink and update the MACVERSION stuff as it should not be needed in most cases.

10 years agofix gamedetect NULL pointer
Rudolf Polzer [Mon, 23 Aug 2010 19:41:42 +0000 (21:41 +0200)]
fix gamedetect NULL pointer

10 years agofix a CP_R command
Rudolf Polzer [Tue, 17 Aug 2010 18:58:36 +0000 (20:58 +0200)]
fix a CP_R command

10 years agoremove some stupid debug prints
Rudolf Polzer [Wed, 11 Aug 2010 05:58:19 +0000 (07:58 +0200)]
remove some stupid debug prints

10 years agoalso hide _reflect and _alpha texture files
Rudolf Polzer [Mon, 9 Aug 2010 04:43:45 +0000 (06:43 +0200)]
also hide _reflect and _alpha texture files

10 years agodo not REPEATEDLY blow up _skybox surfaces
Rudolf Polzer [Sun, 8 Aug 2010 18:56:47 +0000 (20:56 +0200)]
do not REPEATEDLY blow up _skybox surfaces

10 years agowe can move the <glib.h> include a bit more then
Rudolf Polzer [Sun, 8 Aug 2010 14:42:40 +0000 (16:42 +0200)]
we can move the <glib.h> include a bit more then

10 years agoinclude glib.h instead of limits.h
merlijn [Sun, 8 Aug 2010 14:30:20 +0000 (16:30 +0200)]
include glib.h instead of limits.h

10 years agofix PATH_MAX error, thanks CU|CUdyin
merlijn [Sat, 7 Aug 2010 17:50:16 +0000 (19:50 +0200)]
fix PATH_MAX error, thanks CU|CUdyin

10 years agovfspk3 in q3map2: also support -fs_forbiddenpath
Rudolf Polzer [Sat, 7 Aug 2010 15:32:57 +0000 (17:32 +0200)]
vfspk3 in q3map2: also support -fs_forbiddenpath

10 years agosupport "forbidden directories" (i.e. dirs excluded from radiant)
Rudolf Polzer [Sat, 7 Aug 2010 15:19:47 +0000 (17:19 +0200)]
support "forbidden directories" (i.e. dirs excluded from radiant)

10 years agoMerge remote branch 'refs/remotes/origin/parasti/fix-grayscale-png'
Rudolf Polzer [Wed, 4 Aug 2010 12:01:54 +0000 (14:01 +0200)]
Merge remote branch 'refs/remotes/origin/parasti/fix-grayscale-png'

10 years agofix path trimming involving pk3dirs
Rudolf Polzer [Mon, 2 Aug 2010 12:41:22 +0000 (14:41 +0200)]
fix path trimming involving pk3dirs

10 years agoFix/add grayscale-to-RGB in PNG loader
Jānis Rūcis [Fri, 30 Jul 2010 21:27:43 +0000 (00:27 +0300)]
Fix/add grayscale-to-RGB in PNG loader

10 years agodisplay entity boxes as [/]. Second line not needed.
Rudolf Polzer [Fri, 30 Jul 2010 14:11:33 +0000 (16:11 +0200)]
display entity boxes as [/]. Second line not needed.

10 years agoCRLF
Rudolf Polzer [Fri, 30 Jul 2010 14:02:39 +0000 (16:02 +0200)]
CRLF

10 years agoturn lights by 45 degrees to make them look the same in all 3 2D views
Rudolf Polzer [Fri, 30 Jul 2010 14:02:23 +0000 (16:02 +0200)]
turn lights by 45 degrees to make them look the same in all 3 2D views

10 years agoMerge branch 'master' of ssh://git.xonotic.org/netradiant
Rudolf Polzer [Fri, 30 Jul 2010 13:47:54 +0000 (15:47 +0200)]
Merge branch 'master' of ssh://git.xonotic.org/netradiant

10 years agoadd more vertexes to the entity display to make it more visible (paint an X in its...
Rudolf Polzer [Thu, 29 Jul 2010 16:57:08 +0000 (18:57 +0200)]
add more vertexes to the entity display to make it more visible (paint an X in its middle)

10 years agoFix wireframe entity display in 2D window
Jānis Rūcis [Wed, 28 Jul 2010 18:07:27 +0000 (21:07 +0300)]
Fix wireframe entity display in 2D window

On 64-bit systems, sizeof(size_t) != sizeof (unsigned int).

10 years agoargh :P 20 was intentional
Rudolf Polzer [Sun, 25 Jul 2010 15:16:46 +0000 (17:16 +0200)]
argh :P 20 was intentional

10 years agoMerge remote branch 'icculus/master'
Rudolf Polzer [Sun, 25 Jul 2010 15:13:35 +0000 (17:13 +0200)]
Merge remote branch 'icculus/master'

10 years agoimprove the max shader name length in brushexport plugin
Rudolf Polzer [Sun, 25 Jul 2010 15:10:39 +0000 (17:10 +0200)]
improve the max shader name length in brushexport plugin

10 years agoCRLF fixes, .gitattributes file updated
Rudolf Polzer [Wed, 21 Jul 2010 09:26:50 +0000 (11:26 +0200)]
CRLF fixes, .gitattributes file updated

10 years agocrlf fixes
Rudolf Polzer [Sun, 18 Jul 2010 14:32:03 +0000 (16:32 +0200)]
crlf fixes

10 years agoMerge remote branch 'refs/remotes/origin/parasti/connect-no-target-reuse'
Rudolf Polzer [Fri, 16 Jul 2010 22:08:49 +0000 (00:08 +0200)]
Merge remote branch 'refs/remotes/origin/parasti/connect-no-target-reuse'

10 years agofix a nasty bug breaking "deformvertexes move"
Rudolf Polzer [Fri, 16 Jul 2010 10:51:56 +0000 (12:51 +0200)]
fix a nasty bug breaking "deformvertexes move"

10 years agoWhen connecting entities, don't reuse the target field to name the entity
Jānis Rūcis [Wed, 14 Jul 2010 01:34:43 +0000 (04:34 +0300)]
When connecting entities, don't reuse the target field to name the entity

If an entity already has a target field, chances are that the targeted
entity still exists and the mapper will just get a naming collision.

10 years agoMerge branch 'master' of ssh://icculus.org/netradiant
jal [Sun, 11 Jul 2010 10:16:26 +0000 (12:16 +0200)]
Merge branch 'master' of ssh://icculus.org/netradiant

10 years agoOn grid lighting, redistribute the 25% of the floodlight as omnidirectional ambient...
jal [Sun, 11 Jul 2010 10:16:08 +0000 (12:16 +0200)]
On grid lighting, redistribute the 25% of the floodlight as omnidirectional ambient light, and use only the 75% of it as top-down directional light.

10 years agoqtrue too
Rudolf Polzer [Sun, 4 Jul 2010 17:24:23 +0000 (19:24 +0200)]
qtrue too

10 years agoit is qfalse
Rudolf Polzer [Sun, 4 Jul 2010 17:23:51 +0000 (19:23 +0200)]
it is qfalse

10 years agofix arg parsing
Rudolf Polzer [Sun, 4 Jul 2010 17:17:15 +0000 (19:17 +0200)]
fix arg parsing

10 years agoq3map2 -scale: new arg -spawn_ref - sets reference point in spawnpoints
Rudolf Polzer [Sun, 4 Jul 2010 17:11:23 +0000 (19:11 +0200)]
q3map2 -scale: new arg -spawn_ref - sets reference point in spawnpoints

10 years agoMakefile: support CHECK_DEPENDENCIES with DOWNLOAD_GAMEPACKS semantics
Jānis Rūcis [Fri, 25 Jun 2010 11:04:13 +0000 (14:04 +0300)]
Makefile: support CHECK_DEPENDENCIES with DOWNLOAD_GAMEPACKS semantics

10 years agoMerge branch 'icculus'
Rudolf Polzer [Thu, 24 Jun 2010 10:30:02 +0000 (12:30 +0200)]
Merge branch 'icculus'

10 years agoallow 64 directories, no longer 8
Rudolf Polzer [Thu, 24 Jun 2010 10:27:26 +0000 (12:27 +0200)]
allow 64 directories, no longer 8

11 years agoFix vertexlighting and gridlighting being too dark when using floodlight and bounce...
jal [Mon, 14 Jun 2010 17:50:45 +0000 (19:50 +0200)]
Fix vertexlighting and gridlighting being too dark when using floodlight and bounce (stop floodlighting being re-applied to lightmaps with each bounce stage)

11 years agoApply floodlight to vertex lighting (there seems to remain some problem with
jal [Sat, 12 Jun 2010 11:36:06 +0000 (13:36 +0200)]
Apply floodlight to vertex lighting (there seems to remain some problem with

vertexlighting not receiving enough bounced light)

11 years agoMerge remote branch 'icculus/master'
Rudolf Polzer [Fri, 4 Jun 2010 18:58:08 +0000 (20:58 +0200)]
Merge remote branch 'icculus/master'

11 years agosupport misc_*model as misc_model in the radiant editor (way more convenient)
Rudolf Polzer [Fri, 4 Jun 2010 18:56:24 +0000 (20:56 +0200)]
support misc_*model as misc_model in the radiant editor (way more convenient)