Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 148259 Details for
Bug 116063
games-engines/glulxe-0.3.5 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glulxe-0.4.3-gargoyle.patch
glulxe-0.4.3-gargoyle.patch (text/plain), 1.13 KB, created by
David Leverton
on 2008-04-03 13:58:56 UTC
(
hide
)
Description:
glulxe-0.4.3-gargoyle.patch
Filename:
MIME Type:
Creator:
David Leverton
Created:
2008-04-03 13:58:56 UTC
Size:
1.13 KB
patch
obsolete
>--- glulxe/unixstrt.c~ 2000-02-10 03:43:34.000000000 +0000 >+++ glulxe/unixstrt.c 2007-12-18 16:02:53.000000000 +0000 >@@ -7,6 +7,8 @@ > #include "glulxe.h" > #include "glkstart.h" /* This comes with the Glk library. */ > >+#include "string.h" >+ > /* The only command-line argument is the filename. */ > glkunix_argumentlist_t glkunix_arguments[] = { > { "", glkunix_arg_ValueFollows, "filename: The game file to load." }, >@@ -21,8 +23,16 @@ > unsigned char buf[12]; > int res; > >+#ifdef GARGLK >+ garglk_set_program_name("Glulxe @PV@"); >+ garglk_set_program_info("Glulxe @PV@ by Andrew Plotkin"); >+#endif >+ > if (data->argc <= 1) { > init_err = "You must supply the name of a game file."; >+#ifdef GARGLK >+ return TRUE; /* Hack! but I want error message in glk window */ >+#endif > return FALSE; > } > cx = data->argv[1]; >@@ -34,6 +44,12 @@ > return TRUE; > } > >+#ifdef GARGLK >+ cx = strrchr(data->argv[1], '/'); >+ if (!cx) cx = strrchr(data->argv[1], '\\'); >+ garglk_set_story_name(cx ? cx + 1 : data->argv[1]); >+#endif >+ > /* Now we have to check to see if it's a Blorb file. */ > > glk_stream_set_position(gamefile, 0, seekmode_Start);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 116063
:
75121
|
124564
|
124565
|
126142
|
126143
|
138044
|
148255
|
148257
| 148259