network_gui.h
author bjarni
Fri, 08 Sep 2006 10:47:39 +0000
changeset 4574 497540b4a75f
parent 4512 7151d4ee3a0f
child 4666 850b5b6e4bac
permissions -rw-r--r--
(svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn
To do this, the player struct contains an array, that contains the count of each engine type that the player owns
Those arrays are updated each time a vehicle is build or deleted and is calculated on load (it's not saved)
It's possible to access the arrays outside of the autoreplace GUI, so feel free to read from them in other patches as well
/* $Id$ */

#ifndef NETWORK_GUI_H
#define NETWORK_GUI_H

void ShowNetworkNeedPassword(NetworkPasswordType npt);

#endif