Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Otowa Kotori
Tales of MajEyal
Commits
5ea09bda
Commit
5ea09bda
authored
6 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
ahah woopso
parent
7d4c1fd0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/modules/boot/dialogs/MainMenu.lua
+1
-3
1 addition, 3 deletions
game/engines/default/modules/boot/dialogs/MainMenu.lua
src/main.c
+1
-1
1 addition, 1 deletion
src/main.c
with
2 additions
and
4 deletions
game/engines/default/modules/boot/dialogs/MainMenu.lua
+
1
−
3
View file @
5ea09bda
...
...
@@ -82,7 +82,7 @@ function _M:init()
-- if config.settings.cheat then l[#l+1] = {name="webtest", fct=function() util.browserOpenUrl("http://google.com") end} end
-- if config.settings.cheat then l[#l+1] = {name="webtest", fct=function() util.browserOpenUrl("asset://te4/html/test.html") end} end
self
.
c_background
=
Checkbox
.
new
{
title
=
"Disable animated background"
,
checked
=
game
.
stoppe
d
and
true
or
false
,
on_change
=
function
()
self
:
switchBackground
()
end
}
self
.
c_background
=
Checkbox
.
new
{
title
=
"Disable animated background"
,
default
=
config
.
settings
.
boot_menu_backgroun
d
and
true
or
false
,
on_change
=
function
()
self
:
switchBackground
()
end
}
-- self.c_background = Button.new{text=game.stopped and "Enable background" or "Disable background", fct=function() self:switchBackground() end}
self
.
c_version
=
Textzone
.
new
{
font
=
{
FontPackage
:
getFont
(
"default"
),
10
},
auto_width
=
true
,
auto_height
=
true
,
text
=
(
"#{bold}##B9E100#T-Engine4 version: %d.%d.%d"
):
format
(
engine
.
version
[
1
],
engine
.
version
[
2
],
engine
.
version
[
3
])}
...
...
@@ -312,8 +312,6 @@ end
function
_M
:
switchBackground
()
game
.
stopped
=
not
game
.
stopped
game
:
saveSettings
(
"boot_menu_background"
,
(
"boot_menu_background = %s\n"
):
format
(
tostring
(
game
.
stopped
)))
self
.
c_background
.
text
=
game
.
stopped
and
"Enable background"
or
"Disable background"
self
.
c_background
:
generate
()
if
game
.
stopped
then
core
.
game
.
setRealtime
(
0
)
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
1
−
1
View file @
5ea09bda
...
...
@@ -977,7 +977,7 @@ void do_move(int w, int h) {
start_xpos
=
w
;
start_ypos
=
h
;
}
else
{
w
=
start_xpos
;
//
w = start_xpos;
h
=
start_ypos
;
}
...
...
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