Paul Chote
02a2624bcc
Add a per-player handicap option to the lobby.
...
Handicaps reduce unit health, firepower, and build speed.
2021-01-10 22:23:52 +01:00
abcdefg30
aeaffc0a8e
Properly restrict the spectator view in mission maps
2020-12-12 14:59:49 +01:00
Paul Chote
6606d7dd93
Add DisplayFaction details to the replay metadata.
2020-12-11 18:05:44 +01:00
abcdefg30
6de1b7b915
Always mark defeated/victorious players as spectating
2020-11-15 09:45:16 +01:00
abcdefg30
ea3c7a3c34
Remove the Stances dictionary
2020-11-14 11:04:41 +00:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
Paul Chote
6b6b1e56e6
Resolve random players and spawn points in server replays.
2020-10-31 14:31:44 +01:00
Paul Chote
9ddc9073c2
Revert "Determine stance for spectators based on shroud selection"
...
This reverts commit e459fde031e3cec120065883eea62a663a097123.
2020-10-30 08:36:23 +01:00
Andrew Odintsov
bd0738c5c4
Determine stance for spectators based on shroud selection
2020-10-26 23:39:42 +00:00
Paul Chote
a375f0e58a
Rewrite spawn point assignment logic.
2020-10-13 20:41:39 +02:00
Paul Chote
41814a881d
Player: move player name resolve in a dedicated function
...
Signed-off-by: Paul Chote <pchote@users.noreply.github.com >
2020-10-10 01:17:39 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
44d3691fa1
Assign Player.IsBot before calling INotifyCreated.Created
2020-05-30 19:47:29 +02:00
abcdefg30
52a9fcef3c
Rename "Created" to "Initialize" and let it handle adding to the world
2020-05-30 19:47:29 +02:00
abcdefg30
7386816f52
Manually construct the PlayerActor to fix crashes during actor creation
2020-05-30 19:47:29 +02:00
abcdefg30
9c0075b233
Move hardcoded PlayerActorTypes to shared const variables
2020-05-30 19:47:29 +02:00
abcdefg30
e4c5700baf
Remove an unused using
2020-05-30 19:47:29 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
teinarss
3a17b26405
Creating PlayerMask
2019-07-26 15:54:22 +02:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Paul Chote
ebf3ec0e90
Add some basic safeguards around RenderPlayer.set.
2018-05-31 18:54:07 +02:00
reaperrr
4c16e51f92
Add EditorPlayer to all mods
...
To prevent the editor from loading unnecessary or even incompatible
player traits.
2018-04-06 20:46:47 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
reaperrr
786a0eb07f
Refactor PowerManager and RequiresPower to use conditions
...
Instead of Actor.IsDisabled.
Added INotifyPowerLevelChanged interface to do so as efficiently as possible.
2017-11-13 03:09:05 +02:00
Paul Chote
1376ad674e
Remove Player.CanViewActor and .CanTargetActor.
2017-11-03 09:56:00 +01:00
Paul Chote
47634b25f9
Remove IFogVisibilityModifier.
2017-11-03 09:56:00 +01:00
Paul Chote
b0906e1836
Add a bot type identifier.
2017-07-07 21:31:45 +01:00
Paul Chote
e88754cd4a
Expose Player.BotType and make fields readonly.
2017-07-07 21:31:45 +01:00
rob-v
1ff11d4115
Number AI players
2017-05-03 19:33:04 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Oliver Brakmann
a6e98620c0
Merge pull request #10650 from pchote/remove-fragile-diplomacy
...
Remove fragile diplomacy.
2016-02-06 22:55:55 +01:00
Paul Chote
73b3f20921
Remove fragile alliances feature.
2016-01-30 20:47:50 +00:00
DArcy Rush
eb795909da
Implement player stance colors
...
Adds an option to display actors on radar and
support weapon timers in colors denoting the
diplomatic stance toward the player.
2016-01-30 15:46:55 +01:00
RoosterDragon
21292061f9
Added "PERF: Avoid LINQ." comments.
2015-12-12 21:05:13 +00:00
RoosterDragon
0fab3ec1b2
Remove LINQ in some performance critical AutoTarget paths.
2015-12-12 20:55:18 +00:00
Pavel Penev
8d4d37ca46
Make GPS respect shroud
2015-11-21 01:11:40 +02:00
Pavel Penev
78e2eabd17
Remove byPlayer parameter from IFogVisibilityModifier.HasFogVisibility()
2015-11-21 01:11:38 +02:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
RoosterDragon
d1960258db
Speed up Player.CanViewActor.
...
Create Actor.CanBeViewedByPlayer and simply call this instead. The actor can cache all trait lookups on construction to avoid them being repeated for every visibility check.
2015-09-06 23:29:09 +01:00
Matthias Mailänder
88b98fa8ef
Merge pull request #8975 from penev92/bleed_rename
...
Some more renaming from "country" and "race" to "faction"
2015-08-08 16:13:16 +02:00
Matthias Mailänder
6c45763d75
avoid observers being allied to world owning neutral players
2015-08-05 22:35:28 +02:00
Pavel Penev
5eaf5b5b51
Rename Session.Client.Race
2015-08-05 17:45:56 +03:00
penev92
479eb307d6
Remove unused parameter from Player's constructor
2015-07-15 04:58:50 +03:00