Giel van Schijndel
ca71081504
Add parentheses to resolve operator precedence problems
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6552 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 23:35:28 +00:00
Giel van Schijndel
5ea685ef33
Include the update of the Dutch translation in the ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6549 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 21:37:01 +00:00
Giel van Schijndel
129377b82d
Update changelogs and bump version numbers in prepration of releasing 2.1.1
...
This addresses #202
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6548 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 21:34:54 +00:00
Giel van Schijndel
5b4c4ab655
Update Dutch translation:
...
* Add 859 newly translated messages (49% translated)
This closes #200 , patch by Mathijs <vanRillandBath>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6546 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 21:11:54 +00:00
Giel van Schijndel
3fb2610c6c
Convert OpenDocument documents shortcuts.odt and todo.odt to reStructuredText (easier to edit and view)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6545 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 20:49:43 +00:00
Giel van Schijndel
2d569239a1
Convert MSWord document c1prox.doc to an OpenDocument Flat XML document
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6544 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 15:31:38 +00:00
Giel van Schijndel
c5392dda1d
Fix the "Perl isn't installed message" to show the minimal version required
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6543 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 14:38:25 +00:00
Giel van Schijndel
ae18d97e54
Don't depend on OpenAL and Vorbis when compiling with --disable-sound
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6542 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-11 14:34:38 +00:00
Freddie Witherden
fdf3e351c5
Add the button class; support for greyscaling disabled buttons pending.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6541 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-08 22:01:31 +00:00
Giel van Schijndel
dae099706c
Set the m4 macro directory in betawidget's configure script
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6540 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-07 20:05:45 +00:00
Freddie Witherden
97c0d84346
Update the svgManager, adding support for fetching the size at which an image will be rendered and cleaning up the interface for specifying the dimensions at which an image should be rendered.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6539 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-06 15:20:22 +00:00
Giel van Schijndel
f224f9f2df
Fix configure.ac for betawidget
...
* It seems that autoconf (2.63 or 2.62) changed the names that are acceptable as custom variable name, and no longer accepts LT_\w+ as variable names.
This addresses #201 and hopefully fixes it.
@EvilGuru, if this fixes it, please close the ticket.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6538 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-05 22:52:15 +00:00
Per Inge Mathisen
0881493713
New cheat "noassert" and new command line option "--noassert" turns off the abort functionality in ASSERT() calls.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6527 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-02 11:16:40 +00:00
Per Inge Mathisen
c10ffeb2ec
Improve assert in buildModule to aid in tracking down bug in ticket #167 . Also add
...
decent fallback for non-debug builds.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6526 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-02 10:46:17 +00:00
Per Inge Mathisen
7e895fa751
Add check for demolition as build target to CHECK_DROID(). Fix some visual ugliness in that function.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6525 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-02 10:40:58 +00:00
Dennis Schridde
8eb5ddcadb
fix bug #4831 (Endlessly spinning droids)
...
Make sure we get sucked stronger towards the 2nd waypoint than 1/2 times the strength
we get turned towards the first. Also ensure we get never turned away from a waypoint.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6524 4a71c877-e1ca-e34f-864e-861f7616d084
2009-01-02 00:31:05 +00:00
Dennis Schridde
49b5b568b3
Another attempt against #141 (out of bounds access at scriptfuncs:11467)
...
Since the original assignment probably happened out of confusion what asParts[] shall or shall not contain,
I removed the offending line and added a bit more documentation about that array.
fixes ticket:141
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6523 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 14:37:41 +00:00
Dennis Schridde
ab15c34724
Revert "GCC complained in scriptfuncs.c:11467 that asParts[COMP_WEAPON] is an out of bounds access, so define that to a greater value."
...
This reverts commit fbe7a559ee13da78660a68fb69466a46e3d46505.
!!! WARNING: The original issue (clear out of bounds access) is still present in scriptfuncs.c:11467 !!!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6522 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 12:45:56 +00:00
Dennis Schridde
1d88daf05a
GCC complained in scriptfuncs.c:11467 that asParts[COMP_WEAPON] is an out of bounds access, so define that to a greater value.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6521 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:32 +00:00
Dennis Schridde
7432a0e433
More Vector conversion functions and also one to debug printf.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6520 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:27 +00:00
Dennis Schridde
91dfdcfea2
Add worldOnMap3f()
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6519 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:22 +00:00
Dennis Schridde
d04ceed183
Remove airTarget member from PROJECTILE
...
This was used to make AA cannons which originaly aimed at a VTOL not hit anything else
As a speed optimisation we could skip searching the structure list for victims,
if the projectile exploded above the maximum structure height, and do the same for droids
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6518 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:17 +00:00
Dennis Schridde
fed9ced1a4
Simplify initialisation of projectiles a bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6517 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:09 +00:00
Dennis Schridde
1ad8db5ad8
Remove unused member targetRadius from PROJECTILE (was set, but never read)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6516 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:04 +00:00
Dennis Schridde
6d879e324a
Reorder gfxVisible() to remove the need for a local variable, just return early instead
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6515 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-30 04:04:00 +00:00
Giel van Schijndel
5006a64d83
* Remove script function numMessageBox which is an unused alias for script function debugBox
...
* Minor cleanup of function scrNumMB (C implementation of debugBox script function)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6514 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-28 21:47:48 +00:00
Giel van Schijndel
ccc29cb92a
* Do not perform endian swapping twice when loading, as it'll undo the first swap
...
* Make saving and loading of move controls symmetric
This should fix #96 , #127 and #177
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6512 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-28 14:31:54 +00:00
Per Inge Mathisen
2528179e0b
pie2wzm: Support new WZM connector spec.
...
qwzm: Fix tessellation bug in PIE conversion code. Fix crash.
wzm base: Detect more errors, print nicer WZM output.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6508 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 19:28:22 +00:00
Giel van Schijndel
51b8909b2c
Update POTFILES.in
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6507 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 13:47:30 +00:00
Dennis Schridde
e7c5db3790
Rename psProj -> psPrevProj and psObj -> psProj, to remove confusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6506 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 01:46:33 +00:00
Dennis Schridde
ad234fb5a3
Use conversion constructors everywhere, where we need to workaround Vector3uw in BASE_OBJECT
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6505 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 01:46:29 +00:00
Dennis Schridde
efb3a5c4ac
More vector conversion constructors: 3uw -> 3f
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6504 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 01:46:24 +00:00
Dennis Schridde
92b22e4d63
Cleanup proj_ImpactFunc
...
- Use Vector3i_InCircle/Vector3i_InSphere where applicable
- Move variable declarations innerwards
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6503 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:38 +00:00
Dennis Schridde
ab0d671fa6
Add Vector3i_To3uw() and Vector3i_InCircle()
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6502 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:35 +00:00
Dennis Schridde
defb67afbb
The fourth part removes the fire-box hack (another premature optimisation).
...
Author: EvilGuru
Signed-off-by: Dennis Schridde <devurandom@gna.org>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6501 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:31 +00:00
Dennis Schridde
d3e29ec540
The third part removes some premature optimisation in the naybour functions.
...
Author: EvilGuru
Signed-off-by: Dennis Schridde <devurandom@gna.org>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6500 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:28 +00:00
Dennis Schridde
8bd3f3111c
Remove concept of nominal damage to baseplates of structures
...
The second part removes the (useless) concept of nominal damage - which occurs when a projectile hits the base-plate of a structure. Considering how infrequently this occurs and how little damage is done (5) there is little point keeping the functionality.
Author: EvilGuru
Signed-off-by: Dennis Schridde <devurandom@gna.org>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6499 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:24 +00:00
Dennis Schridde
dbf5e962b9
Use squared radius to test in-sphere for projectile impacts
...
The attached patch fixes a bug in proj_ImpactFunc whereby it would use the radius cubed as opposed to the radius squared when doing hit-detection. Furthermore it also removes some premature optimisations (hit-box detection).
Author: EvilGuru
Signed-off-by: Dennis Schridde <devurandom@gna.org>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6498 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:18 +00:00
Dennis Schridde
d968e753cf
GitIgnore more stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6497 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:46:12 +00:00
Per Inge Mathisen
739fbcce41
qwzm: Add beginnings of connector support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6496 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-26 00:37:11 +00:00
Per Inge Mathisen
585854e676
Remove superfluous license item in changelog
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6495 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 23:08:24 +00:00
Per Inge Mathisen
dab59a98cb
Update ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6494 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 22:43:12 +00:00
Gerard Krol
b115a608a1
Add a lot of stuff from the SVN log. As I also added some changes by others, please check if I did this correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6493 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 22:21:46 +00:00
Dennis Schridde
be89909289
Add some more features/changes to the changelog (--join/--host and win32 makefiles.
...
I left out the major things I worked on, like vectorisation, raycast improvements, etc,
since they are likely too technical for the average user.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6492 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 18:11:29 +00:00
Dennis Schridde
6670b8e8f0
GitIgnore more betawidget stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6491 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 17:11:45 +00:00
Gerard Krol
710e09eb27
Fix scrCheckTemplateExists so that it doesn't try to break out of an outer loop using a break statement.
...
The function would quite often report an already existing template while there was none.
This fixes bug #186 . This fix has already been applied in the lua branch.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6490 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-25 14:27:19 +00:00
René Jürgens
1e8738943c
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6489 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:33:51 +00:00
René Jürgens
6d8e785cda
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6488 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:33:47 +00:00
René Jürgens
495b750653
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6487 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:40 +00:00
René Jürgens
046692a397
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6486 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:36 +00:00