mkxp-freebird/binding-mri
Jonas Kulla f8c26fc515 Core/MRI: Fix handling of Etc/Font properties
The gist of it is that for Etc and Font props, the assignment
operator (eg. 'sprite.color=') does not take a reference of the
right hand parameter and replaces its previous one with it (this
was the old behavior). Rather, it keeps its internal property
object and copies the parameter object into it by value.
The getter is unchanged; it still returns a reference to the
internal property object.

s = Sprite.new
c = Color.new
s.color = c
p s.color == c # => true
p s.color.object_id == c.object_id # => false (true before)
c = s.color
p s.color.object_id == c.object_id # => true
2014-09-05 01:58:41 +02:00
..
audio-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
binding-mri.cpp Merge pull request #67 from cremno/add-rgss-3-0-1-etc-classes-equality-comparison 2014-09-02 20:09:10 +02:00
binding-types.h Initial commit 2013-09-01 16:27:21 +02:00
binding-util.cpp Merge pull request #57 from cremno/mri-use-rb_type_p-instead-of-rb_type 2014-08-30 03:56:37 +02:00
binding-util.h Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
bitmap-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
disposable-binding.h Disposable: Emit 'wasDisposed' on destruction, not dispose() 2014-08-16 11:47:07 +02:00
etc-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
filesystem-binding.cpp Merge pull request #57 from cremno/mri-use-rb_type_p-instead-of-rb_type 2014-08-30 03:56:37 +02:00
flashable-binding.h MRI-Binding: Typo in Flashable binding 2014-08-09 21:21:38 +02:00
font-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
graphics-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
input-binding.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg.cpp Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg1.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg2.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
module_rpg3.rb.xxd Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
plane-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
sceneelement-binding.h MRI-Binding: Optimize RB_ARG_END vaarg guard 2013-12-20 11:29:12 +01:00
serializable-binding.h Initial commit 2013-09-01 16:27:21 +02:00
sprite-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
table-binding.cpp use std::max instead of ?: 2014-08-31 11:10:57 +02:00
tilemap-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
tilemapvx-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
viewport-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
viewportelement-binding.h Merge separate RGSS version build configs into one 2014-08-28 23:22:05 +02:00
window-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00
windowvx-binding.cpp Core/MRI: Fix handling of Etc/Font properties 2014-09-05 01:58:41 +02:00