diff options
author | Stijn Buys <ingar@osirion.org> | 2010-02-20 20:04:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-02-20 20:04:46 +0000 |
commit | b6cefbb4c030e86865352e6ad941782121fc5a93 (patch) | |
tree | 19f53a53aedd8b41a3de086821332c7daf1917f8 | |
parent | 9b0f64f2fdfa1801a39bfae61dad4e11a8f0bc59 (diff) |
-rw-r--r-- | doc/TODO | 4 | ||||
-rw-r--r-- | src/client/Makefile.am | 4 | ||||
-rw-r--r-- | src/client/infowidget.cc | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -66,8 +66,10 @@ client: fix camera frustum clip (size issue, postponed) tracking camera absolute speed/position gui concept artwork - sanitize view menu remote commands + sanitize view menu remote command (ok) fix map/hud selection interaction + split chat into chatwindow, chatbox and chathistory + add statuswindow and inventorywindow.h render: star light strenght diff --git a/src/client/Makefile.am b/src/client/Makefile.am index 68c4a78..d4d4d4e 100644 --- a/src/client/Makefile.am +++ b/src/client/Makefile.am @@ -7,14 +7,14 @@ else noinst_LTLIBRARIES = libclient.la endif -libclient_la_SOURCES = action.cc buymenu.cc chat.cc client.cc clientext.cc \ +libclient_la_SOURCES = action.cc buymenu.cc chat.cc chatbox.cc chathistory.cc chatwindow.cc client.cc clientext.cc \ entitymenu.cc hud.cc infowidget.cc input.cc joystick.cc key.cc keyboard.cc map.cc \ notifications.cc playerview.cc soundext.cc targeticonbutton.cc targets.cc trademenu.cc \ video.cc worldview.cc libclient_la_CFLAGS = $(LIBSDL_CFLAGS) $(GL_CFLAGS) libclient_la_LDFLAGS = -avoid-version -no-undefined $(GL_LIBS) $(LIBSDL_LIBS) -noinst_HEADERS = action.h chat.h client.h clientext.h hud.h entitymenu.h \ +noinst_HEADERS = action.h chat.h chatbox.h chathistory.h chatwindow.h client.h clientext.h hud.h entitymenu.h \ input.h joystick.h key.h keyboard.h map.h notifications.h soundext.h \ targets.h video.h infowidget.h playerview.h worldview.h trademenu.h buymenu.h \ targeticonbutton.h diff --git a/src/client/infowidget.cc b/src/client/infowidget.cc index da4103f..cf7c684 100644 --- a/src/client/infowidget.cc +++ b/src/client/infowidget.cc @@ -106,7 +106,7 @@ void StatsInfoWidget::draw() float fps = 0.0f; float t = (core::application()->time() - min_time); if (t > 0) { - fps = roundf(((float) fps_counter_size - 1.0f) / t); + fps = roundf(((float) fps_counter_size ) / t); } std::stringstream textstream; |