<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
---- $Id: ChangeLog.html,v 1.49 1999/12/17 15:30:54 root Exp root $
<TITLE>ChangeLog: The ALE Clone Version 1.15</TITLE>
<H1>ChangeLog: The ALE Clone Version 1.15</H1>
<LI>Remove use of imlib.
<LI>Implement run-length-encoded sprites. (Saves 9 MB memory).
<LI>Sort units for display, correct overlaping.
<LI>Faster cursor drawing.
<LI>Improved updates. (Faster)
<LI>Implemented first sound support.
<LI>Version 1.12 (first released public version)
<LI>Fixed bug: player 0 units are drawn with wrong colors on minimap.
<LI>Fixed bug: cursor not clipped on right edge of window.
<LI>Fixed bug: allocated too much shared video memory.
<LI>Fixed bug: cursor outside window, drawn with bad coordinates.
<LI>Added middle mouse button, scrolls the map.
<LI>Fixed bug: can't reach buildings if one coordinate is 0. (sign!)
<LI>Fixed bug: selecting, selects not all units.
<LI>Added ALT+select selects the old group.
<LI>Added CTRL+select selects all visible units of this type.
<LI>Fixed bug: in unit drawing, no more cores here.
<LI>Added: unit names are now shown correct.
<LI>Added attack, death animation.
<LI>You can now return goods.
<LI>The debug speeds of mining, harvest, building, training are now
<LI>The minimap is now only redraw each second. (more speed)
<LI>Started AI code.
<LI>Rewritten wood remove, but still not works 100% correct.
<LI>Fixed bug: in save/restore cursor, no more cores here.
<LI>Started cleanup source tree.
<LI>Fixed bug: upgrade unit
<LI>Fixed bug: RevealMap and MapUpdateVisible no longer overwrite memory.
<LI>Fixed bug: Save and restore cursor no longer access outside the bounds.
<LI>Add new functions UnitCache..., to improve speed.
<LI>Many cleanups in the sources.
<LI>Damaged buildings are now burning.
<LI>Support for guile snapshot version. (I removed it)
<LI>Support for guile-1.3
<LI>Fixed bug: removed unit builds building. (from Charles K Hardin)
<LI>Modified makefiles to support inline source code documentation.
<LI>Started greater map and own maps support.
<LI>Fixed bug: Matrix was too small for big maps.
<LI>Tried to get working source code documentation.
<LI>Added threaded sound support (from Fabrice Rossi).
<LI>Fixed bug: 96x96 maps dumps core, introduced with big maps.
<LI>Fixed bug: Movement flags was wrong for big maps.
<LI>Started network code. (Just for testing)
<LI>Fixed bug: Trained units are inserted twice into unit cache.
<LI>Written transporter load/unload code.
<LI>Fixed bug: Buttons aren't reported over network.
<LI>Applied patches from Josh Cogliati.
<LI>Applied patches for sound part (from Fabrice Rossi).
<LI>Fixed bug: Upgrades dumps core. (Player::UnitFlags was to small)
<LI>Fixed bug: Building cursor destroys map border.
<LI>Fixed bug: Selecting building place and unit is killed dumps core.
<LI>Experimental guile-gtk support added.
<LI>New commandline option -c file.ccl = ccl start file.
<LI>Fixed bug: A unit could attack it self. (selfdestruction)
<LI>Fixed bug: New units says again hello (from Fabrice Rossi).
<LI>Fixed bug: Unit placed twice in unit-cache. (end of resources)
<LI>Fixed bug: All units crossing coast plays docking sound (from Fabrice Rossi).
<LI>Original speed is the default for the release
<LI>Applied patches: sound is distance dependend. (Fabrice Rossi)
<LI>Support for 15bit X11 server. (My new graphic card needs it)
<LI>Started moving unit code into own directory.
<LI>Moved unit-type ccl code into own file.
<LI>Moved sound ccl code into own file.
<LI>UDTA section of puds are now parsed and supported.
<LI>Fixed bug: No goal. (from Patrick)
<LI>Applied patches: new sound configuration and api. (Fabrice Rossi)
<LI>Changed <strings.h> to <string.h> for glibc-2.1.
<LI>Applied patches from lokh:
<LI>Gold mined, wood harvested and oil hauled is added to the player's
resources as soon as the peon/peasant reach the hall/mill/...
Note that this is the standard behaviour of w*rcr*ft 2.
This part generates a buch of warnings from the AI saying that it
can't build a farm. This is just this: a warning. As soon as it is
possible (the peon gets out of the hall), the farm is builded.
<LI>New memory management. The main memory array isn't used directly
anymore (except for debug message and network code), and the units
are accessed by arrays of pointers (the solution isn't currently
memory optimized, but this can be modified quite easily).
There are currently 3 kind of "lists": Used unit slots, free unit
slots, and a list of units used by each player.
This implies a bunch of (more or less) small changes through the
<LI>It's now possible to cancel the construction of a building.
<LI>Now when a castle/keep/stronghold/../lumber mill/refinery is
destroyed, the gold/wood/oil harvested is correctly adjusted.
<LI>When a keep/stronghold/castle/fortress is constructed, gold/wood/oil
harvested is adjusted if necessary.
<LI>I added ActionUnitConstructed test to UnitUnusable(): A building
under construction can be considered unusable :). There is an
exception though when you select a building under construction with
For exemple, the peons harvesting wood were bringing it back to the
lumber mill under construcion...
<LI>In unit_find.c I added 2 functions FindUnitsByType() and
FindPlayerUnitsByType(). These are general functions but used by the
AI code and building construction/destruction (halls/lumber mill/...)
<LI>AiFindFreeWorkers now finds free workers.
<LI>Various code cleanups, code optimizations, minor changes, and things
<LI>ChangeUnitOwner() is now recursive. This is not important for w*rcr*ft but
it will be interesting for st*rcr*ft.
<LI>Modified a couple of things in DestroyAllInside(), to speed up things in
special cases (transporters, construction...)
<LI>Fixed a bug un DestroyUnit(): Units in transporters weren't destroyed
(although they were still "removed" from the map. There is still a problem
though, asthe dead bodies of the units in the transporters are diplayed.
Sorry I didn't look at this yet.
<LI>The dead body animation is now displayed.
<LI>Reworked the rectangle selection to match the one of w*rcr*ft 2:
Select a group of player's "mobile" units.
if none, select a construction from that player.
if still none, select a (random) neutral unit (critter, mine...)
if still none, select a (random) enemy unit.
<LI>New tool written in C: wartool, includes all xxx2png in one file.
<LI>Fixed bug: Files from tool directory are not included in the distribution.
<LI>Applied patches from Vladi.
<LI>MapField.SeenTile -- used for the wood/rocks last seen fog bug :)
<LI>Macros MAPEXPLORED, MAPVISIBLE... added
<LI>Fixed bug: Wood removing should be ok.
<LI>Fixed bug: Fog of war should be ok.
<LI>Fixed bug: Fixes seen wood bug.
<LI>Added cheats -- for debug really :)
<LI>Added TileTypeTables -- used to lookup what tile is what? i.e. which tilesa
are woods, water,... required for the fog
<LI>Added Unit.rs which is filled by MakeUnit() with random number between 1
and 100, used for fancy buildings. `fancy buildings'! every building is
drawn randomly normal or flipped horizotally, so the your city will have
some buildings pointed to right and some to left! i.e. will not look
<LI>Fixed bug: in UnitVisible() for fog of war
<LI>Added Now enemy buildings will look under the fog with the last
seen frame (or will not show if you haven't seen them yet)
FXIME: if seen building under fog is ruined it will disappear
<LI>Added DrawResources() shows food usage now.
<LI>Added Unit.PendCommand, now TownHall and Barracks have `move', `stop',
`attack' and `harvest' commands ( and RightClick will do it ), which will
be applied auto to all new units.
<LI>Fixed: `case 1...100' thing --> with default:if(...<100)
<LI>Rewritten DrawUnits, combined work.
<LI>Moved map.c minimap.c and tileset.c into own directory map.
<LI>Fixed bug: Map redrawn only for visible missiles. (from Fabrice Rossi).
<LI>Fixed bug: Buildings are now visibile again without fog of war.
<LI>Applied patches from Vladi.
<LI>Units could have command queues.
<LI>Building could now train more units.
<LI>Walls are now converted into tileset.
<LI>Walls are now connected correct.
<LI>Cache for tiles now source configurable.
<LI>Fixed bug: Outside map access in HandleMouseMove.
<LI>Faster map background drawing routines.
<LI>Map background drawing routines for all bpp.
<LI>Fixed bug: Area too big for CursorOnMap.
<LI>Add smart cache for map background drawing.
<LI>All the background drawing stuff could be compile time configured.
<LI>Added rock removing. (from Vladi)
<LI>Added demolish code. (from Vladi)
<LI>Add needed code for demolish.
<LI>Fixed bug: Attack or demolish moving target.
<LI>Dwarves and goblin sappers has no longer a corpse.
<LI>Make compileable without DEBUG defined.
<LI>Split map.c in more parts.
<LI>Add patches from Patrice.
<LI>Moved selection stuff into own file.
<LI>Added new fog of war look.
<LI>Improved speed of fog of war.
<LI>New fog of war now runtime configurable.
<LI>Fixed bug: with build action queing (from Vladi)
<LI>You can build a line of walls by pressing the SHIFT+ALT keys.
<LI>Fixed bug: computer units could get "flush".
<LI>Applied patches from Ari (Better -I and -L for other distributions)
<LI>Add patches from Patrice: Added selection of groups.
<LI>Added patches new AI code from Jon Gabrielson
<LI>Fixed bug: You can repair without money.
<LI>Fixed bug: Can build more units than food with building queues.
<LI>Added patches new AI code from Jon Gabrielson
<LI>Added pause and better quit sequences.
<LI>Changed FAST_DEBUG to cheatcodes 'fast debug' and 'normal debug'
<LI>Fixed bug: 's' are now useable for the panel. save is now 'S'.
<LI>Fixed bug: ships play now an attacking sound.
<LI>Cleanup in the includes files (#ifndef ... #endif).
<LI>Fixed bug: Builded walls aren't really removed.
<LI>Fixed bug: Attacking units in reaction range, are now only weak targets.
<LI>Added patches for alpha port.
<LI>Fixed bug: When a new unit is selected the status bar isn't correctly updated. (from Lokh)
<LI>Fixed bug: weak targets should now work.
<LI>Added upgrade+button patches (from Vladi)
<LI>Cleaned and reorganized the patches.
<LI>Added ShowOrders and show-orders.
<LI>Updated todo.html (from Vladi)
<LI>Moved "icons.c" from directory src/clone to src/ui.
<LI>Removed all "Icon..." defines, please use now IconConfig and IconByIdent
<LI>Changed Unit::Player from integer bitfield to pointer.
<LI>Added patches to compile under FreeBSD. (from Steinar)
<LI>Fixed bug: Foreign units now didn't acknowledge selection.
<LI>Fixed bug: Cancel train should now work correct.
<LI>Better and configurable middle mouse button (from Ari)
<LI>strdupa removed, didn't supported by libc5 (from Ari)
<LI>Added saturation for alpha fog of war (from Edgar)
<LI>Added PowerPC patches from Ian Farmer.
<LI>Support for non expansion CD version, based on Stefan Dirsch wartool
<LI>Icons names must now be prefixed with "icon-" (arrow1 -> icon-arrow1)
<LI>Unit actions now shown with the buttons (still needs some work)
<LI>Corrected display of damage in middle panel.
<LI>Added fast scrolling with cursor keys and control.
<LI>Added support for bz2 compression libary.
<LI>Fixed bug wrong frame for automatic attacks.
<LI>Rewritten input event loop.
<LI>Fixed bug construction could be attacked again.
<LI>Fixed bug clone crashes if an oil tanker tries to go into a oil well
that is still building
<LI>Fixed bug: upgrade costs are now shown correct.
<LI>Add -s n to set the sleep time for the AI.
<LI>Added "set" buttons to mage-tower.
<LI>Fixed bug: harvest uses to fast ComplexPath.
<LI>Fixed bug: can't reach shore building place.
<LI>Fixed bug: can't build in the last row or column.
<LI>Fixed bug: AI sleeps in some levels (no MainHall).
<LI>Fixed bug: Leaving goldmine without deposit.
<LI>Patches from Josh
<LI>Fixed two constants so that you can load transporters.
<LI>Sound patch so that missing sounds don't crash clone.
<LI>Patches from Lokh
<LI>No fog of war for the peons in the mines.
<LI>Added a LoadPicture() function to handle full-screen picture
(palette changes &co)
<LI>Fixed bug: Computer didn't use standing workers with gold/wood.
<LI>Fixed bug: Unit type aren't correct counted, if present in pud.
<LI>Fixed bug: Income effects should now work correct.
<LI>Added "set" buttons to gryphon aviary,gnomish inventor,dragon roost
and goblin alchemist.
<LI>Fixed bug: play selecting sound for goldmines... (don't know if correct)
<LI>Changed input handling, improved interactive handling.
<LI>Fixed bug: Chopping of wood on left or top map border (not 100%)
<LI>Fixed bug: memory corruption by big maps.
<LI>Fixed bug: transporter(s) has no unload buttons.
<LI>Fixed bug: The AI didn't build a hall, when enough workers exists.
<LI>Added support for svgalib from Jarek Sobieszek.
<LI>Added command line option -f and -t to adjust computer costs and build
<LI>Fixed bug: ballista and catapult can't enter transporter.
<LI>Patches from Kenneth Sanislo
<LI>Fixed bug: Compiler warning `unit_ident' might be used uninitialized in
<LI>Added svgalib non-linear support (so S3 chipsets work)
<LI>svgalib mouse bug #1 (no more hardcoded MS mouse, reads the
<LI>svgalib mouse bug #2 (mouse stays on screen)
<LI>svgalib mouse bug #3 (mouse movement slowed so it's useable)
<LI>Fixed bug: CTRL ALT and SHIFT modifiers in svgalib
<LI>Fixed bug: build.sh didn't link default pud.
<LI>Fixed bug: Window close button must exit/quit game. (from Ari)
<LI>Fixed bug: Destroyed shore buildings shows wrong destroyed image.
<LI>Made sound support optional (WITH_SOUND) to support ports without sound.
<LI>From Jarek Sobieszek:
<LI>Initial mouse position set to the middle of the screen ( svgalib.c )
<LI>Changeable mouse scale (svgalib.c)
<LI>More keys working ( svgalib.c )
<LI>When a peon was chopping wood and was moved to another location, he was
losing all wood he had, same thing when two peons chopped the same tree,
the second to finish was losing all the wood.
<LI>Fixed bug: Building rune stone dumps debug core.
<LI>Fixed bug: Oil well didn't show the correct frame if active.
<LI>Prepared removement of TheMap.MovementMap, all functions should now use
the flags in TheMap.Fields.
<LI>Fixed bug: svgalib works wrong with 15 bit videomode.
<LI>Changed WINDOW_WIDTH and WINDOW_HEIGHT to VideoWidth and VideoHeight.
<LI>Added SDL support.
<LI>Added Win32 support. (Sound, network is missing)
<LI>Added fullscreen to SDL support.
<LI>Added 'A'...'Z' handling to SDL support.
Not done yet:
patch submitted by me (Lokh):
- added a SetCursor() function to the cursor API
- added a couple of function to handle the palettes, and get rid of
the 2 global variables GlobalPalette and PNGPalette. This isn't
yet perfect, but at least it's better.
- I changed all the Graphic (or derivated like Sprite...) functions
so that they allocate _all_ the memory of their structure and not
take an half allocated struct, and finish to allocate it. It's
very important to make a something-else-than-X11 port.
- A buch of bones (as it can't be called a skeleton) made of SDL
functions calls. This part is totally unoptimized, work in progress
and won't even compile!
In fact the API changes showed earlier were made to make an SDL (or
whetever video library you want to use) port easier.
- Some other cosmetic changes I don't remeber of :).
<ADDRESS><A HREF="mailto:email@example.com">The ALE Clone Project</A></ADDRESS>