Commit graph

37 commits

Author SHA1 Message Date
Jason Stephenson
bce0493f03
Fix #7337: Byte Compiler Warnings for wesnoth-mode (#7338)
Switch from obsolete Emacs Lisp functions to modern functions in order
to remove two compiler warnings.

Properly quote lambdas with #' to remove two more compiler warnings.
2023-01-29 12:14:59 -05:00
Tommy
2d37a13bb8 WML: Add macros for screen_fade, and modify FLASH to use it as well
New macros:
 * SCREEN_FADE_OUT - to replace FADE_TO_BLACK in most cases
 * SCREEN_FADE_IN - to replace FADE_IN in most cases
 * SCREEN_FADE r g b duration
   - convenience wrapper for [screen_fade] with 255 alpha
 * SCREEN_UNFADE duration
   - convenience wrapper for [screen_fade] with 0 alpha
 * FLASH r g b actionWML
   - like FLASH_WHITE etc but takes a colour
 * FLASH_LIGHTNING actionWML
   - flashes an appropriate colour and plays lightning.ogg

Modified macros:
 * FLASH_WHITE/RED/GREEN/BLUE}
   - these now use [screen_fade] not [color_adjust]
2022-08-07 23:11:21 +12:00
mattsc
ce9ba142bc Add new AI aspect allow_ally_villages 2022-06-22 08:00:50 -07:00
mattsc
4562bbae56 Add new Micro AI parameters to schema and emacs_mode 2021-03-21 16:23:59 -07:00
mattsc
fe316aec3a Add new AI aspect retreat_enemy_weight 2021-02-26 13:57:13 -08:00
mattsc
efe5a4d497 Add new AI aspect retreat_factor 2021-02-25 20:25:16 -08:00
Eric Gallager
3d27278296 update gitignores 2020-11-08 23:41:21 -05:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0
(cherry-picked from commit bc4d22dc72)
2018-10-07 03:23:36 +00:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
bba5454443 Made README files Markdown
[ci skip]
2017-04-28 15:07:06 +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
fendrin
a564eda0c1 Remove everything related to [editor_tool_hint].
This tag is obsolete for ages and most likely not used by any UMC
designer.
2013-12-31 12:29:44 +01:00
fendrin
02adc2d2fa Update of the emacs wml mode's database. 2013-12-10 14:42:26 +01:00
Eric S. Raymond
7f85fa000c The git transition.
Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
2013-03-26 10:44:47 -04:00
Matthias Schoeck
ce6ee7e586 Rename passive_leader_shares_keep candidate action to leader_shares_keep.
This CA is on by default, dealing with a passive leader is only a
special case.  The old syntax still works for backward compatibility
(for both CA and macros).
2013-01-09 17:18:45 +00:00
Steven Panek
e093fc6b5c Killed 'colour'. 2012-01-30 01:40:30 +00:00
Steven Panek
caba26c3c1 Killed references to [illuminated_time] in the emacs file. 2011-10-13 03:56:55 +00:00
Chris Mann
66fb8e826c emacs-mode: Merge from upstream. 2011-06-04 12:11:11 +00:00
Fabian Müller
f2a0ecf47d Updated the emacs-mode's database. 2011-05-12 10:51:59 +00:00
Fabian Müller
9732cdc698 Updated the wesnoth emacs mode's database. 2010-08-31 15:33:44 +00:00
Fabian Müller
db2532b59c Updated the database of the wesnoth emacs mode. 2010-08-08 19:41:52 +00:00
Fabian Müller
6c5881f6ed Updated the wesnoth emacs mode meta data file.
It no longer completes recruit in allow_recruit tags.
2009-10-31 16:19:55 +00:00
Fabian Müller
e0ef93d99b Update WML emacs mode metadata. 2009-09-05 13:46:53 +00:00
Fabian Müller
1c3fbf9e7e Emacs WML mode: Updated the known WML elements. 2009-08-10 11:09:52 +00:00
Eric S. Raymond
e7b27b6435 Change the trannstive verb "stone" (as in "turn to stone") to "petrify",
...and all related words such as "unstone", "stoned", etc. Former
usage was not really correct and led to unhelpful ambigiuity with both
"to stone" is in to hit with thrown stones, and "stoned" meaning
intoxicated.

All C++ code, WML, and tags are changed. New wmllint rules will handle all
lifting for UMC.  The wiki has been updated.

Will cause incompatibility with old savefiles containing stoned units.
2009-04-12 00:40:07 +00:00
Nils Kneuper
6ccc7c33c7 add some textdomain markers to files that had none,
...should not introduce any strings, just for completions sake (every
.cfg should have a marker, have done the job util
utils/change_textdomain -t )
2009-04-11 22:30:16 +00:00
Fabian Müller
53a628783d Updated the emacs wesnoth mode's wml database. 2009-03-17 15:49:54 +00:00
Eric S. Raymond
51c13fb819 Pre-1.6 reindent and whitespace cleanup. 2009-03-01 12:56:14 +00:00
Fabian Müller
9fce499eef Updated the WML emacs mode to the new 1.3.5 upstream version. 2009-02-28 10:57:24 +00:00
Fabian Müller
380c17e462 upstream update of the emacs mode to version 1.3.4a 2009-01-16 13:14:35 +00:00
Fabian Müller
942fa9dd49 New upstream version (1.3.3) of the wml emacs-mode commited. 2008-12-15 18:08:19 +00:00
Eric S. Raymond
4861e50155 Reindent mainline in preparation for 1.6. 2008-12-08 17:45:47 +00:00
Nils Kneuper
bf840aa904 add some textdomain markers (though they should have no effect) 2008-11-22 09:48:52 +00:00
Fabian Müller
4b50343a0a updated the WML emacs mode to the new 1.3.2 upstream version 2008-11-21 13:05:24 +00:00
Eric S. Raymond
7927d33428 Clean up the unit-generator macros.
This change has been checked against UMC.
2008-11-19 14:34:05 +00:00
Fabian Müller
8d923fb563 new upstream version of the emacs mode for wml.
for a changelog see the thread
http://www.wesnoth.org/forum/viewtopic.php?f=21&t=13798&start=15
2008-10-26 14:18:59 +00:00
Fabian Müller
18e54dca6d update to the wml emacs mode 2008-10-11 15:20:34 +00:00