Gleb Mazovetskiy
8e634ff02c
♻️ Remove `_iAnimWidth`
...
No longer needed as of #1796
We could probably go further and not expose `ItemAnimWidth`,
but it'd be dangerous because sometimes `_iAnimData` is null.
5 years ago
Gleb Mazovetskiy
0b18b8977b
🐞 items.cpp: Fix nullopt access
...
A better fix would probably be to not call this function in the first
place before the graphics are loaded.
5 years ago
Gleb Mazovetskiy
3d03990cb8
♻️ Replace `SBmpLoadImage` with a simpler method
...
The new approach only makes 2 read calls and does not do any seeks.
It is also less general and is internal to `art.cpp`, allowing us to
simplify it somewhat.
5 years ago
Anders Jenbo
370d87f9e6
🌐 Update Italien translation file
5 years ago
M0Rf30
d00bad2983
Update Italian localization
5 years ago
Anders Jenbo
93f9b852a2
🐛 Do not stop music when calling sound_stop()
...
Fixes #1782
5 years ago
Gleb Mazovetskiy
7bdfb0655c
🐞 Support multiple playback of the same sound
5 years ago
Anders Jenbo
22d7d41615
🌐 Fix remaning plural form of gold related texts
5 years ago
Gleb Mazovetskiy
c770ae676f
🎉 Stream videos on Linux and FreeBSD
...
Previously, we always loaded entire videos in memory before playing them.
`libsmacker` does not provide a streaming API but it does provide a
`FILE *` file pointer API.
We now take advantage of the `FILE *` API by streaming the videos on
platforms that support `fopencookie`.
This means faster startup and less memory usage on these platforms.
5 years ago
Gleb Mazovetskiy
63e0e60956
Add `MeasureSolidHorizontalBounds`
...
Adds a function to measure the X-coordinates of the solid
(non-transparent) bounding box of a CEL.
5 years ago
Anders Jenbo
2d8fc4f5be
🌐 Update and correct errors in translation files
5 years ago
Anders Jenbo
639e94b3d6
🌐 Use plural form translation for handeling gold related texts
5 years ago
Gleb Mazovetskiy
5bb6dc928a
🌍 Add some missing /*xgettext:no-c-format*/ annotations
5 years ago
Gleb Mazovetskiy
28182ca5e3
🧹 Fix a couple more compilation warnings
5 years ago
dv4mp1r3
22c6078d11
some new russian translations ( #1808 )
5 years ago
Gleb Mazovetskiy
8257837801
🎨 Fix line endings in Source/qol/*
5 years ago
Gleb Mazovetskiy
06ae2508bd
Storm: Apply upstream commit
...
62001d116a
5 years ago
Gleb Mazovetskiy
f454b29c11
🐞 Storm: Make `nLastError` thread-local
5 years ago
Gleb Mazovetskiy
47c93c2f9c
🧹 Fix more `-Wformat` warnings
5 years ago
Gleb Mazovetskiy
22ebebb2d1
🎨 Fix line endings in Source/qol/monhealthbar*
5 years ago
Gleb Mazovetskiy
4408ddc127
🧹 Fix some -Wformat warnings
5 years ago
Gleb Mazovetskiy
fe99f79bb0
🎨 Fix line endings in Source/qol/xpbar*
5 years ago
staphen
ca09c704cf
Use crlf for .txt files in editorconfig.
5 years ago
staphen
d2fd6660d2
Add readme to Packaging/ctr.
5 years ago
staphen
e0051d86ed
Add readme to Packaging/vita.
5 years ago
staphen
5a44eb082b
Modify line endings (to crlf) in switch readme.
5 years ago
KotenokTest
14eff62c40
Update ru.po
...
meow
5 years ago
Mathieu Maret
89fdb6f8e4
Add french translation
5 years ago
Gleb Mazovetskiy
052b4c12f5
♻️ LoadFileInMem: Remove `nullptr` at call sites
...
This is now the default argument, no need to provide it explicitly.
5 years ago
Gleb Mazovetskiy
1b8b62a8c2
♻️ Store CEL width with the sprite itself
...
Instead of passing the CEL sprite width when drawing, store the CEL
width at load time in the new `CelSprite` struct.
Implemented for most sprites except towners, missiles, or monsters.
5 years ago
Mathieu Maret
f4ef9de2e6
Fix Control Hit Translation
5 years ago
Mathieu Maret
dc28b7464e
Do not translate spacing
5 years ago
Mathieu Maret
e47d80f8df
Fix in-correct c-format in pot
...
Detected as c-format because of % presence
but are used as regular strcpy
checked that clang-format will not break it
5 years ago
Anders Jenbo
38d7b1e3c8
🐛 Do not utilize translations till after it has been initialize
5 years ago
Anders Jenbo
18f3a0c5ea
✨ Support for plural forms in translations
...
The implementation isn't robust, dynamic or pretty, but works for now.
5 years ago
qndel
d313a5fdc9
fix line endings in windows readme ( #1790 )
5 years ago
Mathieu Maret
a87f1d8d2e
Avoid a strcpy
...
if _iIdentified is true, the first strcpy was not usefull
5 years ago
Anders Jenbo
c66604c7ad
🐛 Do not render text as UTF8 for now
5 years ago
Anders Jenbo
2b7fad2a68
🐛 Do not render text as UTF8 for now
5 years ago
Anders Jenbo
34eecd6dac
🐛 Fix handeling of mo-file header
5 years ago
ybrbnf
cb67357076
russian translate for dialogs ( #1773 )
5 years ago
obligaron
9cfbea4c8b
ADL: Fix calculation of fast/faster/fastest combination (Bard)
5 years ago
Gleb Mazovetskiy
6913ec4623
Fix missing <memory> includes
5 years ago
Vladimir Olteanu
f5d1dc756a
Make SVidBuffer unique_ptr
5 years ago
Gleb Mazovetskiy
f0d61c7533
🔨 Fix no-message static_asserts in Source/engine.h
...
Restores GCC5 compatibility
5 years ago
Gleb Mazovetskiy
979bedb8c2
🐞 Fix memory leaks in utils/language.{h,cpp}
...
This is a minimal refactoring to fix the memory leaks which have made
reading debug output impossible.
5 years ago
Gleb Mazovetskiy
c025bf6050
🎨 Fix line endings in utils/language.{h,cpp}
5 years ago
Vladimir Olteanu
06f2670406
Get rid of mem management macros from storm_sdl_rw.cpp
5 years ago
Vladimir Olteanu
24d2ab152a
Use std::list for halls in catacomb generation ( #1774 )
5 years ago
Vladimir Olteanu
a2cb1e5c59
Cleanup pfile_encode_hero
5 years ago