summaryrefslogtreecommitdiff
path: root/game/physical.cpp
Commit message (Collapse)AuthorAge
* Mesh split, bogeys follow rails.Dan Goodliffe2021-02-19
| | | | | | | | | | | | | | Wow. This commit is too big. It: * splits obj loaded meshes into individual named objects. * moves obj to mesh(es) code into new file obj.impl.cpp, removing the clutter from mesh * removes Physical for providing the wrong level of abstraction * bit of a hack to adjust loaded models to offset rail vehicle bogeys to 0 centre, and then applies their calculated position to the mesh All in all, quite a lot of mess... But the result is the rail vehicle bogeys now follow the rails quite authentically.
* Move texture cache to Texture classDan Goodliffe2021-01-25
|
* Remove the weird view/model/camera connectednessDan Goodliffe2021-01-24
|
* Allow physical objects to share meshes and texturesDan Goodliffe2021-01-23
|
* Factor to support worlds, objects, windows etcDan Goodliffe2021-01-18