summaryrefslogtreecommitdiff
path: root/src/story.cpp
AgeCommit message (Collapse)Author
2021-05-29Codechange: move from C-string to std::string for DoCommandrubidium42
2020-05-22Feature: Push-buttons on storybook pages (#7896)Niels Martin Hansen
Allow more direct player-initiated interaction for Game Scripts, by letting the GS put push-buttons on storybook pages. These buttons can either trigger an immediate event, or require the player to first select a tile on the map, or a vehicle. Additionally this reworks how the storybook pages are layouted and rendered, to allow for slightly more complex layouts, and maybe speeding drawing up a bit.
2019-12-21Codechange: Replace story related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-07-18Fix: Narrowing cast in one storybook commandNiels Martin Hansen
CompanyID is 8 bit wide, so this incorrect cast would make it impossible to create story page elements for pages past 255.
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2016-05-11(svn r27560) -Fix: typos in comments and stringmatthijs
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-06(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, ↵zuu
GetDate, SetDate
2013-09-13(svn r25761) -Change: Disable story/goal buttons when there is no content to ↵zuu
show instead of when there is zero companies
2013-07-21(svn r25624) -Fix (r25620, r25623): Silence warningszuu
2013-07-21(svn r25620) -Fix (r25342): Save/load of story books were brokenzuu
2013-06-09(svn r25384) -Fix (25344): Correctly invalidate the story window when data ↵zuu
changes
2013-06-09(svn r25369) -Add: allow opening a story window specific to a companyzuu
2013-06-09(svn r25352) -Feature: GameScript API for selecting a story page to viewzuu
2013-06-09(svn r25344) -Feature: GUI for viewing story pageszuu
2013-06-09(svn r25342) -Add: StoryPage data structures and GS APIzuu