Commit graph

114 commits

Author SHA1 Message Date
niko(depressedTWM)
e14614a7a9 Replacing standart C library methods with SDL methods 2026-07-14 12:43:43 -04:00
Issac332
319e17d711 dynamic resolution 2026-07-14 18:03:52 +03:00
Issac332
1ddacce66e partial signals in ruby, gradual adaptation to dynamic resolution 2026-07-14 01:41:55 +03:00
Issac332
8727da2834 sigc is wrapped in signal.h, added the ability to move window from ruby 2026-07-13 02:05:46 +03:00
Issac332
0b3ae5954e AAA 2026-07-09 13:09:47 +03:00
Issac332
c1f01f69af byrybyb 2026-07-09 13:07:10 +03:00
DepressedTWM
98abf1ecd8 bruh 2026-07-06 23:30:39 +04:00
Issac332
b9a98e2630 grphcs.cpp scrt.cpp 2026-06-09 18:52:27 +03:00
DepressedTWM
8526adff06 filesystem.cpp replacing strcpySafe with SDL_strlcpy 2026-06-05 15:15:55 -04:00
DepressedTWM
71cc32c838 Optimizations for Graphics.cpp 2026-06-01 14:51:31 -04:00
DepressedTWM
0ef2aad0b8 GRaphics module changes 2026-06-01 13:38:39 -04:00
DepressedTWM
749e97eebd Полировка движка 2026-05-28 18:19:24 +04:00
ZakatTeamI2P
d4d0ca4644 Fuck smooth scaling 2026-05-20 23:18:44 +04:00
ZakatTeamI2P
a4d86310d8 meow 2026-05-18 16:39:35 +04:00
DepressedTWM
d5bb0f501a School is soooooo boooorrrrriiiiiinnnngggf 2026-05-18 09:50:04 +04:00
ZakatTeamI2P
aa65d1783b Patcher for 16:9 2026-05-17 14:31:03 +04:00
DepressedTWM
704c9b2f64 Школа такая поебота я не могу 2026-05-15 12:40:57 +04:00
ZakatTeamI2P
cbac6c0c6f i hate ruby 2026-04-04 01:25:41 +04:00
ZakatTeamI2P
9b9eb08445 dgfsdh 2026-03-30 19:41:40 +04:00
Vinyl Darkscratch
b19153a6d3 Merge remote-tracking branch 'elizagamedev/master' 2018-10-02 11:24:39 -07:00
Eliza Velasquez
a6062dea24 Initial Conan work 2018-09-27 07:10:32 +00:00
Vinyl Darkscratch
4553e2f2bf Merge remote-tracking branch 'MKXP/master' 2018-07-03 11:36:50 -07: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
Vinyl Darkscratch
8921e23ba5 Merge remote-tracking branch 'MKXP/master' into new-mkxp 2018-03-06 18:43:36 -08:00
Vinyl Darkscratch
14907ad305 Disable non-implemented window fade in Linux 2018-03-06 01:46:04 -08: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
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
7274072a2d Add window fade-out on exit 2017-04-04 02:31:08 -07:00
Vinyl Darkscratch
2119b1919d Merge remote-tracking branch 'mathewv/master' 2017-01-11 00:54:30 -08:00
root
29fd891550 Adding backend changes for settings menu
Committer: mshirt <mshirt@ualberta.ca>
2017-01-01 04:48:40 -06: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
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
Mathew Velasquez
a4de9d9f10 integrated steamshim 2016-02-29 01:22:55 -05:00
Mathew Velasquez
ba0203169e Added obscured/scratched window puzzle 2016-02-17 17:14:16 -05:00
Mathew Velasquez
3d2d1a9150 Manually rebased over latest mkxp commit. Some features, such as lighting, are not reimplemented yet. 2016-01-05 14:50:17 -05:00
Mook
8e411cbcfe Graphics: Stub out play_movie
Some people are using it to detect the RGSS version.
2015-10-30 08:01:36 -07:00
Jonas Kulla
384249c31a Unify float literals to use f suffix and avoid double promotions
I might have missed some.
2015-07-21 12:13:24 +02:00
Jonas Kulla
9acdd206f6 Vec4: Rename 'xyzHasEffect()' to something that makes sense 2015-07-07 16:07:04 +02:00
Jonas Kulla
6e176a454c Constify 2015-07-07 16:06:45 +02:00
Jonas Kulla
afab51279e Graphics: Fix viewport color/flash effectiveness calculation
Fixes #121.
2015-07-07 16:06:11 +02:00
Jonas Kulla
6380a93cec Graphics: Fix ::transition() "filename" default value
The default value is an empty string, which triggers the simple
transition. Passing null is not legal (and wasn't possible in
mkxp from Ruby side anyway).

Fixes #108.
2015-06-10 13:30:26 +02:00
Jonas Kulla
7cbe1eef94 Graphics: Improve transition "vague" parameter accuracy 2015-01-15 08:26:33 +01:00
Jonas Kulla
7c6a2b2c62 Pause RGSS execution when moving into background on Android
Assuming that there is enough memory for mkxp to stay in the
background and that the OS doesn't kill the process, this should
allow smooth resuming after moving back into the foreground.

For now, EGL context loss is not handled.
2015-01-15 08:02:21 +01:00
Jonas Kulla
146e0294b4 Add option to fix the framerate to the native screen refresh rate
Useful on mobile devices where using non-standard framerates
looks absolutely horrible and screen refresh rates vary highly.
2015-01-03 18:58:13 +01:00
Jonas Kulla
3411435138 Factor out some thread communication code (window size, bindings) 2015-01-02 01:41:23 +01:00
Jonas Kulla
373b90af00 Graphics: Optimize Viewport effect rendering
Using the kitchen sink plane shader for viewport effects, even
if only a small part of them are active, incurs great performance
loss on mobile, so split the rendering into multiple optional
passes which additionally use the blending hardware for faster
mixing (lerping).
Also, don't mirror the PingPong textures if the viewport effect
covers the entire screen area anyway.
2014-12-31 18:52:19 +01:00
Jonas Kulla
d223d83cbf Implement F12 game reset (MRI only)
Can be disabled with "enableReset=false".

While at it, also replace the flakey volatile bool flags
with proper atomics.
2014-09-26 06:25:47 +02:00