Commit graph

98 commits

Author SHA1 Message Date
Struma
f839001be9 Finish moving to GameController API, other stuff
Namely:
- moved raw input states from System to Input
- Input.raw_key_states returns Array<Boolean> now
- the Joystick hash has become an entire module
- added manual input handling for controller buttons
- Raw controller states for both buttons and axes can be polled
- mouse and raw keys are now captured between Input updates
2022-07-04 04:53:52 -04:00
Struma
a0da0df6ef SharedFontState: Add 'defaultFontFamily' property
5e3907c7f8
2022-07-03 03:23:28 -04:00
Struma
64dad2ad27 Good enough to release (?) 2022-01-23 18:29:08 -05:00
Struma
56ef0ed900 allow enabling/disabling certain options through env 2022-01-23 08:21:59 -05:00
Struma
950e62dff1 make reloads after using System.un/mount optional
Also, use rb_bool_arg more often.
2022-01-20 19:50:46 -05:00
Struma
558942d8e7 Merge branch 'dev' into 'fix-windows-console'
# Conflicts:
#   src/config.cpp
2022-01-17 04:18:57 +00:00
Joni Savolainen
6d9c144b65 Open Windows standard file descriptors before initializing Ruby 2022-01-16 14:34:55 +02:00
Joni Savolainen
e2ba8d4398 Revert "Allow queuing Debug prints"
This reverts commit ac778db752.
2022-01-16 13:21:40 +02:00
Struma
c2ebb1d234 fix System::VERSION returning macro name
Yes, I'm an idiot for not noticing, but it's fixed now.
2022-01-15 17:21:26 -05:00
Joni Savolainen
ac778db752 Allow queuing Debug prints 2022-01-15 11:05:45 +02:00
Joni Savolainen
c2deb233e0 Set up Windows console during MRI init 2022-01-15 08:55:22 +02:00
Struma
59d326ef4a Remove basically pointless build options 2021-10-14 05:28:32 -04:00
Struma
e9fdf46d49 Include Ruby standard library by default on macOS 2021-08-28 04:53:04 -04:00
Struma
d8c4351b60 rename String.guess to String.to_utf8 2021-08-12 00:35:19 -04:00
Struma
1e054ade0e Add String.guess, String.guess! 2021-08-11 01:56:03 -04:00
Struma
20878a4d70 Freeze System::CONFIG 2021-06-25 22:07:18 -04:00
Struma
9920de87f8 Make json config accessible from System::CONFIG 2021-06-22 18:32:39 -04:00
Struma
6c08073610 Set Ruby's ARGV based on the command line 2021-06-22 09:38:23 -04:00
Struma
3626ac072f Make the window title a gettable property 2021-06-11 14:26:14 -04:00
Struma
95e17244fd Remove Windows API emulation 2021-06-08 19:02:15 -04:00
Struma
d1ee8f8f30 Windows I hate you 2021-05-23 23:43:33 -04:00
Struma
513e2935b2 Big Dummy Forgets a Function 2021-05-23 23:23:10 -04:00
Struma
a216869375 fix misplaced #else 2021-05-23 22:06:35 -04:00
Struma
258055d86a Remove SDL_GetPlatform call 2021-05-23 21:58:48 -04:00
Struma
ca596cbaf9 cleanup 2021-05-23 21:55:02 -04:00
Struma
84c4f97c6c Add more detailed platform detection 2021-05-23 21:40:48 -04:00
Struma
819dac706f Add System.launch 2021-05-23 19:48:32 -04:00
Struma
4784a36e54 cleanup 2021-03-31 20:08:19 -04:00
Struma
44dda759a4 freeze version string 2021-03-27 23:17:20 -04:00
Struma
02cc1a0630 Remove 'console' build option 2021-03-15 23:13:25 -04:00
Joni Savolainen
7b28167551 Create a debug console on Windows 2021-03-15 11:22:05 +02:00
Struma
5e1d61632d Get Windows username through Ruby's ENV 2021-03-05 01:04:53 -05:00
Struma
db919e9f29 Make sure all Ruby strings are created as UTF-8 2021-03-02 03:26:51 -05:00
Struma
02c06be88a Add Ruby-accessible delta clocks (microseconds) 2021-02-25 21:29:21 -05:00
Struma
ced6daede7 Separate tileset script from main executable 2021-02-24 02:38:31 -05:00
Struma
1d508b048a Input.count, Input.repeatcount, System.user_name 2021-02-22 18:36:53 -05:00
Struma
0cf75c92e5 Set encodings after JIT options have been processed 2021-02-22 15:51:03 -05:00
Struma
c3b5623a3d Create configuration options specifically for JIT 2021-01-09 06:37:24 -05:00
Struma
67a19c8b5b Merge branch 'master' into 'master'
Add support for passing commandline arguments set in mkxp.json to the Ruby environment.

See merge request mkxp-z/mkxp-z!29
2021-01-09 05:53:14 +00:00
Struma
94657eaed5 Add Ruby functions for mounting/unmounting paths 2021-01-09 00:49:31 -05:00
Aeodyn
a08fea1574 Add exception handling to rubyArgs. 2021-01-08 23:32:30 -05:00
Aeodyn
63b92d3815 Add support for passing commandline arguments set in mkxp.json to the Ruby environment. 2021-01-08 19:48:41 -05:00
Struma
8edd1739d6 Try to load Zlib when the Ruby VM is initialized 2021-01-06 21:03:30 -05:00
Struma
9a4c53e6fe Reflect custom ruby branch changes 2020-12-31 22:37:26 -05:00
Struma
59078356ac add System::VERSION 2020-12-31 17:26:14 -05:00
Struma
7db1c1219e Prefix mkxp-z preprocessor definitions with MKXPZ_ 2020-12-31 14:50:07 -05:00
Struma
e511d71875 Housecleaning 2020-12-30 16:45:03 -05:00
Struma
69ab476b26 Force JIT for Ruby > 3 2020-12-30 13:48:13 -05:00
Struma
e52ce335c4 Add HTTPLite module (built-in simple GET/POST) 2020-12-30 00:06:15 -05:00
Struma
a2a0a05301 Move FileInt.desensitize to System.desensitize 2020-12-26 13:29:33 -05:00