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
6295400b
Commit
6295400b
authored
4 years ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
Clean up TODOs.
parent
0c78a437
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xtrn/lord2/lord2.js
+7
-8
7 additions, 8 deletions
xtrn/lord2/lord2.js
with
7 additions
and
8 deletions
xtrn/lord2/lord2.js
+
7
−
8
View file @
6295400b
'
use strict
'
;
// TODO: More optimal horizontal lightbars
// TODO: Multiplayer
interaction
s
// TODO: Multiplayer
online battle
s
// TODO: Save player after changes in case process crashes
// TODO: run NOTIME in HELP.REF on idle timeout
...
...
@@ -2203,7 +2203,7 @@ function run_ref(sec, fname)
}
f
.
close
();
}
//
TODO:
Documentation says it won't change variables if file too short...
// Documentation says it won't change variables if file too short...
// By felicity.ref ends up displaying junk...
//while (vs.length) {
// setvar(vs.shift(), '');
...
...
@@ -2340,14 +2340,14 @@ function run_ref(sec, fname)
}
},
'
offmap
'
:
function
(
args
)
{
//
TODO:
Disappear to other players... this toggles busy because
// Disappear to other players... this toggles busy because
// it looks like that's what it does...
player
.
busy
=
1
;
update_update
();
player
.
put
();
},
'
busy
'
:
function
(
args
)
{
//
TODO:
Turn red for other players, and run @#busy if other player interacts
// Turn red for other players, and run @#busy if other player interacts
// this toggles battle...
player
.
battle
=
1
;
update_update
();
...
...
@@ -3061,7 +3061,7 @@ function mail_check(messenger)
lw
(
'
`r0`c
'
);
}
// TODO: Not sure what happens on windows
o
f someone else has the file open...
// TODO: Not sure what happens on windows
i
f someone else has the file open...
// We likely need a file mutex here.
file_rename
(
fn
,
f
.
name
);
if
(
!
f
.
open
(
'
r
'
))
...
...
@@ -3255,7 +3255,6 @@ function con_check()
player
.
put
();
break
;
case
'
UPDATE
'
:
// TODO: No idea...
update
();
break
;
case
'
ADDGOLD
'
:
...
...
@@ -4605,6 +4604,7 @@ function hail()
clearrows
(
21
,
23
);
dk
.
console
.
gotoxy
(
1
,
22
);
lw
(
'
`r0`2Give `0
'
+
op
.
name
+
'
`2 how much of your `$$
'
+
player
.
money
+
'
`2? :
'
);
// TODO: This isn't exactly right... cursor is in wrong position, and selected colour is used.
ch
=
dk
.
console
.
getstr
({
edit
:
player
.
money
.
toString
(),
integer
:
true
,
input_box
:
true
,
attr
:
new
Attribute
(
31
),
len
:
11
});
ch
=
parseInt
(
ch
,
10
);
clearrows
(
22
);
...
...
@@ -4650,7 +4650,6 @@ function hail()
players
[
op
.
Record
].
put
();
op
.
battle
=
0
;
op
.
put
(
false
);
// TODO: giving things, etc...
}
else
{
op
.
unLock
();
...
...
@@ -4694,7 +4693,7 @@ function hail()
}
}
break
;
case
2
:
// TODO: Give Item
case
2
:
give_item
(
true
);
break
;
case
3
:
...
...
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