Commit Graph

2956 Commits

Author SHA1 Message Date
Paul Chote
78fe3fb702 Convert Keycode to match SDL2. Fixes #4055. 2013-11-05 18:01:35 +13:00
Matthias Mailänder
6f8e78761c StyleCop cleanup 2013-11-02 23:18:23 +01:00
Matthias Mailänder
21b7d0eadb loop all orders only once 2013-11-02 23:18:19 +01:00
Matthias Mailänder
6b0238a6cc don't stack flashes and filter non unit actor related orders 2013-11-02 18:29:54 +01:00
Matthias Mailänder
e0e3f1155a avoid additional layers of abstraction 2013-11-02 18:12:46 +01:00
Matthias Mailänder
05eae2c890 only use Self for internal self references 2013-11-02 18:03:55 +01:00
Matthias Mailänder
be1ab707c5 separate TargetFlash from DrawLineToTarget 2013-11-02 18:03:55 +01:00
Matthias Mailänder
73750f5a7c StyleCop cleanup 2013-11-02 18:03:55 +01:00
Matthias Mailänder
b1c3ac20bf brought back the MoveFlash
closes #2592
2013-11-02 18:03:49 +01:00
ScottNZ
9eff54c217 Add MAD Tank and InvalidTargets field to WeaponInfo 2013-11-02 17:19:08 +13:00
ScottNZ
d74c54d9f7 Add shake multiplier value to ScreenShaker 2013-11-02 17:19:08 +13:00
Matthias Mailänder
fc808fe069 Merge pull request #4036 from pchote/aircraft-polish
C&C aircraft polish.
2013-11-01 14:17:23 -07:00
Paul Chote
d7effe71da Add squad and quantisation support to AirstrikePower. 2013-11-01 17:45:21 +13:00
Paul Chote
f1f032dbb8 Don't crash if trying to check targets outside the map. 2013-11-01 17:45:21 +13:00
Matthias Mailänder
c62788a9a6 Merge pull request #4031 from pchote/sdl2
Add a SDL2-GL renderer.
2013-10-31 11:48:50 -07:00
Paul Chote
212f07f890 Add a helper for finding the map edge in a given direction. 2013-10-31 21:29:50 +13:00
Paul Chote
1870e31662 Double clicking a map in the chooser now selects it. 2013-10-31 08:46:16 +13:00
Paul Chote
d1c9c6d76d Split text input into its own event. 2013-10-30 20:08:02 +13:00
Matthias Mailänder
74692bde66 load maps only from MapFolders defined separately in mod.yaml 2013-10-27 09:22:10 +01:00
Matthias Mailänder
c87c4cfda2 translate ^ and ~ as FileSystem.Mount does 2013-10-27 08:02:05 +01:00
Matthias Mailänder
32851e624c specify map folders in mod.yaml
closes #3544
2013-10-27 08:02:05 +01:00
Paul Chote
64a229d339 Polish SliderWidget:
- Keep thumb within the EventBounds.
- Fix tick rendering.
2013-10-25 08:31:34 +13:00
Paul Chote
94554d7678 Support nested scissor rectangles. 2013-10-25 08:31:34 +13:00
Paul Chote
b31daf23ca Blink the KeyboardEntryWidget on focus. 2013-10-25 08:31:34 +13:00
Matthias Mailänder
e912aa63ed Merge pull request #3983 from pchote/polish-chat-input
Polish chat input.
2013-10-24 10:25:23 -07:00
Paul Chote
11b34884cc Use the newly polished text entry in C&C. 2013-10-24 20:02:17 +13:00
Paul Chote
15de893cec Clean up chat input.
- Team chat by default; use tab key or button to change.
- Removed "Use RETURN key..." prompt.
- Remove jarring transition between display and entry modes.
- Scroll to bottom on opening entry mode.
- Disable any/team toggle for spectators.
- Minor spacing/padding tweaks.
- Code cleanup.
2013-10-24 20:02:17 +13:00
Paul Chote
4814c0541e Replace cash tick options with a simple on/off. 2013-10-23 19:37:09 +13:00
Paul Chote
cfb6e149b3 Support bottom-aligned scroll panels. 2013-10-22 21:51:23 +13:00
Matthias Mailänder
c5c518dbce Merge pull request #3969 from pchote/hotkeys
Improved hotkey support
2013-10-21 13:53:43 -07:00
Paul Chote
7ffbfb9b7e Add a Hotkey class for user-configurable keys. Fixes #3779.
Users can now define and use hotkeys that include modifiers (ctrl/meta/shift/alt).
2013-10-22 09:14:05 +13:00
Matthias Mailänder
5803661d83 Merge pull request #3974 from pchote/frozen-actor-fix
Fix bogus screen-map queries.
2013-10-21 11:43:41 -07:00
Paul Chote
aab6fec68b Remove VirtKey and KeyName. 2013-10-21 20:24:24 +13:00
Paul Chote
03c4c476f1 Use scale in RenderSimple.RenderPreview. Fixes #3970. 2013-10-21 18:52:29 +13:00
Paul Chote
33f514001e Fix viewport-px / world-px confusion in ScreenMap. Fixes #3964. 2013-10-21 17:57:53 +13:00
Paul Chote
bb8f4494f5 Merge pull request #3938 from Mailaender/game-id
Added a Game ID and print it to syncreport.log
2013-10-17 22:51:27 -07:00
Matthias Mailänder
eff943b3eb added OS and Mono/.NET runtime version to syncreport.log 2013-10-17 20:54:58 +02:00
Matthias Mailänder
70ba7fe5f6 added OpenRA, OS and .NET/Mono runtime version to exception.log 2013-10-17 20:39:41 +02:00
Matthias Mailänder
8c8df3bda9 expose Game ID and client player name to syncreport.log 2013-10-17 20:36:17 +02:00
Matthias Mailänder
353393571f added a Game ID
closes #2570
2013-10-17 20:36:17 +02:00
Matthias Mailänder
f21f314bfe avoid magic number for replay duration calculation 2013-10-16 21:09:45 +02:00
Matthias Mailänder
39c7843654 Merge pull request #3944 from pchote/sound-fix
Fix bogus sound attenuation.
2013-10-16 07:54:13 -07:00
Paul Chote
59f5c8ed52 Fix the pip/tag/group decoration size when zooming. 2013-10-16 19:12:59 +13:00
Paul Chote
3ef6a8317a Remove Game.Zoom. 2013-10-16 18:21:46 +13:00
Paul Chote
96d37df4b3 Restore original sound parameters. Fixes #3919. 2013-10-16 17:53:40 +13:00
Paul Chote
84bb78060f Don't zoom UI lines when pixel doubling. 2013-10-15 11:19:16 +13:00
Paul Chote
44dd801f16 Extract shared constants in Draw*Bar and DrawSelectionBox. 2013-10-15 10:45:51 +13:00
Paul Chote
483120ea20 Extract DrawTargetMarker to WorldRenderer. 2013-10-15 10:45:51 +13:00
Paul Chote
839419635d Improve contrasted range circle rendering. 2013-10-15 10:45:51 +13:00
Paul Chote
d2d73a32a2 Automatically flush line renderer when changing width. 2013-10-15 10:45:51 +13:00