Commit graph

344 commits

Author SHA1 Message Date
Jonas Kulla
4e346cac27 Merge pull request #25 from cremno/mri-improve-error-printing
MRI: improve error printing
2014-04-16 20:22:58 +02:00
cremno
bd6764450f fix comment style 2014-04-16 20:05:15 +02:00
Jonas Kulla
51c5ca1410 Graphics: Taint entire Bitmap in #snap_to_bitmap 2014-04-15 19:05:36 +02:00
Jonas Kulla
f25d2db63c MRI-Binding: Add RGSS3 '__FILE__' variant 2014-04-15 11:54:22 +02:00
Jonas Kulla
711060db8f Spacing / minor fixes 2014-04-14 09:39:23 +02:00
cremno
4ca9e82a14 MRI: improve error printing
`Debug()` is CRuby-style and `showMsg` is RGSS-style.
The `Debug()` output is safe, `showMsg` might be fragile.
2014-04-14 00:07:51 +02:00
Jonas Kulla
ab9464006b Merge pull request #24 from cremno/mri-rewrite-script-eval
MRI: rewrite script eval
2014-04-12 11:54:13 +02:00
cremno
95c112bbe4 MRI: add option to use a script's name as filename 2014-04-11 18:11:32 +02:00
cremno
8bc17a9a98 MRI: less strlen calls, use custom script's filename 2014-04-11 17:13:25 +02:00
cremno
f6ec364632 MRI: rewrite script eval
- set __FILE__ (RGSS 1 and 2)
 - set Ruby string encoding to UTF-8
   instead of using a magic comment
2014-04-10 14:00:05 +02:00
cremno
06b877a78c MRI: don't set $0 (see #24) 2014-04-10 02:14:25 +02:00
cremno
4e0262d2a7 MRI: fix $RGSS_SCRIPTS 2014-04-10 01:16:31 +02:00
cremno
f8b87eb188 MRI: don't manually peform GC 2014-04-09 23:45:24 +02:00
cremno
804a697c03 MRI: add $RGSS_SCRIPTS 2014-04-09 22:36:56 +02:00
Jonas Kulla
96d2707edb Bitmap: Fix #get_pixel returning bogus values
We never bound the Bitmap FBO to the READ binding point,
so glReadPixels was blindly reading data off of whatever
was last bound there.
2014-01-28 16:34:28 +01:00
Jonas Kulla
643000d4a0 Merge pull request #16 from cremno/mri-minor-optimizations
MRI-Binding: some minor optimizations
2014-01-25 00:23:26 -08:00
cremno
f06769b434 MRI: some minor optimizations 2014-01-24 22:30:19 +01:00
Jonas Kulla
cb39c2f345 Documentation: Move mkxp.conf description into sample conf 2014-01-15 03:23:25 +01:00
Jonas Kulla
81ec731e5a Merge branch 'dev' 2014-01-15 01:56:58 +01:00
Jonas Kulla
bbb9bff239 FileSystem: Fix path cache for mounted zip archives 2014-01-15 01:51:56 +01:00
Jonas Kulla
f14a379ee9 FileSystem: Trim redundant error message on ENOENT
MRI adds the "No such file or directory - " itself;
I guess we can just emulate this behavior everywhere else.
2014-01-15 01:47:16 +01:00
Jonas Kulla
64cb4ee4f1 Use stdint types 2014-01-15 01:43:46 +01:00
Jonas Kulla
0f004b8601 Spacing 2014-01-15 00:48:34 +01:00
Jonas Kulla
20e323c699 Config: Parse from command line options on top of config file
Any options that are not arrays (ie. RTP paths) specified
as command line options will override entries in mkxp.conf.

The syntax is: --<option>=<value>
2014-01-13 00:06:34 +01:00
Jonas Kulla
c33144552a Config: Parse from command line options on top of config file
Any options that are not arrays (ie. RTP paths) specified
as command line options will override entries in mkxp.conf.

The syntax is: --<option>=<value>
2014-01-10 20:16:34 +01:00
Jonas Kulla
b8fc5e25b9 Audio: Make thread names more descriptive 2014-01-07 16:06:50 +01:00
Jonas Kulla
0a53a894dc Merge branch 'master' of github.com:Ancurio/mkxp 2014-01-07 05:26:05 +01:00
Jonas Kulla
063793c4d9 Turn screenshots (F3) off by default 2014-01-07 05:25:00 +01:00
Jonas Kulla
4c5b21496a Merge pull request #13 from humble/baseNameFix
Fix npos comparison check in baseName
2014-01-06 16:33:46 -08:00
Edward Rudd
c60ffa6384 fix npos comparison check in baseName method 2014-01-06 12:45:01 -05:00
Jonas Kulla
953f903149 Spacing 2014-01-05 16:09:00 +01:00
Jonas Kulla
e9cf77dbce Config: Fix preceeding '/' in deducted game title
Also factor out the common code path
2014-01-05 10:31:15 +01:00
Jonas Kulla
19dc83a5d5 Bitmap: Supply image filename on loading error 2014-01-05 10:28:35 +01:00
Jonas Kulla
8ed6de22a4 Input: Return const -20 mouse position when outside window 2014-01-05 01:15:33 +01:00
Edward Rudd
318162a229 fix screen grab crash when in fullscreen
- read the FBO size NOT the screen size.
2014-01-04 13:52:11 +01:00
Jonas Kulla
56b49acf39 Spacing 2014-01-04 13:50:07 +01:00
Jonas Kulla
43321b8ed7 Coding style fixes 2014-01-04 13:49:32 +01:00
Jonas Kulla
092e6ad948 Typo 2014-01-04 13:48:23 +01:00
Jonas Kulla
d93c1280aa Font: Open TTF font as late as possible
This reduces opened fonts that were never going
to be used anyway.
2014-01-04 13:47:00 +01:00
Jonas Kulla
857693d4a1 Font: Fix 'Font#set_name' not actually changing underlying TTF_Font 2014-01-04 13:00:38 +01:00
Jonas Kulla
78f9272e3d Typo 2014-01-04 13:00:04 +01:00
Jonas Kulla
c9423164d4 Font: Adhere to spec and set Font.default_name to "MS PGothic" 2014-01-04 12:58:03 +01:00
Jonas Kulla
a8bff666eb Audio: Don't try to fill and queue null buffer
Fixes skipping audio after interrupting and resuming
the program via eg. a debugger.
2014-01-04 12:28:16 +01:00
Jonas Kulla
3daf805350 Table: Serialize actual table dimensions instead of '3'
This allows savegames created with mkxp to be read with RMXP.
2014-01-02 03:39:22 +01:00
Jonas Kulla
5f16eef273 EventThread: Properly allocate SDL user event codes 2014-01-02 02:22:10 +01:00
Jonas Kulla
0a336ea315 Spacing 2014-01-02 00:17:31 +01:00
Jonas Kulla
a0a27889a3 Merge #8 2014-01-02 00:11:57 +01:00
Edward Rudd
5b4f0b239c add config option to set the window icon 2014-01-01 16:52:07 -05:00
Edward Rudd
a740f7754c add option to choose whether left alt or both alts toggle's fullscreen 2014-01-01 15:56:38 -05:00
Edward Rudd
05668f792a small tweaks to cmake for linux 2014-01-01 14:54:19 -05:00