src/news.h
branchcpp_gui
changeset 6285 187e3ef04cc9
parent 6258 a2f86b8fd99b
child 6298 c30fe89622df
equal deleted inserted replaced
6284:45d0233e7d79 6285:187e3ef04cc9
    57 	NF_FORCE_BIG = (1 << 4), ///< Force the appearance of a news message if it has already been shown (internal)
    57 	NF_FORCE_BIG = (1 << 4), ///< Force the appearance of a news message if it has already been shown (internal)
    58 	NF_INCOLOR   = (1 << 5), ///< Show the newsmessage in colour, otherwise it defaults to black & white
    58 	NF_INCOLOR   = (1 << 5), ///< Show the newsmessage in colour, otherwise it defaults to black & white
    59 };
    59 };
    60 
    60 
    61 enum NewsCallback {
    61 enum NewsCallback {
    62 	DNC_TRAINAVAIL    = 0, ///< Show new train available message. StringID is EngineID
    62 	DNC_VEHICLEAVAIL  = 0, ///< Show new vehicle available message. StringID is EngineID
    63 	DNC_ROADAVAIL     = 1, ///< Show new road vehicle available message. StringID is EngineID
    63 	DNC_BANKRUPCY     = 1, ///< Show bankrupcy message. StringID is PlayerID (0-3) and NewsBankrupcy (4-7)
    64 	DNC_SHIPAVAIL     = 2, ///< Show new ship available message. StringID is EngineID
       
    65 	DNC_AIRCRAFTAVAIL = 3, ///< Show new aircraft available message. StringID is EngineID
       
    66 	DNC_BANKRUPCY     = 4, ///< Show bankrupcy message. StringID is PlayerID (0-3) and NewsBankrupcy (4-7)
       
    67 };
    64 };
    68 
    65 
    69 enum NewsBankrupcy {
    66 enum NewsBankrupcy {
    70 	NB_BTROUBLE    = (1 << 4), ///< Company is in trouble (warning)
    67 	NB_BTROUBLE    = (1 << 4), ///< Company is in trouble (warning)
    71 	NB_BMERGER     = (2 << 4), ///< Company has been bought by another company
    68 	NB_BMERGER     = (2 << 4), ///< Company has been bought by another company