ref-err
e88bddbdbf
fix crash on game exit and some ruby fixes idk
...
and also sdl unfree's your copyright notice
2026-07-31 21:47:58 +05:00
niko(depressedTWM)
e14614a7a9
Replacing standart C library methods with SDL methods
2026-07-14 12:43:43 -04:00
DepressedTWM
c03282d892
meow
2026-06-12 07:12:36 -04:00
DepressedTWM
07b89ef555
meow x2
2026-05-12 15:05:32 +04:00
ZakatTeamI2P
4eba89fd0c
Verbose logging, bugs fixes, minor changes, one SEGFAULT fix(sunshine bindings) and other i dont rememberrrrrrrrrr
2026-04-28 21:43:24 +04:00
cremno
53cd5e1fbc
use std::max instead of ?:
2014-08-31 11:10:57 +02:00
cremno
acf826eb7a
fix some integer conversions in the Table class
...
Sizes (x, y, z) are clamped to a non-negative int value.
Use NUM2INT instead of FIX2INT as the argument might not be a Fixnum.
2014-08-31 04:46:51 +02:00
cremno
173ee07959
get rid of INIT_TYPE() / initType()
...
A function to initialize rb_data_type_t variables is not needed.
Also fix a FIXME (WindowVX's name is now "Window") on the way.
2014-08-29 21:01:53 +02:00
Jonas Kulla
151a1f0d1b
Table: Add clone constructor (and bind in MRI)
...
Fixes #50 .
2014-08-05 05:24:13 +02:00
Jonas Kulla
a0a27889a3
Merge #8
2014-01-02 00:11:57 +01:00
Edward Rudd
5c0295e972
use correct macros in ruby code so code compiles in 32bit and 64bit mode
2014-01-01 11:20:42 -05:00
Jonas Kulla
1bacceddf0
Spacing
2014-01-01 12:59:40 +01:00
Jonas Kulla
c504a383ba
MRI-Binding: Optimize RB_ARG_END vaarg guard
...
It's enough to check this only in debug mode.
Make this an empty define in release mode.
2013-12-20 11:29:12 +01:00
Jonas Kulla
f067e0eff8
MRI-Binding: Reduce number of object allocations
...
Previously, wrapped instances of mkxp core classes were
stored as RData ivars inside the actual object. This turned
out to be pointless as RData objects themselves are perfectly
valid objects that can carry ivars and have parent classes.
Therefore, the RData objects are now exposed directly to
the user scripts, effectively halving the amount of object
allocations.
2013-10-30 10:06:24 +01:00
Jonas Kulla
4ff563725b
Make 'rb_get_args()' va_arg passing safer by introducing a termination marker
...
What can I say. I made a pact with the devil, and paid dearly.
Almost a whole day's worth of debugging, actually. Not again.
If this turns out to be slow we can always optimize the critical
parts (with no variable param count) later, or completely remove it.
2013-09-27 04:49:48 +02:00
Jonas Kulla
ff25887f41
Initial commit
2013-09-01 16:27:21 +02:00