Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
55b55a98
Commit
55b55a98
authored
2 years ago
by
Rick Parrish
Committed by
Rob Swindell
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Ree/games fixes
parent
7ad4652b
No related branches found
No related tags found
2 merge requests
!463
MRC mods by Codefenix (2024-10-20)
,
!230
Ree/games fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webv4/pages/003-games.xjs
+13
-2
13 additions, 2 deletions
webv4/pages/003-games.xjs
with
13 additions
and
2 deletions
webv4/pages/003-games.xjs
+
13
−
2
View file @
55b55a98
...
@@ -25,7 +25,11 @@
...
@@ -25,7 +25,11 @@
?>
?>
<?
xjs
if
(
settings
.
ftelnet_menubar
)
{
?>
<style>
.fTelnetConnectButton
{
display
:
none
;
}
</style>
<?
xjs
}
else
{
?>
<style>
.fTelnetStatusBar
{
display
:
none
;
}
</style>
<style>
.fTelnetStatusBar
{
display
:
none
;
}
</style>
<?
xjs
}
?>
<a
name=
"fTelnet"
></a>
<a
name=
"fTelnet"
></a>
<div
id=
"fTelnetContainer"
class=
"fTelnetContainer"
style=
"margin-bottom:1em;"
></div>
<div
id=
"fTelnetContainer"
class=
"fTelnetContainer"
style=
"margin-bottom:1em;"
></div>
...
@@ -86,8 +90,15 @@
...
@@ -86,8 +90,15 @@
$
(
a
).
text
(
xx
.
n
);
$
(
a
).
text
(
xx
.
n
);
$
(
a
).
click
(
function
(
evt
)
{
$
(
a
).
click
(
function
(
evt
)
{
if
(
xx
.
c
.
toLowerCase
()
===
'
msweeper
'
)
{
if
(
xx
.
c
.
toLowerCase
()
===
'
msweeper
'
)
{
// Resize client to support a level 5 game of minesweeper
// Resize client to support a level 5 game of minesweeper, if necessary
fTelnet
.
Crt
.
SetScreenSize
(
80
,
35
);
if
(
fTelnet
.
Crt
.
ScreenRows
<
35
)
{
// Switch to 80x35, which fits a full level 5.0 game
fTelnet
.
Crt
.
SetScreenSize
(
80
,
35
);
// Call SetFont, which will switch to a smaller font if the new 35 row
// client is too tall for the browser window
fTelnet
.
Crt
.
SetFont
(
fTelnet
.
Crt
.
Font
.
Name
);
}
}
}
launchXtrn
(
xx
.
c
);
launchXtrn
(
xx
.
c
);
});
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment