diff options
author | Stijn Buys <ingar@osirion.org> | 2009-04-15 17:08:51 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-04-15 17:08:51 +0000 |
commit | a95028547981614e06ea7a6d22b853b85418cea3 (patch) | |
tree | d4d6998a4118a4d8690ce138d586abfba4893179 /src/ui | |
parent | 4f33f59571f10019c1e7a0e3640b2f69c159a8cf (diff) |
added info registry, list_info
added network info transfer
added info based buy menu and related game changes
Diffstat (limited to 'src/ui')
-rwxr-xr-x | src/ui/modelview.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/modelview.cc b/src/ui/modelview.cc index 4239294..a07922a 100755 --- a/src/ui/modelview.cc +++ b/src/ui/modelview.cc @@ -55,6 +55,11 @@ void ModelView::draw() if (!modelview_modelname.size()) return; + math ::Vector2f center(global_location()); + + center.x += width() * 0.5f; + center.y += height() * 0.5f; + //model::Model *model = model::Model::find(modelview_modelname); // gl 3d mode |