Paul Chote
3d6621f7ff
Force selection cursor when selection overrides input.
2019-10-30 14:53:23 +01:00
Paul Chote
9d4f683d80
Remove WorldRenderer argument from InputOverridesSelection.
2019-10-30 14:53:23 +01:00
Paul Chote
0cfd6337ff
Fix InputOverridesSelection only considering the closest actor.
2019-10-30 14:53:23 +01:00
Paul Chote
e772adb0a9
Draw annotations using the UI renderers.
2019-10-20 23:46:33 +02:00
Paul Chote
8c1b0f1afe
Add IEffectAnnotation interface.
2019-10-20 23:46:33 +02:00
Paul Chote
7d1ce0c83b
Add annotation support to IOrderGenerator.
2019-10-20 23:46:33 +02:00
Paul Chote
edaa7918fc
Add IRenderAnnotations(WhenSelected) interfaces.
2019-10-20 23:46:33 +02:00
Nakarin Srijumrat
17bec1435b
increased ingame edge scrollspeed to 30 from 10
2019-10-13 13:20:24 +02:00
abcdefg30
55c3f313b1
Remove 'yes' and 'no' in favor of 'true' and 'false'
2019-10-12 00:07:05 +02:00
abcdefg30
56726a0533
Add an ICreationActivity interface
2019-10-06 14:42:50 +01:00
Paul Chote
3bda890f7b
Add Engine.LaunchWrapper launch argument for mod switching.
2019-10-05 18:25:13 +02:00
teinarss
9bfc324c04
Mark cells that have changed MovementType as dirty
2019-10-05 14:37:54 +02:00
Ivaylo Draganov
ad02adff3e
Set duplicates flag for hotkeys in HotkeyManager
2019-10-05 13:17:20 +02:00
RoosterDragon
6c9fbd40dc
Implement IEquatable on structs.
...
Any struct which overrides object.Equals(object obj) should implement IEquatable<T> to gain a more efficient Equals(T other) overload. This overload will be used by hashing collections like Dictionary which enables them to check equality without boxing the struct.
2019-09-15 19:56:58 +02:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
Ivaylo Draganov
32309bb8ea
Add duplicate hotkey tracking with a boolean property on the definition
2019-09-15 16:35:18 +02:00
RoosterDragon
31918e8712
Add UnionRectangles extension method.
2019-09-14 22:09:40 +02:00
Paul Chote
999ad0e18a
Convert CustomTerrainDebugOverlay to IRenderAboveShroud.
2019-09-14 18:49:44 +02:00
Paul Chote
a8b1762464
Fix ActorPreviewWidget viewport manipulation.
2019-09-13 11:24:57 +02:00
Paul Chote
ce8112fb5a
Migrate rendering to OpenGL 3.2 / OpenGL ES 3.0.
2019-09-12 18:58:37 +01:00
Paul Chote
1d106e71c4
Save screenshots via the frame buffer.
2019-09-04 20:20:04 +02:00
Paul Chote
c0ee346c1c
Render via an intermediate frame buffer.
2019-09-04 20:20:04 +02:00
Paul Chote
d2298b6f04
Allow FrameBuffer clear color to be customized.
2019-09-04 20:20:04 +02:00
Paul Chote
b93c7cabb3
Render voxels before BeginFrame.
2019-09-04 20:20:04 +02:00
Oliver Brakmann
5d786f411f
Update comment in Activity.cs
...
SequenceActivities() was removed.
2019-09-02 01:45:35 +02:00
teinarss
4dd8472d9b
Reset server after game
2019-08-25 15:30:45 +02:00
Paul Chote
2c24a607bc
Fix Target.Positions returning null for invalid FrozenActors.
2019-08-15 20:13:04 +02:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
Paul Chote
19aea3c07a
Change target line default to "Manual".
2019-08-10 16:03:59 +02:00
Paul Chote
95ca14d4a3
Replace DrawTargetLine checkbox with an Automatic/Manual/Disabled dropdown.
2019-08-10 16:03:59 +02:00
Paul Chote
292196e2d6
Allow left click to cancel AttackMove without clearing selected units.
2019-08-10 13:08:32 +02:00
Ivaylo Draganov
017eca3dc1
Add support for "select all" and "select by type" for multiple players
2019-08-09 22:40:09 +02:00
reaperrr
b0a7865cfa
Reduce Map.Contains(CPos) cost in legacy mods
...
If a mod uses rectangular maps and no height levels,
checking if the CPos is within Bounds
should be enough and cheaper than the whole ToMPos
conversion and checks.
2019-08-07 14:02:18 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01:00
4mfie
ff02b8ba06
Add timestamps to server log files
...
Servers are now writing timestamps to the log files using the the ISO 8601 timestamp format defined in the game server settings.
2019-07-27 10:47:24 +01:00
Andre Mohren
ebc533ed53
Exception should inform which actors causes it.
2019-07-27 10:44:30 +01:00
teinarss
27077d6427
Added CellUpdated event to ActorMap
2019-07-26 15:54:22 +02:00
teinarss
3a17b26405
Creating PlayerMask
2019-07-26 15:54:22 +02:00
teinarss
e06c97bc03
Updated the LineGraphWidget with new layout
2019-07-21 14:23:25 +02:00
tovl
c5558e2145
Remove SequenceActivities.
2019-07-20 23:41:31 +02:00
tovl
3790169db9
Make Tick return bool
2019-07-03 20:42:19 +02:00
tovl
09c1611239
Always check if activity state is Done.
2019-07-03 20:42:19 +02:00
tovl
714b09ac4f
Add default for Activity-Tick
2019-07-03 20:42:19 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
Ivaylo Draganov
c1fc0c1b74
Allow selection priority to be modified using a hotkey
2019-06-29 20:46:12 +02:00
Ivaylo Draganov
c9ff54bfd5
Add hotkey settings panel with a hotkey remap dialog
...
* Add HotkeyDialogLogic.cs
* Add dialog-hotkey.yaml to all mods
* Add `GetFirstDuplicate` method to HotkeyManager to aid in validation
* Add "Player" and/or "Spectator" type to all hotkeys to allow for
validation based on overlapping types
* Change settings.yaml and SettingsLogic.cs to work with the new dialog
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
9783fdaf78
Change the name of Keycode.UNKNOWN to "Undefined"
2019-06-28 12:10:48 +02:00
Ivaylo Draganov
7dfd91bc39
Remove from HotkeyManager hotkeys found in settings.yaml but not in hotkey definitons
2019-06-28 12:10:48 +02:00
teinarss
f325a4d190
Relative mouse pos
2019-06-27 23:34:16 +02:00