Commit Graph

2735 Commits

Author SHA1 Message Date
Joppy Furr
07273fa666 Add support for Tiberian Sun style right-click-and-drag scrolling
This patch introduces support for the right-click-and-drag scrolling that
is available in Tiberian Sun and Red Alert 2. It can be enabled by
selecting "Joystick" scrolling in the Input settings.

The speed of the scroll is proportional to the product of the distance of
the drag, and the Scroll Speed selected in the Input settings menu.

A side-effect of this is that events previously tied to right clicks on
the world are now based on the release of the click rather than the press.

The "Middle-Mouse Scrolling:" option is renamed
to "Mouse Scrolling Method:"
2015-10-04 16:22:55 +13:00
Oliver Brakmann
9940efd3cb Merge pull request #9483 from reaperrr/cleanup-assets
Clean up assets
2015-10-03 12:37:55 +02:00
reaperrr
2ae0694385 Merge pull request #9054 from penev92/bleed_aircraft
Merge Plane and Helicopter traits
2015-10-03 01:52:30 +02:00
Huw Pascoe
cfd179b0c6 Added warhead visualization to combat debug overlay. 2015-10-02 02:48:21 +01:00
atlimit8
dc1e48556d Merge pull request #9464 from clemty/playername
TD: Lua replace GDI/Nod player reference variables with player/enemy variables
2015-10-01 17:57:27 -05:00
Oliver Brakmann
07d7df0345 Merge pull request #9485 from clemty/n64gdi01fix
Fix crash in cnc64gdi01
2015-10-01 23:38:01 +02:00
clemty
6a3b558227 Fix crash in cnc64gdi01
apparently helicopters can't .Hunt()
I introduced the bug late in testing, so it didn't trigger in review
on the plus side, AI will now attack you from a random direction
2015-10-01 23:00:01 +02:00
Oliver Brakmann
3f32730143 Merge pull request #9478 from clemty/pngcrush
PNG file size reduction
2015-10-01 20:18:21 +02:00
Pavel Penev
1ab2a781f1 Add an upgrade rule for Helicopter removal 2015-10-01 20:15:45 +03:00
Pavel Penev
d55541c5f8 Add an upgrade rule for Plane removal 2015-10-01 20:15:43 +03:00
Pavel Penev
a31302116c Merge pull request #9475 from clemty/yaml-cleanup
TD mission yaml fixes
2015-09-30 16:09:44 +03:00
reaperrr
3049fa07e0 Remove cursor.pal from TD bits 2015-09-30 01:56:11 +02:00
clemty
76de14b6f5 PNG file size reduction
run pngcrush -brute on *.png

before:
 70 File(s)      3.455.140 bytes

after:
 70 File(s)      2.616.088 bytes
2015-09-29 20:47:36 +02:00
Oliver Brakmann
8c6872fff0 Merge pull request #9387 from pchote/mission-gamespeed
Add game speed dropdown to the mission browser.
2015-09-28 21:05:30 +02:00
clemty
43590e5a67 TD yaml fixes 2015-09-28 20:18:06 +02:00
clemty
62bad226e5 N64 Special Ops - GDI 1 2015-09-27 22:41:15 +02:00
clemty
6e315a815c replace GDI/Nod player reference variables with player/enemy
fixes unit production in nod02a and nod02b (killed infantry wouldn't get rebuilt)
2015-09-27 21:18:10 +02:00
Paul Chote
36b5eb651e Rename Default game speed to Normal. 2015-09-27 10:28:34 +01:00
Paul Chote
3322f34e7b Add game speed option for missions. 2015-09-27 10:28:34 +01:00
Pavel Penev
642468ce0c Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
atlimit8
49d351bf22 Merge pull request #9417 from clemty/topleft
Reduce use of Map.Topleft and Map.Bottomright
2015-09-26 14:36:22 -05:00
RoosterDragon
e016227ddf Merge pull request #9327 from Mailaender/bridge-render-sizes
Fixed bridge rendering glitches
2015-09-26 19:54:43 +01:00
Paul Chote
7ceb283034 Merge pull request #9263 from penev92/assetInstallation
Move asset installation to the ModChooser
2015-09-26 10:40:04 +01:00
abcdefg30
e7c62b070b Add an upgrade rule for the seconds -> ticks change
and update the default mods
2015-09-25 17:00:06 +02:00
abcdefg30
7fd3ae7db9 Adjust the dropzone maps 2015-09-25 16:53:44 +02:00
Pavel Penev
059769de76 Merge pull request #9346 from reaperrr/fix-silo-preview
Fixed silo placement preview
2015-09-25 16:26:21 +03:00
Pavel Penev
b26e622bee Merge pull request #9284 from clemty/newtiles
TD: Add additional desert tiles (work originally by psydev)
2015-09-25 16:20:05 +03:00
reaperrr
522e7d5d04 Add custom sequence support to WithSiloAnimation
Additionally add description to Stages property, and remove unnecessary var (information is only needed once anyway).
2015-09-25 14:26:21 +02:00
clemty
d4e1b1ba48 reduce use of Map.Topleft and Map.Bottomright as requested in #8549 2015-09-24 21:03:36 +02:00
reaperrr
5b5164211e Rename WithMuzzleFlash to WithMuzzleOverlay 2015-09-24 20:23:31 +02:00
Pavel Penev
c41446e022 Merge pull request #9139 from Mailaender/editor-cash-counter
Added a total resource cash counter to the map editor
2015-09-24 15:07:15 +03:00
Pavel Penev
32ed7ca416 Merge pull request #9257 from reaperrr/incr-harv-radius
Increased harvester search radii
2015-09-24 12:32:53 +03:00
Pavel Penev
60fee57f75 Remove obsolete installation UI YAML files from the official mods 2015-09-23 15:33:08 +03:00
Pavel Penev
4401e1aa0c Pipe mod music installation through the ModChooser 2015-09-23 15:33:03 +03:00
Pavel Penev
cb0ccbac50 Add paths to TestFiles
File checks for existing files don't work otherwise.
2015-09-23 15:32:41 +03:00
Pavel Penev
d472805fc6 Add mod asset checks to ModBrowserLogic 2015-09-23 15:32:37 +03:00
Pavel Penev
19388fd773 Add ButtonBaseLine metric 2015-09-23 15:32:29 +03:00
Matthias Mailänder
c3dce785a5 add custom selection sizes to aid the renderer 2015-09-20 14:58:39 +02:00
Paul Chote
141575fc45 Merge pull request #9339 from reaperrr/sbag-fence
Makes only concrete walls block fire
2015-09-20 11:57:04 +01:00
Matthias Mailänder
fea59346a5 add a total resource cash counter to the map editor 2015-09-19 18:21:07 +02:00
atlimit8
de7f5a4288 Make Range WDist for all traits with circular ranges. 2015-09-19 11:02:28 -05:00
reaperrr
6b0816d68f Increase default harvester resource search radius
While this slightly decreases performance per search, it reduces the
chance of search-fail-repeat loops on human-controlled and singleplayer AI
harvesters as well as the chance of the more expensive fallback search on skirmish bot harvesters.
2015-09-16 17:37:24 +02:00
reaperrr
42a4722ebc Make only concrete walls block fire in TD 2015-09-16 00:51:40 +02:00
abcdefg30
f78aea4f90 Merge pull request #8636 from Mailaender/irc
Added the in-game IRC client again
2015-09-13 17:14:36 +02:00
reaperrr
8cae4ee982 Merge pull request #9280 from clemty/nod05build
Nod05: fix unit production
2015-09-11 15:06:07 +02:00
Matthias Mailänder
dae3b62d2a add a simple in-game IRC client 2015-09-09 20:56:05 +02:00
Pavel Penev
20fe9a9ff2 Merge pull request #9255 from pchote/gamespeed
Add a game speed dropdown to the lobby options.
2015-09-09 18:14:05 +03:00
reaperrr
7c7506fafb Merge pull request #9096 from deniz1a/hide-crate
Hides crates under fog.
2015-09-07 22:35:46 +02:00
reaperrr
96c7d4345e Renamed WaterPaletteRotation to RotationPaletteEffect 2015-09-06 19:25:12 +02:00
reaperrr
ca055eb7bb Refactored WaterPaletteRotation
Moved RotationBase from tileset definition to WaterPaletteRotation effect.
Unhardcoded rotation range and rotation rate.
Added possibility to exclude Tilesets from effect.

Fixed RA water palette rotation for actors on desert maps (#8872).
2015-09-06 19:25:10 +02:00