View Issue Details

IDProjectCategoryView StatusLast Update
0005455Spring engineLuapublic2017-02-06 02:10
ReporterGoogle_Frog Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version103.0 +git 
Summary0005455: LuaMenu knowledge of 64 bit or 32 bit build.
DescriptionSome AIs have 32 bit or 64 bit compiles so in LuaMenu I need to add the correct AI based on the build of Spring. I'd like some easy way for LuaMenu to determine the build. It seems like this information could be here: https://springrts.com/wiki/Lua_ConstGame#Engine similar to buildFlags. I am not sure if Game is currently visible to luaMenu though.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2017-02-05 18:13

developer   ~0017220

rather than extending LuaConstGame (which isn't accessible from LuaMenu), I'll migrate the version and buildflags strings to a new LuaConstEngine and add word-size there.

Anonymous

2017-02-06 02:10

viewer   ~0017221

Fix 9599201b0d04812ce03e39e9cc42bb7f186376c0 committed to develop branch: fix 0005455; introduce LuaConstEngine

Game.{version,versionFull,versionPatchSet,buildFlags} now reside in the Engine table
Engine.cpuWordSize indicates the build type and is either 4 or 8 (or 0 in synced code), repo: spring changeset id: 7882

Issue History

Date Modified Username Field Change
2017-02-05 00:43 Google_Frog New Issue
2017-02-05 18:13 Kloot Note Added: 0017220
2017-02-06 02:10 Changeset attached => spring develop 9599201b
2017-02-06 02:10 Anonymous Note Added: 0017221
2017-02-06 02:10 Anonymous Status new => resolved
2017-02-06 02:10 Anonymous Resolution open => fixed