Commit Graph

6235 Commits (736ed038571f5bb6b2a57ee6b35555af35b75dbe)

Author SHA1 Message Date
Per Inge Mathisen b29e9eeba1 Fix compile error on *BSD systems. Closes ticket:820, patch by brad@comstyle.com
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8016 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:10 +02:00
Per Inge Mathisen bd12285797 The "Select next Factory", "Select next Cyborg Factory" and "Select next Research Factory" keybinds just move the camera
view to the next structure. They do not really select it. Now they do. When the "Select next Factory" key is pressed, 
the manufacture widgets are opened, and the next factory is selected. Closes ticket:826, patch by nux.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8015 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:10 +02:00
Christian Ohm 773c6f7a4e Add a north pointer for the rotating radar.
This is i-NoD's reworked version. Closes #769.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8011 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
Christian Ohm 5accd8f706 Commit the cleaned up version of Buginator's sound patch. Closes #770.
This fixes the removal of unused sources, which didn't work correctly before.
The number of sources is still not limited, but the number of sounds used
concurrently is much lower now.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8010 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
René Jürgens 94cbd796c4 AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7997 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
René Jürgens 9d06afce24 AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7996 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
René Jürgens 03224f9537 AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7995 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:09 +02:00
René Jürgens 762f369a8a AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7994 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:08 +02:00
René Jürgens 5be78e335f AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7993 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:08 +02:00
René Jürgens a46085f76f AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7992 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:08 +02:00
René Jürgens 94b50b41a3 AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7991 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:08 +02:00
René Jürgens fc7ec99dab AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7990 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:08 +02:00
René Jürgens 50d9400248 cant update the vlo's somehow... so delete : /
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7989 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:07 +02:00
René Jürgens e3d8d5213d AI changed into Become Prey v.2.92.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7988 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:07 +02:00
René Jürgens 47dd54d0b8 Some Cyborg balances.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7987 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:06 +02:00
René Jürgens 7e87a45546 v.1.8.7 logo
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7986 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:06 +02:00
Christian Ohm 715c6c6b69 Increase video buffer size from 4K to 256K.
This fixes playback of videos with a bitrate larger than ~2000kbps.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7979 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:05 +02:00
Per Inge Mathisen 650be0e27e mapconv: Now saves in same directory as read from, puts map files in correct directory, and generates a useful game.ini file
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7976 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:05 +02:00
Per Inge Mathisen 87a6804af5 Purely cosmetic style cleanup of iniparser code. (There is active upstream to sync up against.)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7975 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:05 +02:00
Christian Ohm 7bc59a2524 Add correct linker flags for openbsd to configure. Fixes #819.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7973 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:05 +02:00
Christian Ohm 9417ec60e1 Use _NSIG in the exceptionhandler if available. Fixes #818.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7971 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:04 +02:00
Christian Ohm 142f9bda38 Disable locales without translation.
Now only those languages in the "map" structs are used, and a new translation
has to be added to those structs to be available. Also remove the ASSERT when a
language is not in the struct and just return the language code instead.
Fixes #813.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7970 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:04 +02:00
Christian Ohm 3c875545d7 Fix crashdump creation.
Was broken in r7850 (#716). I reverted r7850 and then fixed the
-Wdeclaration-after-statement warnings instead of poking around trying to find
the problem.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7968 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:04 +02:00
Christian Ohm 0c8dcdd829 Update translations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7967 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:04 +02:00
Christian Ohm a35a5b2d8d Fix some spelling errors in unit names, and change "Command turret MkII/III/IV" to "Command Turret II/III/IV" on Zarel's suggestion, since they are separate components, not upgrades as the other MkX things.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7964 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:03 +02:00
Christian Ohm 0cedc95346 Fix spelling of "similiar".
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7963 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:03 +02:00
Christian Ohm aeb3193811 Add some ASSERT_OR_RETURNS.
In getLandingX/Y, if iPlayer is 8, 0 is returned anyway, so no behaviour
changes, just cleaner code. In missionFlyTransporters in, we currently print an
error message and return, so change that to ASSERT_OR_RETURN so we get a
backtrace to fix the real problem.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7962 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:02 +02:00
Christian Ohm eb7f679ce3 Fix getLanguage to return the full "xx_YY" name, but still cut "xx_XX" to "xx".
Previously it would also cut "xx_YY" to "xx", so sublanguage selection didn't
work. Also fix the spelling of "Portuguese". Fixes #812.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7961 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:02 +02:00
Per Inge Mathisen dba1290112 This patch adds the beginnings of a "Challenge" single player game mode. It
adds fixed game setups with a running timer, which becomes a game score. The 
faster you can finish the challenge, the better the score. However, if you 
have been unable to finish the challenge, then the higher the score is better 
(you survived it longer)! Challenges are setup in INI files in a challenges/ 
directory. This closes ticket:778


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7954 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:02 +02:00
Per Inge Mathisen aca362c350 Add keyboard shortcuts to "guard position" and "go to transport". Patch by
lolando@debian.org, this closes ticket:806


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7953 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:02 +02:00
Per Inge Mathisen dc6e361d9e Fix iniparser compilation on MSVC again. Patch by i-NoD in ticket:778
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7952 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:01 +02:00
Per Inge Mathisen 272bad92b1 Support version 2 of the WZM format. It now defines type and angles and angle restrictions of connector,
and allows string names for meshes instead of merely an index number.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7951 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:01 +02:00
Elio Gubser 229b039492 fix path
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7950 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:01 +02:00
Guangcong Luo 9233395b39 Fix segfault in formationLeave() from being passed null pointers. (Fixes bug #782, which has nothing to do with any sound patch.)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7948 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:01 +02:00
Guangcong Luo 6c37cae9a7 Fix a null pointer segfault in multiint.c:217 (loadMapPreview).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7946 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:00 +02:00
Christian Ohm f7b14177e6 Change an ASSERT to ASSERT_OR_RETURN in sound_StopSample.
This fixes the segfault in the second crashdump in #703.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7945 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:00 +02:00
Christian Ohm 635b68de09 Commit Portuguese translation. Closes #783.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7942 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:00 +02:00
Guangcong Luo 495883e5e4 Workaround for alpha channel bug.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7941 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:00 +02:00
Per Inge Mathisen cdf00a1da4 Remove erronous comment and definitions belonging to long since removed force editor.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7940 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:59 +02:00
Per Inge Mathisen ba36ac6cfd Simplify build dependencies for iniparser to work around a problem in MSVC compilation reported by i-NoD.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7939 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:59 +02:00
Per Inge Mathisen 48ab59bb62 Oops. Forgot one file belonging to ticket:779
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7938 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:59 +02:00
Per Inge Mathisen 33e23992d8 Make some local functions static.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7937 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Per Inge Mathisen 7f24bd6dfb iniparser: More const correctness. Make it output INI files using physfs.
scores.c: Make a function static.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7936 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Per Inge Mathisen c8e73a71a6 iniparser project for MSVC, patch by i-NoD, closes ticket:779
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7935 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Guangcong Luo 5ccbdd2dee Oh, forgot to rename "Warzone Resurrection Project" to "Warzone 2100 Project"
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7934 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Guangcong Luo a3d89c6890 Move copyright information from AUTHORS to COPYING.NONGPL, add author information to AUTHORS, also add copyright information for Mysteryem's new textures.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7933 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:58 +02:00
Guangcong Luo ac21fbf178 Commit Mysteryem's new tree textures.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7932 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:57 +02:00
Per Inge Mathisen f00a34f3de Remove wrong comments and duplicate declarations.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7931 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:57 +02:00
Per Inge Mathisen 5af14e1137 Fix compilation. Patch by stiv. Closes ticket:775
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7929 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:57 +02:00
Guangcong Luo d1bf617727 Fix segfault when trying to read target of droid with no target in aiUpdateStructure.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7927 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:06:57 +02:00