Per Inge Mathisen
3490654502
semperfi: Merge much of the differences between the tech branches back together to make them easier
...
manage dynamically and also create more of them in the future.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10860 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen
4f5775a15f
semperfi: Add AA to research list. Really necessary now!
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10859 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:43 +02:00
Per Inge Mathisen
a5cb039c08
I managed to fix up the parameters for ASSERT_OR_RETURN. Closes ticket:1862 - right clicking factory causes crash.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10858 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:40 +02:00
Per Inge Mathisen
541df6442d
Add new functionality list for all oil resource/derrick objects for quick iteration
...
of them. This is intended to be accessed from scripts.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10857 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:40 +02:00
Per Inge Mathisen
579fd2970d
Merge in some changes from semperfi into standard AI: New debug functions. More fallbacks if forward defenses fail.
...
Remove non-working anti-dupe-sensor hack. Remove hack that prevents AI from defending properly against humans only.
Add more sanity checking.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10856 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:40 +02:00
Per Inge Mathisen
3848710d3c
Remove floating point move precision - first pass. Add higher int precision than usual
...
in the movement code. See ticket:1651 for discussion.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10853 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-21 12:18:39 +02:00
Per Inge Mathisen
57ea093048
Clean up previous commit by using the proper getPropulsionStats() accessor function.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10851 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-19 08:15:35 +02:00
Per Inge Mathisen
b3ce6cd49f
Fix hover droids getting stuck in water tiles near land tiles.
...
This closes ticket:1854 and implements part of ticket:1649
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10850 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-19 08:15:34 +02:00
Per Inge Mathisen
511edb05a7
New cheat command 'reload me' to immediately prepare selected Laser Satellite building for fire.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10845 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:07 +02:00
Per Inge Mathisen
e3ec5983c6
semperfi: Add fallback for cases when we don't have tech for some VTOL types. Stop rallying
...
ground defenders to protect against VTOL attacks - they just get fried by firebombs. Start
protecting properly against human attacks (no reason to treat humans special).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10844 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:07 +02:00
Per Inge Mathisen
843d000dab
Fix crazy indentation and add an extra assert to try to figure out why psSelectedFactory
...
can be assigned to a non-factory type building.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10843 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:07 +02:00
Per Inge Mathisen
f2bdbdb407
semperfi: Utilize CALL_VTOL_RETARGET to make VTOLs more effective.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10842 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen
59b5478d83
Add new trigger CALL_VTOL_RETARGET that is fired off whenever a VTOL detects that its
...
designated target no longer exists. This allows an AI script to give it a new target
while in-flight instead of waiting for it to return to base, saving precious time.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10841 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen
6c633359f1
semperfi: When the enemy has no AA (that we can see), build the cheapest VTOL bodies available.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10840 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-18 10:53:06 +02:00
Per Inge Mathisen
55e2bce2d1
semperfi: Construct VTOL droid templates dynamically based on available components
...
instead of using prefabricated VTOL templates. This is more flexible.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10839 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-17 19:13:20 +02:00
René Jürgens
9b172cf0ef
a trunk .wrf update
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10833 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 23:15:53 +02:00
dak180
a684e0c9ad
Require native execution because otherwise wz gets confused.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10822 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 11:17:06 +02:00
Safety0ff
35995c8c27
obj2pie:
...
- Add PIE 3 support.
- Add tcmask pie type option.
- Fix rounding of PIE 2 texture coordinates.
- Tolerate vertex normals.
- Use duplicate faces instead of deprecated flag.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10812 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-16 11:17:06 +02:00
René Jürgens
acc70cb9cc
laser sat graphic fix
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10799 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-15 22:46:28 +02:00
Guangcong Luo
752751d4dc
Fix intermittent crash when launching a skirmish game.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10797 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
Guangcong Luo
227d2c2de4
New cursors by Zerovirus and Zarel - attack-move cursor idea from Olrox.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10796 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-13 08:03:46 +02:00
Christian Ohm
18d153e4f6
Estonian translation update by Erlando.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10793 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-11 10:45:03 +02:00
Christian Ohm
38aea0a5cf
Brazilian translation update by Tucalipe.
...
Closes #1838 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10784 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-10 15:56:29 +02:00
Per Inge Mathisen
f5e2112c94
Add sendai nick to myself (as a confusion reducing measure)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10779 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-08 09:30:20 +02:00
Christian Ohm
452fe1da7e
Italian translation update by Alpha93.
...
Closes #1827 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10778 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-07 09:10:57 +02:00
Guangcong Luo
a214297f71
Fix another bug in the power code, this one caused by sign errors
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10771 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-04 21:36:09 +02:00
Guangcong Luo
2197ffed66
Fix bug #1581 - incorrect power calculation
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10769 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-04 21:36:08 +02:00
Christian Ohm
12805816a4
French translation update by Gilles J. Seguin.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10767 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-04 19:08:52 +02:00
Guangcong Luo
4a21f58307
Apply patch #1820 - Easier queueing of building/demolishing while holding down Shift. refs ticket:1820
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10766 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:19 +02:00
Guangcong Luo
2883c1c9e2
Display build cursors while building. Simplify cursor logic a bit.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10765 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:19 +02:00
René Jürgens
55e32c9402
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10763 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:18 +02:00
Per Inge Mathisen
b54fd792ab
semperfi: Fix bug that made us never build incendry, and less often upgrade.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10761 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:18 +02:00
Per Inge Mathisen
fac1b9d48a
Revert r10678 - as ASR_NEAREST can be much slower than the removed hack.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10760 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-03 08:50:17 +02:00
Safety0ff
5c74291bab
qwzm:
...
-Check that file is open before trying to write to it.
-Remove unnecessary include.
-Use 256 for fallback texture dimensions when writing a pie 2.
-Fix rounding when exporting to pie 2.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10759 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:51 +02:00
dak180
e3c1703206
Improve the fetch scripts.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10757 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:51 +02:00
Guangcong Luo
4ed334e27d
Always show a delivery point when cheating droids with the debug menu.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10755 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:50 +02:00
Safety0ff
1ade59528c
qwzm:
...
-Touch up r10748 and fix a typo it introduced.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10754 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:50 +02:00
Buginator
0c456a73da
revert a bad commit (r10752)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10753 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:50 +02:00
Buginator
a198e7c5f8
testing
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10752 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:50 +02:00
dak180
a382b728c9
Update Ogg to 1.2.0 and Vorbis to 1.3.1.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10751 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:43 +02:00
dak180
2806c9ddf0
Update zlib to 1.2.5.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10750 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:43 +02:00
Safety0ff
dfdb343064
QWZM:
...
-Reviewed loadPIE and savePIE functions.
-Improved documentation of savePIE function.
-Added bounds checking to prevent currentFrame being an invalid value.
Refs #1763 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10748 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-02 09:20:42 +02:00
Safety0ff
78a9b96ea6
QWZM: Unclobber indentation (refs r10729,r10740.)
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10747 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Guangcong Luo
5e6480371f
Clean up validLocation [for structure placement] code. Visible changes: Required distance between two structures no longer depends on which one is built first. Now only 1 tile needed between 2 repair facilities.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10746 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Guangcong Luo
1a45555ebc
Make sure LasSat doesn't get identified as a fortress.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10745 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Per Inge Mathisen
0b10affd98
Correct the signs used in a previous formation patch. Noted by enki in ticket:1649
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10744 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Christian Ohm
040c02d418
Spanish translation update by Saberuneko.
...
Closes #1813 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10743 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Safety0ff
ec73038633
QWZM:
...
Copy display/wzmutils .c & .h to the qwzm folder so that they can be modified for cpp/Qt/QWZM.
Revert r10279 for display/wzmutils .c & .h so that they work like wzmviewer expects them to.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10741 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Safety0ff
2c08757b1c
QWZM: Apply UI improvement patch by Emdek.
...
Modifications I made to it:
-Fixed the mesh selection issue in the patch.
-Witheld renaming the program (needs more discussion,) and changed version string.
Refs #1763 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10740 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00
Christian Ohm
dc2cae0ce9
French translation update by Gilles J. Seguin.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10739 4a71c877-e1ca-e34f-864e-861f7616d084
2010-04-30 12:33:20 +02:00