Commit graph

86 commits

Author SHA1 Message Date
Issac332
53c4a210ae some camera fixes 2026-07-19 15:26:27 +03:00
Issac332
999176c19b tilemap and lightmap resize fix 2026-07-16 20:15:01 +03:00
niko(depressedTWM)
e14614a7a9 Replacing standart C library methods with SDL methods 2026-07-14 12:43:43 -04: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
e33ba85c03 DYNAMIC LIGHT OMG MEOW MEOW MEOW 2026-07-01 00:00:07 +03:00
Issac332
4f913f36b5 water optimizations 2026-06-22 16:58:57 +03:00
Issac332
1365577393 time in shaders 2026-06-10 20:27:57 +03:00
DepressedTWM
8d263cd046 Small changes bcz im stupiid and trash 2026-06-01 23:49:16 +03:00
Issac332
5b18134bf0 Revert "Meow"
This reverts commit c5589bff11.
2026-05-31 20:37:15 +03:00
DepressedTWM
c5589bff11 Meow 2026-05-31 06:28:58 -04:00
Issac332
bdac3bb955 dynamic water 2026-05-29 22:02:33 +03:00
DepressedTWM
749e97eebd Полировка движка 2026-05-28 18:19:24 +04:00
DepressedTWM
e4de91bde2 im looks like shit 2026-05-28 12:33:48 +04:00
ZakatTeamI2P
245b7f7153 a 2026-05-20 18:33:29 +04:00
DepressedTWM
f216f616a0 Оптимизация потребления ОЗУ(на байт 20 +-) 2026-05-19 23:26:08 +04:00
ZakatTeamI2P
908e9d7bca meow 2026-05-19 14:09:39 +04:00
DepressedTWM
acbac0b959 космитические изменения и обновление oneshot.conf 2026-05-19 08:27:52 +04:00
DepressedTWM
d5bb0f501a School is soooooo boooorrrrriiiiiinnnngggf 2026-05-18 09:50:04 +04:00
ZakatTeamI2P
c2af9b3ff9 im so shitttyyyy 2026-05-15 23:56:06 +04:00
ZakatTeamI2P
cbac6c0c6f i hate ruby 2026-04-04 01:25:41 +04:00
ZakatTeamI2P
f7ab2765aa Kill me x2 2026-03-30 20:53:04 +04:00
Mathew Velasquez
5ff71744b5 Rudimentary map wrapping added 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
3d2d1a9150 Manually rebased over latest mkxp commit. Some features, such as lighting, are not reimplemented yet. 2016-01-05 14:50:17 -05:00
Jonas Kulla
30465691ae Tilemap: Fix map viewport calculation
Calculation was completely off as it didn't take into
account the imposed viewport origin.

All in all, similar fixes as the previous ones to TilemapVX.
2015-07-21 12:13:25 +02: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
87462fd7b0 Use more explicit vector math via method overloads 2015-02-10 17:04:00 +01:00
Jonas Kulla
c63a8947ce Tilemap: Don't emit draw with zero quads
This is illegal on some mobile drivers.
2015-01-02 00:09:53 +01:00
Jonas Kulla
b42725ea20 Add config option working around buggy graphics drivers
"subImageFix=true" should fix missing text on radeonsi fglrx
as well as most mobile drivers. Also fixes tileset atlas on
mobile.
2015-01-01 23:38:11 +01:00
Jonas Kulla
60f101f2e6 Tilemap(VX): Factor out common code into tilemap-common.h
Renamed flashmap.h to tilemap-common.h as it already contained
shared functions.
2014-11-30 17:46:28 +01:00
Jonas Kulla
577f606dac Tilemap: Factor out flash tile code
This will be reused later in TilemapVX.
2014-10-26 20:00:56 +01:00
Jonas Kulla
520162f36a Use safe way to get at a vector's data pointer
&std::vector<C>[0] is not guaranteed to not throw if the
vector is empty. Better safe than sorry.
2014-10-09 19:02:29 +02:00
Jonas Kulla
9758e660c4 Tilemap/VX: Ensure proxy objects don't outlive their parents
Either of these would previously crash (same for VX):

tm = Tilemap.new
at = tm.autotiles
tm = nil
GC.start
at[0] = Bitmap.new(1, 1)

tm = Tilemap.new
at = tm.autotiles
tm.dispose
at[0] = Bitmap.new(1, 1)

Funnily, this makes RMXP itself crash too, but crashing is
never acceptable except for possibly resource exhaustion.
2014-09-26 18:21:50 +02:00
Jonas Kulla
81ac0780f8 Revert Disposable concept back into core
Pretty much a revert of
e858bbdcf5.

We need this in core to properly implement F12 reset.
2014-09-23 21:12:58 +02:00
Jonas Kulla
d8bb6aa2fc Replicate RMVX/VXA's broken sprite Z sorting implementation
Fixes Window_NameBox visual appearance in Skyborn.

Also nuke the second SceneElement constructor that has been
obsolete since the Tilemap mapViewport rewrite.
2014-08-31 01:10:32 +02:00
Jonas Kulla
28421a0ce5 Tilemap: Remove RGSS2 viewport setter
This class is not used in RGSS2 at all.
2014-08-28 15:37:04 +02:00
Jonas Kulla
724d52f61e Tilemap: Finally get rid of that terrible name 'ScanRow'
Replacement: ZLayer
I'd really have loved to have used something alluding to physical
roof tiles (as that's the closest image I have to them), but without
reusing the word "tiles".. yeah, impossible.
2014-08-17 03:58:01 +02:00
Jonas Kulla
4742226e7c Tilemap: Fix typo 2014-08-15 15:20:32 +02:00
Jonas Kulla
d128375d62 DisposeWatch: Make private and constify members 2014-08-12 21:41:59 +02:00
Jonas Kulla
e858bbdcf5 Lift 'Disposable' concept from core into bindings
Instead of replicating the RGSS Disposable interface in C++
and merely binding it, redefine the 'disposed' state as the
entire core object being deleted (and the binding object's
private pointer being null).

This makes the behavior more accurate in regard to RMXP.
It is now for example possible to subclass disposable classes
and access their 'dispose'/'disposed?' methods without
initializing the base class first (because the internal pointer
is simply null before initialization). Accessing any other
base methods will still raise an exception.

There are some quirks and irregular behavior in RMXP; eg.
most nullable bitmap attributes of disposable classes
(Sprite, Plane etc.) can still be queried afterwards, but
some cannot (Tilemap#tileset), and disposing certain
attributes crashes RMXP entirely (Tilemap#autotiles[n]).
mkxp tries to behave as close possible, but will be more
lenient some circumstances.

To the core, disposed bitmap attributes will look
identically to null, which slightly diverges from RMXP
(where they're treated as still existing, but aren't drawn).
The Disposable interface has been retained containing a
single signal, for the binding to inform core when
objects are disposed (so active attributes can be set to null).
2014-08-09 21:21:38 +02:00
Jonas Kulla
813130fbf6 More size_t fixes 2014-07-19 02:58:57 +02:00
Jonas Kulla
b8d861b4cd gl-util.h: Remove wrappers for things abstracted via GLMeta 2014-07-16 05:22:43 +02:00
Jonas Kulla
bae977d4ab GLMeta: "Finish" -> "End" 2014-07-16 04:53:08 +02:00
Jonas Kulla
a26c73930d GLMeta: Add framebuffer blitting support 2014-07-16 04:48:40 +02:00
Jonas Kulla
97708d25b6 Tilemap: Reduce a few unnecessary blits
No need to replicate static autotiles if we're not animating
at all.
2014-07-13 14:05:56 +02:00
Jonas Kulla
efb2fd2695 GLMeta: Add vertex array object support 2014-07-13 14:05:12 +02:00
Jonas Kulla
b73461721c Add meta path with fallback for EXT_unpack_subimage parameters 2014-07-13 05:51:04 +02:00
Jonas Kulla
a541cb1205 Some RGSS2/RGSS3 compile fixes 2014-07-13 05:34:18 +02:00
Jonas Kulla
91aefdc17a Tilemap: Fix map wrap around 2014-07-11 08:43:39 +02:00