Commit Graph

4398 Commits

Author SHA1 Message Date
abcdefg30
c9837280b9 Merge pull request #8971 from Mailaender/chmod-x
Removed executable bits from random files in the repository
2015-08-06 18:17:22 +02:00
Matthias Mailänder
e428e6d8cc remove executable bits from source code 2015-08-06 18:05:50 +02:00
Matthias Mailänder
6c45763d75 avoid observers being allied to world owning neutral players 2015-08-05 22:35:28 +02:00
Paul Chote
710a32d1ce Extract ScrollPanel tooltip workaround into common code. 2015-08-05 09:11:19 +01:00
Paul Chote
c1fcd5fb47 Prevent shroud from being revealed outside the map cordon.
Fixes #8947.
2015-08-04 23:12:19 +01:00
abcdefg30
3ec874db31 Revert "Sync inherited members."
This reverts commit cfd2f265d5.
2015-08-04 17:24:59 +02:00
abcdefg30
d0fb08a48c Merge pull request #8920 from pchote/fix-map-border
Account for disabled shroud/fog in ShroudRenderer.
2015-08-04 12:27:26 +02:00
abcdefg30
6183691828 Merge pull request #8894 from pchote/fix-projection-init
Lazily initialize cell projection mapping.
2015-08-04 12:13:37 +02:00
Paul Chote
71576f9ab1 Merge pull request #8858 from RoosterDragon/sync-inherited
Sync members of base classes
2015-08-03 21:15:46 +01:00
Paul Chote
0b4543919d Account for disabled shroud/fog in ShroudRenderer.
Fixes #8827.
2015-08-03 21:07:02 +01:00
Paul Chote
3d65ba39f6 Lazily initialize cell projection mapping. 2015-08-02 17:15:39 +01:00
Matthias Mailänder
894f75fb3b provide a more helpful exception 2015-08-02 17:29:44 +02:00
Matthias Mailänder
245d7904fe allow to specify the folder directly in the virtual file system
using folder:file syntax
2015-08-02 17:29:41 +02:00
Oliver Brakmann
9e2f06aa2d Merge pull request #8876 from pchote/music
Refine the music playlist code.
2015-08-02 15:49:13 +02:00
Paul Chote
5f2c62634c Merge pull request #8817 from penev92/bleed_cleanups
Touch up a few files
2015-08-02 09:30:43 +01:00
Paul Chote
9b3ef9e7f7 Move MusicPlaylist to Mods.Common. 2015-08-01 22:56:07 +01:00
Zimmermann Gyula
1d80c37fda Add support for hiding music tracks. 2015-08-01 22:41:25 +01:00
Pavel Penev
244ca10242 Merge pull request #8862 from pchote/fix-rotation-hack
Disable legacy coordinate hack in TS.
2015-08-01 23:04:08 +03:00
Paul Chote
a8ddc4e360 Always start the game with a random song.
This fixes the issue where games will always start
with shellmap theme.
2015-08-01 20:52:20 +01:00
Paul Chote
fb0e2c5cc3 Introduce background music concept. 2015-08-01 20:52:20 +01:00
Taryn Hill
6fa1f757b0 Add Map.DistanceAboveTerrain(WPos) and Actor.IsAtGroundLevel() extension method 2015-08-01 11:48:47 -05:00
abcdefg30
5e3d600408 Fix a crash in LaunchArguments when switching mods 2015-08-01 13:45:41 +02:00
Paul Chote
a0e92093a1 Fix the WPos <-> CPos conversion.
Fixes #8463.
2015-08-01 11:09:07 +01:00
Matthias Mailänder
7c86519242 organize launch arguments in it's own class 2015-08-01 11:56:45 +02:00
Matthias Mailänder
baa798d831 autogenerate and install a UNIX man page 2015-08-01 11:56:43 +02:00
Matthias Mailänder
ec7912eaac remove unused variable 2015-08-01 11:55:46 +02:00
Paul Chote
9a64b8724c Disable local -> world offset hack in TS. 2015-08-01 00:42:59 +01:00
RoosterDragon
cfd2f265d5 Sync inherited members. 2015-07-31 22:04:43 +01:00
Paul Chote
d29519fca1 Implement height-aware map.ChooseClosestEdgeCell(). 2015-07-31 08:38:07 +01:00
Paul Chote
05f41a0182 Implement height-aware map.DistanceToEdge(). 2015-07-31 08:38:07 +01:00
Paul Chote
318d6aaa73 Implement height-aware map.ChooseRandomEdgeCell(). 2015-07-31 08:38:07 +01:00
Paul Chote
e337710221 Implement height-aware map.ChooseRandomCell(). 2015-07-31 08:38:06 +01:00
Paul Chote
13e0527f7c Implement height-aware map.Clamp(MPos). 2015-07-30 08:18:45 +01:00
Paul Chote
2c00019715 Revert "Temporarily work around RadarWidget corruption."
This reverts commit 4bc75f1ed6.
2015-07-30 08:18:45 +01:00
Paul Chote
54a80ed035 Include additional preview to prevent cutoff.
Fun fact: The original TS sidestepped this issue
by rendering everything outside the cordon, which
looks much worse than what we do here.
2015-07-29 20:44:44 +01:00
Paul Chote
af69370c17 Improve lobby minimap display for isometric maps.
Also extracts a trait query from inside a tight loop to save unnecessary work.
2015-07-29 20:44:44 +01:00
James
8468ce5fe6 added InstallShield CAB Extractor 2015-07-29 08:18:26 +01:00
Oliver Brakmann
dff56f6c20 Merge pull request #8781 from pchote/heightmap-shroud
Add plumbing for heighmap-aware shroud and map bounds checks.
2015-07-28 15:35:51 +02:00
Pavel Penev
7701980b76 Simple code style cleanups 2015-07-28 14:21:17 +03:00
Pavel Penev
9801d89e75 Merge pull request #8813 from pchote/fix-bounds-checks
Replace map.Contains with proper array bounds checks.
2015-07-28 04:27:53 +03:00
Paul Chote
4bc75f1ed6 Temporarily work around RadarWidget corruption. 2015-07-27 20:20:01 +01:00
reaperrr
89f3718aa7 Move Armor trait to Mods.Common 2015-07-27 21:12:03 +02:00
Paul Chote
86ba26e013 Convert shroud calculations and rendering to PPos. 2015-07-27 19:34:50 +01:00
Paul Chote
e8794032e0 Introduce initial PPos plumbing.
PPos is best thought of as a cell grid applied in
screen space.  Multiple cells with different
terrain heights may be projected to the same PPos,
or to multiple PPos if they do not align with the
screen grid.

PPos coordinates are used primarily for map edge
checks and shroud / visibility queries.
2015-07-27 19:34:49 +01:00
Paul Chote
fb5bcd3889 Extract MapCoordsRegion from CellRegion. 2015-07-27 19:34:39 +01:00
Paul Chote
2b3c65334d Correct Contains check in ActorMap. 2015-07-27 18:43:51 +01:00
Oliver Brakmann
4de03e991c Remove revealing views from observer mode in missions 2015-07-25 20:51:39 +02:00
Oliver Brakmann
a725d63b0c Remove World.ObserveAfterWinOrLose
Fixes RenderPlayer for "All Players" view.
2015-07-25 18:56:24 +03:00
deniz1a
ef143e5f8a Freezes map after game ends.
Adds newline.

Disables keyboard hotkeys for units after game ends.
2015-07-25 18:56:23 +03:00
Oliver Brakmann
8c766a4a79 Merge pull request #8721 from penev92/bleed_rename
Some more Country -> Faction renaming
2015-07-25 17:10:35 +02:00