[Freeciv-Dev] patch: cleanup tilespec using hash (PR#323)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
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 <=
|
|