Commit Graph

1381 Commits

Author SHA1 Message Date
Rudolf Polzer 90402b6978 update surface dialog when moving a brush 2010-10-10 16:44:27 +02:00
Rudolf Polzer 7a0665f156 automatically run the decompiler when specifying a BSP file in Import... 2010-10-10 16:04:41 +02:00
Rudolf Polzer 599056d188 allow different file type selections for open/import/save 2010-10-10 14:35:18 +02:00
Rudolf Polzer e1ed914df2 clean up the reload-if-failed code 2010-10-10 14:10:10 +02:00
Rudolf Polzer 182f62c459 rename to toggleFormat 2010-10-10 13:54:01 +02:00
Rudolf Polzer 112586a3cf clean up toggleProjection code 2010-10-10 13:53:40 +02:00
Rudolf Polzer 2b0a97c814 somewhat unclean code, sorry... but it allows opening brushPrimitives maps in nonBrushPrimitives mode (experimental) by temp toggling to the correct mode 2010-10-10 10:47:16 +02:00
Rudolf Polzer 652a2d36fb allow changing the "Alternate texture projection" mode at runtime (requires Map_New currently though) 2010-10-10 10:27:50 +02:00
Rudolf Polzer 551d4434f8 detect the wrong type Q3 format by a different error message when loading 2010-10-10 10:05:17 +02:00
Rudolf Polzer 05b62ff70f warn on wrong -convert use, always allow .map input 2010-10-09 21:54:55 +02:00
Rudolf Polzer cf1b60d899 don't write the bsp twice when pseudo compiling 2010-10-09 21:29:15 +02:00
Rudolf Polzer 6980df0b21 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)
2010-10-09 21:22:22 +02:00
Rudolf Polzer af9f1a2e22 add missing EndBSPFile() call 2010-10-09 19:47:13 +02:00
Rudolf Polzer 8442ecbb14 .ase also works from .map! 2010-10-09 19:37:43 +02:00
Rudolf Polzer 1b73f1f78b the decompiler now can convert .map files too 2010-10-09 19:28:19 +02:00
Rudolf Polzer 205771e916 initial code for converting .map to .map 2010-10-09 18:25:19 +02:00
Rudolf Polzer 43f30dc837 fix issues with embedded models 2010-10-08 20:38:30 +02:00
Rudolf Polzer b56cb7b42e properly export texdef origin brushes 2010-10-08 06:30:36 +02:00
Rudolf Polzer 266de1d7bb fix "bad texdef" 2010-10-08 06:22:47 +02:00
Rudolf Polzer b5c33b5fd7 decompiler now outputs somewhat correct texdef 2010-10-07 21:04:54 +02:00
Rudolf Polzer e5e8f67120 break break break ;) 2010-10-07 17:56:41 +02:00
Rudolf Polzer f5fc3cd9f9 fix compile errors 2010-10-07 17:43:05 +02:00
Rudolf Polzer c5745ac942 experimental non-BrushPrimit map decompiling (probably won't even compile yet) 2010-10-07 17:38:45 +02:00
Rudolf Polzer 18c11bf55e YEAH! I think this fixes the lightmaps-of-patches bug! 2010-10-05 18:50:24 +02:00
Rudolf Polzer cadab3422e more warnings 2010-10-05 15:06:52 +02:00
Rudolf Polzer d5a9782200 fix some more warnings 2010-10-05 15:04:45 +02:00
Rudolf Polzer 4487b4d44f fix "ExpandPath called without qdir set" as qdir is never set in Xonotic/Nexuiz/any other nonquake 2010-10-05 11:24:42 +02:00
rpolzer c34227108a make radiant compile again 2010-10-05 11:05:24 +02:00
rpolzer 5ec3a47e10 q3map2 is now waring free 2010-10-05 10:57:07 +02:00
rpolzer 5f1f257a1c add a missing VectorClear 2010-10-04 10:48:22 +02:00
Rudolf Polzer 4c13f31535 use a Gaussian-like random distribution for random subsampling 2010-10-03 21:14:54 +02:00
Rudolf Polzer 02d17b50a7 also subsample the deluxemap (this was forgotten all the time!) 2010-10-03 20:50:09 +02:00
Rudolf Polzer 61d0c06cc6 option -randomsamples: makes -samples use adaptive random subsampling (only subsamples near edges, uses random distribution for luxels then) 2010-10-03 20:23:14 +02:00
Rudolf Polzer 8ff9eafc50 fix bugs in skin load code 2010-10-01 12:13:36 +02:00
Rudolf Polzer 5c389d3f8a fix segfault 2010-10-01 11:55:29 +02:00
Rudolf Polzer 43b05f81bc skinfiles: use the VFS 2010-10-01 11:49:38 +02:00
Rudolf Polzer 7b7d0471b6 fix warnings 2010-10-01 11:29:51 +02:00
Rudolf Polzer 3dd2ff55b1 support .skin files for models (modelname_<n>.skin) like Q3A and DP 2010-10-01 11:29:51 +02:00
Rudolf Polzer 570c4f2bc4 temporarily disable WarsowPack as its download fails 2010-09-27 13:08:01 +02:00
Rudolf Polzer 1773a1823c Merge branch 'master' of ssh://git.xonotic.org/netradiant 2010-09-27 09:58:57 +02:00
Rudolf Polzer 20eed03c3f remove some unused code 2010-09-27 09:58:50 +02:00
Rudolf Polzer 511f7bd2c2 remove some debug code that is potentially dangerous 2010-09-27 09:58:22 +02:00
Rudolf Polzer 30a8c2c22c more deluxemap+surfacelight fixes 2010-09-23 08:30:17 +02:00
Rudolf Polzer c13784bc3a force subsampling only where REALLY needed 2010-09-22 08:49:43 +02:00
Rudolf Polzer 382e2da9a0 fix compile error 2010-09-22 08:28:00 +02:00
Rudolf Polzer d14718daef force going all the way down when subsampling grates 2010-09-22 08:26:54 +02:00
Rudolf Polzer fd6d38c979 force the first stage of subsampling on luxels that are hit through an alphashadow surface 2010-09-22 08:22:26 +02:00
Rudolf Polzer 33dae6db13 try to help subsampling with grates 2010-09-22 07:28:51 +02:00
Rudolf Polzer 1ec2aec67e deluxemapping: ignore light contribution from the other side of a surface 2010-09-22 07:17:33 +02:00
Rudolf Polzer 4243255b4a new funny option: -samplessearchboxsize, tunes the size of the search box of -samples (default 1 = "correct" size, can be up to 4) 2010-09-22 06:38:02 +02:00