Commit Graph

6235 Commits (736ed038571f5bb6b2a57ee6b35555af35b75dbe)

Author SHA1 Message Date
i-nod 9db615407d Some fixes for Multiple muzzle flashes feature #824 and #909, #910.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8095 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:01 +02:00
i-nod b494e2f276 Pies for Multiple muzzle flashes feature #824 (part 1).
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8094 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:00 +02:00
i-nod b992a1a426 Code changes for Multiple muzzle flashes feature.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8093 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:00 +02:00
Per Inge Mathisen f74d810240 Remove unused files and directories. See ticket:875
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8088 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:21:00 +02:00
Per Inge Mathisen fdcf878005 Increased front menu loading speed. Fix limits problem in challenges.
Closes ticket:875 and closes ticket:881, patch by i-NoD.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8087 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:59 +02:00
Per Inge Mathisen 3989d2eefd Fix state machine bugs when going from skirmish and challenge and back. Also disable accept button
in limits dialog when in challenge mode.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8086 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:58 +02:00
i-nod 59b735b4be Updated Mysteryem's heavy and super heavy wheels. This closes ticket #555.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8085 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:58 +02:00
Per Inge Mathisen ef9e770ab3 Fix fencepost error in giftArtifact() properly. Now we do not skip research item zero,
and we do not underflow an unsigned value. Patch by Adam Olsen (Rhamphoryncus). 
Closes ticket:373


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8082 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:58 +02:00
Per Inge Mathisen 2cabd14a50 Fix crash if map preview used during map download. Closes ticket:756 reported by Firechkn34.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8081 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:57 +02:00
Per Inge Mathisen ef101863eb Fix crash on mission load when checking travel coordinates for the transporter.
This closes ticket:868 reported by dch.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8078 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:57 +02:00
i-nod 1320e342cd Fixed a tiny bug that was preventing user from getting a latest research from the defeated opponent.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8076 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:57 +02:00
Per Inge Mathisen e0194a6739 Not a good idea to include a header file that only I have. Closes ticket:864, reported by jaakan
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8074 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:56 +02:00
Per Inge Mathisen 67425d01a5 Make use of the new script function droidCanReach() in skirmish AI for
construction orders. Closes ticket:838


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8073 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:56 +02:00
Per Inge Mathisen f9c98cfbc0 Add new scripting function droidCanReach(droid, x, y) that checks whether the given droid
can ever reach the given destination with its propulsion method. See ticket:838


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8072 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:55 +02:00
Per Inge Mathisen 54fe76b51e Patch to prevent orders with impossible destination from being issued. See ticket:838
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8071 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:55 +02:00
i-nod f9cb87f05a Changed widget definition to a hex style.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8070 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:20:54 +02:00
Per Inge Mathisen b238af796c "clone wars" are even more fun when built are automatically selected for you
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8069 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:49 +02:00
Per Inge Mathisen 9e1f425b6c Add new hillarious cheat "clone wars" that clones any selected units tenfold. Useful
for stress-testing the game.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8068 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:48 +02:00
Per Inge Mathisen bff3c20952 Remove unused function getDroidName()
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8067 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:48 +02:00
Per Inge Mathisen 0d85a388b4 Fix crash caused by debug log message being too early...
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8066 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:48 +02:00
Per Inge Mathisen 3af06cb1b7 Add tileset-dependent map preview colours. Patch by i-NoD in http://forums.wz2100.net/viewtopic.php?f=4&t=3442
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8063 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:48 +02:00
Per Inge Mathisen 2268817018 Fix issue with function/sensor lists and transporting droids between
main map and offworld maps. Reinserting the same droid twice would
generate an infinite loop in the linked list. Closes ticket:853 and
closes ticket:852.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8061 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:48 +02:00
Per Inge Mathisen 5799aa6dc3 Add assert or return check for bad player numbers for allianceExists script function. This is needed to make BP run
on trunk with --noassert.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8060 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:47 +02:00
Delphinio 56c172241c NTW Mod Image (1.8.7a)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8059 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:47 +02:00
Delphinio 4964ecccf3 NTW Mod Research Bug Fix (1.8.7a)
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8056 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-28 22:09:47 +02:00
Per Inge Mathisen 238f5ee2f7 Improve logging and a few cosmetic fixes to make it easier to debug.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8055 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:15 +02:00
Per Inge Mathisen d6d0feb495 Improve assert error reporting for future cases of ticket:776
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8053 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:15 +02:00
Steven Koenig 24830e84e7 Updated de.po for trunk
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8052 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:15 +02:00
Per Inge Mathisen c22c81b91e Add assert to try to track down source of bad map coordinates in paths.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8051 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:15 +02:00
Per Inge Mathisen 9eb11d7c2c Various cosmetic fixes
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8050 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:14 +02:00
Per Inge Mathisen 46022ae734 Fix another case of droids driving in circles when pushed off their designated paths
and they end up equally close (after applying weights) to both current and next path
nodes.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8049 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:14 +02:00
Per Inge Mathisen ab7d5aa9af Turn move status into an enum
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8048 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:14 +02:00
Per Inge Mathisen 42e16a3ab4 Make sure the crash on effect cleanup on entering third campaign reported by dch in ticket:836
never occurs in trunk either.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8046 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:14 +02:00
Buginator 4e41d11dba Fix minGW compiles on windows.
Patch by i-NoD.

Thanks for the patch!

Closes ticket:835


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8044 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:14 +02:00
Giel van Schijndel 870233db9a * Don't (attempt to) import an unused (and non-existent) module: `model`
* Fix the URL for the TicketNotifications Trac-plugin such that it matches its source directory again

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8039 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:13 +02:00
Giel van Schijndel cb279c37c4 * Rename Trac plugin `NewTicketNotification` to the more general `TicketNotifications`
* Add an additional package (sub-plugin): attachmentnotification
  - This package contains the new AttachmentTicketNotification Trac component
 * Add a new Trac component: AttachmentTicketNotification
  - This component sends notification mails to all ticket subscribers when an attachment is added to that ticket
  - Created this component on Per's request

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8038 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:13 +02:00
Giel van Schijndel fcaf404d25 Log exceptions using the ''exception'' log level/function
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8037 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:13 +02:00
Christian Ohm ca83bd9d8f Updated Russian translation by Maxim (Raptor9000). Closes #834.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8035 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:13 +02:00
Buginator 895e28c63f make sure we have a valid color choice for our SP game. Valid values are 0, 4-7.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8033 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:12 +02:00
Buginator 61763ee07d When a "looped" sample has finished playing, we reset iAudioID, so the game adds the sample again into the queue. This is the way most other "looped" samples are currently handled by the game. (oil/power/factory steam, and so on)
see:770
fixes:770


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8031 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:12 +02:00
Buginator 617ab798f4 Closes and fixes ticket:830
When babas are burning, we always play the scream now.
See ticket:830 for more details.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8030 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:12 +02:00
Buginator 5eff6347d8 Fix cross-compiled builds again, by removing (commenting out) a invalid language option for cross compiled builds, LANG_LATIN.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8029 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:12 +02:00
Buginator b333d03947 Closes ticket:831
Xcode patch for missing files introduced in ticket:778

Thanks to blb for the patch!


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8027 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:12 +02:00
Per Inge Mathisen 63589d31bf The following patch simplifies the screenInitialise function,
by removing some superfluous flags. This closes ticket:102
by EvilGuru, committing only the substantial parts to avoid
merge collisions with other trees.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8023 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:11 +02:00
Per Inge Mathisen 87a687e15c A small enhancement for GUI subsystem: target origin tracking system for structures (only for ones
with weapons). If structure have some target for main weapon it will show appropriate icon on the 
right side of weapon reload bar/health bar. For now it can distinguish: visual contact targets, 
commander targets, sensor targets, CB sensor targets, counter radar targets, air defense targets.
Closes ticket:686, patch by i-NoD.


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8022 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:11 +02:00
Giel van Schijndel 3563f00a31 Trac NewTicketNotification plugin:
* Add an admin panel to allow configuration of notification addresses (requires the TRAC_ADMIN permission)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8021 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:11 +02:00
Giel van Schijndel 550053ddc9 Trac NewTicketNotification plugin:
* Move support for retrieving and saving the list of notification addresses to a separate module: model.py

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8020 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:11 +02:00
Giel van Schijndel 0ee9fdfb66 Add custom Trac plugin: NewTicketNotification:
* Extends Trac to notify a configured set of e-mail addresses upon ticket creation.
  - Used by us to mail the development mailinglist for each newly created ticket

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8019 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:10 +02:00
Per Inge Mathisen b531c153f7 mapconv: Also convert gameType and gameTime from missions to new format.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8018 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:10 +02:00
Per Inge Mathisen 7866c35fcb mapload: Do not error out when encountering maps without map or terrain info. Deal with it.
mapconv: Handle maps without map and terrain info (such as map expand missions).


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8017 4a71c877-e1ca-e34f-864e-861f7616d084
2009-09-27 19:07:10 +02:00