Commit graph

6065 commits

Author SHA1 Message Date
Wedge009
6e6d57d365 Spelling corrections
[ci skip]
2021-06-21 13:39:25 +10:00
Celtic Minstrel
61fa362781 Delete some deprecated special note macros
This only covers those deprecated at level 4
2021-06-20 23:36:20 -04:00
doofus-01
31fc41bd06 ran woptipng 2021-06-20 16:39:53 -07:00
doofus-01
02233d11b4 basic animations for naga guard line (partial) 2021-06-20 16:33:46 -07:00
Steve Cotton
729fd82b9b Remove double-spaces from units' descriptions 2021-06-20 11:05:32 +02:00
doofus-01
d20a6418b8 adding LordBob's portraits for Fire Guardian and Wraith, and Jinn 2021-06-19 18:20:02 -07:00
doofus-01
86acb24977 revise fire wraith halo 2021-06-19 17:53:15 -07:00
doofus-01
69b6be864b
1.16 Unit descriptions (#5872)
* correction to Frost Stoat description

* description for Jinn

* Horse descriptions
2021-06-19 14:22:23 -07:00
Hejnewar
6bb0badc98 Balance changes for 1.15.14 2021-06-19 21:05:19 +02:00
Celtic Minstrel
0c42cdc038
Enable translation mark validation by the schema (#5800)
- The t_string type is now a schema built-in type and no longer attempts a regex match.
- You can also specify that non-t_string types may be optionally-translatable; this case supports a regex match on the string (but note that the translation mark is not part of the match).
- Error messages involving keys with very large values ( > 128 characters) will now truncate the value.
- To account for occasional cases where the schema is intentionally violated, the --validate command-line option now automatically defines the SCHEMA_VALIDATION preprocessor define.

A key validates as type t_string if one of the following is true:
- The key is not present
- The key has at least one segment with a translation mark
- The key is blank (an empty string)

Any type other than t_string is not allowed to be translatable by default, unless you specify allow_translatable=yes in the [type] tag.

An optionally-translatable string could also be defined as a union of t_string and some other type.
2021-06-14 23:59:52 -04:00
doofus-01
4811de8642
Last minute Naga things (#5855)
* move UtBS mace nagas to core

* adding mace naga portraits from LordBob

* move naga hunter portrait to UtBS from core

* de-bow-ify the ophidian nagas and add Deflect weapon special

* revisions to mace nagas base sprites

* revisions to naga guards, including new weapon special Absorb

* compatibility Nagas for UtBS
2021-06-13 20:51:38 -07:00
Nils Kneuper
2df6235efd updated Indonesian translation 2021-06-12 11:36:55 +02:00
Steve Cotton
0fdf52058b Support [movetype][special_note] and [language]special_note_damage_type_*
Refactor special notes for abilities, attack types, movetypes and weapon specials

An easier way of setting special notes in the most common use-cases. Text given
in the following attributes will be collected and added to the special notes
for units and unit types (some of these were added in the previous commit):

* [ability tag name]special_note=
* [language]special_note_damage_type_TYPE=
* [movetype][special_note]note=
* [attack][specials][special tag name]special_note=

It's no longer necessary to put these notes in each unit_type's .cfg file, and
the macros for doing so are now deprecated.

C++ changes
-----

Simplify both unit_type::special_notes and unit::unit_special_notes. Add
utils::stable_unique, similar to std::unique but accepts non-ordered input and
preserves the order in the output.

Remove unit_type::has_special_notes() - callers can instead call
special_notes() and then check if the returned vector is empty, which removes
the need for duplicating code in unit_type.

Trade-off: the new [language]special_note_damage_type_TYPE is likely deprecated in 1.19.
-----

Adding [language]special_note_damage_type_TYPE= uses the same existing design
as [language]type_TYPE=, however both are hacks that don't fit the general
style of WML. It could be better to define a new [damage_type] tag that
supercedes both and also provides a place for specifying the damage icon;
however that won't be done in time for the API freeze for 1.16.

Doing it in the way that this commit does it is a hack, but it's one where
replacing it with the better solution in 1.18 will affect very few UMCs (only
those that define additional damage types). Even in the UMCs that would be
affected, it would likely only be a few changes in a single central file.

Trade-off: NOTE_DEFENSE_CAP is not auto-added
-----

It might be better to auto-add NOTE_DEFENSE_CAP when movetype.cpp detects that
the type has capped values. However as NOTE_SPIRIT already requires
[movetype][special_note], it's simple to use the same mechanism. If we decide
to change it to being auto-added, the current commit greatly reduces the number
of places that would need to change again, as it's now in the [movetype]
instead of the many [unit_type]s using that movetype.
2021-06-01 14:29:57 +02:00
Celtic Minstrel
3568b5ff66 An easier way of setting special notes in the most common use-case (abilities and weapon specials)
Rebased version of e6c58fc35c, with merge conflicts resolved.
2021-06-01 14:29:57 +02:00
newfrenchy83
128869d897
fix teleport message. (#5824)
Fix #5816 issue . 04455c0 commit forget second owner and unit.side in formula.
2021-05-31 13:45:28 -04:00
doofus-01
f19d4e49ea
add items from Blarumyrran and run woptipng on the directory (#5821) 2021-05-30 13:18:17 -07:00
doofus-01
94241857e2
Last new terrains for 1.16 (#5789)
* adding snowy pine and dead oak variations of great tree terrain

* Icy cobbles (Rra) terrain
2021-05-29 21:30:39 -07:00
doofus-01
e97d86fa1d
Fire Wraith and Jinn (#5790)
* initial commit of Fire Wraith

* initial Jinn revision
2021-05-29 20:44:08 -07:00
Celtic Minstrel
04455c01b4 Fix deprecated WFL side number usage
Fixes #5816
2021-05-29 11:23:04 -04:00
doofus-01
faac6939f4
adding seahorse graphics (#5786)
* adding seahorse portrait and animation frames
2021-05-22 18:43:12 -07:00
Steve Cotton
81ac9cc661 Scenario editor help: remove the warning about 1.14 bugs
The editor/help.cfg file was kept in sync between 1.14 and 1.16, it's now time
for 1.16-specific changes, starting with dropping this warning.
2021-05-19 06:36:29 +02:00
Pentarctagon
7b92aa3a8b
Add :fps file creation to the help+man page. 2021-05-17 10:51:37 -05:00
Wedge009
a833a55614 Correct spelling error 'bretheren' 2021-05-17 09:54:38 +10:00
Steve Cotton
7334cc97c9 Credits: move myself to Programming, add Sean Yeh, update Astrid
* Move myself to the programming section
* Add Sean Yeh to the misc section
* Finish 287ec15c101b's update of Astrid's credits

[ci skip]
2021-05-14 01:35:48 +02:00
Iris Morelle
b8fbdbbde6 Update Czech translation credits 2021-05-12 18:16:12 -04:00
Steve Cotton
6a1d7cf385 Credits: hide the blank section for Friulian
When an [about] section has a title but no [entry] tags, it's automatically
hidden in the credits. The entry with name="" was causing the title to show
up with a blank section under it.

[ci skip]
2021-05-12 16:28:04 +02:00
Steve Cotton
1bc7378c0d Run woptipng on the new horses
57 of 57 files optimized, 678061 bytes reduced to 586300 bytes; -91761 bytes, -13.53%
This was running with the -t0 option, so that it considers any reduction good, even
if it's less than 10% on the big portrait images.
2021-05-12 15:33:20 +02:00
doofus-01
540be634df
horse things (#5738)
* some basic cataphract frames for all attacks

* horse unit

* zombie horse variation

* horse soulless

* White Horse variation

* Dark Horse variation

* horse-related attack icons

* adding seahorse unit

* wmlindent corrections
2021-05-09 20:40:05 -07:00
Steve Cotton
529d5c1a46 Run woptipng on images with bad iCCP, and associated files
The files that had bad iCC profiles were the following subset. I ran woptipng
on the files that were checked in at the same time too.
* data/core/images/portraits/monsters/woodland_boar.png
* data/core/images/portraits/undead/zombie-boar.png
* data/core/images/terrain/castle/troll/tile.png
* data/core/images/units/human-loyalists/heavyinfantry-attack-8.png
* data/core/images/units/human-outlaws/bandit-idle-1.png
* data/core/images/units/human-outlaws/bandit-idle-2.png
* data/core/images/units/human-outlaws/bandit-idle-3.png
* data/core/images/units/human-outlaws/bandit-idle-4.png
* data/core/images/units/human-outlaws/bandit-idle-5.png
* data/core/images/units/human-outlaws/bandit-idle-6.png
* data/core/images/units/human-outlaws/trapper-bow-attack1.png
* data/core/images/units/human-outlaws/trapper-bow-attack2.png
* data/core/images/units/human-outlaws/trapper-bow-attack3.png
* data/core/images/units/human-outlaws/trapper-bow-attack4.png
* data/core/images/units/human-outlaws/trapper-bow-attack5.png
* data/core/images/units/human-outlaws/trapper-bow-attack6.png
* data/core/images/units/human-outlaws/trapper-bow-attack7.png
* data/core/images/units/human-outlaws/trapper-bow-defend.png
* data/core/images/units/human-outlaws/trapper-bow.png
* data/core/images/units/human-outlaws/trapper.png
2021-05-03 10:33:40 +02:00
newfrenchy83
1cb2393b42 fix anerror 2021-05-02 19:40:48 -05:00
newfrenchy83
ad95696b4a Fix teaching_anim not implmmented in variation_id=sceptre of Httt Princes and Battle Princess
I have forget to pull this in variation scpeter of unit_type
2021-05-02 19:40:48 -05:00
Hejnewar
f027cd4900
Fix #5729 2021-04-26 18:17:47 +02:00
newfrenchy83
3db6b8b9d0 modify overwrites_specials in engine and utils.cfg macro 2021-04-20 23:30:23 -05:00
doofus-01
766760b5d2
Various fauna-related things (#5671)
* rock scorpion pincer attack anim

* New sprite graphics for piglet

* add piglet portrait

* New sprite graphics for woodland boar

* simple horn attack anim for scarab

* scarab horn attack icon
2021-04-18 18:07:39 -07:00
Nils Kneuper
bfb5d568ee updated German translation credits 2021-04-18 09:48:06 +02:00
nemaara
16347c3b5c Roc: add description 2021-04-16 01:55:07 -04:00
nemaara
cb5762abf2 Fire Ant: add description 2021-04-16 01:55:01 -04:00
Hejnewar
205a6c031b
Fix incorrectly set melee damage for Naga Sicarius 2021-04-15 13:41:33 +02:00
nemaara
f4af95682f Sand scuttler: update description 2021-04-15 04:20:33 -04:00
Hejnewar
b4538cb896 Wose / Monster balance update 2021-04-15 07:56:30 +02:00
Hejnewar
df51670bda Fix for #5701 2021-04-15 07:56:30 +02:00
Hejnewar
7d72c2bfdd Dunefolk balance update 2021-04-15 07:56:30 +02:00
Tahsin Jahin Khalid
d52c5a8880 Update Giant_Scorpion.cfg 2021-04-06 19:15:10 +06:00
doofus-01
3da068801b
terrain-graphics - remove hard cut on convex walls of human castle ruins, to blend with sunken ruins (#5667) 2021-04-04 12:08:48 -07:00
doofus-01
e7b5996e98
remove reference to tusker, replace with boar or piglet (#5662)
* remove reference to tusker, replace with boar or piglet
2021-04-03 21:15:24 -07:00
doofus-01
bdfb550e9a
scorpion variations (#5589)
* portrait variation for sand-scuttler scorpion variation

* units - scorpion zombie/soulless variation

* addition of new unit called rock scorpion
2021-04-03 16:35:26 -07:00
doofus-01
22a9d21dee
various small fixes (#5613)
* units - fix incorrect file type (png -> ogg) in animation

* units - touch-up WC beast_rider portrait
2021-04-03 14:49:28 -07:00
Andrey Bienkowski
1760e6f5ff Fix a typo 2021-04-02 10:20:09 -05:00
Andrey Bienkowski
003419bba9 Fix typo
singular: brother; plural: brethren; plural possessive: brethren’s
granted: it is possible that this word is an exception. I'm not an expert
2021-04-02 10:19:51 -05:00
Iris Morelle
fd37a05ffe ui: Claim back unused space from the 800 px minimap theme
This allows the minimap widget to be 2 pixels wider, and frees up 7
pixels of vertical space for the rest of the sidebar
2021-03-24 04:23:25 -03:00