Gleb Mazovetskiy
91306d8c22
Migrate misdat.cpp data to TSV
2 years ago
Gleb Mazovetskiy
624afafe58
Extract Crawl to a library
...
Also adds a test and a benchmark
2 years ago
Gleb Mazovetskiy
4aa9d37f0f
Add google-benchmark
2 years ago
Gleb Mazovetskiy
e5c628db78
Add a test for Crawl order
2 years ago
Gleb Mazovetskiy
df3d76c3c1
Add utils/string_view_hash.hpp
2 years ago
Gleb Mazovetskiy
89b854491f
uwp-project/devilutionx.vcxproj: Add 3rdParty/unordered_dense
2 years ago
Gleb Mazovetskiy
78e87e9f09
clx_sprite: Minor improvements from #7191
2 years ago
Gleb Mazovetskiy
90732aa7be
Migrate objdat.cpp data to TSV
2 years ago
Gleb Mazovetskiy
e5e007cd3c
Slightly optimize `Utf8CodePointLen`
...
A few more operations but the "lookup table" is now an immediate constant.
https://godbolt.org/z/7YG3ohWT6
2 years ago
Gleb Mazovetskiy
730c26a856
Migrate maps to unordered maps
2 years ago
Gleb Mazovetskiy
e9c29fa806
Switch to ankerl::unordered_dense
2 years ago
Gleb Mazovetskiy
01147410c1
Add dependency on unordered_dense
...
https://github.com/martinus/unordered_dense
2 years ago
Gleb Mazovetskiy
e7c58ad0ef
Remove missing SfxID
...
Follow-up to #7310
Also removes 1 more unused sound
2 years ago
Gleb Mazovetskiy
80ee326911
Remove unused sounds
...
Done with the following script:
```ruby
tsv = File.read('assets/txtdata/sound/effects.tsv')
all = tsv.lines[1...].map {|l| l.split("\t")[0]}
used = Dir['Source/**/*.{cpp,c,h,hpp}'].flat_map do |path|
File.read(path).scan(/SfxID::[A-Za-z0-9]+/).map {|s| s.split('::')[1]}
end
used.concat(%w[
Warrior69b
Sorceror69b
Rogue69b
Monk69b
Swing2
SpellAcid1
OperateShrine1
Warrior14b
Warrior14c
Warrior15b
Warrior15c
Warrior16b
Warrior16c
Warrior2b
Warrior2c
Rogue14b
Rogue14c
Sorceror14b
Sorceror14c
Monk14b
Monk14c
])
used.sort!
used.uniq!
unused = all - used
unused.sort!
File.open('assets/txtdata/sound/effects.tsv', 'w') do |f|
f.write(tsv.lines[0])
tsv.lines[1...].each do |line|
fields = line.split("\t")
if unused.include?(fields[0])
puts fields[2].tr('\\', '/')
else
f.write(line)
end
end
end
```
2 years ago
Gleb Mazovetskiy
7bfc8e91bd
Update devilutionx.pot
...
Using tools/update_translations_pot.py
2 years ago
Gleb Mazovetskiy
b57fac6419
Add tools/update_translations_pot.py
...
Updates Translations/devilutionx.pot using xgettext
2 years ago
Gleb Mazovetskiy
8633be3578
Fix "Book of" translations
2 years ago
Gleb Mazovetskiy
067d83afac
Remove "Book of " from `translation_dummy.cpp`
2 years ago
Gleb Mazovetskiy
497e6dfe40
Add a dot to lowercase "i" in Turkish (all sizes)
...
https://github.com/diasurgical/devilutionX/pull/7189 added the dot to size 12,
this PR does so for the rest of the font sizes.
2 years ago
staphen
df0b3aaab7
Ensure that network timeout info shows up in the info panel
2 years ago
Eric Robinson
5ae0e5eb17
Optimize DeadItem() ( #7213 )
...
Optimize DeadItem() - Look up `player.position.tile` only once.
2 years ago
DakkJaniels
8910ea468c
Remove link to circleci latest builds
...
replaced link to circleci with link to readme section for test builds
2 years ago
Anders Jenbo
177e3b9707
Update link to testbuilds
2 years ago
Qi Wang
3555346ed8
update zh_CN translation
2 years ago
Anders Jenbo
28b7ae6b03
Allow for more flexible translations of "Book of {SpellName}"
2 years ago
Gleb Mazovetskiy
d2db24a19e
values-tr/strings.xml: Escape single quote
2 years ago
Byrgius
0a778eec4b
Turkish Translation ( #7197 )
2 years ago
Anders Jenbo
63d525fe47
Update iOS toolchain
2 years ago
Gleb Mazovetskiy
d415c44cd0
Bump vcpkg baseline
2 years ago
Gleb Mazovetskiy
3c1df9aecd
Bump SDL to v2.30.5
2 years ago
Gleb Mazovetskiy
27206cd1d7
Load font variant for Turkish
2 years ago
Gleb Mazovetskiy
8108f23d58
Add Turkish-specific graphics for "i"
2 years ago
Gleb Mazovetskiy
7211958a05
Bump libfmt
2 years ago
ZhiZe-ZG
1a61e6e397
Update zh_CN translation (updated from latest code) ( #7183 )
2 years ago
Qi Wang
64a71d1d8f
update zh_CN.po
2 years ago
Anders Jenbo
211e99b420
Correct translation comment
2 years ago
Gleb Mazovetskiy
ada13f9e9a
Take PNG screenshots by default in SDL2 builds
...
PNG screenshots are also lossless and about half the size of the PCX
screenshots.
2 years ago
Gleb Mazovetskiy
33cc487ae4
Add single-argument logging overloads
...
Avoids going through `fmt` for single-argument log calls.
2 years ago
Gleb Mazovetskiy
b0c0ffef29
Fix tests build on SDL1
...
In SDL1, add `sdl2_to_1_2_backports` dependency to the interface of
`DevilutionX::SDL`, so that everything that uses SDL can also use
the backports.
Nearly everything uses the backports because logging uses the backports.
2 years ago
Gleb Mazovetskiy
177ba45f8d
Controller buttons: Make most of the code private
...
The compiler constant-folds the lookups in `printItemMiscGamepad`
code to the same asm as the manual version.
2 years ago
Gleb Mazovetskiy
742f5fd5f7
Fix a couple of compilation warnings
2 years ago
staphen
01cbfb6dd1
[Android] Force app to overlap with the display cutout
2 years ago
staphen
46d227c755
Update CI to macos-12
2 years ago
Trihedraf
04bd887741
Add NSIS CPack
2 years ago
staphen
60113bb0b8
Fix brightness of whu casting animations
2 years ago
obligaron
597e6b5f5f
Add comment for fully light and fully dark optimiation assert
2 years ago
hiperiondev
251d05d1ef
Complete 2 missing translations
2 years ago
obligaron
4b7424949f
Make IsFullyDark/IsFullyLit respect hell and hellfire levels
2 years ago
obligaron
56044b7021
Introduce IsFullyDark/IsFullyLit
2 years ago
staphen
753633f2ad
Don't validate items in Single Player
2 years ago