Commit graph

373 commits

Author SHA1 Message Date
Gleb Mazovetskiy
0c694edaba WordWrapString: Wrap on punctuation
Useful for Chinese and Japanese, which do not have spaces between words,
nor whitespace after punctuation.
2021-09-30 18:16:31 +02:00
Anders Jenbo
4dd8b121ec Replace TTF with PCX font 2021-09-29 18:13:48 +02:00
Anders Jenbo
6321ddb721 Generate devilutionx.mpq 2021-09-29 17:08:36 +02:00
staphen
a3effd5e82 Add vcpkg.json to the project 2021-09-25 09:07:08 +02:00
Anders Jenbo
7771a08d03 Translatable mainpanel 2021-09-19 07:21:52 +02:00
Gleb Mazovetskiy
4e1ad7ab65 LoadFile: Avoid opening the file twice
Previously we were passing the path to `GetFileSize`, which resulted in
opening and closing the file twice.
2021-09-18 06:44:48 +02:00
staphen
60492ef954 Add proper graphics for gamepad 2021-09-16 19:25:31 +02:00
staphen
3df85b70ce Add virtual gamepad event handlers and implement touch controls 2021-09-16 19:25:31 +02:00
staphen
599b29d825 Add renderer for displaying virtual gamepad on screen 2021-09-16 19:25:31 +02:00
staphen
fb4f1ed8fd Add structs for virtual gamepad 2021-09-16 19:25:31 +02:00
staphen
b29141048a Move existing touch control logic to Vita platform 2021-09-16 19:25:31 +02:00
Gleb Mazovetskiy
5a5c56c99b Update libsmacker to 1.2.0r43 2021-09-16 01:03:55 +02:00
Anders Jenbo
7169882b1f Implement new font rendering 2021-09-12 01:37:28 +02:00
qndel
a737d72dd9
Dynamic char panel 2021-08-30 20:33:55 +02:00
Cong
6091c3f3c2
Add GOG installation paths to game data search paths (fixes #2709) (#2748) 2021-08-30 12:00:21 +00:00
staphen
1d50db0246 Nintendo Switch: Remove link to rdimon library to fix file truncation 2021-08-28 02:26:06 +02:00
Gleb Mazovetskiy
1d48dd095d Scale hardware cursor bilinearly
Make the hardware cursor blurry like the rest of the screen.
2021-08-27 15:32:53 +02:00
obligaron
77f9bded9e Introduce demo namespace 2021-08-19 00:03:58 +02:00
obligaron
e3a2142941 Move picosha2.h to 3rdParty 2021-08-11 20:52:32 +02:00
staphen
703e5a3f14 3DS: Detect system language and select the appropriate translation 2021-08-10 07:50:38 +02:00
Epifanov Ivan
63d8e38de1
Auto-detect locale on PSVita. (#2546) 2021-08-09 20:29:41 +02:00
Anders Jenbo
fb279465e9 [android] Build and include translations 2021-08-09 02:19:42 +02:00
Anders Jenbo
815f30c75c Fix regex encoding 2021-08-08 21:57:23 +02:00
Anders Jenbo
cde36db17c Always build translations if package is avalible 2021-08-08 21:57:23 +02:00
staphen
eedd75a925 3DS: Add translations to romfs 2021-08-08 21:12:17 +02:00
Ivan Epifanov
d9aac78d28 Vita: pack translations into VPK 2021-08-08 16:17:27 +02:00
staphen
82d82fb7a3 Update build process for 3DS banner to avoid modifying files in the source folder during build 2021-08-08 03:48:39 +02:00
staphen
764dfdb1b6 Fix 3DS build failures when running builds anywhere besides the build directory 2021-08-08 03:48:39 +02:00
Aaron Sun
24438f23f9 Initial commit for Chines Traditional translation 2021-08-07 19:47:28 +02:00
Anders Jenbo
cfa3c8fa4e Build Bulgarian, German, Korean and Russian translations 2021-08-07 05:09:13 +02:00
Ropufu
4894654adb A line of code saved is a line of code earned. 2021-08-03 07:38:01 +02:00
Ropufu
3de1bfe0df Uniform licenses location; readme's are back. 2021-08-03 07:38:01 +02:00
Ropufu
27d10f4660 Fixed silly typos. 2021-08-03 07:38:01 +02:00
Ropufu
d115e18045 This looks better to @ropufu; but will it work? 2021-08-03 07:38:01 +02:00
Ropufu
140e7e5de9 Enable VS installation on Windows with vcpkg. 2021-08-03 07:38:01 +02:00
staphen
61e2e0dc0a Add audio to 3DS banner 2021-07-29 05:45:17 +02:00
Vladimir Olteanu
1889f2badd Get rid of utils/thread.{h,cpp} 2021-07-22 01:20:23 +02:00
Vladimir Olteanu
77a3955bae Introduce SdlThread 2021-07-22 01:20:23 +02:00
Jonathan Bergeron
33ad9fa187 renamed Source/mainmenu.cpp and .h to menu.cpp/.h 2021-07-18 01:31:15 +02:00
ephphatha
f01d551eb0 Add tests for path_get_h_cost, IsTileWalkable, IsTile(Not)Solid, path_solid_pieces, FindPath
Only path_solid_pieces and FindPath are used outside the file, but the other functions are exposed in the header and have behaviour I felt worth testing individually.
2021-07-17 17:35:58 +02:00
obligaron
b08c8aa0ed MSVC disable warning for unecure CRT functions (for example strcpy) 2021-07-16 21:50:13 +02:00
ephphatha
0efb134e18 Add tests for quest randomisation code
Required splitting the code to a separate function so it can be tested in isolation
2021-07-16 15:13:32 +02:00
Anders Jenbo
352a0ca510 Place local symbols in an anonymous namespace 2021-07-09 16:54:01 -07:00
Anders Jenbo
6cd9935ef6 Bump warning level on MSVC 2021-07-08 23:38:35 -07:00
Anders Jenbo
72e888c27c Enable CMP0092 2021-07-08 11:00:01 -07:00
Anders Jenbo
cb564a2d54 Clean up A-D 2021-07-04 05:25:37 -07:00
Gleb Mazovetskiy
cb0dae8590 🚚 Rename CelOutputBuf to Surface and extract 2021-07-03 05:33:32 -07:00
ephphatha
357f6f1dc3 Move RNG functions to their own header/source files 2021-06-27 03:09:41 -07:00
Anders Jenbo
ef2f3579df Enable level 2 warnigns on MSVC 2021-06-26 15:27:47 -07:00
staphen
8fbe5efd9e Switch custom RNG for libsodium 2021-06-26 13:26:56 -07:00