Struma
1219fb4ab9
Support manual animation of Bitmaps
2021-05-02 20:36:28 -04:00
Struma
2c188f944a
Fix setting animated bitmap FPS from Ruby
2021-05-02 13:24:46 -04:00
Struma
f98b91ff9a
Support animated GIFs
2021-05-01 21:50:39 -04:00
Struma
f583683609
Satisfy hardened runtime dyld path reqs in Win32API
2021-04-15 23:59:27 -04:00
Struma
4784a36e54
cleanup
2021-03-31 20:08:19 -04:00
Struma
7c6704580b
set body encodings for POST methods
...
(because I forgot)
2021-03-28 20:22:12 -04:00
Struma
f3f401a794
set HTTP response body encoding based on Content-Type
2021-03-28 15:26:08 -04:00
Struma
d7816c121b
Account for binary HTTP responses
2021-03-27 23:34:46 -04:00
Struma
44dda759a4
freeze version string
2021-03-27 23:17:20 -04:00
Struma
8223cd6d9c
follow redirects by default
2021-03-25 20:16:51 -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
69a89cf87f
sync thread access to text input buffer
2021-03-08 06:20:43 -05: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
ae9e292a1b
add Graphics.average_frame_rate
2021-02-27 08:17:14 -05:00
Struma
48a2393bb8
Speed up load_data & remove encryptedGraphics setting
2021-02-26 08:33:27 -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
653eb0118b
Remove haptic code
2021-02-23 17:25:07 -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
2fd585393d
the not-so-great warning purge
2021-02-22 01:22:26 -05:00
Struma
1163ee9df5
Implement Input.release? and Input.releaseex?
2021-02-19 15:33:06 -05:00
Struma
f719c27f57
Move RGSS1 viewport elements to new parent when 'viewport=' is called
2021-02-10 00:04:34 -05:00
Struma
6a006f1b13
Remove RGSS version check from viewportElementBinding
2021-02-08 03:18:17 -05:00
Struma
65c6c78936
Raise exception if getPrivateData fails
2021-02-02 06:21:25 -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
88d8c9d63c
Allow using VX+ Sprite functions in XP mode
2021-01-09 00:49:49 -05: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
c9a5638451
Use compiler default convention on x64 Windows
2021-01-06 14:45:15 -05:00
Struma
36e2c7508b
Fix x64 Windows asm -- again
2021-01-06 04:42:40 -05:00
Struma
1bc05a9b62
fix inappropriate if statement
2021-01-06 01:13:19 -05:00
Struma
92f92dc480
lParam size should be architecture dependent
2021-01-05 01:31:27 -05:00
Struma
be051461e5
Fix calling convention for Win64 MiniFFI calls
2021-01-01 02:02:47 -05:00
Struma
19f04599b7
Revert "Detect DLL architecture at runtime"
...
This reverts commit 3106df636a
.
2021-01-01 00:26:37 -05:00
Struma
1785d7c2dd
Detect DLL architecture at runtime
2021-01-01 00:08:28 -05:00
Struma
9a4c53e6fe
Reflect custom ruby branch changes
2020-12-31 22:37:26 -05:00
Struma
8f78a4cf17
Fix Windows build errors
2020-12-31 19:59:53 -05:00
Struma
961a8fb63b
Use __MINGW64__ instead of _WIN64
2020-12-31 18:35:04 -05:00
Struma
59078356ac
add System::VERSION
2020-12-31 17:26:14 -05:00
Struma
69514de7c6
Attept 64-bit MiniFFI on Windows
2020-12-31 16:58:47 -05:00
Struma
7db1c1219e
Prefix mkxp-z preprocessor definitions with MKXPZ_
2020-12-31 14:50:07 -05:00
Struma
f7449ab7e6
add '-masm=intel' when building using GCC
2020-12-31 14:26:12 -05:00
Struma
774b288a68
Update README slightly
2020-12-30 18:39:45 -05:00
Struma
5d4758edaa
Bump version, update Meson build
2020-12-30 18:21:59 -05:00
Struma
51c7f8410e
Add optional header parameter to HTTP functions
2020-12-30 18:14:01 -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
f9b6f95708
fix include conflict between ruby and json5pp
2020-12-30 13:32:33 -05:00
Struma
d448d996f5
Add JSON parse/stringify methods to HTTPLite::JSON
2020-12-30 01:43:40 -05:00
Struma
e52ce335c4
Add HTTPLite module (built-in simple GET/POST)
2020-12-30 00:06:15 -05:00
Struma
056f4dcf0c
Use -fdeclspec when building with Ruby 3
2020-12-27 03:27:38 -05:00
Struma
a2a0a05301
Move FileInt.desensitize
to System.desensitize
2020-12-26 13:29:33 -05:00
Struma
0179e6a75b
Revert "Remove haptics code"
...
Some part of this completely breaks the frame limiter.
I do not know which part
2020-12-25 19:41:16 -05:00
Struma
d565650975
Remove haptics code
...
It never worked anyway, as far as anyone knew, and is probably
not a feature anyone particularly needs.
2020-12-25 12:01:41 -05:00
Struma
c34f985c5f
Add Xcode build scheme for (ARM64) legacy mkxp-z
...
Homebrew isn't quite ready for M1 Macs yet, but the Xcode project is.
Requires setting up the ruby 1.8 dependency manually.
(the `custom-ruby` rule in the makefile)
2020-12-14 11:45:45 -05:00
Struma
4ef6b3c337
Do FilesystemImpl for meson builds
2020-11-22 04:51:36 -05:00
Struma
0e278c3e5c
Drop ObjFW as a dependency
2020-11-22 03:48:03 -05:00
Struma
a399059f8c
Update xcodeproj
2020-11-21 22:37:46 -05:00
Struma
f98b1e031f
Reorganize src dir
2020-11-21 01:36:24 -05:00
Struma
7e21066a70
Experimental Xcode builds (dependencies included)
2020-11-19 03:56:35 -05:00
Struma
bd549a65ad
Support building with Ruby 1.9
2020-11-15 18:47:21 -05:00
Aeodyn
050da27ca0
Brought the tilemap class mostly in line with Essential's CustomTilemap wrt animations, though at the cost of backwards compatibility.
...
(This could be rescued by per-tile animation lentghs in tilemap.vert, but this should suffice for now.)
2020-07-14 19:34:38 +00:00
Struma
baae369f07
use getcwd to push to loadpath
2020-05-03 21:08:23 -04:00
Struma
90274b435f
Add pwd to loadpath if rubyLoadpath not set
2020-05-02 22:33:58 -04:00
Struma
6f1542ecf9
ruby why are you like this
2020-04-24 07:57:44 -04:00
Struma
c08cd8359e
Raise max FFI args to 32 (for Windows)
2020-04-23 06:10:09 -04:00
Struma
adeb1b2f88
Add more Essentials overrides
2020-04-23 05:33:00 -04:00
Struma
f91bc5bf33
Bind Bitmap mega+maxsize detection functions
2020-04-23 04:18:25 -04:00
Struma
5e001c79c5
rename fake_api
easypoke
...
Really the only reason it even exists at this point is
Pokemon Essentials, so I might as well stick all the dumb Essentials
fixes together
2020-04-23 02:19:24 -04:00
Struma
282bd9b03e
Happy Nth sleep-deprived oversight, Zoro!
2020-04-22 08:55:28 -04:00
Struma
211bbecde0
Bump version to 1.3.0
2020-04-22 08:52:54 -04:00
Struma
e96ffb13a2
Add Essentials 16384px tileset limit workaround
2020-04-22 08:09:13 -04:00
Struma
89da4f3b8c
Bind checking case insensitive filenames from Ruby
2020-04-19 06:44:41 -04:00
Struma
21f75f84aa
Use native SetWindowLong+RegisterHotKey on Windows
2020-04-16 06:40:09 -04:00
Struma
d7337bce6f
Bind Graphics.frameskip
property
2020-04-16 05:28:30 -04:00
Struma
6b0ffa069f
rewrite Windows FFI asm
2020-04-14 06:48:33 -04:00
Struma
5cccbc22df
movnz should be cmovnz
2020-04-13 04:12:14 -04:00
Struma
5afa2ee527
actually require cxx compiler to be clang
2020-04-13 04:07:32 -04:00
Struma
13bd24a003
woops fix
2020-04-13 04:03:43 -04:00
Struma
d3a16e88a7
Restore stack pointer after FFI calls (and pray)
2020-04-13 03:59:07 -04:00
Struma
1605bfa6d6
move key detect by scancode name to ex functions
...
Because VX Ace already uses symbols, apparently.
2020-04-12 11:45:30 -04:00
Struma
ab724c762f
rebind store_stats
2020-03-03 17:59:30 -05:00
Struma
afa5bef210
Try and patch up steamshim_child
2020-03-03 05:14:29 -05:00
Struma
88abd71dfb
Integrate Steamshim
...
GPL doesn't actually allow direct linking with Steam.
Thank god for OneShot.
2020-03-02 03:52:42 -05:00
Struma
c4ac1b2ec7
Remove Discord support
...
I'm a moron. GPL, yo.
2020-03-02 00:42:04 -05:00
Struma
9978320db1
Windows does not like uint
2020-02-28 03:33:49 -05:00
Struma
bc7709fb53
Implement SteamUserStatsLite
2020-02-28 03:23:16 -05:00
Struma
fdaa00fb71
Restrict integer arguments to 32 bits
...
When built as 64-bit, use the 'i' and 'I' arguments for MiniFFI/Win32API
to specifically refer to a 32-bit integer.
'l', 'L', 'n' and 'N' continue to refer to the `long` sizes.
2020-02-26 18:47:46 -05:00
Struma
c674864e53
Bump version to 1.2.1
2020-02-26 16:55:13 -05:00
Struma
655dc537f0
Make getPrivateDataCheck less strict
2020-02-26 16:50:53 -05:00
Struma
10b367f76a
Properly use Ruby 2.7 rb_proc_new
2020-02-26 16:10:04 -05:00
Struma
94e063c6c0
OLD_RUBY -> RAPI_MAJOR/RAPI_MINOR/RAPI_TEENY/RAPI_FULL
2020-02-26 12:44:37 -05:00
Struma
429bf753cc
drop deprecated function calls for Ruby 2.7
2020-02-26 11:53:12 -05:00
Struma
2a046a0709
Build with Ruby 2.7
2020-02-26 11:05:46 -05:00
Struma
dd0f3ade91
Allow specifying ruby install manually
2020-02-25 05:35:30 -05:00
Struma
85640a32a1
add compressedGraphics and openGL4 runtime opts
2020-02-25 01:00:12 -05:00
Struma
80f2fb3677
Fix Win32API on Windows (screw Windows)
2020-02-23 02:09:55 -05:00
Struma
0f767dbfe3
revert getPrivateDataCheck
2020-02-03 04:55:50 -05:00
Inori
796ceabe9c
Don't build MiniFFI on 64-bit Windows
...
MiniFFI/Win32API is now optional, and requires
sizeof(void*) == sizeof(long)
2019-12-31 13:42:44 -05:00
Inori
faef84e1ae
always alias MiniFFI class as Win32API
2019-12-21 04:53:14 -05:00
Inori
a213b45e84
always use RGSS method of checking private data
2019-12-21 04:51:54 -05:00
Inori
c07a24821d
Use pkg-config with Ruby 1.8
2019-12-17 06:22:01 -05:00
Inori
fa8f9915dd
Always use same typedef for MINIFFI_FUNC
2019-12-17 02:27:55 -05:00
Inori
66d06941a7
Dispose of Boost, switch to JSON5 for configuration
2019-12-15 17:37:24 -05:00
Inori
3ee8659dda
Begin using Objective-C (ObjFW), remove cwalk
2019-12-14 13:31:48 -05:00
Inori
0dbc2b1a21
Add AppImage stuff
2019-10-22 02:30:07 -04:00
Inori
392fe91fb5
rb_get_args is annoying
2019-09-21 20:19:34 -04:00
Inori
d63f9958a3
misc additions
2019-09-21 19:47:51 -04:00
Inori
d1fc07422b
Change default face button bindings
2019-09-19 04:53:07 -04:00
Inori
7af4026999
Play nice with Marin's experiments
2019-09-19 03:32:50 -04:00
Inori
582eee853b
Test controller rumble support
2019-09-19 01:33:04 -04:00
Inori
8175a98cc2
Update mkxp.conf dataPathOrg/dataPathApp description
2019-09-18 23:08:15 -04:00
Inori
2a0e4be24f
I'm so tired
2019-09-18 22:53:39 -04:00
Inori
bfa60cc065
Accept scancodes with Input.press?/Input.trigger?/Input.repeat?
2019-09-18 22:50:28 -04:00
Inori
4e7e7b740a
Add MKXP.show_settings
2019-09-17 01:42:50 -04:00
Inori
e0236dff6f
heck
2019-09-16 23:13:12 -04:00
Inori
939c601aea
Add Input.joystick
2019-09-16 23:10:46 -04:00
Inori
3b71c1f501
Replace MiniFFI allocation function with correct one
2019-09-15 07:56:30 -04:00
Inori
a102b875b4
use MiniFFI in Ruby >1.8
2019-09-14 03:03:41 -04:00
Inori
68fa3225d7
Remove unnessecary DiscordActivity member bindings
2019-09-14 01:59:52 -04:00
Inori
083f277e32
Redirect IO to /dev/null on each reset
2019-09-06 18:38:50 -04:00
Inori
2515f66270
Set $TEMP to $TMPDIR if using fakeapi on macOS/Linux
2019-09-06 18:34:53 -04:00
Inori
dd9c0c50f8
add Bitmap.to_file
2019-09-06 18:30:37 -04:00
Inori
4a98056f19
Add fake-api GetUserName
2019-09-06 16:51:02 -04:00
Inori
f17ab86ac2
Use glReadPixels for Bitmap::getRaw
2019-09-06 16:18:09 -04:00
Inori
3b714579a8
Add Bitmap.raw_data property
2019-09-06 15:09:03 -04:00
Inori
2724934436
Redirect stdout to /dev/null when using console=false
2019-09-06 13:03:14 -04:00
Inori
147dc4dab0
add NOT support to script platform identifiers
2019-09-06 05:54:50 -04:00
Inori
967fca8daa
Execute/skip scripts based on a platform marker
2019-09-06 05:29:50 -04:00
Inori
7ffa03cafe
Add initialize_copy method to Discord::Activity class
2019-09-06 04:18:07 -04:00
Inori
904cfa20d4
Add Input.clipboard property
2019-09-06 03:32:43 -04:00
Inori
17b07a41e8
Add MKXP.power_state
2019-09-06 02:36:19 -04:00
Inori
ac28861587
Add text input functionality to Input module
2019-09-05 23:57:10 -04:00
Inori
0111175c45
Add MKXP.set_window_title
2019-09-05 21:44:11 -04:00
Inori
22af5bf0f5
Gifs are just a mistake actually
2019-09-05 21:10:00 -04:00
Inori
9f3e3eacc0
I am still a fool
2019-09-05 18:19:31 -04:00
Inori
5db28c7728
Bind Bitmap.update
2019-09-05 18:17:40 -04:00
Inori
1e3661fdee
Give Discord.user_avatar an optional size argument
2019-09-05 03:26:21 -04:00
Inori
4fbe56803f
Add Discord.user_avatar
2019-09-05 02:13:43 -04:00
Inori
b53fcbb9e4
Actually init new bindings
2019-09-04 18:02:08 -04:00
Inori
7ad27345fd
Add code snippet for Discord in README
2019-09-04 17:43:29 -04:00
Inori
866692b43a
Use a default internal Discord Activity on startup
2019-09-04 17:25:35 -04:00
Inori
c9135f1b74
Add Discord.connected?
2019-09-04 13:14:45 -04:00
Inori
6268dfc27c
Add DiscordActivity bindings
2019-09-04 13:07:38 -04:00