Anders Jenbo
50c65abec0
Word wrap text in main menu dialogs
4 years ago
Anders Jenbo
f291235dcd
Fix error message font color
4 years ago
Anders Jenbo
ae90193136
Game discovery over ZeroTier
4 years ago
ephphatha
67d85dea42
Display hosts version when failed to join game due to mismatch
4 years ago
obligaron
8dc1829ac0
Remember last selected hero
5 years ago
Gleb Mazovetskiy
ff9affa513
Fix a couple of noisy MSVC warnings
5 years ago
Gleb Mazovetskiy
0c694edaba
WordWrapString: Wrap on punctuation
...
Useful for Chinese and Japanese, which do not have spaces between words,
nor whitespace after punctuation.
5 years ago
qndel
b5f5a28b4a
grammar fix
5 years ago
Anders Jenbo
4dd8b121ec
Replace TTF with PCX font
5 years ago
Anders Jenbo
70cff81547
Implement backspace for UTF-8 strings
5 years ago
Anders Jenbo
7959b04573
SDL1 Unicode input support
5 years ago
Anders Jenbo
958087ab86
Switch TTF render to UTF-8
5 years ago
Anders Jenbo
704a04ae4d
Add support for Unicode fonts
5 years ago
staphen
1142d2ee7b
Hardware rendering for the virtual gamepad
5 years ago
Anders Jenbo
f13e66ad04
Mark all names as translatable
5 years ago
Anders Jenbo
7771a08d03
Translatable mainpanel
5 years ago
Anders Jenbo
fa3499432f
Update game font
5 years ago
Anders Jenbo
1bf4cdb9b9
Remove unessesery code from Art
5 years ago
Vladimir Olteanu
d4d89077cd
Don't free PalSurface when it was obtained from SDL_GetVideoSurface
5 years ago
Vladimir Olteanu
aab7bf6e91
Make Palette a unique ptr
5 years ago
Vladimir Olteanu
79d24fa840
Use SDLWrap::CreateRGBSurfaceWithFormat in LoadArt
5 years ago
Vladimir Olteanu
e952137ac9
credits.cpp: get Rid of RenderText
5 years ago
Anders Jenbo
7169882b1f
✨ Implement new font rendering
5 years ago
Anders Jenbo
3c246a5930
✨ Add TRN support to PCX loader
5 years ago
Anders Jenbo
7cb73a6717
Minimize impact of NOSOUND
5 years ago
Juliano Leal Goncalves
20d356a6eb
♻️ Leverage 'Point' in art_draw functions
5 years ago
Anders Jenbo
21963add95
Clean up hellfire differences
5 years ago
Vladimir Olteanu
56946fc5d7
progress.cpp: use TTFWrap::RenderText_Solid
5 years ago
Vladimir Olteanu
bfcc57783c
Remove Surface::{Alloc,Free}, introduce OwnedSurface
5 years ago
Vladimir Olteanu
01b55c7bf3
Introduce TTFWrap::RenderText_Solid
5 years ago
Vladimir Olteanu
2d4a205fef
Introduce SDL::CreateRGBSurfaceWithFormat
5 years ago
Vladimir Olteanu
5d54f8d322
Introduce SDLWrap::CreateRGBSurface
5 years ago
Vladimir Olteanu
7f766f0a67
Simplify CharacterIsDelimiter
5 years ago
Vladimir Olteanu
ebee3a23c5
RenderUTF8_Solid_Wrapped: remove manual memory management
5 years ago
Vladimir Olteanu
252c5316d8
Have RenderUTF8_Solid_Wrapped return SDLSurfaceUniquePtr
5 years ago
qndel
ad6f9cb8e5
fix menu click offset
5 years ago
qndel
30de22f026
fix displayed save number
5 years ago
Thomas Christlieb
d06a36ea3c
make menus wrap around. fixes #2605 ( #2607 )
...
In this commit:
- Select Connection Menu
- Create or Join Game Menu
- Choose Class for new hero menu
-> Did not change Select Hero Menu, seems to be deliberately not wrapping around
5 years ago
obligaron
82cea78def
Apply clang-format
5 years ago
Aaron Sun
3ee90ca629
Add options for sub-panel alignment
5 years ago
Gleb Mazovetskiy
3e5a593021
🐞 Fix reading PCX files with odd widths
...
PCX files always have an even number of bytes on each uncompressed source line, which means there is an unused byte of each compressed line if the width is odd.
References:
1. https://kaba.hilvi.org/pastel-1.5.0/pastel/gfx/image_file/pcx/pcx_file.htm
2. https://www.moon-soft.com/program/FORMAT/graphics/pcx.htm#decoding%20.pcx%20files
5 years ago
qndel
81fadc79ae
fix name check and limit to multi ( #2486 )
5 years ago
ephphatha
8930b789d6
Rename UiType members to follow naming convention
...
Convention seems to be that scrollbar is treated as a single unhyphenated word so the UiScrollbar class was renamed to match.
5 years ago
ephphatha
0575716eac
Rename UiFlags members to group related options
5 years ago
ephphatha
bd140142c3
Convert UiType to a scoped enum
5 years ago
ephphatha
7d93cada67
Refactor UiItemBase and derived types to reduce duplicate constructors
...
Using optional arguments where possible so that all use cases can share the same constructor. Also moving member initialisation to the initialiser list syntax as this makes it clear that the derived class is only setting properties on that class, leaving the parent constructor to initialise members of the parent class.
5 years ago
ephphatha
4ad53232a0
Convert the UiFlags enum to a scoped enum type
...
Replace operator&& with named function
5 years ago
Anders Jenbo
0889780923
Remove more usage of miniwin types
5 years ago
Jonathan Bergeron
33ad9fa187
renamed Source/mainmenu.cpp and .h to menu.cpp/.h
5 years ago
Anders Jenbo
a19e7b2a3b
Remove some more use of miniwin
5 years ago