Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CD patch 2
- To: crossfire (at) ifi.uio.no
- Subject: CD patch 2
- From: Tony Elmroth <>
- Date: Fri, 17 Jul 1992 18:41:27 +0200
Hi
Here are some more patches from CD that are placed in
/pub/crossfire/incoming at ifi.uio.no.
cd.patch.2 is the diff from crossfire with cd.patch.1 applied.
cd.patch.all are the combinded patches in cd.patch.[1-2] to crossfire0.82 .
The changes need for 2-byte-chars and XDrawImageString16 are many
but we have tested them for week, and they seems to work.
If you don't define TWO_BYTES_FONT in global.h you will
have the 8-bit chars as before.
You have to edit your Imakefile after applying the patches.
In the shar archive cd.lib.patch.1.sh you will find
a new monster, slime, and a new map cd.110.earth.
I did put the entry to this map
among the glue by the rats in old house.
Are there any rules where we can add new levels?
Tony
Here is the ChangeLog file describing the patches
--- Patch 2 --
Fri Jul 17 15:38:01 1992 Tony Elmroth (elmroth at castafiore)
* Use font_graphics in xio.h as global font name.
Added FONTNAME as a variable in the Imakefile.
Moved bmaps to bmaps.crossfire and made bmaps.cross16.
I think the defines in the Imakefile should be moved
to a configure file say config.h, then the dependencies
work if you change the names of lib, bin etc.
Tue Jul 14 20:26:50 1992 Tony Elmroth (elmroth@monet)
* Added a 'time command that reports statistics on tick times.
Mon Jul 13 18:34:36 1992 Tony Elmroth (elmroth@monet)
* Bug fix for starvation. Now you don't die with positive
hit points.
Sun Jul 12 19:15:30 1992 Tony Elmroth (elmroth@galois)
* The delay for each tick fixed. About 0.12 seconds
gives good speed to the game. We tested 0.22 and this
was to slow, the game did get to easy the monster where
to slow.
Before the fix the tick time allways was 0.065.
* Added the possibility to hide monster below EARTHWALLs (and other
objects).
Do not remove objects from map that can't move in move_ob.
Do not move monster below EARTHWALLs in move_monster.
* Test of 2 byte-char fonts and XDrawImageString16.
This works fine but the number of changes are many.
Changed the type for all 'face' variables to
Fontindex.
typedef unsigned short Fontindex;
Change defines in grafics.h to numbers.
Added function that translate Fontindex to XChar.
typedef XChar2b XChar
Translate face to a XChar2b buf before sending it
to X with XDrawImageString16.
The negative face values in archetypes translated to
positive on reading with face>=0?face:256+face.
Added a defines in global.h that toggles between
2 byte-char font and 8-bit font.
Tested with a new monster slime with faces 257, 258, and
259.
---- End patch 2 ---
---- Patch 1 ----
Fri Jul 10 02:06:05 1992 Tony Elmroth (elmroth at bianca)
* Changed the editor to handle stacks of objects.
Button 1: remove all objects, add selected
Button 2: edit the top object
Button 3: add one object or if background selected remove one
object
* .TP missing in crossfire.man before peaceful.
* Fixed the bug for paying in shops. First pay as much
silver that is meaningful, then pay enough gold, and then
receive change in silver.
Thu Jul 9 15:49:55 1992 Tony Elmroth (elmroth at bianca)
* On level 89 the lower left exit is not set to
87: 6,41 as it should be. Changed.
* Limit food consumption for high level players, when they
are completely healed to 1 food per 7 'ticks'.
* Some signed char changed to char to get rid of warnings
during compilation.
--- End patch 1 ---