Commit Graph

3602 Commits (c93c067336b64ae946a3d714a74c150bf027bf2b)

Author SHA1 Message Date
Giel van Schijndel c93c067336 #include frame.h in src/version.h as it depends on it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4515 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:47:19 +00:00
Giel van Schijndel 9c90950e4a Add exceptionhandler to the MSVC project for r4484
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4514 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:44:15 +00:00
Giel van Schijndel 678edfead2 Provide an alternative `dumpLog` implementation:
* one that works with the POSIX write() syscall on an integer file descriptor
 * and one that works with WinAPI's WriteFile() function on a HANDLE

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4513 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:37:46 +00:00
Per Inge Mathisen 4edccfb7f9 Add button in ctrl+o menu for placing tiles on the map.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4512 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:09:55 +00:00
Per Inge Mathisen 5dd5f40759 Enable map new/save/load buttons by default in ctrl+o menu
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4511 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:58:33 +00:00
Per Inge Mathisen 4275ae6ff6 Remove dead code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4510 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:42:37 +00:00
Freddie Witherden 6459f52cf2 Rename PIELIGHT.argb to PIELIGHT.rgba so that it reflects its actual format.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4509 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:33:22 +00:00
Giel van Schijndel 5bcc0ed6df Keep track of the previous exceptionhandler and call it when we're finished in our own
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4508 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:14:16 +00:00
Per Inge Mathisen 0cfb8a1cc1 Add new function droidSetPosition() to sanely teleport droids. This hopefully
fixes the current crashes in campaign for trunk.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4507 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:11:49 +00:00
Giel van Schijndel 85c2a8a3cf Remove whitespace from the end of lines
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4506 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:06:04 +00:00
Giel van Schijndel 86ddde3e3d Update Code::Blocks projectfile to use the correct libraries
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4505 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 22:02:47 +00:00
Per Inge Mathisen f246298c42 Mostly cosmetic cleanup of mission code. Remove dead code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4504 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 21:25:00 +00:00
Giel van Schijndel 0ae93346f0 Only set up Dr. MinGW as exceptionhandler when compiling with MinGW (the BFD lib is a huge pain to compile with MSVC)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4503 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 21:10:36 +00:00
Per Inge Mathisen c5084cec31 Remove some dead code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4502 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 20:50:15 +00:00
Roman C c98f5aae28 Balance:
-increased Bunker Buster's damage by 30% to make sure it is strong enough vs bunkers and can compete with flamers

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4501 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 20:20:31 +00:00
Per Inge Mathisen cf48229cc3 Update the usage help for 3DS conversion tools.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4500 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 19:54:12 +00:00
Roman C 6332468964 Super Cyborg Balance:
-make super cyborg weapons build faster, instead make super cyborg bodies take longer to build, should result in a small speed up in build time for super cyborgs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4499 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 19:44:28 +00:00
Per Inge Mathisen 566e050cf3 Remove useless and wrong comment.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4498 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 19:30:05 +00:00
Roman C 7ca19fdf9e Cyborg Balance:
- Super Tank-Killer Cyborg has more damage
- Super Rail-Gunner, Super HPV Cyborg cost slightly less
- Super Pulse Laser Cyborg, Super Heavy-Gunner, Super Auto-Cannon Cyborg cost only 50% of what they used to cost
- Super Scourge Cyborg costs slightly more

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4497 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 18:08:46 +00:00
Roman C f764c22866 Synchronize weapon stats data (which got out of sync for some reason) with the database used for balancing.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4496 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 17:44:19 +00:00
Giel van Schijndel eb9b087e8d Code::Blocks project update:
* Don't attempt to compile a header
 * Compile in the Dr. MinGW exception handler on Windows systems

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4494 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:42:15 +00:00
Giel van Schijndel 80917fb4a9 Allow compiling without warnings if HAVE_BFD isn't defined
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4493 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:24:45 +00:00
Per Inge Mathisen 3dafc4e62a Fix some warnings generated by -Wextra
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4492 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:22:05 +00:00
Giel van Schijndel 3c516a43f4 the exceptionhandler requires $(SDL_CFLAGS) (because it #includes frame.h which depends on that)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4491 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:18:37 +00:00
Giel van Schijndel fdcadfcc8f Compile & link in Dr. MinGW's exceptionhandler
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4490 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:15:14 +00:00
Giel van Schijndel 53507faee0 Add the exceptionhandler from Dr. MinGW (part of mingw-utils) with my fixes to it (doesn't compile & link in yet)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4489 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 16:00:58 +00:00
Giel van Schijndel 465d5d73fe Use $(CPPFLAGS) as well when compiling with the raw makefile system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4488 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 15:58:25 +00:00
Per Inge Mathisen 274ae7c9a4 Enforce strict function prototypes for autoconf builds, and fix function prototype problems.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4487 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 15:34:55 +00:00
Giel van Schijndel 0d8dcee47c Update the Code::Blocks projectfile for r4484
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4486 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 15:32:21 +00:00
Per Inge Mathisen a2c02f9fb7 Fix savegame bug. Do not use strlcat with sizeof on array pointers of unknown length!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4485 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 15:27:23 +00:00
Giel van Schijndel 665e57dc12 Move the exceptionhandler to a directory of its own
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4484 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 15:11:43 +00:00
Per Inge Mathisen b41b7358b7 Add safer, proven versions of strlcpy and strlcat from OpenBSD.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4483 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 11:45:29 +00:00
Per Inge Mathisen 4ca8e85ae4 Remove two asserts to make savegames work again.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4482 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 22:50:23 +00:00
Roman C 1b786fd5a8 Structure Balance:
-increased hp of walls by 2.5 times
-increased hp of hardpoints and fortresses by 2 times

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4481 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 21:12:58 +00:00
Roman C 244668ce93 Flamer Balance:
- "Plasmite flamer": ROF decreased, damage increased, projectile flight speed decreased. Overall damaged not affected by changes.
- "Inferno": now has two jets instead of one, to match the weapon turret gfx. ROF was decreased, damage increased, projectile flight speed decreased. Overall damaged not affected by changes.
- "Thermite Flamer": ROF decreased, damage increased, projectile flight speed decreased. Overall firepower slightly increased.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4480 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 20:19:51 +00:00
Roman C cd836a4c96 Increased HVC's ROF and decreased damage. Overall damage not affected.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4479 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 19:16:46 +00:00
Roman C bdf02e6d05 Reduce flamer ROF, increase damage to make sure "unit dealing no damage to objects with high armor" problem doesn't occur. Overall damage unaffected.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4478 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 19:10:24 +00:00
Roman C 0bb12ed36c Super-Cyborg Balance:
-Super Heavy Gunner has more firepower
-Super Auto-Cannon Cyborg has more firepower, range has been slightly decreased
-Super HPV Cyborg; firepower increased, range increased

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4477 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 18:05:09 +00:00
Roman C 7d71089d98 "Rocket Autoloader" research now has "HEAT Rocket Warhead" as a prerequisite, instead of "HEAP Mini-Rockets". This fixes bug #11312.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4476 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 17:27:29 +00:00
Roman C 93b5e7269b Weapon Balance:
-slightly decrease Mini-pods's short-range and long-range accuracy
-increase MRL's short range accuracy and decrease it's long-range accuracy
NOTE: as a result mini-pods now do more damage to tracked units than MRL

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4475 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-04 16:22:53 +00:00
Roman C c3164dc49a Update comments for a function.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4474 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-03 22:08:25 +00:00
Roman C f60f39c853 Fix one one the possible reasons for "SendDroidMove: Invalid move order" assert.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4473 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-03 22:00:14 +00:00
Roman C 9d7679b740 Reduce cyborg production time by ~20%.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4472 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-03 21:15:41 +00:00
Roman C 778a2f907f Make DROID_CYBORG_SUPER droid type visible to scripts.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4471 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-03 17:31:15 +00:00
Roman C 70884fa8e1 Move victory/loss text messages from scripts to the engine, to make them translatable.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4470 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-03 16:50:05 +00:00
Roman C 0ee1e1b965 Fixed warnings on MSVC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4469 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-02 17:39:42 +00:00
Freddie Witherden a2ecc16596 Fix a bug which caused the in-game kill count not to work. (Credit goes to Buggy on this one.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4468 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-02 16:21:38 +00:00
Roman C 4f0e59e488 Remove ENABLE_NLS, since it breaks compilation on MSVC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4467 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-01 20:00:47 +00:00
Roman C 734a823e5d Increase hp of all buildings by 100%.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4466 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-01 17:47:55 +00:00
Roman C 6e394af237 Make building sfx less annoying in the game.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4465 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-01 17:24:14 +00:00