staphen
8548d05d2d
Update libsmackerdec
4 years ago
Gleb Mazovetskiy
4bb34bff96
Update android-project SDL Java code
...
From 2e9821423a
4 years ago
Gleb Mazovetskiy
6ff55387c2
Update vendored SDL2 to the latest main
4 years ago
Gleb Mazovetskiy
c066a3d56d
docs/building.md: Modernize cmake commands
...
Also mention `devilutionx-src.tar.xz`
4 years ago
Gleb Mazovetskiy
e3e6634c81
Remove the build directory from the repo
...
There is no beneit to having it anymore.
The minimum CMake version we require supports the `cmake -S. -Bbuild`
invocation which creates the directory. This is also the command we use
in the build instructions.
4 years ago
Gleb Mazovetskiy
ac152589f9
Android: Fix assets copying
...
Previously, only the translations were copied for Android at build time.
The other assets were copied only at configure time.
Replaces Android-specific handling with a general mechanism to override
the build-time assets directory.
4 years ago
Gleb Mazovetskiy
0b91203d74
CMake: Improve translation deps handling
...
Instead of using the `GETTEXT_PROCESS_PO_FILES` function, do it
ourselves in a cleaner way.
This fixes a number of issues:
1. Translations and assets are now built whenever the binary is built,
without causing the binary to be rebuilt.
2. Translations are only copied to `build/assets` (previously they were
also copied to `build/`).
3. This should now be compatible with the new XCode.
4 years ago
Gleb Mazovetskiy
afaf76468c
3rdParty/libsmackerdec: Bump version
...
The only new commit is 7925274357
4 years ago
Gleb Mazovetskiy
4808d568fa
3rdParty/libmpq: Bump version
...
The only new commit is 0f10bd1600
4 years ago
Gleb Mazovetskiy
e07c9eee03
Fix chat message overlap in CJK
4 years ago
Gleb Mazovetskiy
1b8939d70c
Safer chat message handling
4 years ago
Anders Jenbo
2c700c0c3d
[android] Move CMake define to common folder
4 years ago
obligaron
945ee04f62
Add OptionEntry Language
4 years ago
obligaron
b3740012b0
Add init_language_archives() to reinitalize lang_mpq
4 years ago
obligaron
0ac065dbaa
Make LanguageInitialize() reentry capable
4 years ago
obligaron
ae826d922f
Add OptionEntryFlags::RecreateUI
4 years ago
obligaron
8fc2fcd9e9
Move Intro Options to StartUp-Section and add a "Once"-Option
4 years ago
obligaron
629f7277b1
Add OptionEntryEnum::SetValue
4 years ago
obligaron
bcc20a2c90
Allow to customize shown splash in diablo.ini
4 years ago
Gleb Mazovetskiy
b038b3ce3d
Add an option to build SDL2 from source
...
Replaces the Android-specific version of this.
We'll need it for the iOS build as well.
Also switches to the 2.0.16 release version now that it's out.
4 years ago
Gleb Mazovetskiy
868289dc17
Add missing <cstring> includes
4 years ago
Gleb Mazovetskiy
64e29d53e8
make_src_dist.py: Update documentation
4 years ago
Gleb Mazovetskiy
37c7a2237b
.clang-format: Remove duplicate SortIncludes entry
4 years ago
obligaron
16253cafad
Move OptionEntry::operator*() to header
4 years ago
Gleb Mazovetskiy
95988ae4d8
help.cpp: Fix `-Wunused-const-variable`
...
Source/help.cpp:102:15: warning: unused variable 'ContentPaddingTop' [-Wunused-const-variable]
Source/help.cpp:103:15: warning: unused variable 'ContentOuterHeight' [-Wunused-const-variable]
4 years ago
Gleb Mazovetskiy
3ad49d59a6
selhero.cpp: Fix `-Wpessimizing-move`
...
Source/DiabloUI/selhero.cpp:488:27: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
4 years ago
Gleb Mazovetskiy
e74cb8388f
Settings menu: Set line height for description
...
Fixes #3603
4 years ago
Anders Jenbo
1b0909a87f
Update CHANGELOG.md
4 years ago
Bubio
52203cece4
Fixed incorrect description of Show FPS and FPS Limiter option
4 years ago
Bubio
6a087ce350
Fix long translations causing the options menu to crash.
4 years ago
Bubio
204c947ef4
Update ja.po
4 years ago
qndel
68b8aea49e
fix duplicated 'around' in 1.3.0 changelog ( #3632 )
4 years ago
Gleb Mazovetskiy
74b2c03793
Link `SDL2::SDLmain` correctly
...
The `SDL_main.h` header defines `main` to be `SDL_main` *when needed
by the target platform. This header must be included before defining
`main`.
The `SDL2::SDLmain` library should be linked only to the executable, not
to `libdevilutionx`.
4 years ago
Gleb Mazovetskiy
94ff465c85
A script for building and installing smpq from source
...
Useful when developing on systems that do not have an SMPQ package.
Should be compatible with Linux, *BSD, Mac.
4 years ago
Gleb Mazovetskiy
1c1467980b
Settings menu: Set line height for description
...
Fixes #3603
4 years ago
Gleb Mazovetskiy
d8c1dadc9e
settingsmenu.{h,cpp}: Fix line endings
4 years ago
staphen
ad6101e568
Update libsmackerdec
4 years ago
Gleb Mazovetskiy
bffd0d9521
Char panel layout improvements
...
1. Increase line height for CJK labels (10->18) to prevent overlap.
2. Increase label width in the right column by 1px (67->68), allowing 3 fullwidth characters to fit on one line.
3. Adjust Base/Now/Gold attribute header positions for CJK.
4. Fix field label/value alignment.
4 years ago
Gleb Mazovetskiy
1de202cfe0
DrawString: Fix IsCJK definition
...
Fix IsCJK to include Hiragana, Katakana, Bopomofo, etc.
4 years ago
Gleb Mazovetskiy
48ddb2ea06
DrawString: Fix line height for tall codepoints
4 years ago
Gleb Mazovetskiy
fc38c206d7
3rdParty/libpng: `set(PNG_EXECUTABLES OFF)`
...
Disables executable targets of libpng.
Also, now that CMP0077 is set correctly, we can set
the other options as simple variables.
4 years ago
Gleb Mazovetskiy
8853cb0b6e
Set `CMAKE_POLICY_DEFAULT_CMPNNNN`
...
See https://gitlab.kitware.com/cmake/cmake/-/issues/20312#note_692953
4 years ago
Gleb Mazovetskiy
7f891b7134
mingw(64).cmake: Remove `cmake_minimum_required`
...
Our cmake_minimum_required is already at 3.13
4 years ago
obligaron
6273f700fa
Add some Graphic Settings to Settingsmenu ( #3617 )
4 years ago
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
4 years ago
Gleb Mazovetskiy
170086433b
.github/workflows/src_dist_release.yml: Fix python
4 years ago
Gleb Mazovetskiy
3b45c97510
GitHub CI: Fix workflow_dispatch triggers
4 years ago
obligaron
ba7cd3e1cb
Use DrawStringWithColors in settingsmenu
4 years ago
obligaron
721e05d5e0
Add DrawStringWithColors support to UiListItem
4 years ago
obligaron
d0dcb7f3ce
Remove unused enum entry MAINMENU_REPLAY_INTRO
4 years ago