韦诺之战
Go to file
Celtic Minstrel d7eba7b950 Lua API: Add __dir metafunction to schedule objects
This covers both wesnoth.current.schedule and the objects returned by wesnoth.map.get_area()

Also, the wesnoth.schedule module is no longer treated like the schedule metatable, since none of the functions in the module take a schedule as the first argument. This may be reverted in the future.

The attribute registration system has also been extended to permit registry tables to conditionally add certain keys.
2024-09-15 15:27:39 -04:00
.github Only run WML tests once and upload WML test data 2024-09-08 22:51:47 +02:00
attic Add Exif tags to images (#9254) 2024-08-25 20:18:16 -07:00
changelog_entries Fixup 3af690331a 2024-09-15 12:22:45 -04:00
cmake Modify FindLua.cmake to find Lua compiled as C++ 2024-02-11 23:21:15 -06:00
data Lua API: Add unit:rebuild 2024-09-15 15:27:39 -04:00
doc Add Exif tags to images (#9254) 2024-08-25 20:18:16 -07:00
fonts Add Akademie Alte font 2024-08-06 21:44:59 +10:00
images Add Exif tags to images (#9254) 2024-08-25 20:18:16 -07:00
misc Update link to https in fortunes 2024-08-03 10:23:13 -05:00
packaging Revert "Bump min Boost version to 1.82 (#9317)" 2024-09-08 10:25:45 -05:00
po updated Bengali translation 2024-09-14 12:02:16 +02:00
projectfiles Lua API: Add __dir metamethod to units metatable 2024-09-15 15:27:39 -04:00
scons Fix scons SDL version check 2024-04-20 18:05:11 +02:00
sounds Updated a few interface sounds 2018-03-04 22:31:22 +11:00
source_lists Lua API: Add __dir metamethod to units metatable 2024-09-15 15:27:39 -04:00
src Lua API: Add __dir metafunction to schedule objects 2024-09-15 15:27:39 -04:00
utils Lua API: Add mathx.lerp_index and wesnoth.game_config.palettes 2024-09-15 15:27:39 -04:00
.editorconfig add .lua files to .editorconfig 2024-07-24 16:04:27 +02:00
.gitattributes Update archive exclusions 2023-07-27 18:07:16 +02:00
.gitignore Refactor the preferences into a proper singleton. (#8930) 2024-06-09 11:34:09 -05:00
.gitmodules Make lua a submodule. 2022-03-09 15:01:37 -06:00
.luacheckrc Updates for newer luacheck. 2022-08-06 03:03:17 -05:00
add_source_file add_source_file: Fix failure to add Boost unit tests to Xcode 2024-08-06 09:51:54 -04:00
boost_test_schedule Rich Text Label widget for Help Browser GUI2 port (#8655) 2024-06-06 16:33:37 +05:30
changelog.md updated Czech translation 2024-09-14 00:47:59 +02:00
CMakeLists.txt Revert "Bump min Boost version to 1.82 (#9317)" 2024-09-08 10:25:45 -05:00
CMakeSettings.json Added cmake config info for VS 2021-05-26 22:50:31 -04:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2023-06-27 10:22:27 -05:00
config.h.cmake Remove checks for stuff that aren't used anymore. 2021-03-14 22:42:59 -05:00
CONTRIBUTING.md Contributing: the Typography and Gettext docs are separate Wiki pages 2023-06-15 17:42:53 +02:00
COPYING update GPL to latest version (change of address of FSF) 2005-06-10 16:05:11 +00:00
copyright Migrate links to https if available - Fwd c18537edc0 2018-10-07 03:23:36 +00:00
copyrights.csv remove CI check of copyrights.csv for images (#9246) 2024-08-25 06:36:27 -07:00
cwesnoth.cmd cwesnoth.cmd cleanup 2023-05-21 11:52:16 -05:00
INSTALL.md Revert "Bump min Boost version to 1.82 (#9317)" 2024-09-08 10:25:45 -05:00
README.md Updated link to android version in README 2024-07-07 22:12:32 +05:30
run_boost_tests Enable stricter checks for debug builds. 2024-01-17 00:38:11 -06:00
run_wml_tests Simplify logging options (#7620) 2023-05-14 12:47:43 -05:00
SConstruct Revert "Bump min Boost version to 1.82 (#9317)" 2024-09-08 10:25:45 -05:00
update_copyrights remove CI check of copyrights.csv for images (#9246) 2024-08-25 06:36:27 -07:00
vcpkg.json try this baseline 2024-09-06 12:15:21 -05:00
wml_test_schedule Add a second unit test for TEST_FORCE_CHANCE_TO_HIT 2024-09-13 19:15:56 +02:00

License: GPL v2

Branch CI status
Master CI
1.18 CI

About

The Battle for Wesnoth is an Open Source, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, search for the key to immortality, or take part in any number of other adventures.

Community

The official Battle for Wesnoth Forums: https://forums.wesnoth.org/

Discord: https://discord.gg/battleforwesnoth

IRC: https://wiki.wesnoth.org/Support#IRC

Mastodon: https://fosstodon.org/@wesnoth

Steam forums: https://steamcommunity.com/app/599390/discussions/

Features

  • A variety of different campaigns, each with their own tactical challenges, emotionally charged story, and multiple difficulty levels.
  • A detailed world and storytelling with hundreds of sprites, animations, and characters.
  • Many different unit skills and traits across several factions.
  • A map editor with multiple tools, hundreds types of terrain, and the ability for you to save and share maps with others. Create your own scenarios/battles for near infinite replayability.
  • Highly moddable, allowing a wide array of community created map packs, eras, and entire campaigns.
  • Online and local multiplayer gameplay to play with friends, strangers, or against the AI.
  • Changeable settings for base gameplay, with nearly limitless options for different hotkey configurations.
  • Beautifully composed playlist that captures the era and grandiosity of this lore-filled high-fantasy world.

Installing

Wesnoth can be played on Windows, macOS, and Linux, and can be installed using:

Additionally, Wesnoth is available for iOS and Android.

To build the game from source, see INSTALL for instructions.

Contributing

Wesnoth is most in need of skilled C++ developers (C++14 and later), however there are things that nearly anyone can help with:

  • Simple tasks in C++.
  • The Lua and WML used for content scripting.
  • Python used by various external tools.
  • Even play testing and giving feedback on updated campaigns!

Additionally, Wesnoth lacks art for a variety of unit animations - anyone who would be interested in lending a hand in updating existing unit sprites or creating animations should take a look at the Art Contributions forum as well as contact our current art director.

See also: CONTRIBUTING

For any questions, the best place to start is to simply join Wesnoth's forums, Discord, or IRC and start asking!

Donations

Donations can be sent via Software in the Public Interest, Liberapay, as well as when downloading through itch.io. All money donated is used to pay for project expenses such as server rent and art commissions, and is very much appreciated.

License

All source code is licensed under the GNU GPL v2+. Most art and music is also licensed under the GNU GPL v2+, however new contributions are now licensed under the Creative Commons BY-SA v4.0. For more detailed information on Wesnoth's licensing, see the wiki:

https://wiki.wesnoth.org/Wesnoth:Copyrights

More Information

For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site:

https://www.wesnoth.org/ https://wiki.wesnoth.org/

A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:

https://wiki.wesnoth.org/WesnothManual

For information on creating your own maps, scenarios, and other content, see:

https://wiki.wesnoth.org/Create

screenshot_main_menu scrreenshot_isars_cross screenshot_campaign_menu screenshot_map