1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xshisen/files/patch-ad
1999-12-23 21:16:26 +00:00

81 lines
4.8 KiB
Plaintext

--- main.C.orig Sun Dec 12 14:34:28 1999
+++ main.C Sun Dec 12 14:39:33 1999
@@ -44,53 +44,53 @@
static XtResource gres[] = {
{ "aboutString", "AboutString", XtRString, sizeof (char *),
- 0, XtRString, "XShisen " XSHISEN_VERSION " by Masaoki Kobayashi" },
+ 0, XtRString, (XtPointer)"XShisen " XSHISEN_VERSION " by Masaoki Kobayashi" },
{ "tedumari", "Tedumari", XtRString, sizeof (char *),
- offsetof(GlobRes, tedumari), XtRString, "You can get no more pieces." },
+ offsetof(GlobRes, tedumari), XtRString, (XtPointer)"You can get no more pieces." },
{ "width", "Width", XtRInt, sizeof (int),
- offsetof(GlobRes, Width), XtRString, "640" },
+ offsetof(GlobRes, Width), XtRString, (XtPointer)"640" },
{ "height", "Height", XtRInt, sizeof (int),
- offsetof(GlobRes, Height), XtRString, "400" },
+ offsetof(GlobRes, Height), XtRString, (XtPointer)"400" },
{ "timeFormat", "TimeFormat", XtRString, sizeof (char *),
- offsetof(GlobRes, timeFormat), XtRString, "Your time is %2.2d:%2.2d." },
+ offsetof(GlobRes, timeFormat), XtRString, (XtPointer)"Your time is %2.2d:%2.2d." },
{ "displayFormat1", "DisplayFormat1", XtRString, sizeof (char *),
- offsetof(GlobRes, displayFormat1), XtRString, "Rest: " },
+ offsetof(GlobRes, displayFormat1), XtRString, (XtPointer)"Rest: " },
{ "displayFormat2", "DisplayFormat2", XtRString, sizeof (char *),
- offsetof(GlobRes, displayFormat2), XtRString, "Time: " },
+ offsetof(GlobRes, displayFormat2), XtRString, (XtPointer)"Time: " },
{ "scoreFile", "ScoreFile", XtRString, sizeof (char *),
- offsetof(GlobRes, scoreFile), XtRString, "%s/xshisen-scores" },
+ offsetof(GlobRes, scoreFile), XtRString, (XtPointer)"%s/xshisen-scores" },
{ "personalScore", "PersonalScore", XtRString, sizeof (char *),
- offsetof(GlobRes, personalScoreFile), XtRString, ".xshisen-scores" },
+ offsetof(GlobRes, personalScoreFile), XtRString, (XtPointer)".xshisen-scores" },
{ "scoreOnly", "ScoreOnly", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, scoreOnly), XtRString, "False" },
+ offsetof(GlobRes, scoreOnly), XtRString, (XtPointer)"False" },
{ "connectLineColor", "ConnectLineColor", XtRPixel, sizeof (Pixel),
- offsetof(GlobRes, connLineColor), XtRString, "blue" },
+ offsetof(GlobRes, connLineColor), XtRString, (XtPointer)"blue" },
{ "connectLineTime", "ConnectLineTime", XtRInt, sizeof (int),
- offsetof(GlobRes, connLineTime), XtRString, "1000" },
+ offsetof(GlobRes, connLineTime), XtRString, (XtPointer)"1000" },
{ "connectLineWidth", "ConnectLineWidth", XtRInt, sizeof (int),
- offsetof(GlobRes, connLineWidth), XtRString, "6" },
+ offsetof(GlobRes, connLineWidth), XtRString, (XtPointer)"6" },
{ "autoDemo", "AutoDemo", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, autoDemo), XtRString, "False" },
+ offsetof(GlobRes, autoDemo), XtRString, (XtPointer)"False" },
{ "libraryDirectory", "LibraryDirectory", XtRString, sizeof (char *),
- offsetof(GlobRes, libDir), XtRString, LIB_DIR },
+ offsetof(GlobRes, libDir), XtRString, (XtPointer)LIB_DIR },
{ "magnifyFactor", "MagnifyFactor", XtRFloat, sizeof (float),
- offsetof(GlobRes, magFactor), XtRString, "1.0" },
+ offsetof(GlobRes, magFactor), XtRString, (XtPointer)"1.0" },
{ "fitPixmap", "FitPixmap", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, fitPixmap), XtRString, "True" },
+ offsetof(GlobRes, fitPixmap), XtRString, (XtPointer)"True" },
{ "colorCloseness", "ColorCloseness", XtRInt, sizeof (int),
- offsetof(GlobRes, colorCloseness), XtRString, "40000" },
+ offsetof(GlobRes, colorCloseness), XtRString, (XtPointer)"40000" },
{ "gameSize", "GameSize", XtRInt, sizeof (int),
- offsetof(GlobRes, gameSize), XtRString, "0" },
+ offsetof(GlobRes, gameSize), XtRString, (XtPointer)"0" },
{ "trialMode", "TrialMode", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, trialMode), XtRString, "False" },
+ offsetof(GlobRes, trialMode), XtRString, (XtPointer)"False" },
{ "gravityMode", "GravityMode", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, gravityMode), XtRString, "False" },
+ offsetof(GlobRes, gravityMode), XtRString, (XtPointer)"False" },
{ "idleTime", "IdleTime", XtRInt, sizeof (int),
- offsetof(GlobRes, idleTime), XtRString, "100000" },
+ offsetof(GlobRes, idleTime), XtRString, (XtPointer)"100000" },
{ "kanjiCode", "KanjiCode", XtRString, sizeof (char *),
- offsetof(GlobRes, kanjiCode), XtRString, KANJICODE },
+ offsetof(GlobRes, kanjiCode), XtRString, (XtPointer)KANJICODE },
{ "kanjiConvert", "KanjiConvert", XtRBoolean, sizeof (Boolean),
- offsetof(GlobRes, kanjiConv), XtRString, "False" }
+ offsetof(GlobRes, kanjiConv), XtRString, (XtPointer)"False" }
};
GlobRes globRes;