Gleb Mazovetskiy
1838eb43f2
🎉 cl2_render.cpp: Clip the drawing functions
...
Clips all the drawing functions except the outline one.
Example FPS gain in a dungeon: 1454 -> 1488
5 years ago
Gleb Mazovetskiy
7ed08077f6
♻️ file_util: Cleanup Windows UTF-8-to-16 conversion
5 years ago
Gleb Mazovetskiy
ad18ecc21b
🎉 cel_render.cpp: Clip stippled transparency
...
Example FPS change: 1336 -> 1424
5 years ago
Gleb Mazovetskiy
b3c921edac
Fix clipping in `scrollrt_draw_cursor_item`
5 years ago
Gleb Mazovetskiy
be7880c4db
🎉 cel_render.cpp: Clip outline
...
Clips `CelBlitOutlineTo` to the output buffer.
The templated implementation means that this compiles to many
case-specific functions with near-branchless inner loops.
Increases binary size by 92 KiB.
5 years ago
staphen
a9d2aea984
Removed unnecessary cmake modules.
5 years ago
staphen
28e74113a2
Update 3DS readme
5 years ago
staphen
c49dad9023
3DS: Add devilutionx.mpq to romfs.
5 years ago
staphen
5483b29a31
Set 3DS scaling behavior based on FitToScreen setting.
5 years ago
Anders Jenbo
2472aca44f
♻️ Use DrawString for rendering the unique and quest box
5 years ago
Anders Jenbo
c5f0d1dbdd
♻️ Use DrawString for rendering the unique item box
5 years ago
Anders Jenbo
ac47009f32
📝 Update translation template
5 years ago
Anders Jenbo
0b3d1c68fa
✨ Precompute font color tables
5 years ago
Anders Jenbo
8361e70087
♻️ Use DrawString in error.cpp
5 years ago
Anders Jenbo
72598865cc
♻️ Replace PrintGameStr with DrawString
5 years ago
Anders Jenbo
68923c6c33
✨ Generic game text render function
...
This should gradually replace all the direct rendering of game texts
throughout the code. The interface is made to closly mirror that of the
art fonts as that is what will eventually be used for rendering Unicode
fonts both in the menus and ingame.
fixup! ✨ Generic game text render function
5 years ago
Anders Jenbo
bcbaeba2f0
📝 Correct file header
5 years ago
Gleb Mazovetskiy
f025d5c910
Remove clipping from `scrollrt_draw_cursor_item`
...
There was no reason for this clipping from what I can tell
Now that we actually have working clipping, this just looks odd
5 years ago
AAS
2a018175e8
Update RU translation 2 (with fixes).
5 years ago
Anders Jenbo
dbf5662ce6
:note: Update MPQ error messages
5 years ago
staphen
3e5e5b2696
Synchronize SFileCloseFile() access
5 years ago
staphen
d3d6bc1342
Simplify TTF_FONT_DIR definition for 3DS.
5 years ago
Anders Jenbo
4d5972bcce
🐛 Fix ingame version message contaning the word "version" twice
5 years ago
M0Rf30
5e680d1156
🌐 Fix punctuation in Italian localization
5 years ago
Anders Jenbo
b0f2d5b5d2
🐛 Fix all monsters wanting to talk
5 years ago
Anders Jenbo
4a7ba94702
🎨 Run clang-format
5 years ago
Anders Jenbo
c11945e62b
🎨 Fix line endings
5 years ago
obligaron
8e5996cfca
run clang-format
5 years ago
obligaron
e3e3d02da7
Correct Doxygen comments
5 years ago
staphen
9c2781fa50
Update SDL_audiolib
5 years ago
Anders Jenbo
0477e86aa1
🐛 Fix Griswold animation cycle
5 years ago
obligaron
aba3bb42fa
Fix Bard incorrect number of sword animation frames
5 years ago
staphen
24ca0b8a87
D-pad is now modeled as a hat, not four separate buttons.
5 years ago
staphen
eaa5188776
Remove call to gspWaitForVBlank().
5 years ago
Gleb Mazovetskiy
b6adc10af0
🐞 Fix return value in PlayerStruct::HasItem
5 years ago
Gleb Mazovetskiy
710ddb9af6
♻️ Make SetPixel a method
5 years ago
Gleb Mazovetskiy
9a9941efdd
🚚 Move CL2 rendering to engine/render/cl2_render.cpp
5 years ago
Anders Jenbo
4b577329f4
♻️ Refactor towner initialization
5 years ago
Anders Jenbo
e4e924eb72
🎨 Clean up code style in towners.cpp
5 years ago
Anders Jenbo
6321bf04d5
♻️ Pass player to towner by reference instead of index
5 years ago
Anders Jenbo
c98a1409f9
♻️ Pass towners by reference instead of index
5 years ago
Anders Jenbo
f263e4e9d1
♻️ Split TalkToTowner in to a per towner sub-function
5 years ago
AAS
9fbd1c5a85
Fix Book of the Blind verse and make more translations.
5 years ago
Gleb Mazovetskiy
febaf0dc8b
🐞 Fix misaligned load in `GetCelFrame`
5 years ago
Gleb Mazovetskiy
0edfa3de66
🚚 Move CEL rendering to engine/render/cel_render.cpp
5 years ago
Gleb Mazovetskiy
473d1b0b14
🎉 Clip CEL drawing functions
...
Implements clipping for all CEL drawing functions except stippled and outline.
5 years ago
Gleb Mazovetskiy
59dd42692f
🚚 Move render.cpp to engine/render/dun_render.cpp
5 years ago
Anders Jenbo
f579b2f287
Handle cel/cl2 files as byte arrays
5 years ago
Gleb Mazovetskiy
6474dea0a9
♻️ Move automap_render to engine/, rename 2->Steep
...
Also adds header file documentation.
5 years ago
Gleb Mazovetskiy
e7a9293153
♻️ engine.h: Minor refactoring
...
1. Move `SetPixel` definition to the header to make it easier for the
compiler to inline (make it inlinable even without LTO).
2. Add an `operator[](Point)` overload to `CelOutputBuffer`.
5 years ago