OpenTTD Source 20241224-master-gf74b0cf984
news_cmd.h File Reference

Command definitions related to news messages. More...

#include "command_type.h"
#include "company_type.h"
#include "news_type.h"

Go to the source code of this file.

Functions

CommandCost CmdCustomNewsItem (DoCommandFlag flags, NewsType type, NewsReferenceType reftype1, CompanyID company, uint32_t reference, const std::string &text)
 Create a new custom news item.
 

Detailed Description

Command definitions related to news messages.

Definition in file news_cmd.h.

Function Documentation

◆ CmdCustomNewsItem()