From 3aa27a27990b5400b131239ed55a5360ef0b7f68 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Wed, 27 Aug 2014 21:53:43 +0200 Subject: [PATCH] Updated the TODO a bit --- TODO | 57 +++------------------------------------------------------ 1 file changed, 3 insertions(+), 54 deletions(-) diff --git a/TODO b/TODO index 1c24dccd0..b0e77e4eb 100644 --- a/TODO +++ b/TODO @@ -13,20 +13,6 @@ enhanchment, actually enhanchmes anything at all. Coding Standard Stuff ===================== -* make code clean: "-O2", "-g3", - "-ansi", - "-pedantic", - "-Wall", - "-Wextra", - "-Wnon-virtual-dtor", - "-Weffc++", - "-Wconversion", - "-Werror", - "-Wshadow", - "-Wcast-qual", - "-Winit-self", # only works with >= -O1 - "-Wno-unused-parameter", - * remove overuse of multi-inheritance * remove overuse of friend'ship @@ -41,7 +27,7 @@ Coding Standard Stuff * use Vector in Physics for 'a' and 'v' -* replace random generator with mersenne twister and/or move to external/ (maybe use boost's random stuff) +* replace random generator with C++11 stuff * md5.hpp and random_generator.hpp could go to external/ @@ -53,6 +39,8 @@ Coding Standard Stuff - include guards proper and of the form HEADER_SUPERTUX_${PATH_TO_FILE}_HPP + - remove trailing whitespace + TODO ==== @@ -63,14 +51,10 @@ TODO * GameObject::RemoveListenerListEntry: Ughs, somebody trying to implement a list class within in the GameObject?! -* add --datadir DIR (data/) and --userdir DIR (~/.supertux/), allow multiple --datadir's - * make gravity constant * rename Vector -> Vector2f -* get rid of global SDL_Screen* screen variable - * get rid of SCREEN_WIDTH/SCREEN_HEIGHT overuse, give them a proper name at least * resolution menu entry moves the wrong way around @@ -82,8 +66,6 @@ TODO * file naming is inconsistent: some times we use '_' to separate words, sometimes we don't -* collect all manager classes into globals.hpp - * more moving directories around? addon/ @@ -110,10 +92,6 @@ supertux/ * having hitbox in Sprite is fugly -* write decal object that doesn't have hitbox - -* implement surface and/or sprite scaling (MipMaps?) - * add code that compares the last Log line with the current, if they are the same reject them and just output something like: @@ -121,11 +99,6 @@ supertux/ * implement: http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html -* workaround for Ubuntu pulseaudio/OpenAL brokeness: - -$ cat ~/.alsoftrc -drivers = oss - * peaking up/down doesn't work properly * peaking left/right should make Tux look into that direction (up/down to, needs new sprites) @@ -134,17 +107,10 @@ drivers = oss * replace cloud tiles with decals -* option menu has text overlap in "aspect ratio" - -* jumping up from an enemy doesn't make a sound? - * add support for automatic scrolling backgrounds * add direct reading of Vector2f to Reader/lisp -* replace bell with 'reset block', that starts to glow once bumped - into (or something different) - * refactor Camera code, break ugly long functions into pieces and such * allow fully custom magnification levels from command line (maybe GUI @@ -160,25 +126,8 @@ drivers = oss * fix alpha blending in the SDL renderer, currently all sprites (Tux, etc.) appear transparent -* position of statistics text on the worldmap doesn't scale properly with resolution it seems - -* gluBuild2DMipmaps leads to blurriness, maybe lack of magic offset - (0.375f, 0.375f, 0.0f) or something else - -* font system has blending artifacts at non-1x magnifications, need to - have an transparent pixel between letters - -* add a (border #t) flag to fonts, that allows to use fonts which have - a 1px transparent border around glyphs, which is needed to get rid - of blending artifacts in OpenGL - -* mouse cursor has blend artifact on high magnification - * shadow font glyphs bleed into other glyphs -* in DrawingRequest "void* request_data;" is only free'ed, but the - destructor never gets called - * sprite/sprite.cpp: frame should never get out of range: if((int)frame >= get_frames() || (int)frame < 0) -- 2.11.0