ephphatha
55a21b7467
Move the base hit amount to a table in playerData.cpp
...
Bringing blockBonus along for the ride as it seems to fit (and renaming to align with the current convention)
3 years ago
Gleb Mazovetskiy
ab1546311a
`LoadClassAttributes`: Mandate field order
...
Makes parsing simpler.
Additional columns and rows are ignored.
3 years ago
Gleb Mazovetskiy
e090c8bf31
Extract some player attributes to data files
3 years ago
ephphatha
5f6e5ae9fb
Refactor iterator parsing to allow more reuse
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
ikonomov
ee91d9ecf5
update arenas
...
Removed the murky pools, simplified the areas and made them accessible without teleport.
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
ephphatha
2ce420425e
Remake talkbutton.clx as a sheet of two sprites
3 years ago
Gleb Mazovetskiy
6d1064b57a
Re-encode all the bundled CLX assets
...
Following the CLX encoding fix in https://github.com/diasurgical/devilutionx-graphics-tools/pull/3
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
Anders Jenbo
839690a74f
Add cutttw widescreen load screen ( #5923 )
3 years ago
Anders Jenbo
45023b5680
Add files via upload
3 years ago
Anders Jenbo
4bd0148f49
Add cave widescreen
3 years ago
Anders Jenbo
92244af90d
Re generate load screen graphics
3 years ago
Anders Jenbo
20eb12570f
Add catacombs widescreen ( #5889 )
3 years ago
Anders Jenbo
28ea755e32
Add churche widescreen
3 years ago
staphen
9acedd25e4
Fix yellow color used in UI dialog
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
staphen
1648a3d99f
Fix gamepad icon size and alignment
3 years ago
Frazer Smith
1ce29164e2
Compress images
3 years ago
Gleb Mazovetskiy
57e267e990
button.png: Arrange sprites horizontally
...
87x2262 -> 1131x174
This makes the file smaller and also makes the texture fit
on devices with 2048x2048 max texture size (Fixes #5403 ).
`button.png` updated with:
convert -crop 87x174 button.png +append out.png
optipng -o9 out.png
mv out.png button.png
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
5505e830fb
Render XP bar as CLX
...
Missed in #5183 .
Also, the previous conversion command was incorrect (missing
--transparent-color 1), re-converted with:
```
pcx2clx --transparent-color 1 data/xpbar.pcx
```
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
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
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
76704ac65f
Correct name of Bone Chamber transparancy data
4 years ago
Anders Jenbo
0205320a1d
Export static transparancy data to .dun files
4 years ago
Gleb Mazovetskiy
f8a72fddd3
Reduce 12px font space width from 9px to 5px
...
Fixes #4397
4 years ago
Anders Jenbo
42e499f64c
Use New Athena Unicode to generate proper Greek symbols
4 years ago
Anders Jenbo
cb8b9176fa
Fix underscore for font 12
4 years ago
Anders Jenbo
73194b58a9
Correct spacing for font 22-*
...
Fixes #3523
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
62e5e867d2
Correct kerning for Greek font
4 years ago
Anders Jenbo
1a46c6eee6
Clean up look of 1 and + in the small font
4 years ago
Anders Jenbo
a48f89007d
Implement stash
4 years ago
Felipe Wannmacher
6a6fd404dc
improved hints and added icons
4 years ago
Anders Jenbo
2a600d8e55
Add additional emojis
4 years ago