* Original message posted in area Rathmore
* Cross posted to area Fido - C Echo
Fido - C++ Echo
While writing this online game, I've encountered a small problem and am not
sure how to go about it. In most games, there is a player inventory. This
inventory is an array within the player structure. The problem is, the
inventory can have armor, weapons, wands, rings; each of which are different
structures. How do I link all those structures to reflect in the player
inventory? Do I use a union?
--- Telegard v3.02/mL
---------------
* Origin: Underworld Systems V - (416)782-1980 (1:259/416)
|