Snowdream
79bae839de
add -O3 to CFLAGS for dependencies
2022-07-18 22:40:31 -04:00
Snowdream
ff74f08fc0
updated SDL_image
2022-07-18 00:06:39 -04:00
Snowdream
ba49af5ad7
pixman was updated, build it with sse2 now
2022-07-17 03:40:17 -04:00
Snowdream
be88ebef2b
Don't try to load zlib by default anymore
...
This really only works in 3.0+ it seems.
2022-07-16 20:16:18 -04:00
Snowdream
dba559aafb
Make Graphics thread-safety optional
2022-07-16 20:16:09 -04:00
Snowdream
b0e08f60bb
Should actually check for integerScalingActive before rebuilding the buffer
2022-07-12 00:54:32 -04:00
Snowdream
2a7ac88668
Always rebuild int scale buffer on resize_screen
2022-07-12 00:41:55 -04:00
Snowdream
a2f9eb08ad
Actually bind Input::Controller.pressex?
2022-07-09 23:46:47 -04:00
Snowdream
bd075d62fe
Older versions of Ruby 2 don't have rb_utf8_str_*
2022-07-09 19:29:08 -04:00
Snowdream
e5e5a3a5e0
update stored window values before resizing it
2022-07-09 05:20:41 -04:00
Struma
8484945539
raw_key_states shouldn't return button states
2022-07-09 04:27:21 -04:00
Struma
f07e32e07b
don't crash when no conf is present
2022-07-05 21:38:12 -04:00
Struma
7ecad29d77
Remove boost::unordered dependency (it broke)
2022-07-05 20:53:47 -04:00
Struma
4083ce1b57
fix windows manifest
2022-07-05 18:17:52 -04:00
Struma
77fce74b93
Fix meson build
2022-07-05 18:16:43 -04:00
Struma
d4dc31af9e
Add Graphics.resize_window
2022-07-05 08:42:26 -04:00
Struma
63442ee5d9
Correctly report Graphics.scale after HiDPI changes
2022-07-05 07:38:44 -04:00
Struma
97e4314a87
adjust touchbar layout when both reset and f1 menu are disabled
2022-07-05 05:48:34 -04:00
Struma
0ec885e640
version bump
2022-07-05 04:30:22 -04:00
Struma
0f8a140dec
Correct bad GVL ifdefs
2022-07-05 04:21:03 -04:00
Struma
8f018fdb30
Change CONFIG
to CFG
...
last minute thought I had, in order to try and avoid
conflicts with any other global constants that happen
to be called "CONFIG". Also looks nice next to "ENV".
2022-07-05 03:25:13 -04:00
Struma
0131abd4dd
Add ability to change configuration from Ruby
...
- `System.config` has become `CONFIG.to_hash`
- `CONFIG[]` can be used to look up settings
- `CONFIG[]=` can be used to add/change settings
- When reading settings, user settings are preferred over defaults
- Changes are immediately stored in the user settings file
2022-07-05 03:16:44 -04:00
Struma
45f870b86c
Fix integer scaling bugs
...
- Black screen when resizing below 1x
- int scaling causing incorrectly scaled image after resize
- display offset being completely off without lastmile on macOS
2022-07-05 00:02:24 -04:00
Struma
36cdbb95b6
Allow overriding mkxp.json from uder data directory
2022-07-04 20:02:04 -04:00
Struma
d568423774
Allow disabling the F1 menu through mkxp.json
2022-07-04 13:06:35 -04:00
Struma
22138c855a
Only show TouchBar reset button when enableReset is true
2022-07-04 11:33:46 -04:00
Struma
4b46d6e47d
remove commonDataPath and update mkxp.json to match the actual behavior
2022-07-04 11:18:22 -04:00
Struma
183cea7046
Fix reported mouse coordinates when scaled for HiDPI
2022-07-04 09:40:57 -04:00
Struma
25eba1381e
Update mkxp.json
2022-07-04 07:48:28 -04:00
Struma
5100ae57e8
Add Bitmap.h_flip and v_flip
2022-07-04 07:35:38 -04:00
Struma
158c988399
Make macOS happy.
2022-07-04 06:22:07 -04:00
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
5f4b644bd0
switch to a (mostly) functioning GameController API
2022-07-03 21:36:48 -04:00
Struma
342f30069f
Add Mouse4, Mouse5 and scroll wheel bindings
2022-07-03 11:53:40 -04:00
Struma
2a7ff4b7f3
Bind new graphics functions ruby-side
2022-07-03 10:01:07 -04:00
Struma
ee74bffc83
Add integer scaling options
2022-07-03 06:59:46 -04:00
Struma
3fd3e757dd
Try to force dedicated AMD graphics too, just in case
2022-07-03 03:37:21 -04:00
Struma
a0da0df6ef
SharedFontState: Add 'defaultFontFamily' property
...
5e3907c7f8
2022-07-03 03:23:28 -04:00
Struma
6c5616f65a
Use win_subsystem instead of gui_app
2022-04-02 20:58:52 -04:00
Struma
cfc62d44fb
Update minimum required meson version
2022-04-02 20:57:13 -04:00
Struma
4ef68693f6
Use software blitting on Windows by default
2022-04-02 20:25:15 -04:00
Struma
f38789371b
Just link to gitbook build instructions from readme
2022-04-02 20:05:21 -04:00
Struma
9c84e208db
Restore MP3 support; update configs
2022-04-02 19:58:49 -04:00
Struma
27f3a404d3
fix the z level of play_movie sprites
2022-03-19 20:43:17 +00:00
Struma
88d38395a9
fix building sdl_ttf on distros that aren't Ubuntu
2022-02-05 18:42:03 -05:00
Struma
64dad2ad27
Good enough to release (?)
2022-01-23 18:29:08 -05:00
Struma
85fe2b070a
miscellaneous garbage
2022-01-23 09:54:33 -05:00
Struma
5855266dab
make the terrifying sign-compare warnings go away
2022-01-23 09:31:27 -05:00
Struma
ac9f56c41c
fudge nuggets
2022-01-23 08:41:32 -05:00
Struma
2fb6510fd5
prevent launching with text input already enabled
2022-01-23 08:37:17 -05:00