Roman C
674db841fa
Fix a bug in whosResponsible() which caused execution of AI scripts on a client instead of the host in some cases.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4540 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-07 17:31:57 +00:00
Giel van Schijndel
72240c1958
Recreate the EditWorld project and workspace
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4539 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-07 14:33:53 +00:00
Giel van Schijndel
cc0639a9a6
* Remove some unused variables
...
* Fix a few syntax errors
* Comment out (#if 0) a template function which MSVC doesn't seem to appreciate
* Rename some variables
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4538 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-07 14:27:05 +00:00
Roman C
32fc5a9884
Flamer Balance:
...
-make flamers a bit less effective against tracked units
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4537 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 18:35:45 +00:00
Roman C
24f5ada031
Hardpoint Balance;
...
-slightly reduce hit-points for hardpoints and walls
-make anti-tank weapons slightly more effective vs hardpoints
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4536 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 18:34:11 +00:00
Giel van Schijndel
021a866db5
Don't wrap the ASSERTs in droidCheckReferences in #ifdef DEBUG sections as ASSERT won't bail out on NDEBUG builds anyway
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4535 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 16:47:19 +00:00
Per Inge Mathisen
0f012424c3
Restrict number of buildings that can be created from cheating and network
...
to building limits, and make sure they are sane also for lassat and satlink.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4534 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 16:21:50 +00:00
Roman C
ab1629285b
Fix MSVC compilation. Patch by Buginator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4533 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 16:07:36 +00:00
Per Inge Mathisen
dfec7a2994
Fix crash if you place buildings with ctrl+o menu and buildStructure fails.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4532 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 16:06:08 +00:00
Roman C
1aee29fab5
Aivolution AI:
...
-don't append "-aiv" to AI names on machines which don't run Aivolution.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4531 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 15:58:39 +00:00
Giel van Schijndel
1ae21868b3
r4529 was incomplete: turn off the coloured mouse cursor by default
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4530 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 15:26:35 +00:00
Giel van Schijndel
6aaefd1720
turn off the coloured mouse cursor by default
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4529 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 15:24:06 +00:00
Per Inge Mathisen
17dc690919
Verify that the map created in tagfile savegame is correctly written. This makes
...
saving signficantly slower, but that is the cost of living on the bleeding edge ;)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4528 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 13:18:36 +00:00
Per Inge Mathisen
0edf5f08e5
Fix erronous handling of skipped group separators in the tagfile code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4527 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 13:14:12 +00:00
Per Inge Mathisen
8dca456c24
Fix bug in tagfile code. We would not properly skip groups that we did not intend to read.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4526 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 12:13:41 +00:00
Ari Johnson
685948940e
Fixed cursors16.c to work again
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4525 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 03:20:27 +00:00
Ari Johnson
c7257cab47
Updated Xcode project file
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4524 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 03:09:17 +00:00
Giel van Schijndel
86d9a901a4
make -C po update-po
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4519 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 00:26:08 +00:00
Per Inge Mathisen
741c6a9c10
Give new maps sensible defaults, and reset grid system. It is now possible to
...
create new maps, populate them with units belonging to different players, and play,
all from inside the game! Well, it is possible. Do not expect much yet.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4518 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 00:23:18 +00:00
Per Inge Mathisen
1811698955
Add a pause button to ctrl+o menu which sets the game into a new 'edit pause'
...
state in which most but not all game related mechanics are paused. Activate
this pause mode automatically if a new map is created.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4517 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-06 00:09:13 +00:00
Giel van Schijndel
624f992e62
In the Dr. MinGW exceptionhandler additionally dump:
...
* The version as returned by version_getFormattedVersionString()
* Compiler name and version
* Pointer size
* Last two log lines (with `dumpLog`)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4516 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:54:12 +00:00
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