Commit Graph
302 Commits
Author SHA1 Message Date
kichikuou 070a2f8105 Android: Load fonts from assets
Now fonts/ directory is bundled in APK as assets. TTF_OpenFont() can
open files in Android assets, but cannot handle the "./" path prefix.
2019-12-31 21:18:23 +09:00
kichikuou 8588a0033c Android: Output sys_message/sys_error to android log 2019-12-31 15:16:54 +09:00
kichikuou eb50ac4fdc Android: Build rules
This sets up Gradle / CMake rules for Android build.
2019-12-31 15:16:49 +09:00
kichikuou d1d0641642 Android: Import android project files from SDL
This just copies android-project/ directory of https://hg.libsdl.org/SDL/
(rev 13383) to android/.
2019-12-31 11:31:28 +09:00
kichikuou 8c31e7a2ec Rename imput.[ch] to input.[ch] 2019-12-24 17:40:02 +09:00
kichikuou b820ff573d CMake: set CMAKE_C_STANDARD to 99 2019-12-24 10:58:14 +09:00
kichikuou a51addd73a Fix for emscripten 1.39.1
Now IDBFS needs to be linked explicitly.
2019-11-18 14:37:58 +09:00
kichikuou 8958b41ad2 Windows MSYS2 build support
- Add feature detection and fallback implementation for some functions
- Use binary mode for fopen()
- CMake: Add workaround for MSYS link error
2019-10-14 17:32:17 +09:00
kichikuou 7a27bcaafd Remove unused nact.tmpdir 2019-10-12 22:57:18 +09:00
kichikuou 665277fcdd VA animation: stop using interval timer
Animation state is calculated in va_animation() (called from
nact_callback()) instead.

This would make porting to non-UNIX environments easier.
2019-10-12 19:32:43 +09:00
kichikuou c1baffd583 bgm.sdlmixer.c: avoid unnecessary memory copy 2019-09-29 22:24:22 +09:00
kichikuou 71e61adbd6 sys35_initGameDataDir: support *BA.ALD 2019-09-29 19:53:37 +09:00
kichikuou b1580643f0 BGM (*BA.ALD) support 2019-09-29 19:36:53 +09:00
kichikuou 7f0f51df41 xcore: Do not use deprecated XKeycodeToKeysym 2019-09-16 16:12:42 +09:00
kichikuou 0f3ff4ff3a cdrom: Fix loop parameter type of start() 2019-09-16 15:45:28 +09:00
kichikuou b97e834964 CMake: Prefer CheckSymbolExists to CheckFunctionExists 2019-09-16 15:45:28 +09:00
kichikuou 8f65891ed8 Fix more compiler warnings 2019-09-15 19:32:00 +09:00
kichikuou c0ac281789 Suppress some compiler warnings 2019-09-15 18:42:19 +09:00
kichikuou 4602b1ebfc Fix compiler warnings 2019-09-15 18:42:16 +09:00
kichikuou 641f53e5bb Change return type of font->get_glyph 2019-09-15 16:32:02 +09:00
kichikuou f91338aeb5 font_sdlttf: implement get_glyph
This is used by NIGHTDLL and SACT.
2019-09-15 16:32:02 +09:00
kichikuou ecf0e6c829 Reduce frequency of nact->callback to once per vsync 2019-09-15 16:32:00 +09:00
kichikuou 184211b87a modules: implement list_{nth,last} and add test 2019-09-15 11:05:50 +09:00
kichikuou 1785a4e1c2 Merge pull request #16 from nunuhara/texthook-flush
texthook: explicitly flush stdout every line
2019-09-09 08:03:14 +09:00
Nunuhara Cabbage eff39cf3c5 texthook: explicitly flush stdout every line
This allows processing the output line-by-line by a script.
2019-09-08 11:27:25 -07:00
kichikuou 17ab866835 Do not print error when .xsys35rc is missing 2019-09-08 11:45:21 +09:00
kichikuou 1031def79f SDL: Use NOTICE to log unhandled events 2019-09-08 11:30:01 +09:00
kichikuou 12c65208de CMake: make default font path configurable 2019-09-08 11:26:28 +09:00
kichikuou a593bc9d7e Text hook 2019-09-02 09:04:57 +09:00
kichikuou 93aa3e7e5c Remove -midiplayer option 2019-08-25 14:30:54 +09:00
kichikuou 510c0753dd Fix #ifdef in -help string 2019-08-25 14:15:21 +09:00
kichikuou 97e4e2b6da Update -help string and doc 2019-08-25 14:10:52 +09:00
kichikuou 7578b02f2b Use bundled fonts by default 2019-08-25 13:21:07 +09:00
kichikuou d26f23e5f8 Bundle font files 2019-08-25 11:37:30 +09:00
kichikuou b6b6ca5393 Remove tools/freetype-config
No longer needed in CMake build.
2019-08-25 09:43:47 +09:00
kichikuou 553734eb15 Update document for .xsys35rc loading 2019-08-24 15:06:13 +09:00
kichikuou 06a8e61e83 Merge pull request #15 from nunuhara/multi-profile
Allow loading multiple .xsys35rc files
2019-08-20 19:36:56 +09:00
Nunuhara Cabbage 4bd32f01ee Allow loading multiple .xsys35rc files 2019-08-19 17:24:41 -07:00
kichikuou 8483b6353b SDL_ttf: Fix non-ASCII text rendering 2019-08-16 20:43:29 +09:00
kichikuou ced715e7ec Merge pull request #13 from nunuhara/sdl_ttf
Add SDL_ttf font device
2019-08-15 22:57:16 +09:00
Nunuhara Cabbage cc4e725800 Add SDL_ttf font device 2019-08-15 05:57:35 -07:00
kichikuou 30575ea7b7 SDL: Fix Daiakuji animation 2019-08-12 12:01:52 +09:00
kichikuou dbb248666f Reorganize image routines
- Move xcore specific code to xcore_image.c
- Inline image{15,16,24p,24}.c into image.c and xcore_image.c
2019-08-04 21:39:32 +09:00
kichikuou 5bed15ec8f Refactor CMakeLists.txt 2019-08-04 12:14:05 +09:00
kichikuou 9abf253900 Get rid of library.js 2019-08-04 09:38:12 +09:00
kichikuou 627f4ba846 Introduce pcm.emscripten.c 2019-08-04 09:12:43 +09:00
kichikuou c16652ca82 Use EM_JS where possible 2019-08-03 20:00:22 +09:00
kichikuou 6134741e7a Switch to emscripten upstream backend 2019-08-03 13:22:54 +09:00
kichikuou cf94938d95 Fix duplicated definition of RawKeyInfo 2019-08-03 08:53:11 +09:00
kichikuou 6f38736305 Allow setting audio buffer size in .xsys35rc
And change the default from 4096 bytes to 2048 bytes.
2019-07-28 12:50:50 +09:00