2024-04-24 00:11 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002249Spring engineGeneralpublic2015-05-02 04:18
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002249: replace rts/Menu/* with lua
Descriptionthis would allow to make an game-menu for each mod.

to do that:

-make a default menue
-add param to spring to load menu from mod / allow to load an menu with an start script

for the beginning the menu from evolution-rts could be used
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0002246resolvedabma Make newbies life easier (some ideas for first start) 
related to 0002270resolvedabma some 0.82.3-1086-gf318f6e issues 
related to 0004360resolvedabma better singleplayer experience 
+Relationships

-Notes

~0006046

jK (developer)

That's what the new loadingscreen stage is meant for.

When it is finished it won't just allow games to render a loadingscreen with lua, it will also allow games to show a real game-menu with settings, map selection, ...

So instead of the current menu you will just be able to select a game and it will do the rest, also the spring binary will support a bash param like './spring -game ca', this will make desktop links possible etc.

Estimated time till it's finished 3-4months.

~0006047

abma (administrator)

Last edited: 2010-12-08 16:09

aah, nice! i've assigned that to you, i hope it's ok :)

~0007261

hoijui (reporter)

this is not the same thing to me.
rts/Menu/* is a debug thing, meant to be used by devs only, really. and it is useful for that. it is loaded before any game archive, and so can not be game supplied Lua (and should not). it could be engine supplied Lua, but i doubt this is worth the hassle.
in other words.. you may decide to remove rts/Menu/ when that loadscreen stuff is done (i would not like it), but it is not a replacement for it, even if Auswaschbar probably had a similar thing in mind for it, that's not what it is.

~0007262

abma (administrator)

you could still create a script.txt, so the menu as it is imo isn't required...

~0007263

hoijui (reporter)

Last edited: 2011-08-21 10:36

with that reasoning, the stuff that jk is going to code is not required either.
i quite like to not have to edit a txt file whenever i want to test different AIs on different maps, or engine changes on different games. but of course it has to be decided if this is enough for keeping the Menu. maybe a small binary that uses a set of test-scripts and unitsync, and calls spring could replace it... i don't see much sense to push the removal of Menu, as it does not really cause much maintenance overhead.

~0014412

abma (administrator)

https://github.com/spring/spring/commit/0e22713bef952a9960e183e9054453a1ad63d6bd

the menu still is missing, but all should be doable in lua from now on...
+Notes

-Issue History
Date Modified Username Field Change
2010-12-06 20:58 abma New Issue
2010-12-06 20:59 abma Relationship added related to 0002246
2010-12-06 21:18 abma Description Updated
2010-12-08 15:35 jK Note Added: 0006046
2010-12-08 16:04 abma Status new => assigned
2010-12-08 16:04 abma Assigned To => jK
2010-12-08 16:05 abma Note Added: 0006047
2010-12-08 16:09 abma Note Edited: 0006047
2010-12-23 03:04 abma Relationship added related to 0002270
2011-08-14 19:34 abma Assigned To jK =>
2011-08-14 19:34 abma Status assigned => new
2011-08-20 09:24 hoijui Note Added: 0007261
2011-08-20 11:27 abma Note Added: 0007262
2011-08-20 13:23 hoijui Note Added: 0007263
2011-08-21 10:36 hoijui Note Edited: 0007263
2014-04-09 02:13 abma Relationship added related to 0004360
2015-05-02 04:18 abma Note Added: 0014412
2015-05-02 04:18 abma Status new => resolved
2015-05-02 04:18 abma Resolution open => fixed
2015-05-02 04:18 abma Assigned To => abma
+Issue History