Matthias Mailänder
147fb64185
don't crash map preview when the tileset can not be found
...
fixes #3033
2014-01-03 16:07:01 +01:00
Matthias Mailänder
8d9282811b
fixed System.IO.InvalidDataException`: Non-power-of-two array
2013-12-05 19:31:24 +01:00
ScottNZ
86a3e14f2d
Remove constructor base() redundancies
2013-11-12 17:31:55 +13:00
Paul Chote
656476991f
Replace ColorRamp with HSLColor everywhere.
...
Fixes:
* Nuclear-purple color exploit.
* #3247 .
* Removes a bunch of unnecessary color conversions every frame.
Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Paul Chote
a1d2229a58
Remove legacy tooltip code.
2013-04-25 14:03:13 +12:00
Paul Chote
ed9d8fb7f7
Clean up lobby logic and visuals.
2013-04-23 21:35:57 +12:00
Paul Chote
2cb634b8f5
New spawn selector tooltip for C&C.
2013-04-06 14:50:40 +13:00
Paul Chote
995b4c73d9
Force the runtime to prioritize the main thread and keep things smooth.
2013-04-06 02:59:34 +13:00
Paul Chote
8f7940f969
Move threading into the preview generation.
2013-04-06 01:39:05 +13:00
Carko
4395a04d57
Asynchronous loading of map previews in the map chooser dialog
2013-01-18 11:00:56 +13:00
Carko
e10920d4ea
Added the spawnpoint map tooltip that displays players name in the lobby ( closes #2024 )
2013-01-08 22:22:25 +13:00
Chris Forbes
965fe88755
#1284 fixed; don't show spawnpoints on serverbrowser thumbnails
2011-12-31 11:32:59 +13:00
Chris Forbes
7161b8062e
remove useless 'map' arg on ConvertToPreview
2011-10-18 20:55:49 +13:00
Chris Forbes
59fdceb4fd
convert Map.SpawnPoints to int2[]; tidy
2011-10-18 20:34:00 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
a193eeb202
Convert RA mapchooser to use a grid of minimap images
2011-10-08 21:35:46 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
1114293035
Apply consistent widget method names. Semantic change: Widgets that want to tick when !Visible must override TickOuter() instead of Tick().
2011-07-14 20:29:02 +12:00
Paul Chote
bbeaf2047b
Remove OnMouseDown from Widget. Define it on just the widgets that want it.
2011-07-14 20:29:02 +12:00
Paul Chote
6512db14cf
Fix #845 (spawnpoint artwork leaks across mod change)
2011-05-30 22:15:15 +12:00
Chris Forbes
310ecc34ce
clean up usings everywhere
2011-05-21 17:26:18 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
c2db816837
Kill MapStub
2011-02-11 21:50:11 +13:00
Paul Chote
481cc7807b
Don't require a WorldRenderer to draw non-world-rendering widgets.
2011-01-19 20:41:32 +13:00
Paul Chote
5254deedcb
Remove some bogosity from widget mouse handling.
2011-01-05 23:01:17 +13:00
Paul Chote
3e1db3e8ae
Move MapPreviewWidget.HandleInputInner to the lobby delegate.
2011-01-05 22:23:23 +13:00
Paul Chote
fc6438e311
Use Filepaths instead of IFolders where possible.
2010-12-29 21:25:43 +13:00
Paul Chote
fc5830a687
Added int2.Clamp(Rectangle). All queries for map geometry use map.Bounds.
2010-11-24 12:24:48 +13:00
Paul Chote
de8603832f
Use Map.Bounds instead.
2010-11-24 11:12:37 +13:00
Paul Chote
356c750b23
Refactor Package -> MixFile; group filesystem related classes in FileFormats.
2010-11-09 11:02:13 +13:00
geckosoft
380e7e8b20
Core: Made stuff public so people (read: openrg) can have its own lobby, based on the core lobby
2010-11-05 19:48:27 +13:00
Bob
6ea2a06e4b
pass WorldRenderer to Widget.Draw, DrawInner
2010-10-12 17:27:08 +13:00
Bob
cb1deacbb2
pass world into CheckSync. don't pass world into Widget.DrawInner
2010-10-12 17:24:12 +13:00
Bob
14e517cab5
Autoflush renderer. Sprite.DrawAt convenience function.
2010-09-24 18:11:03 +12:00
Paul Chote
8e42dd95fc
RGBASpriteRender doesn't care about palettes
2010-08-25 20:15:44 +12:00
Bob
10b7ece62e
new mapactor init stuff
2010-08-01 19:38:39 +12:00
Chris Forbes
3cd9a1e0e4
fix player color blocks not showing up in MapPreviewWidget
2010-07-30 18:54:46 +12:00
Paul Chote
b8eab0614f
Fix spawn point rendering
2010-07-21 23:49:24 +12:00
Paul Chote
58aed632a1
Add sanity to minimap; part 0
2010-07-21 20:50:40 +12:00
alzeih
2f9f539857
big pile of Render refactoring
2010-07-21 18:59:33 +12:00
alzeih
222b29cec6
Bye Bye Chrome!
2010-07-21 17:57:06 +12:00
alzeih
0ac91d3c5e
Widget IHandleInputs now
2010-07-21 16:51:00 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Paul Chote
84ac8d9d16
Remove some duplication
2010-07-16 19:03:32 +12:00
Paul Chote
45061cdf37
Cleaner attempt at rendering map previews on the fly
2010-07-15 21:16:35 +12:00
Chris Forbes
fed33fdb00
remove plenty of redundant junk
2010-07-14 19:00:03 +12:00
Paul Chote
9ed57cc297
Fix spawnpoint rendering
2010-07-14 12:06:07 +12:00
Paul Chote
f7a6ed78ec
You don't belong there
2010-07-13 23:19:38 +12:00
Paul Chote
f70ac60135
Widget refactoring to support listboxes
2010-07-12 17:41:25 +12:00
Paul Chote
7591434987
Remove hardcoded map references from MapPreviewWidget; prevents information leakage between lobby and map selector and provides groundwork for future patches
2010-07-11 14:25:29 +12:00