-Subversion->Git/Mercurial/Bzr Move
-==================================
-
-* right now a switch doesn't seem to be worth it
-
-* core issue right now isn't SVN, but old SVN version on lethargik.org
- (lacks merge tracking and issues with viewvc)
-
-* cleanup SVN to make import into other version control systems possible:
-
- - Should we merge trunk/supertux-milestone1 and trunk/supertux when switching to Git/Hg/...?
-
-Mistakes: incorrect branch creation: r5201-5207
-
-tags/start # unknown
-tags/supertux # unknown
-tags/supertux_0_1_0
-tags/supertux_0_1_1
-tags/supertux_0_1_2
-tags/supertux_0_1_3
-
-branches/cobble # unknown
-branches/milestone1 # unknown
-branches/new-collision-detection # unknown
-branches/README # documentation that will be lost in conversion
-branches/supertux # unknown
-branches/supertux_0_1_1_branch
-branches/supertux-box2d # mathnerd (trash)
-branches/supertux-editor-newdrawing # editor
-branches/supertux-editor-newdrawing2 # editor
-branches/supertux-milestone1-olpc # supertux-milestone1
-branches/supertux-milestone2-grumbel # supertux
-branches/supertux-nogl # supertux(?)
-branches/supertux-sharp # another supertux editor
-branches/unison-video # ???
-branches/vendor # ??? CVS crap
-
-trunk/cobble # some editor?
-trunk/CVSROOT # ??? CVS crap
-trunk/htdocs # htdocs
-trunk/jnrcol
-trunk/media
-trunk/SDL_tty
-trunk/setup2x
-trunk/supertux
-trunk/supertux-editor
-trunk/supertux-milestone1
-trunk/supertux-portable
-trunk/supertux-sharp
-trunk/wiz-test
-
-Potential Git Issues
-====================
-
-* lack of sparse/narrow/shallow checkout, this means initial checkout
- will be 200MB instead of 100MB
-
-* no free hoster that allows >1GB repositories (haven't checked all,
- but those I did came out way short) -> could use lethargik.org
-
-* some free hosters that might allow >1GB repositories don't allow
- having multiple repositories
-
-* git submodule doesn't seem to be quite ready to replace our
- trunk/supertux, trunk/supertux-editor, trunk/media/, ... layout as
- it for example doesn't support automatic tracking of HEAD from the
- remote repositories, it also feels rather hacky and not properly
- integrated into git
-
-* lack of metadata versioning, if you delete a branch in git that you
- haven't merged, then its gone after the next gc/repack (+ two weeks
- time limit it seems), in SVN on the other side you can checkout the
- way the tree was at a specific date, its impossible to lose history
- unless you hack the repository
+* 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
+ to if there is a proper/easy way to let the user enter numbers)
+ (--magnification or -g WIDTHxHEIGHT:ASPECTX:ASPECTY@MAGNIFICATION)
+
+* use AnchorPoint in Background instead of Alignment
+
+* allow gradients to parallax scroll like Background (make it optional)
+
+* add multicolored gradients (see Windstille source code, which can deal with Gimp gradients)
+
+* 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)
+ log_warning << "frame out of range: " << (int)frame << "/" << get_frames() << " at " << get_name() << "/" << get_action() << std::endl;
+
+* Surface::hflip() is used exactly once, should probally be part of the constructor
+\f
+Scenegraph and Physics Engine Restructuring
+===========================================
+
+* random idea to restructure engine stuff (might lead to nicer code
+ and easier scriptability (and a need to rewrite lots of stuff...):
+
+class SomeBadGuy : public PhysicsCallbackListener // or use boost::function
+{
+private:
+ PhysicsPtr box;
+ SpritePtr sprite;
+
+public:
+ SomeBadGuy(Engine& engine)
+ {
+ box = engine.physics().create_box(Rectf(0,0,32,32));
+ box->register_listener(this);
+ sprite = engine.graphics().create_and_add_sprite("Foobar");
+ }
+
+ void update(float delta)
+ {
+ // not much to do, as most stuff is done internally in the engine
+ if (dead)
+ {
+ sprite->replace_with("Foobar_dead");
+ }
+ else
+ {
+ sprite->hide();
+ sprite->set_pos(box->get_pos());
+ }
+ }
+
+ // no more draw(), done by the scene graph
+
+ void on_collision(CollisionData data)
+ {
+ // respond
+ }
+};
+
+Random Notes
+============
+
+* calculate the size of an background image that should fill the screen:
+
+ image_size = (1 - parallax_speed) * screen_size + level_size * parallax_speed
+
+def calc(parallax, screen, tiles):
+ return (1 - parallax) * screen + parallax * tiles * 32
+
+\f
+Supported Resolutions
+=====================
+
+SuperTux shall support resolutions from 640x480 to 1280x800 at a magnification of 1x.
+For resolutions higher, such as 2560x1600, upscaling will be used.
+For resolutions smaller, like 320x240 downscaling will be used.
+
+Higher resolution graphics for 2x maginification might be provided.
+Lower res graphics for 0.5x maginification might be provided as well.
+
+Resolution and magnification can be freely configured by the user within the given limits.
+
+In tiles this means we have 40x25 (=1280x800px) tiles per screen.
+\f
+Graphic Tasks
+=============
+
+* animate cave background torch: data/images/tiles/background/backgroundtile3.png
+
+* do parallax tiles
+
+* remove lightmap tiles
+
+* redraw/replace data/images/tiles/waterfall/
+\f
+Music Recode
+============
+
+Currently the music makes up a large chunk of the total tarball
+size. Compression could fix this:
+
+ ,-- Size of data/music/*.ogg
+ V
+40MB - Current quality in SVN
+24MB - Default oggenc quality (3)
+14MB - oggenc at 0 quality
+10MB - oggenc at -1 quality