Commit graph

801 commits

Author SHA1 Message Date
Inori
8cb94f3f81 Add more Win32API information 2019-08-26 21:13:13 -04:00
Inori
98f3ac6442 Vertically flip screenshots 2019-08-26 20:05:51 -04:00
Inori
888ee08b27 Add macOS resources 2019-08-26 01:57:12 -04:00
Inori
9c0842d6f8 Correctly detect mouse buttons in MKXP_GetAsyncKeyState 2019-08-25 22:57:02 -04:00
Inori
8b384ba759 more fakeapi stuff + Disable frameskipping by default 2019-08-25 17:58:12 -04:00
Inori
f7acc14486 Support mouse buttons in MKXP_GetAsyncKeyState 2019-08-25 15:01:21 -04:00
Inori
f15f767d73 Add fake-api GetPrivateProfileString 2019-08-25 12:27:41 -04:00
Inori
dc8a1b100b misc fake-api functions for Unix 2019-08-24 22:14:44 -04:00
Inori
15a64924a3 Add GetAsyncKeyState 2019-08-23 12:21:52 -04:00
Inori
d22d198676 why am I like this 2019-08-22 21:41:20 -04:00
Inori
347ac50275 -- 2019-08-22 21:37:44 -04:00
Inori
d0b377e41f Use eventthread keystates instead of SDL_GetKeyboardState 2019-08-22 21:33:33 -04:00
Inori
606975b505 Start macOS/Linux fake-api 2019-08-22 13:56:18 -04:00
Inori
141e06c7a0 Fix mouse visibility + coords with resized screen 2019-08-20 22:49:15 -04:00
Inori
35b7ef0b3f Changes to runtime configuration options 2019-08-20 13:22:07 -04:00
Inori
cce65b2994 I'm a spaz 2019-08-20 07:11:30 -04:00
Inori
cd04341d18 Use getcwd() instead of SDL_GetBasePath() 2019-08-20 07:10:15 -04:00
Inori
9c08249992 Remove 'fix_essentials', add 'use_fakeapi' 2019-08-20 05:21:30 -04:00
Inori
11b6d2717f Typos, small corrections 2019-08-19 13:11:19 -04:00
Inori
cc02c02d76 Remove unnecessary includes 2019-08-19 09:28:00 -04:00
Inori
28b60eb9fb Add Graphics.screenshot 2019-08-19 08:59:35 -04:00
Inori
8243802921 Fix GetKeyboardState not recognizing Shift presses 2019-08-17 18:43:20 -04:00
Inori
70f81da5cf Throw NoFileError for null PHYSFS_File handles 2019-08-12 23:01:38 -04:00
Inori
5959efcab4 Enable resizing, disable smoothscaling by default 2019-08-12 16:29:50 -04:00
Inori
6a046a91e7 Don't do drugs kids 2019-08-10 03:49:31 -04:00
Inori
e8fe65f862 Initialize Winsock so that Sockets works 2019-08-10 03:46:20 -04:00
Inori
9ee77a8f2d Use SDL for Win32API.SetWindowText 2019-08-09 08:14:02 -04:00
Inori
50a5c44620 Update meson.build and README 2019-08-08 21:00:50 -04:00
Inori
d08c07b42a Use own GetWindowRect instead of WinAPI's 2019-08-08 09:40:50 -04:00
Inori
3a00328594 normalize paths given to Audio.[bgm|se|me]_play 2019-08-08 08:48:48 -04:00
Inori
e44135e87d Return actual window handle with FindWindowEx 2019-08-06 23:40:29 -04:00
Inori
ad0cf67cb9 Resurrect mouse detection 2019-08-06 22:43:19 -04:00
Inori
56c6d4b441 Use windows native SetWindowPos for window resize 2019-08-06 21:17:25 -04:00
Inori
cd6c659387 Move fake Win32API functions out of if/else chain 2019-08-06 15:33:54 -04:00
Inori
d963d3bbe5 Fix files in archives not loading for no good reason 2019-08-05 16:24:16 -04:00
Inori
6cf6f2ec85 Get ruby exceptions for null file handles 2019-08-05 13:53:03 -04:00
Inori
5d8da3ec5d Use SDL functions with MiniDL/Win32API 2019-07-31 10:53:46 -04:00
Inori
b2b14abf2a Don't include alext.h when using Apple-provided OpenAL 2019-07-31 10:00:06 -04:00
Inori
77b430b4fb Add dynamic linking (Win32API) 2019-07-31 07:04:13 -04:00
Inori
5bccdb761f Compile with Ruby 1.8 2019-07-30 02:13:36 -04:00
Inori
37e5943f34 Use meson as build system 2019-07-29 07:56:45 -04:00
Jonas Kulla
86194118a3 FileSystem: Check PHYSFS_registerArchiver() for success 2019-05-18 16:48:17 +02:00
Jonas Kulla
98bdfcf758 FileSystem: Check PHYSFS_init() for success
Move it above the allocations so exceptions don't leak memory.
2019-05-18 16:42:56 +02:00
Jonas Kulla
6fa5b8c856 Sprite: Define M_PI manually
Apparently (older?) mingw-w64 with C++11 enabled doesn't have it.
2019-05-18 16:21:21 +02:00
Jonas Kulla
9dcfb66e86 fluid-fun: Define destructor signature based on fluidsynth version
As per @carstene1ns 's suggestion.
2019-03-22 21:16:57 +01:00
Jonas Kulla
d4b9adc1d1 fluid-fun: Adjust function signature to fluidsynth 2.0
This breaks compilation with FLUID_SHARED against <2.0 versions,
which should be reasonable given that the default mode can still
dynamically load both variants.

Fixes #219.
2019-03-21 08:07:02 +01:00
Luis Caceres
43cb318862 Config: Add case-insensitive ini file parser 2019-03-19 19:26:50 +01:00
Eliza Velasquez
bab22d87be Fix font enumeration
Currently, the font enumeration callback erroneously stops searching if
it finds any files that aren't fonts. In the case that you have, say, a
desktop.ini or a .DS_Store or a license file, it may prevent all of the
fonts from being loaded. This commit resolves this.
2018-10-13 20:28:36 +02:00
Jonas Kulla
ae59fcd112 Graphics: Fix transition when new scene has gray tone effect
Rendering the scene may cause PingPong swaps of front / backbuffer,
so don't take references to those buffers until after rendering.

Fixes #199
2018-05-21 12:22:23 +02:00
ReinUsesLisp
b5e5a26d8b Config: Set debug editor's debug variables into ruby 2018-02-22 09:08:45 +01:00