#3 hhexen fixes

closed-fixed
nobody
None
5
2008-06-25
2003-03-09
Barry Mead
No

I corrected several bugs in hhexen and now it works great.

1st. There was a bug in hhexen/opengl/i_gl.cpp that
caused the keydown event for the Alt key to get eaten.
Also the source mentioned the Control key but the mask
used was for the alt key. I fixed the code so that if
the key is not a special key it still generates a
keyDown event for the application. This fixes the
problem of not being able to scroll sideways when you
hold down the Alt key.

2nd. There is a bug in the in_lude.c code that causes
the game to crash or hang when you go thru the end
portal on the "seven-portals" level. This code was
related to the intermission statistics for multiplayer
mode. I didn't know how to actually fix this problem,
so I commented out the call to the intermission
statistics routine for now. This allows the game to go
beyond the "seven-portals" level.

3rd. The ugly map in hhexen has now been improved. The
lines on the map are cleaner, the colors are brighter,
and now the map is transparent. You can see where you
are going even with the map up!

I have included the diff files (patches) for these
fixes/improvements. The h2_main.c.diff, am_map.c.diff,
and in_lude.c.diff file are to be applied to the
associated files in the hhexen/base directory. The
i_gl.cpp.diff file is to be applied to the i_gl.cpp
file in the hhexen/opengl directory.

That is all there is to it, except when you compile do:
./configure --enable-gl
make clean
make

Enjoy!

Discussion

  • Barry Mead

    Barry Mead - 2003-03-09

    Logged In: YES
    user_id=723969

    Use the hhexen-diffs.tar.gz with the later time. It allows
    you to grab your mouse back for a linux pointer with Alt-G

     
  • Barry Mead

    Barry Mead - 2003-03-09

    Logged In: YES
    user_id=723969

    Oh just one more thought . The diff files are applied to the
    source code files with the patch command as follows:
    patch i_gl.cpp i_gl.cpp.diff

    The changes mentioned in this thread are to be applied to
    hhexen version 1.31.

     
  • Ozkan Sezer

    Ozkan Sezer - 2008-06-25

    Logged In: YES
    user_id=219327
    Originator: NO

    These fixes / enhancements are included in the latest releases of hhexen
    (see version 1.4 and the CVS). Thanks for your contributions.

     
  • Ozkan Sezer

    Ozkan Sezer - 2008-06-25
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks