View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003390 | Spring engine | Lua | public | 2013-01-08 08:26 | 2013-01-08 14:40 |
| Reporter | Rafal99 | Assigned To | Kloot | ||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 91.0 | ||||
| Fixed in Version | 91.0.1+git | ||||
| Summary | 0003390: Mapinfo tags "hardness" and "notDeformable" are not accessible from lua | ||||
| Description | LuaConstGame exports most basic mapInfo tags to lua, except these two. While hardness can be get be accessed using Spring.GetGroundInfo(), there is no way to access "notDeformable" tag. https://github.com/spring/spring/blob/develop/rts/Lua/LuaConstGame.cpp needs these two lines: LuaPushNamedNumber(L, "mapHardness", mapInfo->map.hardness); LuaPushNamedNumber(L, "notDeformable", mapInfo->map.notDeformable); | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
No wait, it should be LuaPushNamedBool in case of notDeformable tag. |
|
|
https://github.com/spring/spring/commit/01587c27bbcf4211c1578b201b3ceda5178c7b83 (read the comment about notDeformable) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-01-08 08:26 | Rafal99 | New Issue | |
| 2013-01-08 08:31 | Rafal99 | Note Added: 0009575 | |
| 2013-01-08 08:31 | Rafal99 | Note Edited: 0009575 | |
| 2013-01-08 14:40 | Kloot | Note Added: 0009576 | |
| 2013-01-08 14:40 | Kloot | Status | new => resolved |
| 2013-01-08 14:40 | Kloot | Fixed in Version | => 91.0.1+git |
| 2013-01-08 14:40 | Kloot | Resolution | open => fixed |
| 2013-01-08 14:40 | Kloot | Assigned To | => Kloot |