View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004593 | AI | AI | public | 2014-10-20 00:07 | 2014-10-22 16:56 |
| Reporter | lamer | Assigned To | abma | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0004593: MoveData::GetDepthMod outdated, doesn't work the same way as engine does. | ||||
| Description | Apparantly at some point linear depthMod coefficient was replaced by quadratic formula. And i believe GetDepthMod should return depthMod per height as it is in https://github.com/spring/spring/blob/7336fbb57d847cecd80317d26f6e3ccd7e25c93c/rts/Sim/MoveTypes/MoveDefHandler.cpp#L372 | ||||
| Additional Information | I made a fix for new API https://github.com/spring/spring/pull/140. But apparantly HughAI is using getDepthMod() to display linear coefficient, thus compilation failed. Maybe new AI API version required? | ||||
| Tags | No tags attached. | ||||
|
|
Merged https://github.com/spring/spring/pull/140 close it? |
|
|
forgot this, thx! |