diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-05-09 14:31:43 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-05-09 15:09:56 -0600 |
commit | f269d5a68e6a22676c49961c7529b9c00dc90649 (patch) | |
tree | 3ccce636203883c0009146099df9d4854cab2171 /data/graphics | |
parent | 9baedc27191c82bbf1fedee2a7e738bc5b267c0e (diff) | |
download | mana-f269d5a68e6a22676c49961c7529b9c00dc90649.tar.gz mana-f269d5a68e6a22676c49961c7529b9c00dc90649.tar.bz2 mana-f269d5a68e6a22676c49961c7529b9c00dc90649.tar.xz mana-f269d5a68e6a22676c49961c7529b9c00dc90649.zip |
Move target cursor management into ActorSprite
This simplifies handling of target cursors, centralizing their logic into a
single class, instead of two. Also make them more flexible and move the image
files outside of the theme so servers can can control them and give them
better names.
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'data/graphics')
-rw-r--r-- | data/graphics/CMakeLists.txt | 9 | ||||
-rw-r--r-- | data/graphics/Makefile.am | 8 | ||||
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 6 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 6 | ||||
-rw-r--r-- | data/graphics/target-cursor-in-range-l.png (renamed from data/graphics/gui/target-cursor-blue-l.png) | bin | 23803 -> 23803 bytes | |||
-rw-r--r-- | data/graphics/target-cursor-in-range-m.png (renamed from data/graphics/gui/target-cursor-blue-m.png) | bin | 18439 -> 18439 bytes | |||
-rw-r--r-- | data/graphics/target-cursor-in-range-s.png (renamed from data/graphics/gui/target-cursor-blue-s.png) | bin | 8353 -> 8353 bytes | |||
-rw-r--r-- | data/graphics/target-cursor-normal-l.png (renamed from data/graphics/gui/target-cursor-red-l.png) | bin | 25586 -> 25586 bytes | |||
-rw-r--r-- | data/graphics/target-cursor-normal-m.png (renamed from data/graphics/gui/target-cursor-red-m.png) | bin | 17950 -> 17950 bytes | |||
-rw-r--r-- | data/graphics/target-cursor-normal-s.png (renamed from data/graphics/gui/target-cursor-red-s.png) | bin | 8361 -> 8361 bytes |
10 files changed, 17 insertions, 12 deletions
diff --git a/data/graphics/CMakeLists.txt b/data/graphics/CMakeLists.txt index 58d75523..d7e78c30 100644 --- a/data/graphics/CMakeLists.txt +++ b/data/graphics/CMakeLists.txt @@ -1,2 +1,11 @@ ADD_SUBDIRECTORY(gui) ADD_SUBDIRECTORY(images) + +SET (FILES + target-cursor-in-range-l.png + target-cursor-in-range-m.png + target-cursor-in-range-s.png + target-cursor-normal-l.png + target-cursor-normal-m.png + target-cursor-normal-s.png + )
\ No newline at end of file diff --git a/data/graphics/Makefile.am b/data/graphics/Makefile.am index e0003154..babe2b96 100644 --- a/data/graphics/Makefile.am +++ b/data/graphics/Makefile.am @@ -2,3 +2,11 @@ EXTRA_DIST = CMakeLists.txt SUBDIRS = gui images + +EXTRA_DIST = \ + target-cursor-in-range-l.png \ + target-cursor-in-range-m.png \ + target-cursor-in-range-s.png \ + target-cursor-normal-l.png \ + target-cursor-normal-m.png \ + target-cursor-normal-s.png
\ No newline at end of file diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index fc825139..9943fb0f 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -31,12 +31,6 @@ SET (FILES tab.png tab_hilight.png tabselected.png - target-cursor-blue-l.png - target-cursor-blue-m.png - target-cursor-blue-s.png - target-cursor-red-l.png - target-cursor-red-m.png - target-cursor-red-s.png unknown-item.png vscroll_down_default.png vscroll_down_highlight.png diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 6d04666a..04f957b7 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -35,12 +35,6 @@ gui_DATA = \ tab.png \ tab_hilight.png \ tabselected.png \ - target-cursor-blue-l.png \ - target-cursor-blue-m.png \ - target-cursor-blue-s.png \ - target-cursor-red-l.png \ - target-cursor-red-m.png \ - target-cursor-red-s.png \ unknown-item.png \ vscroll_down_default.png \ vscroll_down_highlight.png \ diff --git a/data/graphics/gui/target-cursor-blue-l.png b/data/graphics/target-cursor-in-range-l.png Binary files differindex 77cdf4b6..77cdf4b6 100644 --- a/data/graphics/gui/target-cursor-blue-l.png +++ b/data/graphics/target-cursor-in-range-l.png diff --git a/data/graphics/gui/target-cursor-blue-m.png b/data/graphics/target-cursor-in-range-m.png Binary files differindex c0107357..c0107357 100644 --- a/data/graphics/gui/target-cursor-blue-m.png +++ b/data/graphics/target-cursor-in-range-m.png diff --git a/data/graphics/gui/target-cursor-blue-s.png b/data/graphics/target-cursor-in-range-s.png Binary files differindex 3e81c75d..3e81c75d 100644 --- a/data/graphics/gui/target-cursor-blue-s.png +++ b/data/graphics/target-cursor-in-range-s.png diff --git a/data/graphics/gui/target-cursor-red-l.png b/data/graphics/target-cursor-normal-l.png Binary files differindex 76d2101b..76d2101b 100644 --- a/data/graphics/gui/target-cursor-red-l.png +++ b/data/graphics/target-cursor-normal-l.png diff --git a/data/graphics/gui/target-cursor-red-m.png b/data/graphics/target-cursor-normal-m.png Binary files differindex e2ab79c2..e2ab79c2 100644 --- a/data/graphics/gui/target-cursor-red-m.png +++ b/data/graphics/target-cursor-normal-m.png diff --git a/data/graphics/gui/target-cursor-red-s.png b/data/graphics/target-cursor-normal-s.png Binary files differindex 09195f44..09195f44 100644 --- a/data/graphics/gui/target-cursor-red-s.png +++ b/data/graphics/target-cursor-normal-s.png |