Per Inge Mathisen
268574f8c0
Make sure host gets to join his own game.
2011-01-15 15:34:56 +01:00
Per Inge Mathisen
28c594d611
Make Dydo AI work with new MAX_PLAYERS limit.
2011-01-15 13:35:28 +01:00
Per Inge Mathisen
971e5de351
Add open/close buttons to pregame dialog. Basic support in netcode added. Closes ticket:2435
2011-01-15 13:29:23 +01:00
cybersphinx
0274fa622d
Update translations.
2011-01-14 21:47:36 +01:00
cybersphinx
6bf0a224c3
Make a few more strings translatable.
2011-01-14 18:41:24 +01:00
littlepig
7b969f5976
(BASE_OBJECT*), (BASE_OBJECT *), (BASE_STAT*) and (BASE_STAT *) casts removed where being redundant.
2011-01-13 21:59:07 +00:00
littlepig
cefd17b38b
overloaded actionDroid, subtituing 3 diferent functions: actionDroidObj; actionDroidLoc and actionDriodObjLoc. All were substituted in all Src.
2011-01-13 19:58:04 +00:00
Cyp
311cf0d216
Fix non-host not being able to change slots, and being able to try to set AI difficulty level.
2011-01-13 16:58:28 +01:00
Cyp
e46b08f8e1
Fix not sending player info for players 8+.
2011-01-13 16:40:34 +01:00
Cyp
abde9ebe40
Fix crash on right-clicking or double-clicking structure blueprints.
...
Probably fixes ticket:2441.
2011-01-13 15:58:47 +01:00
Cyp
8248789dfd
Minor changes due to review by Per.
...
And also readded some changes that got lost from nexus.slo somehow.
2011-01-13 15:58:47 +01:00
Cyp
f00b6149d9
Bump MAX_PLAYERS to allow 10 normal players + 1 scavenger player.
2011-01-13 15:58:46 +01:00
Cyp
5b9467d8d5
Add IMAGE_PLAYERN and IMAGE_TEAMN for N = 8..15.
2011-01-13 15:58:46 +01:00
Cyp
6f6ec2ea86
Add IMAGE_GN_N for N up to 15.
2011-01-13 15:58:46 +01:00
Cyp
a3e5ea7276
Reduce dependence on MAX_PLAYERS == 8.
2011-01-13 15:58:46 +01:00
Per Inge Mathisen
53aa5e55dc
Remove some dead code
2011-01-13 14:53:26 +01:00
Per Inge Mathisen
9b6ee7f3c5
Send AI and difficulty changes to other players. Allow host and only host to change the position of other players and set AIs.
2011-01-12 22:44:14 +01:00
Per Inge Mathisen
e823dc2fd4
Remove removed file from POTFILES.in
2011-01-12 21:47:03 +01:00
Cyp
a3b36f965b
Clean up a couple of loops very slightly.
2011-01-12 21:22:51 +01:00
Per Inge Mathisen
05a8e6ecd1
No longer read wrf files specified directly from map files. Instead, call them directly from the code.
...
This saves us a lot of duplicate data, and reduces the amount of weird things a map can do. Reviewed by Cyp.
2011-01-12 21:15:25 +01:00
Per Inge Mathisen
3d001b6505
Remove some dead code
2011-01-12 19:43:53 +01:00
Per Inge Mathisen
e021afe37a
Load scavenger script depending on scavenger button settings, not on wrf file settings.
2011-01-12 19:35:35 +01:00
Per Inge Mathisen
a7292473b6
Remove unused or duplicate data files.
2011-01-12 19:33:14 +01:00
Per Inge Mathisen
0cf5ce0d72
Fix assert failure and droid paralysis when multiweapons droids are set to pursue.
2011-01-12 19:16:42 +01:00
Per Inge Mathisen
a37b819a8d
New difficulty icons by flail13
2011-01-10 21:29:53 +01:00
Per Inge Mathisen
26305c02e1
Disable other GUI elements when in a team or colour chooser.
2011-01-10 19:58:00 +01:00
Per Inge Mathisen
d1c5a64997
Fix AI chooser, broken by last fix
2011-01-10 19:48:05 +01:00
Per Inge Mathisen
2e27958efa
Disable ready button if for some reason all players end up on the same team.
2011-01-10 19:40:29 +01:00
Per Inge Mathisen
0aa784b612
Forgot to commit the .ai file for Dydo.
2011-01-10 19:26:01 +01:00
Per Inge Mathisen
93cda2e331
Fix position changer, broken by a bad git stash merge (presumably).
2011-01-10 19:15:27 +01:00
Per Inge Mathisen
992844f3b5
Remove a ton of unused, script-related code, and lift the needless limit on 2000 globals for all scripts combined.
2011-01-10 18:40:23 +01:00
Per Inge Mathisen
87c358545d
Make sure we save and load all the relevant skirmish info for AIs. Move .es files into the savegame dir. Breaks savegames again.
2011-01-10 18:40:23 +01:00
Per Inge Mathisen
b2afaee931
Now that we are breaking savegames anyway, reset the MOVE_STATUS enum.
2011-01-10 18:40:23 +01:00
Cyp
4024548fcd
Disable spammy TODO.
...
LOG_ERROR is apparently now spammed to the in-game console, making it less practical to put TODO comments in LOG_ERROR.
2011-01-10 16:01:12 +01:00
cybersphinx
c6c556e943
Spanish translation update by Daniel Vijande.
...
Closes #2442 .
2011-01-10 15:34:39 +01:00
cybersphinx
1f806b3f1d
Update translations.
2011-01-10 14:59:13 +01:00
Cyp
023c8afaa9
Fix biffer baker in skirmish.
...
Broke in 92cd24faaa
, since biffer baker is a hack that changes the game difficulty level.
Refs ticket:2441.
2011-01-10 14:35:55 +01:00
Per Inge Mathisen
d6ee18c895
New script function getDifficulty(int) to find which difficulty level a given player has. Also added four new
...
constants to check against: EASY, MEDIUM, HARD and INSANE. Semperfi modified to be less nasty in easy and medium
difficulty levels.
2011-01-09 22:24:09 +01:00
Per Inge Mathisen
02ca800a92
Insane AI now always starts with defenses. Lets see if people like this.
2011-01-09 18:22:21 +01:00
Per Inge Mathisen
f263cf5103
Add GUI dialog for choosing which AI you want to play against. Move semperfi and dydo into main. Change difficulty
...
slider into four separate steps (Easy, Medium, Hard, Insane). Thanks to Cyp for review. For more info, see ticket:2435
2011-01-09 16:35:49 +01:00
Per Inge Mathisen
9e9fc1ba5b
Misc fixes for ticket:2435 (cleanup, cosmetic) to reduce diffcount
2011-01-09 14:46:18 +01:00
Cyp
b4c9ca5f10
Fix desynch on unassigning droids from commander.
2011-01-09 05:22:54 +01:00
Cyp
b143d53ae1
Fix newly built human-player droids being partially unassigned from commanders by AI scripts.
...
And make all factory attributes be written to the new droids.
2011-01-09 05:22:54 +01:00
cybersphinx
90c1f3cbda
Update translations.
2011-01-09 02:39:37 +01:00
Cyp
2f0d4a6b3e
Fix arbitrary 100 droid limit when changing droid settings.
...
Some damaged droids wouldn't retreat when setting the droid retreat level (and probably didn't get the setting, either).
Changelog: Setting droid retreat on damage now works, even if selecting more than 100 droids.
2011-01-09 02:35:07 +01:00
Cyp
64b8ffa800
Only complain to the transport's owner about not enough room in the transport.
2011-01-09 00:00:13 +01:00
cybersphinx
c8efe55207
Don't run the fixbrokendependencies script on every build.
2011-01-08 18:27:34 +01:00
cybersphinx
96376b088e
Fix compilation with g++ 4.6.
...
Most of this just removes unused variables. Closes #2437 .
2011-01-08 18:23:01 +01:00
cybersphinx
83db429603
Make flex/bison build cpp files in the makefile.win32s.
2011-01-08 17:30:14 +01:00
Per Inge Mathisen
cfa47fbb70
Remove unused duplicates from campaign wz, and move three files only used in multiplayer to mp wz.
2011-01-08 17:05:11 +01:00