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
René Jürgens
d7c55d5ae9
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6485 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:31 +00:00
René Jürgens
1d6541278f
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6484 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:08 +00:00
René Jürgens
434bae24c7
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6483 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:05 +00:00
René Jürgens
97a4754891
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6482 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:31:01 +00:00
René Jürgens
342bf90bb8
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6481 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:58 +00:00
René Jürgens
3d0f5d5e0d
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6480 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:54 +00:00
René Jürgens
4fea33ecca
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6479 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:31 +00:00
René Jürgens
3e137a5ebd
paste new ntw mod files
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6478 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:30:28 +00:00
René Jürgens
7f2bf8a30b
deleting all ntw mod files in the trunk version for a ntw mod update.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6477 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 20:28:46 +00:00
Giel van Schijndel
448431d344
Rename the NTW mod's directory back to "ntw"
...
r6474 changed it to "ntw mod", but that directory path adds little, and introduces problems with our build systems due to the embedded space and makes maintaining compatibility with [milestone:2.1] more difficult (considering that NTW is already packaged as part of 2.1.0 in Debian and Gentoo).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6476 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 19:55:26 +00:00
René Jürgens
d273dcdaa2
01_ wrfs are not needed for ntw mod.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6475 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 18:28:10 +00:00
René Jürgens
159aa080f0
Please call it NTW Mod not only NTW.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6474 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-24 18:21:31 +00:00
Giel van Schijndel
260f91548a
Update changelogs and bump version numbers in prepration of releasing [milestone:2.1]
...
This addresses #172 .
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6471 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-21 18:34:29 +00:00
Giel van Schijndel
1d083044f8
Fix several translations and inconsistencies in the French translation
...
This closes #191 , patch by <gene69>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6469 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-21 17:18:37 +00:00
Giel van Schijndel
cfacd831c4
Update french translation:
...
* Fixed several typos
Closes #154 , patch by Cyril Brulebois <kibi>
NOTE: Non-breakable spaces used, they might break something.
Do not backport to [milestone:2.1] until testing confirms that the non-breakable spaces don't introduce any problems.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6467 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-13 18:58:36 +00:00
Giel van Schijndel
4cdb7f6810
Update French translation:
...
* Import [milestone:2.1] translations into trunk
* make -C po warzone2100.pot-update fr.po
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6466 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-13 18:58:31 +00:00
Giel van Schijndel
64f87a0b8e
* Make function countAssignedDroids static because it's only used in the file where it's defined
...
* Code clean up
* Make countAssignedDroids const correct
* Make countAssignedDroids return the amount of artillery ''and'' VTOL droids that are assigned to a structure
* This fixes #90 , patch by i-NoD, modified by me
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6464 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-13 17:58:25 +00:00
Elio Gubser
5514e846ee
adds a feature that fits in the image in the desired width and height without loosing its proportion
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6463 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-13 15:54:21 +00:00
Per Inge Mathisen
3307b9cee5
Fix compile problem in recent versions of ubuntu by adding -Wno-format-security to debug build mode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6460 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 18:38:50 +00:00
Per Inge Mathisen
7314ba1b29
qwzm: Add short-cut keys and some GUI prettifying.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6459 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 18:29:33 +00:00
Per Inge Mathisen
b63790aaba
qwzm: Forgot to commit one file
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6458 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 17:55:19 +00:00
Per Inge Mathisen
ab0c686df2
Fix bug #12448 : crash in hci.c:3101 in TRUNK (r6160) by simply removing the mostly spurious assert.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6457 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 17:07:55 +00:00
Per Inge Mathisen
52dd85264f
Improve assert message to help track down bug #12448 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6456 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 16:55:06 +00:00
Per Inge Mathisen
178cb7efa9
Improve logging messages from GLC interface layer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6455 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-12 16:35:05 +00:00
Per Inge Mathisen
0d243ce82d
qwzm: Show animation frames as they are animated. Allow user to manually step through frames.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6452 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-10 21:27:42 +00:00
Per Inge Mathisen
001c5f2326
qwzm: You can now add and remove animation frames to models.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6451 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-10 20:34:08 +00:00
Per Inge Mathisen
7c477d668d
qwzm: Allow basic editing of animation frames. You can change timing, translation and rotation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6447 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-09 21:27:19 +00:00
Per Inge Mathisen
5a98e7c029
qwzm: Add dialog to display the animation frames for each model mesh.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6446 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-09 20:59:57 +00:00
Freddie Witherden
63b23fe53a
Prevent the addition of children to spacers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6441 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-07 13:37:10 +00:00
Giel van Schijndel
7e18d7e5aa
* Compile and link in svgManager.[ch] (its complaining about linker errors otherwise)
...
* Detect libsvg-cairo in the configure script
* Link against libsvg-cairo
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6440 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-07 03:03:50 +00:00
Giel van Schijndel
d261ddbbd1
* Generate the (size_t count, const T* array) typemap using a SWIG macro
...
* Use this macro definition for widget:addAnimation(frames) instead of the previously custom crafted typemap
* Add src/lua_memberfnptr.i and src/lua_table_as_array.i to the Makefile's EXTRA_DIST list
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6439 4a71c877-e1ca-e34f-864e-861f7616d084
2008-12-07 01:29:59 +00:00