e39f6f4bae
Increasing stack size on Windows build.
rambetter
2011-04-06 03:56:18 +00:00
81ad86d6ee
fix install-gamepack abort with an empty src dir
Rudolf Polzer
2011-04-02 12:55:10 +02:00
a62e98a1f9
Fixing a Sys_Printf() in main() for "q3map2 -convert". The usage message was copied from "-scale" and was incorrect. Thanks to Ensiform from ioquake3 IRC room for reporting this bug.
rambetter
2011-03-06 19:14:50 +00:00
772fdfe0b9
bring the libraries back to id hosting
TTimo
2011-03-05 21:08:28 +00:00
8d530e8707
- Updated Windows build doc, very slight revision. Changed 37 targets to 38. - Added plugins/imagehl to list of modules built (both Windows and Linux). Not really sure what this does, but it's the only module (as defined by stuff in plugins/ or contrib/) that exists and isn't currently part of the build. - The code to disable desktop composition in Windows has been moved from start of main() to an option in Preferences. The pref reads as follows: "NVIDIA/Aero bug - disable Windows composition". It is enabled by default. - Color themes controlled by "Misc" -> "Colors" -> "Themes" options are now saved as soon as you select them. The color theme is no longer clobbered when opening Preferences. - The ATI broken driver (bug #802) pref has been reworded since it applies to Intel cards as well. Before: "ATI cards with broken drivers - bug #802". After: "ATI and Intel cards w/ buggy drivers (disappearing polygons)".
rambetter
2011-03-03 15:51:44 +00:00
5b8b0dd6b2
if we get empty brushes in CSG subtract, don't complain, just don't insert the new brush (as this can happen intentionally when a brush is entirely covered)
Rudolf Polzer
2011-02-27 07:18:02 +01:00
caadbd4cfc
Adding patch_seam q3map2 regression test. Probably not fixable, but good to note.
rambetter
2011-02-26 00:41:18 +00:00
69fb7e4ba4
Updating Windows compile guide after the major overhaul of Windows build system.
rambetter
2011-02-24 04:14:47 +00:00
9ef80305de
The release config for radiant target was busted on Linux in SCons build. Problem was that the compile flags were overly aggressive and caused segfaults. They included: -O3 -Winline -ffast-math -fno-unsafe-math-optimizations -fno-strict-aliasing Changed to: -O2 -fno-strict-aliasing From my experience, -O3 is usually a bad idea.
rambetter
2011-02-24 03:53:03 +00:00
277c57b2db
OsitionPack is actually GPL-compatible:
Rudolf Polzer
2011-02-23 14:50:43 +01:00
2f585b1e1e
make WarsowPack use ingar's location from now on. Warsow's svn is too unreliable and causes too many build failures, and WILL NOT BE ADDED AGAIN. Warsow devs shall just get a github account, KTHX.
Rudolf Polzer
2011-02-23 14:47:16 +01:00
3cdbbcc748
allow game packs to override the default of brush primitives
Rudolf Polzer
2011-02-23 14:33:18 +01:00
806e3fe1c8
Merge branch 'master' of ssh://icculus.org/netradiant
Rudolf Polzer
2011-02-23 14:19:58 +01:00
f43d2c575d
Revert "also load DDS files the way DarkPlaces stores them (does DDS loading even work?)" because Radiant does not support this yet, and it won't be easy to do the same hack in Radiant.
Rudolf Polzer
2011-02-23 13:25:22 +01:00
8850310690
also load DDS files the way DarkPlaces stores them (does DDS loading even work?)
Rudolf Polzer
2011-02-23 13:24:47 +01:00
4d276901a6
also support the alpha channel hack for JPEG that DarkPlaces supports (foo.jpg + foo_alpha.jpg)
Rudolf Polzer
2011-02-23 13:22:07 +01:00
e9b8397628
JPEG support: allow grayscale JPEG files in q3map2 (untested)
Rudolf Polzer
2011-02-23 13:14:07 +01:00
2f2fcf4749
Merge branch 'master' of git://git.xonotic.org/xonotic/netradiant
Rudolf Polzer
2011-02-22 20:09:54 +01:00
6b48a837f9
forgot to check lightDeluxel for NULL here
Rudolf Polzer
2011-02-22 17:48:30 +01:00
ab06d9eea3
::zerowing-base=474
Rudolf Polzer
2011-02-22 09:05:55 +01:00
48410b113d
Fixing Linux SCons build. Fixing plugins on both Linux and Windows. It's consistent now. Fixing gl font on Windows. Mostly, added lots of plugins.
rambetter
2011-02-22 04:48:05 +00:00
561e062c87
This is a major change that updates the 3rd party libs on Windows builds. A couple of things are broken right now: - OpenGL font in Windows not appearing (expected to be broken, will fix) - Linux build broken because it loads some .vcproj files that are removed - 3rd party libs are downloaded from porky.nerius.com, not id Software
rambetter
2011-02-21 14:37:49 +00:00
de28d9de1d
Merge remote-tracking branch 'origin/divVerent/weird-shift-a'
Rudolf Polzer
2011-02-14 19:42:28 +01:00
9aec6744f5
(by LordHavoc) game_etut uses BSP format version 47 too
Rudolf Polzer
2011-01-30 16:02:01 +01:00
53af03faff
use bsp version 47 for the appropriate games, this unbreaks a previous commit
Forest Hale
2011-01-30 03:18:05 +00:00
0a4e4f3786
more changes by Nikoli
Rudolf Polzer
2011-01-27 16:48:47 +01:00
24856f2621
makefile changes by Nikoli to allow building some parts separately
Rudolf Polzer
2011-01-27 07:38:54 +01:00
6dce431cd0
fix foreground color in console window (patch by Nikoli)
Rudolf Polzer
2011-01-26 21:00:13 +01:00
3d4ac1ba23
Fixing filters. I didn't realize they were so broken. The fix is safe and should not break plugins or anything else.
rambetter
2011-01-23 09:12:34 +00:00
9aa5e96c63
Adding "Preferences" -> "Other" -> "Brush" tab. This now has "Default texture scale:". (Preferences are game specific by the way.) The default value for this preference is specific to a game, but most of the time it's 0.5. This field allows the user to override that default. This is a feature that was specifically requrested by someone who wants to try using ZeroRadiant (he wants to set it to 0.25 for his "premium" maps). It's already a feature in NetRadiant.
rambetter
2011-01-23 05:24:30 +00:00
b903b9ef25
::zerowing-base=435
Rudolf Polzer
2011-01-22 16:13:22 +01:00
b56d42b971
custom surfaces as used by reaction quake
Rudolf Polzer
2011-01-22 16:13:00 +01:00
2a99ba3745
No longer including JAPack in default Radiant builds. This is in order to reduce the size of Windows Radiant builds by a factor of 2. JAPack can still be used, but must either be installed manually after a build is made, or it must be explicitly downloaded before the build.
rambetter
2011-01-22 07:10:03 +00:00
7dceb250fe
Modifying game_reaction.h (for the game Reaction) to add custom surfaces. This is more convenient than using custinfoparms.txt. TTI (from the Reaction team) game these to me.
rambetter
2011-01-22 07:03:51 +00:00
1f11459c84
Turn off desktop compositing in Windows ("Aero") for Radiant. Otherwise, "hall of mirrors" effect takes place in the OpenGL viewports. This fix is a real hack. It's actually borrowed from other Radiants such as NetRadiant. I'd like to fix the underlying issue someday so that Aero can be used with Radiant.
rambetter
2011-01-22 03:22:21 +00:00
73c9441a02
detect format error on Import..., and convert (as it was intended)
Rudolf Polzer
2011-01-21 23:34:25 +01:00
96d42ebc73
rename the DwmEnableComposition variable
Rudolf Polzer
2011-01-21 09:13:40 +01:00
112794e120
::zerowing-base=432
Rudolf Polzer
2011-01-20 14:36:36 +01:00
ccb417b54d
fix the game_ file to match this q3map2 version
Rudolf Polzer
2011-01-20 14:36:18 +01:00
1f2be9e1a6
In function AddGamePath() in path_init.c for q3map2, only adding path if it's not already added (remove duplicates). It's cleaner this way.
rambetter
2011-01-20 07:15:47 +00:00
857d05d90f
Adding game_reaction.h to q3map2. We cannot use "-game quake3" because we use ~/.Reaction instead of ~/.q3a . Oh well. This is for Reaction Quake III.
Rudolf Polzer
2011-01-20 14:35:30 +01:00
083f7c7d6a
In function AddGamePath() in path_init.c for q3map2, only adding path if it's not already added (remove duplicates). It's cleaner this way.
rambetter
2011-01-20 07:15:47 +00:00
89f0eeeb28
Adding game_reaction.h to q3map2. We cannot use "-game quake3" because we use ~/.Reaction instead of ~/.q3a . Oh well. This is for Reaction Quake III.
rambetter
2011-01-20 06:31:26 +00:00
4d362964f7
Adding ReactionPack to Radiant code.
rambetter
2011-01-20 05:36:24 +00:00
33746a4e6a
::zerowing-base=429
Rudolf Polzer
2011-01-19 08:02:38 +01:00
391d71d9ba
remove unnecessary code found by Rambetter
Rudolf Polzer
2011-01-19 08:02:00 +01:00
cb169716fe
Fixing a 45 degree model clipping problem. Introducing Q3MAP2_EXPERIMENTAL_MODEL_CLIPPING_FIX to control the new code, current value is 1 (enable the fix). This code fixes the q3map2 regression test model_clipping_45_degrees.
rambetter
2011-01-19 06:41:33 +00:00
cfbdf38d39
fix another misapplied diff
Rudolf Polzer
2011-01-13 21:18:04 +01:00
dfb4b5c8c1
more fixes
Rudolf Polzer
2011-01-13 21:10:43 +01:00
4ab91bf770
fix compile error
Rudolf Polzer
2011-01-13 20:10:12 +01:00
34a1e2074b
::zerowing-base=428
Rudolf Polzer
2011-01-12 13:58:55 +01:00
0475bf8f9c
In decal_misalignment regression test for q3map2, accidentally had checked in the wrong shader file, ramb_common.shader. Replacing with radiant_regression_tests.shader.
rambetter
2011-01-12 08:33:40 +00:00
085d8ec296
Adding model_clipping_45_degrees regression test for q3map2.
rambetter
2011-01-12 08:04:12 +00:00
75d9abb1c3
Adding decal_misalignment regression test for q3map2.
rambetter
2011-01-12 07:09:53 +00:00
3326472fee
Adding MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX in mathlib to control which version of code in VectorNormalize() is used. Yes, I put the old code back in there, and it's active if MATHLIB_VECTOR_NORMALIZE_PRECISION_FIX is 0. Right now it's 1, so the fixed code is active. I need this quick way to test regression tests.
rambetter
2011-01-12 03:35:57 +00:00
b188aed61b
add missing regression tests in last commit
Rudolf Polzer
2011-01-11 14:52:09 +01:00
94cb905da9
::zerowing-base=422
Rudolf Polzer
2011-01-11 14:39:55 +01:00
098fe8f8d5
Increasing the values of 3 constants that control how much space is reserved for the stack and/or static memory for holding arrays of structures. MAX_ORIGINAL_EDGES changed from 0x10000 to 0x20000 (x2 increase). MAX_MAP_BRUSHES changed from 0x8000 to 0x10000 (x2 increase). MAX_MAP_DRAW_VERTS changed from 0x80000 to 0x100000 (x2 increase). This is pertaining to q3map2 only. There is a real-world case where increasing these constants is needed. That case is when compiling Icy World for Urban Terror. Besides that, increasing these does not hurt anything (other than requiring more memory).
rambetter
2011-01-11 09:49:45 +00:00
ea589bedcc
As per TTimo's suggestion, turning all three experimental q3map2 fixes on in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX. These are all set to 1 now.
rambetter
2011-01-11 08:25:10 +00:00
0d3393fa7b
Finishing up the degenerate_winding2 and degenerate_winding3 regression tests. Sure enough, they expose the "problem". I just created these based on my understanding of the code and seeing a potential problem.
rambetter
2011-01-11 02:23:58 +00:00
8b711d1f35
Adding the beginnings of degenerate_winding2 and degenerate_winding3 regression tests for q3map2.
rambetter
2011-01-11 02:08:30 +00:00
a36b39a62b
Importing regression tests for q3map2 from Rambetter-math-fix-experiments into trunk. Branch Rambetter-math-fix-experiments can be deleted now.
rambetter
2011-01-10 06:25:33 +00:00
a16ee23adf
Importing code changes for q3map2 from Rambetter-math-fix-experiments branch into trunk. Right now all the new code that fixes problems is turned off. There are three new #defines in q3map2.h: EXPERIMENTAL_HIGH_PRECISION_MATH_Q3MAP2_FIXES, EXPERIMENTAL_SNAP_NORMAL_FIX, and EXPERIMENTAL_SNAP_PLANE_FIX. All of these are currently set to 0, which means don't enable that new code. You can easily edit these to be 1 in order to enable the new code.
rambetter
2011-01-10 06:15:47 +00:00
4de65601e1
Fixing Win compile guide, "if you choose path other than C:\MinGW, make sure there is no space in the path".
rambetter
2011-01-09 21:36:32 +00:00
6ce0c65e77
fix two bugs cppcheck found
Rudolf Polzer
2011-01-08 20:59:46 +01:00
b15b0b849f
treat entity leak different from entity in solid (the latter should not cause a leak message, but a proper "in solid")
Rudolf Polzer
2011-01-02 20:42:33 +01:00
8f04ed28bf
fix these options more
Rudolf Polzer
2011-01-01 20:19:57 +01:00
8b586748c4
fix option checking for -grid* options
Rudolf Polzer
2011-01-01 20:15:20 +01:00
c4a7877baf
Merge branch 'master' of ssh://git.xonotic.org/netradiant
Rudolf Polzer
2010-12-31 18:55:14 +01:00
7a04b6fdea
Author: rambetter Date: Thu Dec 30 21:03:13 2010 New Revision: 390
Rudolf Polzer
2010-12-31 18:54:33 +01:00
10d0890e16
always chmod the release exe file
Rudolf Polzer
2010-12-31 13:36:47 +01:00
4f075a2ec1
always chmod the release exe file
Rudolf Polzer
2010-12-31 13:36:47 +01:00
5526da8cdc
Undoing commits r363 and r371 as it pertains to polylib.c, mathlib.c, and mathlib.h (the regression tests have not been removed). Trunk is now restored to a state that it was in before I started trying to fix the math accuracy errors in q3map2. Commits r363 and r371 were "correct" and did improve math accuracy significantly, but unfortunately the underlying cause of math accuracy issues is something else, which is being addressed in branch Rambetter-math-fix-experiments currently. I'm taking the BSD approach here, which is "we not going to partially fix the problem. it's all or nothing". Otherwise it's just too risky in my opinion. I don't like playing Whack-A-Mole.
rambetter
2010-12-31 03:03:13 +00:00
c8524834a7
give ViewFront/ViewSide/ViewTop default shortcuts
Rudolf Polzer
2010-12-29 17:50:08 +01:00
469cba24be
Author: rambetter New Revision: 379 Undoing revision 377 (reverting just those files modified by that commit). I have disovered the fundamental problem to the math error problems, and although this commit (r377) is "correct", it fails to address the fundamental problem. Therefore, I'd rather leave the code in a state that has the exact same behavior as before until I get a chance to address the fundamental issue.
Rudolf Polzer
2010-12-29 17:41:57 +01:00
bbd9067353
Author: rambetter Date: Tue Dec 28 23:20:32 2010 New Revision: 378 Updating notes on regression tests. They are "mostly sort of fixed". Won't be fixed for good until I look at the last bit of code that has not been examined yet, which is the plane intersection code. I want the errors to be much less than they are now, even though the disappearing_sliver* tests are now working.
Rudolf Polzer
2010-12-29 17:38:51 +01:00
7aa95f5ab5
svn r377 by Rambetter: Continuing work on BaseWindingForPlane() in polylib.c. In fact I'm pursuing the approach that was committed in r375 (but was then backed out). I can't believe my eyes, but I seem to be getting 0.000000% error in some of my regression tests. The trick is to scale by a power of 2 and never do a VectorNormalize().
Rudolf Polzer
2010-12-29 17:37:57 +01:00
7daa362c91
Author: rambetter New Revision: 376 Undoing revision 375 because it did not offer measured accuracy improvements in the q3map2 math calculations.
Rudolf Polzer
2010-12-29 17:36:09 +01:00
f62ab305fc
Undoing revision 377 (reverting just those files modified by that commit). I have disovered the fundamental problem to the math error problems, and although this commit (r377) is "correct", it fails to address the fundamental problem. Therefore, I'd rather leave the code in a state that has the exact same behavior as before until I get a chance to address the fundamental issue.
rambetter
2010-12-29 09:00:47 +00:00
f487ea7c54
Updating notes on regression tests. They are "mostly sort of fixed". Won't be fixed for good until I look at the last bit of code that has not been examined yet, which is the plane intersection code. I want the errors to be much less than they are now, even though the disappearing_sliver* tests are now working.
rambetter
2010-12-29 05:20:32 +00:00
f36b40ae62
Continuing work on BaseWindingForPlane() in polylib.c. In fact I'm pursuing the approach that was committed in r375 (but was then backed out). I can't believe my eyes, but I seem to be getting 0.000000% error in some of my regression tests. The trick is to scale by a power of 2 and never do a VectorNormalize().
rambetter
2010-12-29 04:32:35 +00:00
52fd922c64
Undoing revision 375 because it did not offer measured accuracy improvements in the q3map2 math calculations.
rambetter
2010-12-28 20:05:50 +00:00
887435af2b
Fix by Rambetter (svn r371): Following up on r371; found another optimization for math rounding errors in BaseWindingForPlane(). This allows me to get rid of an extra call to VectorSetLength() which contain floating point multiplications. Behavior of BaseWindingForPlane() has been verified against base_winding regression test (comparing output w/ logging patch).
Rudolf Polzer
2010-12-28 20:31:25 +01:00
05e2114294
Following up on r371; found another optimization for math rounding errors in BaseWindingForPlane(). This allows me to get rid of an extra call to VectorSetLength() which contain floating point multiplications. Behavior of BaseWindingForPlane() has been verified against base_winding regression test (comparing output w/ logging patch).
rambetter
2010-12-28 19:26:52 +00:00
a3aa889e15
explicitly use the -readmap option for converting
Rudolf Polzer
2010-12-28 13:50:57 +01:00
b20c63153a
better help for -convert
Rudolf Polzer
2010-12-28 13:50:14 +01:00
74ca0f3701
change -convert arguments to get -readmap, -readbsp arguments
Rudolf Polzer
2010-12-28 13:47:29 +01:00
1ba2ff7e29
more regression test updates by Rambetter
Rudolf Polzer
2010-12-28 13:38:32 +01:00
3725d2baeb
Adding new regression test, disappearing_sliver3. I discovered this while poking around at the numbers from disappearing_sliver2.
rambetter
2010-12-28 11:24:14 +00:00
2913e619e7
Writing up results of disappearing_sliver2 regression test and commit 371.
rambetter
2010-12-28 11:09:06 +00:00
538e4a59fc
Adding winding_logging.patch to disappearing_sliver regression test that helps log the vertex coords.
rambetter
2010-12-28 10:41:41 +00:00
ec64df5697
Author: rambetter Date: Tue Dec 28 04:02:11 2010 New Revision: 371
Rudolf Polzer
2010-12-28 11:24:25 +01:00
bbcc70e072
more regression tests from ZeroRadiant
Rudolf Polzer
2010-12-28 11:22:00 +01:00
c5449b8cc5
Rewriting BaseWindingForPlane() in polylib.c from the ground up. The behavior is totally unchanged, and I verified this by running extensive tests. The only difference is that the math precision is much much better now. Performance should be better as well (but that is not tested). This is a major milestone because it fixes two regression tests: disappearing_sliver2 and sparkly_seam. Improvements to math precision is ongoing and more improvements can probably be made even after this patch. I will update the README.txt files in the regression tests in a separate commit. This commit only includes the actual fixed code.
rambetter
2010-12-28 10:02:11 +00:00