Commit Graph

3182 Commits (ed27352982065d0d88788194ede566aef4d25b6b)

Author SHA1 Message Date
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
Giel van Schijndel 2322fe0920 Undo my "fix" in r3782, as it wasn't a fix but a breakage
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3784 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 19:43:53 +00:00
Giel van Schijndel e2e3044f48 * ASSERT(asPower != NULL) since that'll show some output in the debugging output, even in case of a release build
* Add the player id to assertion messages where the player id is out of range
 * Fix an assert that had all the conditions inversed


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3783 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 19:13:00 +00:00
Per Inge Mathisen c561c73cd8 Relax droid assert about being on the map. Patch by Buginator in bug #958.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3782 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-15 18:49:43 +00:00
Per Inge Mathisen b92c8c5a33 Dumpt the last two log message calls into the exception handler report.
This way we get to see the message given by asserts in the dump file.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3781 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 22:07:53 +00:00
Roman C cc6e90ce0d Weapon balance:
-light flamers are now allowed to shoot while moving

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3780 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:40:44 +00:00
Roman C 1030962761 Stock AI Update:
-fixed a bug which prevented AI from building more than 2 different cyborg types
-added more different templates (flamers, hpv etc)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3779 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 21:39:27 +00:00
Per Inge Mathisen 79d13e4d14 Fix typo in exceptionhandler giving noise (at best) in exception output.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3778 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 20:50:39 +00:00
Per Inge Mathisen e239f8ca40 Cleanup of message code again. Sprinkle more asserts, doxygenize header.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3777 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 19:25:31 +00:00
Per Inge Mathisen 1e1ae6ac0f Sprinkle several asserts over power.c to attempt to catch memory problems.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3776 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-14 18:26:18 +00:00
Per Inge Mathisen b02de0a9b4 Fix bad asserts added to debug another assert failure...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3775 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-13 20:31:38 +00:00