Project Altris Notes


Title: ALTRIS
Author: David A. Bagley, bagleyd AT verizon.net
Copyright: BSD
Description: Altered Tetri

Contents

Things To Do...
Android Latest Tweaks...
Java - Latest Tweaks...
Java - Older Releases
X and Windows - Latest Tweaks...
X and Windows - Older Releases

Things To Do...

  1. Android Tetris/Welltris: add features to new Android App version. Just plays no score or change of speed yet.
  2. Scaling problems for Applets in resizable windows.
  3. Boxtris.
  4. Playing is not paused at all when going to next game in X version.

Android - Latest Tweaks...

  8.0.1:
    Old website http://www.tux.org/~bagleyd died, shifted code base to
      new website http://www.sillycycle.com
  8.0.0:
    Tetris: Android App version.
    Welltris: Android App version.

Java - Latest Tweaks...

  8.0.0:
    Falling things now in an xml with a fallback if it can not be found.
    Old website http://www.tux.org/~bagleyd died, shifted code base to
      new website http://www.sillycycle.com
  7.7.5:
    Applet: added handling when writing score so does not crash if fails.
    Separate util directory.
  7.7.3:
    Reorganized icons directory.
  7.7.1:
    Dialogs now use swing.
  7.7.0:
    Game canvas now has default focus when applet comes up.  Seems like
      this is now necessary for game to work.
  7.6.2:
    Took out JPopup and put in JMenu stuff from application.  Would have
      done before but did not realize Applet needs to be JApplet for this
      to work.
    Added border for htmls thanks to
      http://www.squidoo.com/html-backgrounds-
    Added Attach/Detach thanks to code snippet Code Ranch and JavaKB by
      Brian Pipa.
    Also found something in stackoverflow from Alex for resizing JFrame.
    Now have sound initialization only run on first try to make a sound as
      I found sound initialization hangs on one of my systems.
  7.6.1:
    Added extra keys F12 for rotate and F11 for reflection.
  7.5:
    Cleaned up menu look.

Java - Older Releases

  7.4.2:
    Panel info length was trying to be 4 times bigger than it should be.
  7.4:
    Leading function names in lowercase.
    findbugs and pmd changes.
  7.3.4:
    Added new scaling for altris applets.
    Cursor changed to crosshair pointer.
    Added javadoc info.
  7.3.3:
    Skipped to resync puzzle releases.
  7.3.2:
    Tertris: Fixed size 7 where it thought there were more polyiamonds.
    Constants changed.
    Added 3D look to frame.
    gcj warning cleanups.
  7.3.1:
    Updated action codes and synchronized Java and C code.
  7.3:
    Better keyboard interface code.
  7.2.5:
    New bump.au sound and db lowered, thanks to
      http://audacity.sourceforge.net to help clean the sound up.
  7.2.4:
    Welltris: images sometimes should no longer erase grid.
    Implemented JavaScript applet quit option.
    Use generic names in code where possible.
    Now use http://netpbm.sourceforge.net to generate images from xpm.
  7.2.3:
    Fixed problems with initialization.
    Fixed level and fill bounding problems.
    Made more configurable at start up.
    Check for noninteger parameter input.
  7.2.2:
    Line feed fixes.
    Cookies more readable.
    JavaScript/Cookie code back in.
    Ant build now fully supported.
    variable size for Application.
    Jar files now have a MANIFEST so they can run as a an application if
      downloaded.
  7.2.1:
    Started fixing up help and keyboard options between X/Window and Java.
    Added pause key '|'.
    welltris:
      Corner split neighbor aware, ie. when split by a corner have end
        pieces join up, the result is a more of a rubbery effect.
      Implemented 2nd order neighbor awareness on sides of well, it used to
        use a 4 bit algorithm now its at 16 just like the bottom of well.
  7.2:
    AWT to Swing... (I kind of liked AWT... but won over to get Mnemonics
      to look right).
    hextris and tertris:
      fixed Next drawing, was inside-out
  7.1.5:
    Level 20 slowdown fix
    welltris:
      better graphics for pieces on the side of the well
  7.1.4:
    build.xml
    Sound
    Fill option added for welltris
    New pieces to depend on neighbors for tertris and hextris,
      also when a row is deleted a reformat takes place
    Hextris made the edges softer in corners mode
    welltris & tetris rerun dynamic bitmaps for rescale and next
    welltris now unfreezes when game finished 

  7.1.3 and older
    Dynamic bitmaps.
    Got rid of some deprecations and Xlints
    tetris: prefill bug, flash bug, 3d upside-down
    welltris: 3d upside-down
    tertris: multiline complete bug, checkLines()
    hextris: drawThing & drawThingDiff check for j >= 0
    Esc key to hide
    Initial conversion from C to Java by Sarat Chandran
      

X and Windows - Latest Tweaks...

  [Aug 01, 2017]  V8.1.1:
    Valgrind helped find some definite memory leaks.
  [Jul 17, 2017]  V8.1.0:
    Updated sound configuration for X version.  Uses a simple included
      script play.sh, that is now used by default.
  [Sep 13, 2016]  V8.0.1:
    Old website http://www.tux.org/~bagleyd died, shifted code base to
      new website http://www.sillycycle.com
  [Feb 24, 2015]  V8.0.0:
    Sound and install fixes.
  [Jan 20, 2014]  V7.7.3:
    Reorganized pixmap directory.
  [Jan 10, 2013]  V7.7.1:
    Added scroll to feature help dialog.
    New bold fontlist in resource file, so things are easier to read.
  [Jun 29, 2010]  V7.6.1:
    Added extra keys F12 for rotate and F11 for reflection.
  [Jan 21, 2010]  V7.6:
    Version handling changed to a single version.h (and man page).
    Sound fixed for esound.
  [Nov 10, 2009]  V7.5.1:
    Windows version: added accelerator for references.
  [Jun 05, 2009]  V7.5:
    Cleaned up menu look.
    Fixed again for NAS sound.

X and Windows - Older Releases

  [Dec 14, 2008]  V7.4.3:
    Fixed for NAS sound.
  [Jul 21, 2008]  V7.4.1:
    Strange character at end of help title removed.
    Pause menu selection now works.
  [Jul 11, 2008]  V7.4:
    Leading function names in lowercase.
  [Dec 24, 2007]  V7.3.2:
    Tertris: Fixed size 7 where it thought there were more polyiamonds.
    Constants changed.
    Added 3D look to frame.
    Pause now checked to see if score should be added like Java version.
    Windows error for changing plainPiece.
  [Nov 27, 2007]  V7.3.1:
    Sound updates.
    Updated action codes and synchronized Java and C code.
    Various small changes.
  [Feb 23, 2007]  V7.3:
    Html no longer corrupted.
    reverseVideo update.
  [Jan 08, 2007]  V7.2.5:
    New bump.au sound, db lowered, and bumpdat.au removed, thanks to
      http://audacity.sourceforge.net to help clean the sound up.
  [Dec 12, 2006]  V7.2.4:
    Now use http://netpbm.sourceforge.net to generate images from xpm.
  [Nov 23, 2006]  V7.2.3:
    Fixed level and fill bounding problems.
  [Jul 21, 2006]  V7.2.2:
    Fixed assorted memory leaks and uninitialized memory access reads.
    hextris: fixed a core dump on Linux.
  [May 05, 2006]  V7.2.1:
    Fixed slider goof.
    Added pause key '|'.
    MS Window fix for tetris and welltris: fixed Plain Piece toggle
    welltris:
      Corner split neighbor aware, ie. when split by a corner have end
        pieces join up, the result is a more of a rubbery effect.
      Implemented 2nd order neighbor awareness on sides of well, it used to
        use a 4 bit algorithm now its at 16 just like the bottom of well.
  [Apr 01, 2006]  V7.2:
    Made usage string compatible with versions of Motif and screen.
    More defensive code in case getlogin fails.
  [Nov 01, 2005]  V7.1.6:
    Level 20 slowdown fix
    MS Window fixes:
      show next in wrong window!
      plainPiece should redraw all
      fill 0-10 invisible
      changing columns on the fly
      # for grid does not blank (no grid on tetris)
    welltris:
      better graphics for pieces on the side of the well
      corners of well now sharper
  [Oct 05, 2005]  V7.1.5
    scoreFile and userName fixes
    scores fix
    Welltris gc error when inverting wall (last minute change... oops)
  [Sep 22, 2005]  V7.1.4 Xt/Motif/Windows version 
    Much code rewritten.
    -version added
    Common option help for X and X-Motif
    pieceColor changed to borderColor, -frame added
    Top line cleared in checkLines
    Fill option added for welltris
    Simulate Xor walls in Windows for welltris
    Simulate Xor flashing in Windows for tertris and hextris
    Configure pieces to depend on neighbors for tertris and hextris,
      also when a row is deleted a reformat takes place
    Hextris made the edges softer in corners mode
    Hextris redraw all when transition from corners to no corners and
      vice-versa
  Some older versions (before syncing with xpuzzle numbering) used X
    (1.x), see individual README files of each package for a more
    complete listing.