Dennis Schridde
1e34dc870d
Fix/mark 2 unused symbols
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@790 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-21 06:14:35 +00:00
Roman C
4b0ed1be22
Improved droid target selection code, now uses weighted function for target selection.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@789 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-13 10:33:19 +00:00
Dennis Schridde
a07ae17982
Quick fix for float truncation
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@788 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-10 09:58:14 +00:00
Dennis Schridde
c661f0ce15
Update website.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@787 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 21:50:50 +00:00
Dennis Schridde
5a4a9288b0
Patch by Christian Ohm: Gamma controls
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@786 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 19:22:24 +00:00
Dennis Schridde
b8bdd4d562
Patch by Christian Ohm: Process SDL_QUIT
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@785 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 19:00:20 +00:00
Dennis Schridde
b1b8d3ad4d
Remove not used (commented out) non TCP/IP networking from connection screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@784 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 18:57:18 +00:00
Dennis Schridde
ef949a0ea4
Update MSVC project file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@783 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 16:24:19 +00:00
Roman C
f4bf18e390
-Re-enabled some debug keys and disabled unused ones
...
-Skirmish in-game menu (Numpad-Enter) now shows number of player units and player power instead of ping and number of played games when using debug build and in-game debug mode is on
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@782 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 15:33:50 +00:00
Roman C
0aeea43f15
Changed scripting functions to use british spelling of "color"
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@781 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 14:08:53 +00:00
Roman C
e2de834b13
-1.10 AI doesn't build flamer bunkers in the base anymore
...
-It is now possible to win in a team in 'Locked Alliances' mode, also in this mode a player doesn't lose until all of his team members were defeated
-Game now shows a text message when player has won/lost the game (just a temporary solution to bug #7317 )
-Added extra heap debug, should be there at least until we fix bug #6530 , as PTRVALID() doesn't seem to detect corrupted DROID pointers on win
-Increased number of iterations A* is allowed to do per frame, which will hopefully speed up pathfinding
-Fixed multiplayer menu slider bug (bug #6529 )
-Fixed players not forwarding enemy units visibility to their allies in 'TEAMPLAY' and 'Locked Alliances' modes
-Further scripting engine improvements
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@780 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 08:06:46 +00:00
Dennis Schridde
49a56a27e4
Fix r777: Allways display an error message (with an actual errormessage instead of just a string address) and never display it twice (not even in NDEBUG builds).
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@779 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 00:54:23 +00:00
Dennis Schridde
759a6f5d02
Fix for r776.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@778 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-08 00:05:24 +00:00
Dennis Schridde
d163be853d
Christian Ohm's PSX removal part 1.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@777 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-07 16:40:18 +00:00
Dennis Schridde
4ea12897a5
- Replaced all filenames (I could find) with their lowercase and platform independed notation. There might be some uppercase filenames left in the sourcecode.
...
- Because savegame filenames are converted to lowercase old savegames won't work anymore. You can simply fix that by renaming them to lowercase.
- All unix_path, unix_fopen and PHYSFSEXT_locateCorectCase functions and calls to them have been removed. (So you _will_ notice when a file is not found, at least on Unix systems.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@776 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-07 14:13:47 +00:00
Roman C
7f143b5a48
New script callbacks are called delayed now, since there was a problem when forming alliance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@775 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-04 02:54:24 +00:00
Dennis Schridde
71fe0318c8
Fix broken non debug compilation. (bug#7278)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@774 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-03 01:38:18 +00:00
Roman C
aa25866177
-Fixed AIs getting renamed when changing player number in MP games.
...
-Prevented NETbcast() from flooding the log in games with no network communication.
-orderDroidObj() scripting function will no longer cause ASSERT when DORDER_DROIDPERAIR is passed as parameter.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@773 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-02 17:58:10 +00:00
Roman C
b7627bd9c8
Minor cleanup: replaced VOID with void.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@772 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-30 23:57:38 +00:00
Roman C
e34c09439c
-New script callbacks
...
-Added ability to rename players through scripts
-New savegame version: 34 (as a result of the previous point)
-Fixed double messages in online games
-Minor cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@771 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-30 23:09:12 +00:00
Roman C
e25951d832
Updated ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@770 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-28 02:15:36 +00:00
Roman C
01259aaab9
-fixed and enabled shared ally vision for TEAMPLAY and 'Locked Teams' modes
...
-fixed disabled players allying their team members
-reenabled God Mode (Ctrl-G) for Debug builds and campaign mode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@769 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-28 02:11:19 +00:00
Dennis Schridde
3f748bd1c2
ChangeLog changed slightly
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@768 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-27 22:29:51 +00:00
Roman C
f969666097
Testing commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@767 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-27 21:23:31 +00:00
Roman C
4d8091f180
Testing commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@766 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-27 21:17:28 +00:00
Roman C
ab31cd4fde
Last player cannot be disabled in skirmish menu anymore.
...
Fixed disabled AIs showing up in the game.
(r763 related fixes)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@765 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-27 05:38:51 +00:00
Roman C
09f607afbc
Unused variables cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@764 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-26 18:25:36 +00:00
Roman C
9aaae50baa
Replaced 'Humans vs AIs' with 'Locked Teams' alliance mode.
...
Fixed difficulty slider applying settings to the wrong players.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@763 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-26 18:14:05 +00:00
Dennis Schridde
37afd5d1c4
Use platform.h instead of direct includes.
...
The whole system has to be tuned further but this shows the direction.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@762 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 22:04:35 +00:00
Roman C
30faef0ce8
Temporary MSVC fix to r749
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@761 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 20:14:55 +00:00
Roman C
66252e097c
Fixed 'Texture file not preloaded' bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@760 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 17:00:40 +00:00
Stefan Huehner
532ada3156
Add doxygen style headers to .h files to document
...
their meaning.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@759 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 16:46:28 +00:00
Dennis Schridde
eca1bc76ed
Fix up r749 for Mac.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@758 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-25 16:17:38 +00:00
Stefan Huehner
c74f654310
Make two structures static and add some const
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@757 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-24 19:18:19 +00:00
Stefan Huehner
30f6dc392e
mark some Strings an read-only by adding const.
...
On the way replace STRING with char
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@756 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-24 19:11:34 +00:00
Stefan Huehner
bc25579a7a
Correct openal buffer: void *pMem -> ALuint iBufferName
...
as openal 'buffers' are indexed by ALUint.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@755 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-24 18:53:08 +00:00
Dennis Schridde
9d1d34d2a9
Convert PIE types to SDL types.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@754 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 21:25:56 +00:00
Stefan Huehner
65e820b246
Add some more missing includes:
...
seqdisp.c, gtime.c: SDL/SDL_timer.h for SDL_GetTicks()
piesraw.c: SDL/SDL_video.h for SDL_GL_GetProcAddress()
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@753 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 18:52:52 +00:00
Stefan Huehner
04d0181777
Include input.h for SetMousePos, mouseX, mouseY prototypes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@752 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 18:42:35 +00:00
Stefan Huehner
567fc10e50
Include missing input.h in frame.c
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@751 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 18:40:07 +00:00
Stefan Huehner
b3e3d17b82
Include frameresource.h directly in its users. Fixup after
...
the big cleanup in 748:749.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@750 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 18:38:12 +00:00
Dennis Schridde
3261a09baf
BIG cleanup of headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@749 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 17:24:55 +00:00
Dennis Schridde
a135ae55be
Forgotten in last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@748 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 15:38:24 +00:00
Dennis Schridde
912cf2c8e2
Partially revert r739.
...
SDL < 1.2.10 doesn't define the string function wrappers.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@747 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-23 14:56:18 +00:00
Dennis Schridde
6fc01a0289
Don't enforce the GPL by breaking it. ("All rigths reserved" is part of the copyright notice and thus must stay.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@746 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-22 11:10:20 +00:00
Roman C
f84861b762
Updated frontend.wrf to make it load new texture page. Needed for the previous commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@745 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-21 22:56:06 +00:00
Roman C
741250cef3
-Added "Humans vs AIs" alliance mode: Humans and AIs make 2 teams, alliances cannot be created or broken
...
-Added now frontend texture to frend.img
-Disabled "Allied players send vision to each other automatically (only once)" for "Allow alliances" alliance mode, since (x allied y) is not a transitive relation in this mode
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@744 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-21 20:42:48 +00:00
Dennis Schridde
bc58f97c4c
Patch by Christian Ohm: "g++ unbreakage fix"
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@743 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 21:34:38 +00:00
Stefan Huehner
1bd660ca36
mark readonly string parameter as const. Remove superflous
...
protoype in keymap.c as the prototype from keymap.h is included.
Remove 2 commented out prototypes in keymap.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@742 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 20:58:13 +00:00
Stefan Huehner
bf2f8c5e8e
Remove an unnecessary and wrong cast.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@741 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 20:50:29 +00:00