Vinyl Darkscratch
a28a4733c4
Reduce warning count
2018-03-05 14:10:47 -08:00
Vinyl Darkscratch
d122d72ad6
Complete desktop background binding for current screen
2018-03-01 22:08:13 -08:00
Vinyl Darkscratch
b2db1c749f
Fix object type name
2018-03-01 16:22:10 -08:00
Vinyl Darkscratch
4214b0e901
Prevent crash on resetting background when original isn't cached
2018-03-01 16:18:40 -08:00
Vinyl Darkscratch
7ae32c6717
Create and bind desktop background options
2018-03-01 16:01:43 -08:00
Vinyl Darkscratch
fe1381243b
Create wallpaper caching and add namespace
2018-03-01 15:48:42 -08:00
Vinyl Darkscratch
74de315eda
Prepare wallpaper changing on macOS
2018-03-01 14:50:22 -08:00
Vinyl Darkscratch
87fcbbb494
Fix path to documents folder
2018-03-01 14:50:07 -08:00
Vinyl Darkscratch
357ecc520b
Fix path to documents folder
2018-03-01 00:45:37 -08:00
ReinUsesLisp
b5e5a26d8b
Config: Set debug editor's debug variables into ruby
2018-02-22 09:08:45 +01:00
Jonas Kulla
9f44ee5068
FileSystem: Fix while termination condition
2018-01-22 10:54:21 +01:00
Jonas Kulla
183ebbed65
RGSSAD: Fix parsing of top level directory entries
...
We were spamming every path into the hash (including the top
level ones) without noticing... oh well.
2017-12-12 22:46:25 +01:00
Jonas Kulla
7902d0942d
Filesystem: Properly iterate top level dir entries
...
"." seemed to have worked in earlier PhysFS versions,
but it was never the correct way.
2017-12-12 22:45:01 +01:00
Jonas Kulla
947974cac6
Config: Properly use windowTitle everywhere instead of game.title
2017-12-12 17:57:02 +01:00
Jonas Kulla
7d9a85dbbd
Config: Add entry to override the game window title
2017-12-11 00:48:35 +01:00
Carsten Teibes
d427df0c2b
Adapt RGSS archivers and filesystem to physfs 3.0 API
2017-10-12 14:27:19 +02:00
Vinyl Darkscratch
dba5f7cee4
Implement cmake's BundleUtilities
2017-10-11 23:30:03 -07:00
Jonas Kulla
f172f58c74
Sprite: Fix regression with "mirror" attribute
...
FloatRect::hFlipped() returns a rectangle with negative width,
which was clobbered by the clamping further down.
Regression introduced in 55cec53911 .
2017-08-10 21:39:17 +02:00
Vinyl Darkscratch
5e29b2ba66
Merge remote-tracking branch 'mathewv/master'
2017-07-31 15:19:08 -07:00
Jonas Kulla
fba20e6294
Sprite: Check for disposed state before accessing bitmap
2017-07-30 23:00:18 +02:00
tdixon
4af06340de
remove unused import
2017-06-29 13:38:50 -03:00
tdixon
9f8b1dd1fd
Localization for keybinding menu
2017-06-29 13:22:36 -03:00
Jonas Kulla
bd694f9f99
Graphics: Remove superfluous TEXFBOs while reusing existing ones
...
While the PingPong buffers were always texture-backed, currentScene
and transBuffer used to be backed by renderbuffers, which might have
been more optimized as render targets on older hardware; but since
all buffers in Graphics got switched to being texture backed to allow
blitting via rendering (when hardware blitting isn't available or broken,
eg. on mobile platforms), their reason to exist vanished.
For transBuffer, we can reuse the backbuffer of the PingPong structure,
while currentScene might have been useless from the start.
2017-05-11 12:37:15 +02:00
Jonas Kulla
cab453ac3a
Graphics: Use proper resizing function for TEXFBOs
...
Manually resizing the contained TEX objects skips updating the
width/height TEXFBO properties, which GLMeta::blit relies on.
2017-05-11 12:32:56 +02:00
Jonas Kulla
006f701fec
Config: Add "enableBlitting" entry to toggle GL_EXT_framebuffer_blit
2017-04-23 14:32:11 +02:00
Jonas Kulla
1478e1e0f9
Config: Add "maxTextureSize" entry to artificially limit texture sizes
2017-04-23 14:10:54 +02:00
Jonas Kulla
06feafe9ef
Add missing include
2017-04-08 20:06:12 +02:00
Jonas Kulla
e4079d5738
Fix build on OSX after 60e967e3b7
2017-04-08 19:13:31 +02:00
Jonas Kulla
0481f920b0
Input: Remove ugly [-20,-20] mouse position hack
...
This was supposed to disappear shortly after To the Moon's release,
but it unfortunately survived a bit longer :)
The status of the mouse cursor being inside / outside the game window
is now properly exposed (in MRI) via MKXP.mouse_in_window.
2017-04-08 18:45:24 +02:00
Jonas Kulla
3ea24bd757
EventThread: Make system cursor visible over black aspect ratio bars
...
Should be less confusing for the player.
2017-04-08 18:45:24 +02:00
Vinyl Darkscratch
49d647b0e1
Swap the use of LTexture with Font class
2017-04-04 16:31:04 -07:00
Vinyl Darkscratch
7274072a2d
Add window fade-out on exit
2017-04-04 02:31:08 -07:00
Vinyl Darkscratch
6b5eff715b
Add text input function (broken, read description)
...
Note: using this function breaks the graphics rendering at the moment,
due to code inconsistencies (utilizing SDL renderers when the rest of
the program uses GL ones, mainly), working on fixes for it!
2017-04-04 00:43:53 -07:00
Vinyl Darkscratch
e645f3dd0e
Merge remote-tracking branch 'mathewv/master'
2017-03-30 17:05:09 -07:00
Mathew Velasquez
e3f572d6fe
hidpi fix
2017-03-30 18:46:55 -04:00
Marty Plummer
60e967e3b7
Add icon and resource files for windows
...
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
2017-03-09 08:24:13 +01:00
Jonas Kulla
0f9b5f274a
Filesystem: Search for "Fonts/" with case-insensitivity
2017-03-08 16:30:07 +01:00
Jonas Kulla
6349146e01
main: Only set window icon on Linux
...
OSX carries high-resolution icons in its bundles, and windows uses
windres to embed .ico files, so don't interfere with those.
2017-03-04 11:04:02 +01:00
Jonas Kulla
c4dd3ffaf6
Config: Use set for preloadScripts
...
Would probably make sense for all other string vectors too.
2017-03-03 19:37:19 +01:00
Jonas Kulla
55cec53911
Sprite: Clamp src_rect to bitmap bounds
2017-02-17 19:29:38 +01:00
Vinyl Darkscratch
2119b1919d
Merge remote-tracking branch 'mathewv/master'
2017-01-11 00:54:30 -08:00
root
9fb6ca4d89
Committer: gir
...
Changes to be committed:
modified: src/audio.cpp
2017-01-03 19:57:29 -06:00
root
03f4610e20
Forgot to change volume when starting to play bgm, me, and bgs
...
Committer: gir <girakacheezer@gmail.com>
2017-01-01 04:56:41 -06:00
root
29fd891550
Adding backend changes for settings menu
...
Committer: mshirt <mshirt@ualberta.ca>
2017-01-01 04:48:40 -06:00
Vinyl Darkscratch
641851db65
Merge remote-tracking branch 'mathewv/master'
2016-12-29 13:56:20 -08:00
Mathew Velasquez
d41e36c751
Fix minimize crash by sacrificing an unnecessary feature
2016-12-26 20:57:51 -05:00
Vinyl Darkscratch
2733b5ad06
Remove doubled Smooth attribute
2016-12-16 13:15:32 -08:00
Vinyl Darkscratch
b0b024a01a
Merge remote-tracking branch 'mathewv/master'
2016-12-15 13:37:16 -08:00
Mathew Velasquez
d47a2241ee
Messagebox fix
2016-12-15 05:39:51 -05:00
Vinyl Darkscratch
f8c3862c2e
Accommodate for @mathewv's "smooth" implementation
2016-12-14 21:14:42 -08:00
Vinyl Darkscratch
582b750c2b
Merge remote-tracking branch 'mathewv/master'
2016-12-14 21:10:23 -08:00
Vinyl Darkscratch
3224d65988
Made paths in script cross-platform friendly
...
An ending that made me very, VERY teary-eyed, interrupted by an access
denied error…argh, code bugs, why! >~< Basically, the path to “My
Games” and the name of the journal’s executable are now defined by
oneshot.cpp and loaded into the Ruby script, so the ending isn’t
interrupted. Now all that’s left is to compile the journal!
2016-12-14 21:09:33 -08:00
Mathew Velasquez
a0ba40916d
Smooth scaling Graphics option
2016-12-14 22:05:53 -05:00
Vinyl Darkscratch
0a1d9c570f
Add "smooth" property to graphics module
...
This is just a simple bind and addition of a “smooth” property in the
graphics module, to fix fatal issue #2
2016-12-14 16:06:40 -08:00
Vinyl Darkscratch
85da9ff7e8
Reorganizing Mac and Linux blocks and commence on retina support
2016-12-13 21:16:33 -08:00
Vinyl Darkscratch
0b7fdbf8e1
Updates for a future Mac build
2016-12-12 22:59:07 -08:00
Mathew Velasquez
aa7818847c
Lots of stuff
2016-12-06 23:49:37 -05:00
Jonas Kulla
541e24f678
Bitmap: Use more accurate HSV-based hue shift algorithm
...
The previously YIQ-based algorithm turned out to be both slow,
and horribly inaccurate.
Another algorithm based on rotating the color value in the
RGB cube along the diagonal axis was also considered, which was
acceptable in terms of accuracy, and very fast.
In the end, I decided on a HSV-based one, because it is by far
the most accurate one, while still being a tad faster than the
YIQ solution.
Algorithm source: gamedev.stackexchange.com/a/59808/24839
A very simple GPU time benchmark when shifting a 2048^2 bitmap:
YIQ rot RGB rot HSV shift
radeon 13.4 ms 2.8 ms 11.4 ms
intel 13.0 ms 6.0 ms 10.5 ms
radeon: HD 3650 mobility
intel: N3540 integrated (Baytrail)
However hue shifting has never shown up as a bottleneck before,
so these are more academic.
2016-10-30 08:50:45 +01:00
Mathew Velasquez
0dc872bcea
Journal screen stuff
2016-10-13 20:26:01 -04:00
Mathew Velasquez
302ec6dd02
I stopped making commits for a good while. Here's the latest junk.
2016-09-19 13:54:38 -04:00
Jonas Kulla
d4e09f55bd
WindowVX: Fix move() not setting the correct dirty flags
2016-07-27 12:03:45 +02:00
Jonas Kulla
e98c2e0535
Bitmap: Don't throw away cached surface in setPixel()
...
Instead, update the surface with the same change. For many
consecutive getPixel() -> setPixel() calls on the same bitmap,
this avoids calling glReadPixels at every iteration.
2016-07-27 11:59:08 +02:00
Jonas Kulla
fdaf6c3611
Bitmap: Split surface pixel address calculation into helper
2016-07-27 11:56:43 +02:00
Mathew Velasquez
82493cd0a0
Added footprints and src_rect to Plane class
2016-04-11 21:33:54 -04:00
Mathew Velasquez
d53ad4b124
Improved internationalization support
2016-04-06 13:45:36 -04:00
Mathew
d0cb19e9d2
Minor config tweaks
2016-03-18 00:25:30 -04:00
Mathew Velasquez
99ae7b35ad
Minor engine tweaks
...
Made OneShot the standard spelling, adjusted keybindings, removed jpeg dependency, and turned vsync on by default
2016-03-11 00:30:20 -05:00
Mathew Velasquez
79fc639b83
Build portability fixes and name input issue fix
2016-03-07 17:14:48 -05:00
Mathew Velasquez
7275291e7d
Fixed steam-related freeze and msgbox crash
2016-03-02 20:45:06 -05:00
Mathew Velasquez
1fd808d0af
Gutted more unused features
2016-02-29 15:40:10 -05:00
Mathew Velasquez
05d2946280
Replaced initializer list for portability
2016-02-29 04:22:48 -05:00
Mathew Velasquez
546f29f42e
Preliminary i18n improvements
2016-02-29 01:41:37 -05:00
Mathew Velasquez
a4de9d9f10
integrated steamshim
2016-02-29 01:22:55 -05:00
Mathew Velasquez
f44138015b
Cleaned up config; Fullscreen option now indicates Big Picture
2016-02-28 08:13:29 -05:00
Mathew Velasquez
71867727ab
Fixed crashes/weirdness with obscured window code
2016-02-27 22:33:02 -05:00
Mathew Velasquez
df2a32d4f0
Changed OpenGL debugging to a compile time option
2016-02-26 18:33:22 -05:00
Jonas Kulla
5964aa8f76
EventThread: ifdef out broken SDL function on OSX
2016-02-26 18:13:51 -05:00
Jonas Kulla
c16f20527e
EventThread: Fix mouse cursor not being hidden
2016-02-26 18:13:51 -05:00
Mathew Velasquez
4be6c0d592
Gutted midi system
2016-02-26 17:03:01 -05:00
Jonas Kulla
47ef36ca19
EventThread: ifdef out broken SDL function on OSX
2016-02-24 17:55:28 +01:00
Jonas Kulla
de74fc1bc3
EventThread: Fix mouse cursor not being hidden
2016-02-24 17:45:55 +01:00
Mathew Velasquez
b63b3ba8f3
Renamed save data to .dat for easier Steam cloud integration
2016-02-18 18:23:16 -05:00
Mathew Velasquez
ae82a61ca7
Fix build on Ubuntu
2016-02-17 17:37:39 -05:00
Mathew Velasquez
21fcc9e19c
Basic Steamworks API support
2016-02-17 17:16:22 -05:00
Mathew Velasquez
2df5fd29de
Renamed $DEBUG to $debug to avoid verbose mode.
...
Also made GL debug functions print less stuff.
2016-02-17 17:14:16 -05:00
Mathew Velasquez
ba0203169e
Added obscured/scratched window puzzle
2016-02-17 17:14:16 -05:00
Mathew
90cf07c825
Linked to debugMode option, gutted RTP config
2016-01-05 14:50:18 -05:00
Mathew
dd8bbcad97
Fixed username detection bug
2016-01-05 14:50:18 -05:00
Mathew Velasquez
b625d2e891
Renamed Scripts.rxdata to xScripts.rxdata so that editor won't overwrite scripts
2016-01-05 14:50:18 -05:00
Mathew Velasquez
da948348ac
Consistent, proper CJK support
2016-01-05 14:50:18 -05:00
Mathew Velasquez
fe65d7dd29
HACK to fix text rendering
2016-01-05 14:50:18 -05:00
Mathew Velasquez
5ff71744b5
Rudimentary map wrapping added
2016-01-05 14:50:18 -05:00
Mathew Velasquez
2e474a5dc4
Removed dataPathOrg/App config options, changed example config
2016-01-05 14:50:18 -05:00
Mathew Velasquez
6384696bcf
Tweaked configuration options
2016-01-05 14:50:18 -05:00
Mathew Velasquez
a702d9639b
Raise exception on FileSystem::openReadRaw
2016-01-05 14:50:18 -05:00
Mathew Velasquez
10f3419ac6
Maps no longer wrap at edges, but display blank tiles
2016-01-05 14:50:18 -05:00
Mathew Velasquez
1deef29c1a
removed all traces of INI_ENCODING
2016-01-05 14:50:17 -05:00
Mathew Velasquez
10e0aaabd1
fixed OS X build
2016-01-05 14:50:17 -05:00
Mathew Velasquez
1c5d4c2645
added SDL controller support
2016-01-05 14:50:17 -05:00
Mathew Velasquez
3c6cef9aeb
overhauled input symbols to be more gamepad-friendly
2016-01-05 14:50:17 -05:00