Guangcong Luo
f929629d1e
Add `/Library/Application Support/Warzone 2100/` to search path for OS X.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10984 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-16 07:28:28 +02:00
Christian Ohm
1d19c75c5e
Fit the fixed radar into the corner.
...
The rotating radar needs space for rotation, and so position is calculated
using the longer side for non-square maps. The fixed radar doesn't need that
space, and so can be put snugly in the corner.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10983 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-16 07:28:28 +02:00
Christian Ohm
6cc5dacf2f
Stylistic cleanup of plotStructurePreview16().
...
No real code changes. Rename sizeOfSaveStruture to sizeOfSaveStructure,
initialize it in the declaration (removes one else branch) and improve some
debug messages. Refs #1914 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10980 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-15 20:58:19 +02:00
Christian Ohm
edb6e9aca7
Simplify plotStructurePreview16() further.
...
All structure structs up to v19 are compatible with v2, and all newer ones with
v20, so handle only those two cases. Refs #1914 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10979 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-15 20:58:18 +02:00
Christian Ohm
c61d6d94f9
Remove useless code from plotStructurePreview16().
...
All we care about are position and player of a structure, so we don't need to
endian-correct any other values. Refs #1914 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10978 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-15 20:58:14 +02:00
Christian Ohm
cf8976e36e
Improve the changelog script.
...
Change all items to [*], and enclose them in list tags. Just one thing needs to
be done manually, moving the "[/list]" tag at the beginning to the end.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10968 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-13 11:24:14 +02:00
Per Inge Mathisen
f9ac798dc5
Make A* generate paths that do not lead droids to cut corners on impassable tiles, inevitably leading
...
to clipping and positioning themselves on illegal tiles, even with strict path walking. From ticket:1649
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10960 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-13 11:24:13 +02:00
Christian Ohm
f724a129be
Use desktop resolution by default.
...
When no (or an invalid) resolution is set (mainly when there's no config file
yet), use the current desktop resolution instead of 640x480. Refs #1912 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10958 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-12 17:39:01 +02:00
Christian Ohm
58f5ed29cf
Russian translation update by Filipp Chertiev.
...
Closes #1908 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10955 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-12 07:51:15 +02:00
René Jürgens
5ce7fee1f1
remove the lancer rof upgrades to keep the old balance.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10954 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-10 10:53:52 +02:00
Christian Ohm
e3af841200
Brazilian translation update by Tucalipe.
...
Closes #1899 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10940 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-09 10:29:13 +02:00
Christian Ohm
00cd1a7a47
Use whole screen for backdrops.
...
Cut off some parts instead of showing black borders.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10932 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-08 12:41:34 +02:00
Christian Ohm
aebccdcf90
Always use linear filtering for backdrops.
...
Makes them filtered again after showing the map preview.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10931 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-08 12:41:34 +02:00
Christian Ohm
54bb22d56e
Updated Russian translation by Filipp Chertiev.
...
Closes #1902 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10930 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-08 12:41:34 +02:00
dak180
565983ffc7
Upgrade gettext to 18.1.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10929 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-06 09:57:27 +02:00
Christian Ohm
6c8d3e15ba
Show videos with correct aspect ratio.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10926 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-06 09:57:27 +02:00
Christian Ohm
9688b906a7
Show backdrops with correct aspect ratio.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10925 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-06 09:57:26 +02:00
Christian Ohm
61eb6e0c54
Disable map preview when starting a game.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10924 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-06 09:57:26 +02:00
Christian Ohm
da525967c0
Remove some popt residue that broke make distcheck.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10923 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-05 17:31:15 +02:00
Christian Ohm
47b2ef65fa
Update libraries for the Windows cross-build.
...
Dejavu Fonts: 2.31
freetype: 2.3.12
gettext: 0.18.1
libogg: 1.2.0
libpng: 1.2.42
libvorbis: 1.3.1
zlib: 1.2.5
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10922 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-05 17:31:15 +02:00
Steven Koenig
c341d09593
Updated German translation for trunk
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10921 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-05 12:08:34 +02:00
dak180
0224a4a80b
Update the .strings files to a more standardized format.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10919 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-05 12:08:33 +02:00
Christian Ohm
15b9c012e7
Updated Croatian translation by MetalWarrior95.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10913 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-04 08:09:42 +02:00
Christian Ohm
12cee1fc89
Add track3.ogg to the NSIS installer.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10910 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm
12e6a584dd
Add track3.ogg to Makefile.am.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10907 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm
5ada079ab0
Add the Playstation music track.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10902 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm
ae66be67c2
Put date/time in screenshot file names.
...
The new format is "wz2100-YYYYMMDD_HHMMSS-mapname[-x]", where the "-x" part is
only added when the file already exists (should only happen when people time
travel or hammer F10). Refs #1890 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10900 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
Christian Ohm
a5bb0f1eb0
Shut up compiler warnings.
...
No idea how those variables could ever be used uninitialized, but gcc complains
about it.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10894 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:44 +02:00
dak180
4cffefc8bc
Make the copy data script work with 10.5.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10891 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-03 22:41:43 +02:00
Christian Ohm
0044a74517
Make it possible to add short descriptions to challenges.
...
This adds an optional "description" entry to the [challenge] section of a
challenge's ini file which is shown in the tooltip.
Original patch from #1805 , slightly modified by me.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10890 4a71c877-e1ca-e34f-864e-861f7616d084
2010-06-01 09:10:32 +02:00
dak180
47ae3d8974
Make sure the SDL headers are in the path.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10889 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-31 21:27:35 +02:00
Christian Ohm
f2ae61805c
Improved map preview.
...
Removes the need for FBOs, shows the map undistorted, unblurred and as large as
possible. Refs #1873 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10888 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-31 21:27:35 +02:00
Christian Ohm
b2dcb26e7c
Fix two typos in the Brazilian translation.
...
Closes #1889 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10886 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-31 16:11:48 +02:00
dak180
30288e3cae
Eliminate some errors when SDL has not yet been downloaded.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10884 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-31 08:22:31 +02:00
Christian Ohm
bbd142754a
Polish translation update by Emdek.
...
Closes #1347 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10880 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-30 08:28:45 +02:00
René Jürgens
d8786c3a9f
- Less hit Points for Artillery (coz Artillery hit bug is removed) they are all on 25-35% now.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10878 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-28 09:57:39 +02:00
Per Inge Mathisen
2417b23053
Slight cleanup of formation code to make it easier to debug.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10876 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-26 10:44:58 +02:00
Per Inge Mathisen
9a27ca9d26
Remove floating point move precision, second pass two. We store higher precision bits in a bit bucket
...
for use the few selected places where they matter to get finer incremental movement. They start at
zero and are synchronized over the network, but are not reset when droids jump about for various reasons.
See ticket:1651 for more discussion. Patch reviewed by Zarel and Cyp.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10873 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-26 10:44:54 +02:00
dak180
c61a6b8632
Update libpng to 1.4.2 and upgrade warnings to force rebuilds.
...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10866 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-24 08:51:22 +02:00
Christian Ohm
5447668a78
Polish translation update by Emdek.
...
Closes #1347 .
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10863 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-23 18:25:51 +02:00
René Jürgens
701a432ef5
balance changes
...
main things:
more range for twin assault cannon.
less mg damage against all buildings.
a slower tank and cyborg production at start.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10862 4a71c877-e1ca-e34f-864e-861f7616d084
2010-05-22 18:57:27 +02:00
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