Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2000:
[Freeciv-Dev] patch: cleanup tilespec using hash (PR#323)
Home

[Freeciv-Dev] patch: cleanup tilespec using hash (PR#323)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] patch: cleanup tilespec using hash (PR#323)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Fri, 24 Mar 2000 17:31:11 -0800 (PST)

This patch (requires recent hash_more.diff, PR#322) cleans up the 
tilespec code to use a hash table directly, rather than via registry.  
Since a raw hash table can easily store pointers directly, this 
allows removing the tile_sprites array and related code (used to 
allow storing array indices in registry).  It also removes the 
limitation that tilespec tags must be in "section.entry" form 
(ie, contain a '.').

-- David

Attachment: tilespec_hash.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: cleanup tilespec using hash (PR#323), David Pfitzner <=