Gleb Mazovetskiy
e090c8bf31
Extract some player attributes to data files
3 years ago
ephphatha
32c3316743
Load experience data from file
...
Also added an iterator based API, though it's not useful for this use-case. Might be nice in the future?
The field/record iterators is single-pass input iterators with shared state.
To avoid rescanning fields unnecessarily parseInt currently can only be called once, it would be possible to make these iterators bidirectional with a bit of extra state (holding onto the start pointer)
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
3 years ago
Gleb Mazovetskiy
d6b7949dab
Fonts: Use pre-cropped CLX sprites
...
Built-in font size decreased by 121,587 bytes
(2,287,332 -> 2,165,745).
Fixes #6361
3 years ago
Anders Jenbo
fc91b65958
Add widescreen hive loadscreen
3 years ago
Anders Jenbo
83a984d019
Add widescreen crypt loadscreen
3 years ago
Anders Jenbo
f9b5c61f68
Extract pause translations table as a data file
3 years ago
Anders Jenbo
82d233baf9
Add widescreen version of level 16 loadscreen
3 years ago
Anders Jenbo
5a1f0f4280
Add widscreen load background for Hell
3 years ago
staphen
40f95006ff
Add cutttw.clx to Assets.cmake
3 years ago
Anders Jenbo
4bd0148f49
Add cave widescreen
3 years ago
Anders Jenbo
20eb12570f
Add catacombs widescreen ( #5889 )
3 years ago
Anders Jenbo
28ea755e32
Add churche widescreen
3 years ago
Anders Jenbo
c99f7cf644
Floating numbers ( #5639 )
...
Co-authored-by: qndel <stefan551@o2.pl>
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
staphen
f17ea8db98
Implement settings menu for gamepad customization
3 years ago
obligaron
795a43dd89
Add Arena Support
3 years ago
Nicholas Calaway
eb45857422
Gamepad icons ( #5357 )
3 years ago
Anders Jenbo
e348fa3b1e
Implement town map
4 years ago
Gleb Mazovetskiy
f4827a0cb6
Replace default palette PCX files with PAL files
...
These PCX files were only used to load the default palette.
Replaces them with PAL files.
4 years ago
Gleb Mazovetskiy
6327e713e0
Lowercase all file paths
...
We want to be able to use unpacked MPQs on low-end platforms
(PS2/rg99/etc).
This is tricky on case-sensitive filesystems. Avoids case issues by
lowercasing all paths in the code (then we'll just need lowercased
listfiles).
4 years ago
Gleb Mazovetskiy
609b711d32
Render char panel as CLX
...
Converted with:
```
pcx2clx --num-sprites 6 data/panel8bucp.pcx && rm data/panel8bucp.pcx
```
Size: 112640 -> 93215 bytes, -17.2%
4 years ago
Gleb Mazovetskiy
94ab0ad05a
devilutionx.mpq: Use BZIP2 instead of PKWARE
...
4.7 MiB -> 4.3 MiB
4 years ago
Gleb Mazovetskiy
17a97450bc
Convert assets to CLX
...
Converted using the following commands:
```
cd Packaging/resources/assets
pcx2clx --transparent-color 1 --num-sprites 256 fonts/*.pcx && rm fonts/*.pcx
pcx2clx --num-sprites 2 ui_art/dvl_but_sml.pcx && rm ui_art/dvl_but_sml.pcx
pcx2clx --transparent-color 1 data/hintbox.pcx data/hintboxbackground.pcx && rm data/hintbox.pcx data/hintboxbackground.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/hinticons.pcx && rm data/hinticons.pcx
pcx2clx --num-sprites 2 data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx && rm data/panel8buc.pcx data/dirtybuc.pcx data/dirtybucp.pcx
pcx2clx --transparent-color 1 data/healthbox.pcx && rm data/healthbox.pcx
pcx2clx --transparent-color 1 --num-sprites 6 data/resistance.pcx && rm data/resistance.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/monstertags.pcx && rm data/monstertags.pcx
pcx2clx --transparent-color 1 data/stash.pcx && rm data/stash.pcx
pcx2clx --transparent-color 1 --num-sprites 5 data/stashnavbtns.pcx && rm data/stashnavbtns.pcx
pcx2clx **/*.pcx && rm **/*.pcx
git checkout master -- ui_art/black_diablo.pcx ui_art/black_hellfire.pcx data/charbg.pcx data/talkbutton.pcx data/panel8bucp.pcx
rm ui_art/black_diablo.clx ui_art/black_hellfire.clx data/charbg.clx data/talkbutton.clx data/panel8bucp.clx
```
4 years ago
Anders Jenbo
efe6b18900
Move two basic crypt setpices in to dun files
4 years ago
qndel
98a2fc53c9
disable attributes file in devilutionx.mpq - timestamp causes a diff on every rebuild ( #4876 )
4 years ago
Gleb Mazovetskiy
ad7ca97ae1
Fix black background palette ( #4831 )
...
Diablo and Hellfire have different palettes in `ui_art\black.pcx`.
We now ship our own tiny `black.pcx` that takes priority over the
other ones. This `black.pcx` had the Diablo palette which resulted in an
incorrect palette in the Settings screen.
Split our own `black.pcx` file into `black_diablo.pcx` and
`black_hellfire.pcx` and load the correct one depending on the mode.
4 years ago
Gleb Mazovetskiy
1933e237da
Remove `FallbackPalette`
...
Copies `black.pcx` into the MPQ to handle the case where we have
`devilutionx.mpq` but not `diabdat.mpq`
4 years ago
Gleb Mazovetskiy
73f9dd45ab
Move embedded dialog assets to the MPQ
...
If we can't find `devilutionx.mpq`, we can't render a dialog either,
because the MPQ contains the fonts.
4 years ago
Anders Jenbo
73e84c9a44
Update Assets.cmake
4 years ago
Anders Jenbo
189eb58247
Add new dependencies
4 years ago
Anders Jenbo
69dbe0b3b2
Promote additional sumbols to the core fonts
...
General Punctuation
Superscripts and Subscripts
Currency Symbols
Combining Diacritical Marks for Symbols
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
Felipe Wannmacher
6a6fd404dc
improved hints and added icons
4 years ago
Michael H
9a251a97af
Added Greek language build & option
...
-added greek to the cmake assets build
-added greek to the options menu
4 years ago
ephphatha
6a1091ce09
Rename Korean/Romanian translation files so they are used in fallback resolution
4 years ago
Anders Jenbo
6b2481a76c
Touch support on all SDL2 platforms
4 years ago
Gleb Mazovetskiy
45cf1366b9
Assets.cmake: Fix lang dependencies on Apple
4 years ago
Gleb Mazovetskiy
3e595d02a1
Fix asset bundling on Apple systems
...
The `target_sources` command was changed in the test overhaul PR but
that was incorrect.
4 years ago
Gleb Mazovetskiy
076b0c0c05
Overhaul tests
...
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.
Also:
* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
4 years ago
Gleb Mazovetskiy
afc0017cef
CMake: Move assets to Assets.cmake
4 years ago