Menu

#653 Display bug when setting OPTIONS=tiles:Small tiles

Devel
closed-fixed
GTK (115)
5
2004-08-22
2004-05-29
a_ruse
No

I'm playing on RedHat 9 with 0.0.7E6F2, using GTK.

If I fire up slashem with no tiles option in my
.slashemrc file, it will display characters by default.
If I then choose the small tiles option, the
background is set to black and small tiles are
displayed correctly.

However, if I set OPTIONS=tiles:Small tiles in
.slashemrc, the background is gray, and black splotches
appear in the background whenever I go up or down
dungeon levels.

Discussion

  • J. Ali Harlow

    J. Ali Harlow - 2004-05-29
    • milestone: --> Devel
     
  • J. Ali Harlow

    J. Ali Harlow - 2004-06-12
    • assigned_to: nobody --> j_ali
     
  • J. Ali Harlow

    J. Ali Harlow - 2004-08-07

    Logged In: YES
    user_id=64456

    I can't reproduce this. I suspect it might be related to the
    version of Gtk+ that you are using. You can find this out by
    doing:

    ldd /usr/local/slashemdir/slashem

    (don't try and run ldd on the shell script!). Amongst the
    loutput will be a line that looks like:

    libgtk-x11-2.0.so.0 => /usr/devel/lib/libgtk-x11-2.0.so.0
    (0x40075000)

    Then use ls -l on the gtk .so file listed. For example:

    ls -l /usr/devel/lib/libgtk-x11-2.0.so.0

    This will tell you the exact version in use. In my case the
    output is:

    lrwxrwxrwx 1 root root 25 Apr 24 2003
    /usr/devel/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.200.1

    which decodes to Gtk+ version 2.2.1

     
  • Tomasz Ostrowski

    Logged In: YES
    user_id=352834

    I can confirm this bug. I'm using the following options:
    TILESET=name:x11,
    file:/usr/share/games/slashem/gltile16.png
    OPTIONS=tiles:x11
    and start with gtkhack and official RPM's:
    slashem-0.0.7E6F2-0.9.0.i386.rpm and
    slashem-gtk-0.0.7E6F2-0.9.0.i386.rpm. I have Fedora Core 1
    with XFCE desktop and XFCE-smooth theme.

    The problem IMHO is, that when tiles are not set to use
    transparency then they are drawn on default GTK background
    color not black background. But when tiles disappar - for
    example when descending to another dungeon level - they are
    changed to black.
    Screenshot (11kB):
    http://ludzie.batory.org.pl/~tometzky/nethack/slashem-gtk-notransparency.png
    The black contours are of the previous level I was on.

    But when I set transparency to on:
    TILESET=name:x11, file:/usr/share/games/slashem/gltile16.png
    background is black but corridors are barely visible - black
    on black.
    Screenshot (13kB):
    http://ludzie.batory.org.pl/~tometzky/nethack/slashem-gtk-transparency.png

    GTK+: 2.2.4

     
  • J. Ali Harlow

    J. Ali Harlow - 2004-08-21

    Logged In: YES
    user_id=64456

    Thanks Tomasz, as you say the problem clearly affects
    gtkhack with which I can reproduce it.

    As regards your second image, the tileset in gltile16.png is
    not transparent so telling slashem that it is is likely to
    confuse slashem and cause problems.

     
  • J. Ali Harlow

    J. Ali Harlow - 2004-08-22
    • status: open --> closed-fixed
     

Log in to post a comment.