Commit Graph

3142 Commits (dd8b729dc244d3ee4b577066ab931536a36f3a21)

Author SHA1 Message Date
Per Inge Mathisen bbae49f687 Fix two erronous png references in model files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3857 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 23:11:21 +00:00
Gerard Krol 0b07130da8 Fix bug #11121, "Briefings not displayed at high resolutions".
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3855 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 20:34:03 +00:00
Per Inge Mathisen 548653d0d0 Add ECM range parameter. Clean up ECM code. Remove cyborg stealth hack from
trunk in anticipation of future ECM work.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3854 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 19:13:13 +00:00
Per Inge Mathisen 69e71c5778 3ds2pie: Add option to scale imported model by a given factor to correct errors
seen in Blender 3DS export.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3853 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-22 18:47:21 +00:00
Dennis Schridde 8485224b12 Move playerX.[vs]lo.in to player0.[vs]lo
This adds make warnings, which are hopefully always reacted upon as they are in my version of GNU make, so it does the correct thing and not try to replace player0.[vs]lo with itself or do other crap...
make: Circular player0.slo <- player0.slo dependency dropped.
make: Circular player0.vlo <- player0.vlo dependency dropped.
Also: Add clean target


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3851 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 18:46:23 +00:00
Dennis Schridde f37984a87c Fix a typo in regexp, which prevented "playerX.slo" from getting replaced properly.
Also add error checking, to see wether the template parameters were replaced properly.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3850 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 17:42:30 +00:00
Dennis Schridde 87685c2065 update-po in trunk
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3849 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 12:08:03 +00:00
Dennis Schridde 1c979f5fd9 Make lex/yacc rules terminals, since lexer/parser files cannot be autogenerated.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3847 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 12:06:26 +00:00
Dennis Schridde bafb1ddd8f Port r3845: .vlo depends on .vlo.in
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3846 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 12:01:07 +00:00
Dennis Schridde bdc4c57fa7 Port r3843 from branches/2.1: Autogenerate playerX.slo files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3844 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-20 11:54:29 +00:00
Roman C ffddb98f93 Restore stock AI, which Tortoise silently overwrote.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3841 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:37:45 +00:00
Roman C 2636ccbef2 Aivolution AI:
-files for all 8 AI players are now back into the repository.
-fixed bug #11085 (part 1/2)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3840 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-19 19:34:50 +00:00
Roman C 5896b769e4 Reverted changes to the MSVC project which TortoiseSVN silently commited (what the...?)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3838 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:52:01 +00:00
Roman C 6ddadf6a5e Updated ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3837 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:48:21 +00:00
Roman C 741eb57d31 Weapon balance:
Fortresses:
-raised reload rate and firepower
-rocket fortress now has 4 projectiles

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3836 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:47:52 +00:00
Roman C 177aa19e9a Ported ChangeLog updates (balance issues) to the trunk.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3835 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 17:20:48 +00:00
Dennis Schridde fc67b175a2 Update Makefile.raw, too and add forgotten Makefile.am
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3831 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 15:45:17 +00:00
Dennis Schridde da7212b287 Merge r3827 + r3828 from branches/2.1. This fixes bug #11087.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3830 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 15:39:42 +00:00
Giel van Schijndel d943227f07 Fix a bug (integer divide by zero) when starting a multiplayer game after playing a single player game
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3825 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-17 19:52:06 +00:00
Per Inge Mathisen f74715f1d5 Remove some unused stuff
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3821 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-17 16:36:54 +00:00
Per Inge Mathisen fb12b834a1 Remove two unused defines
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3820 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-17 13:56:08 +00:00
Giel van Schijndel d8cbb4326c Add a new section to the change log for trunk and the 2.1 branch
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3814 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-17 00:31:38 +00:00
Giel van Schijndel d768a89dd9 Tag off the `2.1 beta 1` release
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3813 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-17 00:28:52 +00:00
Giel van Schijndel 7b57a08e68 Add the 2.0.10 part of the change log to trunk's change log
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3811 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 23:51:36 +00:00
Giel van Schijndel f0772716ee Add porting of netcode to the new net-primitives API to the ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3810 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 23:11:06 +00:00
Giel van Schijndel 3e2af0fc87 Don't assert on unused sound IDs as that's a valid condition sound is disabled; fixes bug #10989
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3809 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 22:22:21 +00:00
Per Inge Mathisen 9f448d5fdb Fix comment, cosmetic improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3808 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 22:00:13 +00:00
Per Inge Mathisen 3ddb74e0d3 Cosmetic update to stats.c|h, and make more variables static.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3807 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 21:04:45 +00:00
Gerard Krol 0d76a90bec Make the fade from black for the fog of war use a float instead of a UBYTE. This fixes bug #5745 (Units fail to uncover Fog Of War if game speed 0.2
or lower).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3806 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 18:22:25 +00:00
Giel van Schijndel 23230caf2a * Revert r3804 (replaces usage of strnlen with strnlen with the unsafe strlen)"
* Finish r3795 where I nicely #included the correct files but forgot to replace strnlen with strnlen1 - 1


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3805 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 17:57:43 +00:00
Ari Johnson 66f662e16a Removed usage of GNU extension strnlen()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3804 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 17:48:13 +00:00
Per Inge Mathisen 717f9f7f67 Cosmetic upgrade
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3803 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 17:30:35 +00:00
Gerard Krol 8e41e62a1f Prevent a sharp edge to the drawn tiles by fading them to black.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3802 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 17:06:51 +00:00
Gerard Krol 7ab917ff87 Fix the "smearing" caused by not enough of the terrain being drawn when the map is smaller than the amount of visible tiles. This fixes bug #11026
and bug #11026.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3801 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 16:37:24 +00:00
Per Inge Mathisen 37a96b2041 pie2wzm: Add option to reverse winding of polygons.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3800 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 16:32:13 +00:00
Giel van Schijndel f4d10dd461 Reapply r3643 (or revert r3669): Port NETBroadcastPlayerInfo over to the new netcode API
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3799 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 13:53:17 +00:00
Per Inge Mathisen f1a62097bf Netcode: Make NetDir static, and remove some unnecessary function parameters.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3798 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 13:39:23 +00:00
Per Inge Mathisen c2de082bee More doxygen comments.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3797 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 13:12:58 +00:00
Per Inge Mathisen ce473ed9fe Add some more doxygen comments.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3796 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 13:05:34 +00:00
Giel van Schijndel 33759c07c4 Don't use `strnlen` in debug.c as it's a GNU extension (and as such isn't always available), instead use `strnlen1 - 1`
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3795 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 11:53:25 +00:00
Giel van Schijndel 7acbd09ec0 Detect failure to load images when loading texture pages and act on it by failing the texpage loading
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3794 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-16 11:30:11 +00:00
Per Inge Mathisen f98f19d38f Doxygenize power.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3793 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:59:53 +00:00
Per Inge Mathisen a07da6772c Wrap several access to asPower with getPower().
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3792 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:48:51 +00:00
Per Inge Mathisen f2098a60ee Stylistic improvements to some functions in droid.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3791 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:43:51 +00:00
Per Inge Mathisen aa12b3b9e8 Add several sanity checks for network packets received.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3790 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:31:23 +00:00
Per Inge Mathisen 4c64fcfe8e Sanity check power sync packets, and add net log if power is changed. Add getPower()
function to avoid direct access to asPower array.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3789 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:18:13 +00:00
Roman C 00fa218b5d Get rid of the ugly-looking ammo trails some weapon types had, that were not there in the original game and don't belong there.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3788 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 21:04:46 +00:00
Per Inge Mathisen c614aabe31 Reorganize the packet definitions to avoid duplication and scatter of data.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3787 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 20:55:38 +00:00
Per Inge Mathisen f3fd0e6fe4 Fix bug in the sending of research gifts. We cannot delay the NETend() call for long,
because other codes like to use the netcode, too.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3786 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 20:25:31 +00:00
Giel van Schijndel 22844d16a6 Undo the (accidental) exceptionhandler disabling of r3784
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3785 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 19:44:40 +00:00