Commit graph

75 commits

Author SHA1 Message Date
Wedge009
8863f5370b Change game_created event sound to join.wav on @stevecotton's suggestion. 2019-08-26 15:36:34 +10:00
Wedge009
c803517ce3 Address comments against #3246 in order to resolve #2016.
* Remove unused notify_mode.NOTIFY_COUNT.
* Remove obsolete comment against mp_ui_alerts::items.
* Remove unused is_lobby parameter in mp_ui_alerts::game_created().
* Synchronise game_created sound in game_config.cfg with game_config.cpp.
2019-08-26 15:36:34 +10:00
Iris Morelle
83a3c43100 Re-add server2.w.o to the built-in list of alternate servers
See issue #3873.

[ci skip]
2019-02-11 03:52:42 -03:00
Charles Dang
a928ca7d3a Disable server2 and server3 options (closes #3873)
We might be able to enable these again, so just commenting out the options for now.
2019-01-15 12:12:39 +11:00
Jyrki Vesterinen
e58e57d1d0 Hide battery status if the device doesn't have a battery
The strategy is two-fold. We move the rendering of the icon into the
battery status report where it can be disabled at runtime, and allow the
countdown/clock to move to the position of the battery status if the device
doesn't have a battery. I also moved rendering of the clock icon to the
time report to allow the icon to move together with the text.

I needed to change theme::status_ to store pointers to status items because
otherwise the countdown object loses its type when inserted to the map. And
to be able to use std::unique_ptr inside the theme class, I had to make the
class non-copyable and movable.
2018-08-21 18:56:28 +03:00
Charles Dang
d04c444f2d Wired in new game theme music
[ci skip]
2018-02-21 20:14:20 +11:00
Charles Dang
0fef006c66 Revert gold laurel name change from 74cff96475
[ci skip]

I noticed some addons referred to this image path. No need to break those.
2017-09-11 22:50:43 +11:00
Celtic Minstrel
74cff96475 Vary victory laurel in campaign select, depending on the difficulty beaten at
(No change to the laurel in difficulty select.)
2017-08-14 12:36:08 -04:00
Celtic Minstrel
4c5bf2dae2 Auto-build default team colors list 2017-05-05 21:26:28 -04:00
Celtic Minstrel
b0510bfdc7 Load valid zoom levels from [game_config] 2017-05-05 18:13:48 -04:00
Charles Dang
664392728f Fixup comment in 4d62f42 because apparently I cannot English 2017-03-11 14:54:59 +11:00
Charles Dang
4d62f42817 Reorder default color list to match the tag order in core/team-colors.cfg
This fixes the underlying cause of bug# 25462. The index disparity causes incorrect results if any index
from this list was used for coloring.
2017-03-11 14:47:45 +11:00
Charles Dang
396267c900 Game Config: added default_color_list= key
This key contains the color range ids of the standard colors in the default order.

Previously, classes such as the connect_engine would have to cast ints to strings and browse for the numerically id-ed
color ranges. Consequently, since there are only 9 ranges identified by that method, 9 became a hardcoded number of
colors in certain places. This key allows for greater control over order and content of the default colors.
2016-10-12 01:04:05 +11:00
Celtic Minstrel
b295aab4ba Deprecate {MAGENTA_IS_THE_TEAM_COLOR}
The magenta colour is now the default flag_rgb colour if one is not specified.
2016-08-05 00:49:39 -04:00
dorng
c67538f93d [game_config]: new keys for logo
remove hardcoded path for logo image
add 'game_logo' & 'game_logo_background' keys in [game_config]
this allows [core] authors to define their own game logo to appear on the title screen
this does not (yet) affect the loadscreen
2016-06-16 00:15:53 +02:00
Celtic Minstrel
38ddbb98f2 Preferences: Reimplement orb color options 2016-02-18 01:13:10 -05:00
ln-zookeeper
632b7f3a63 Defined slow/poison/petrify status sounds (same as hardcoded defaults) 2015-09-08 12:25:22 +03:00
Charles Dang
ab83f36bd0 Change titlescreen music to Journey's End 2015-03-08 14:19:39 +11:00
Boldizsár Lipka
a7f4849836 Change title screen music to transience.ogg. 2015-01-09 13:22:07 +01:00
Chris Beck
97b654beff add and use zookeeper's start of game sound for mp
thanks zookeeper!
2014-11-14 11:56:32 -05:00
Chris Beck
634ff7a2bb add the sound entries to the data/game_config.cfg file
These are the same as the default values in the C++, so this is
not a substantive change. But if a user is trying to figure out
how to reconfigure their sounds, the presence of these entries
might help them.
2014-10-12 01:14:55 -04:00
fendrin
1e5d58af6a Made the orb and minimap colors configurable by the preferences. 2014-03-15 14:37:16 +01:00
fendrin
138e9dc3e4 Changed orb colors of enemy and moved units. 2013-11-30 08:35:45 +01:00
Emilien Rotival
e087bbfa59 Add 2 new TC shades ("Bright orange" and "Light blue") and apply them to the part-moved & ally orb
The existing "Blue" TC rendered a orb that looked too much like the black one.
Same with existing orange vs. red.
2013-06-11 23:28:44 +02:00
Emilien Rotival
10e61be88d Add a new TC shade ("Bright green") and apply to the unmoved orb
The existing "Green" TC was darker than the old unmoved orb artwork, which made the recolored orb difficult to spot against a green background.
2013-06-11 14:43:30 +02:00
fendrin
2dff1967bf New orb image wired in. 2013-06-09 08:47:10 +02:00
Boldizsár Lipka
d5b1e386e3 Wire in maps/titlescreen.png as game_title.
The old image (maps/wesnoth.png) is still there
but is no longer used for the title screen.
2013-03-04 12:08:10 +00:00
Boldizsár Lipka
9575893446 Wire in the new wooden background as game_title_background. 2013-03-03 20:54:22 +00:00
Jérémy Rosen
dc02698fa8 change syntax of square bracket animations, ~ is not used for range 2013-01-30 21:37:44 +00:00
Jérémy Rosen
5662cbcc38 new syntax for animation lines, simplifies mainline WML quite a bit.
patch by Coffee
2013-01-26 22:33:51 +00:00
Fabian Müller
c975dd6d1a Made the hex field size and the default terrain wml configurable. 2012-09-08 20:15:39 +00:00
Silas Brill
f806b61e80 Applied patch #1381: Configurable village support
This differs from the original patch in that the minimum village
support for multiplayer is 0, not 1.
2012-04-30 21:52:38 +00:00
Ali El Gariani
98ec7151a2 Fix lingering dead code for brightened hexes.
It was disabled since the new golden hex cursor. Also rename
"semi-brightened" (still used for editor selection) as "brightened"
2011-12-11 17:04:30 +00:00
Fabian Müller
beb7fde5e9 Copy and pasted a method similar to red_to_green, called blue_to_white. 2011-09-29 23:32:56 +00:00
Mark de Wever
16b7fdea0c Remove some dead title screen code.
Ivanovic spotted it while evaluting the small gui code.
2011-02-13 18:41:38 +00:00
Nils Kneuper
ea138d748f "tiny gui support"-removal part 4:
basic removal from config files (not from GUI2 specific stuff!)

TODO: remove tinygui from scons build system and consider if removing
"smaller res" support should be removed from GUI2 config files
2011-02-12 16:41:14 +00:00
Gunter Labes
fdbd071b62 Readded ellipsis key accidentally removed in 2010-09-09T15:04:17Z!alinkmaze@gmail.com. 2010-11-14 01:11:46 +00:00
Mark de Wever
59e3676759 Remove unused game_logo variable. 2010-10-08 19:45:32 +00:00
Eric S. Raymond
e7d337a676 Reindent mainline. 2010-09-23 13:04:56 +00:00
Ali El Gariani
a47218be5a unhardcoding missing-image to game_config.cfg 2010-09-09 15:04:17 +00:00
J.W. Bjerk
e7c25b4e47 moved fog and void images into eponymous subfolders. 2010-08-23 20:30:20 +00:00
Ali El Gariani
037b79e36b New advanced preference to use a local ToD color-shift
Because the memory cost is now acceptable (and only there when playing
maps with big caves using special ToD)
2010-08-16 07:07:51 +00:00
Ali El Gariani
30c52fc7c5 Safer window-icon handling.
Kill set_wm_icon function, since SDL_WM_SetIcon can be called safely
only at one place. Clearly hardcode the image's url instead of
pretending that we use game_config. Rename the image to
"game-icon.png" (since you are forced to use it).
2010-08-08 18:33:48 +00:00
Ali El Gariani
b741019b80 Fix bug #16347 (broken big editor brush area)
Now use a repeated overlay similar to the mouseover overlay.
2010-08-06 18:26:45 +00:00
Ali El Gariani
15bf9f4109 Kill unused broken feature: use a list of randomly selected...
...images for titlescreen.

That actually broke campaign credits when campaign didn't provide
images (titlescreen was used as default)
2010-08-04 17:24:58 +00:00
Ali El Gariani
e34e45ebc9 remove unused key 2010-08-04 17:24:48 +00:00
Ali El Gariani
e0e699208e Also use 'orb' instead of 'ball' in image's filenames 2010-08-04 03:22:28 +00:00
Ali El Gariani
732bd390a4 Use 'orb' instead of 'ball' in game_config. 2010-08-04 03:22:25 +00:00
Ali El Gariani
39faaf3fa2 Move all images game_config keys into [images] and drop the _image suffix 2010-08-04 03:22:15 +00:00
Ali El Gariani
6bcbae2f92 Rename some game_config key and add a reminder/test...
...about an unused feature (random titlescreen images)
2010-08-04 03:22:13 +00:00