Matthias Mailänder
d830a0a7ae
Merge pull request #6029 from pchote/gametomods
...
Move *Renderables and Render* out of Game.
2014-07-23 06:54:42 +02:00
Paul Chote
3744a1af25
Revert "Make Shift+<Hotkey> queue five units/buildings. Fixes #5544."
2014-07-22 20:16:47 +12:00
Paul Chote
51abbad5ff
Move RenderSprites and RenderSimple into Mods.RA.
2014-07-22 16:43:39 +12:00
Pavlos Touboulidis
b88b87b899
Improve game loop
...
Environment.TickCount was replaced with Game.RunTime that's based on
Stopwatch for increased accuracy.
2014-07-10 04:06:29 +03:00
Oliver Brakmann
ab4a9388ce
Change defaults for the production palette's ready sign
...
Default is now to blink alternating between white and gold.
2014-07-09 12:09:44 +02:00
Paul Chote
8b01ed034b
Restore blinking ready label in RA.
2014-07-09 21:08:00 +12:00
Paul Chote
15ec2b40f2
Merge pull request #5890 from Mailaender/negative-spawns-crash-fix
...
Made GetSpawnOccupants more robust against invalid list queries
2014-07-09 20:48:12 +12:00
Matthias Mailänder
5a891daa59
make GetSpawnOccupants more robust against invalid list queries
...
fixes #5588
2014-07-09 06:21:59 +02:00
Paul Chote
5650d5fc98
Revert "use TickRender() for RenderSprites and PaletteModifier"
...
This reverts commit 87fd576b26 .
2014-07-08 11:09:54 +12:00
Paul Chote
802b6a652c
Revert "new PauseState to differentiate game and editor pausing"
...
This reverts commit d1e18cad7a .
2014-07-08 10:42:00 +12:00
Paul Chote
ad375c5734
Reorganize news parsing. Fixes #5647 .
2014-07-07 22:23:04 +12:00
Paul Chote
c352ff644f
Use a shared url for news updates. Fixes #5603 .
2014-07-07 21:48:07 +12:00
Matthias Mailänder
fe41ac7fa3
@pchote breaks all the things
2014-07-06 14:45:05 +02:00
Matthias Mailänder
443b46ca64
fix Tiberian Sun installation from CD
2014-07-06 14:04:26 +02:00
Paul Chote
3f7293b206
Let FieldLoader do the hard work of loading fields.
2014-07-06 14:04:26 +02:00
Matthias Mailänder
038146abb3
prevent flickering
2014-07-06 14:04:26 +02:00
Matthias Mailänder
2f55768c1b
restart the game instead of unmounting on the fly
...
avoid more redundancy between the load screens
2014-07-06 14:04:26 +02:00
Matthias Mailänder
7b5e072994
unmount all to avoid write permission problems
...
fight the new caching mechanism and M$ WindowsTM file systems
2014-07-06 14:04:25 +02:00
Matthias Mailänder
dbb4132b66
add TrimOrEmpty to avoid NREs
2014-07-06 14:04:25 +02:00
Matthias Mailänder
cc64b41246
fix Tiberian Dawn CD rip logic
...
closes #4424
2014-07-06 14:04:25 +02:00
Matthias Mailänder
57a631c284
rebase bit rot crap
2014-07-06 14:04:25 +02:00
Matthias Mailänder
7783e988a7
unify music install and add a download option
...
closes #4759
2014-07-06 14:04:25 +02:00
Matthias Mailänder
14f71c55bf
unify install from CD logic
2014-07-06 14:04:25 +02:00
Matthias Mailänder
351c759793
separate content install from loadscreen
2014-07-06 14:04:25 +02:00
Matthias Mailänder
d1e18cad7a
new PauseState to differentiate game and editor pausing
2014-07-06 08:24:08 +02:00
Matthias Mailänder
87fd576b26
use TickRender() for RenderSprites and PaletteModifier
2014-07-06 08:24:08 +02:00
Matthias Mailänder
13e0dac141
execute chat commands only locally
...
fixes #5755
2014-07-04 18:18:33 +02:00
Pavlos Touboulidis
d1251d412f
Instant filtering by file name in the asset browser
2014-07-04 16:33:26 +03:00
RoosterDragon
3a30748f05
Reduce working set by releasing buffers for sheets.
...
Sheets carry a managed buffer of data that allows updates to be made without having to constantly fetch and set data to the texture memory of the video card. This is useful for things like SheetBuilder which make small progressive changes to sheets.
However these buffers are often large and are kept alive because sheets are referenced by the sprites that use them. If this buffer is explicitly null'ed when it is no longer needed then the GC can reclaim it. Sometimes a buffer need not even be created because the object using the sheet only works on the texture directly anyway.
In practise, this reduced memory consumed by such buffers from ~165 MiB to ~112 MiB (at the start of a new RA skirmish mission).
2014-07-02 17:25:56 +01:00
Paul Chote
a30c8b53a7
Add support for diamond cell grids.
2014-06-30 23:44:23 +12:00
Matthias Mailänder
7fa51712ec
Merge pull request #5758 from pchote/cell-world-conversions
...
Generalize cell/world coordinate conversions.
2014-06-28 08:27:18 +02:00
RoosterDragon
7030d8b2b6
Changed HardwarePalette.ApplyModifiers to be more efficient.
...
- Add separate ImmutablePalette and MutablePalette classes since the distinction is extremely important to HardwarePalette.
- Keep a cache of palettes in HardwarePalette to avoid reallocation them every time ApplyModifiers is called.
- Palettes that are not allowed to be modified are copied to the buffer once when added, rather than every time ApplyModifiers is called.
- The AdjustPalette method now takes a read-only dictionary to prevent the dictionary being messed with.
- Added a constant for the palette size to remove its usage as a magic number in several areas.
- The ColorPreviewManagerWidget is annoying in that it needs to actually permanently update a palette after it has been added. To allow this, HardwarePalette now allows a palette to be replaced after initialization. The WorldRenderer therefore now also updates the PaletteReference it created earlier with the new palette to prevent stale data being used elsewhere.
2014-06-28 01:11:48 +01:00
Matthias Mailänder
7fa8cc10e9
Merge pull request #5763 from obrakmann/build-shift+keypress
...
Make Shift+<Hotkey> queue five units/buildings. Fixes #5544 .
2014-06-27 22:18:50 +02:00
Paul Chote
a256e722d5
Remove conversions between legacy and world types.
2014-06-27 23:30:41 +12:00
Paul Chote
9487f49cd5
Replace WPos.ToCPos -> Map.CellContaining.
2014-06-27 23:30:40 +12:00
Paul Chote
7b52fa52b6
Replace CPos.CenterPosition -> Map.CenterOfCell.
2014-06-27 23:30:40 +12:00
Paul Chote
4db2cf6b2b
Propagate race to produced actors.
2014-06-26 23:14:14 +12:00
Paul Chote
2af123034d
Use ExtraData for SetStance and SetUnitStance.
2014-06-26 23:14:13 +12:00
Paul Chote
7d24053f52
Introduce Order.SuppressVisualFeedback to cleanly disable flashes.
2014-06-26 23:14:13 +12:00
Paul Chote
7b3a0ebeb5
Tidy production traits.
2014-06-26 23:14:10 +12:00
Paul Chote
d4227fa13e
Fix production tooltip display.
2014-06-26 23:12:23 +12:00
Oliver Brakmann
0ff66949fb
Make Shift+<Hotkey> queue five units/buildings. Fixes #5544 .
2014-06-24 19:41:20 +02:00
Paul Chote
177dd02cd1
Merge pull request #5628 from pavlos256/smooth-scrolling
...
Add smooth scrolling to the ScrollPanelWidget
2014-06-23 21:46:50 +12:00
Matthias Mailänder
52e2b83069
add the JUNGLE terrain to Tiberian Dawn
...
http://cnc-comm.com/community/index.php?topic=2880.0
2014-06-21 19:13:31 +02:00
Pavlos Touboulidis
628c524494
Add smooth scrolling to the ScrollPanelWidget
2014-06-21 16:41:56 +03:00
Paul Chote
5760e665d3
Clean up map previews. Fixes #5665 .
2014-06-21 21:15:11 +12:00
Paul Chote
a6cb60e583
Merge pull request #5646 from Mailaender/replay-dropdown-polish
...
Polished the Replay Browser dropdowns
2014-06-21 01:23:33 +12:00
Matthias Mailänder
3e627d2eba
rename ore to the more generic name resources everywhere
2014-06-20 11:11:31 +02:00
Matthias Mailänder
0e1f98c2a9
Merge pull request #5600 from RoosterDragon/auto-restart
...
Offer user quick restart if settings change
2014-06-20 08:56:08 +02:00
noyanbaykal
54e53a1306
Changed spaces to tabs
2014-06-19 13:20:55 -04:00