Peter Nelson
ab535c0a86
Codechange: Add base() method to StrongType to allow access to the base type without casting. ( #11445 )
...
This removes the ability to explicitly cast to the base type, but the requirement
to use .base() means the conversion is still explicit.
7 months ago
Patric Stout
299570b2c1
Codechange: make TimerGameCalendar Date and Year types strongly typed ( #10761 )
10 months ago
Rubidium
eaae0bb5e7
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
...
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
11 months ago
Rubidium
83946ca31d
Codechange: use GSCompanyMode::IsValid, IsDeity, and the precondition helpers
...
Direct 1:1 replacements in the code, and comments now refer to either
GSCompanyMode::IsValid or GSCompanyMode::IsDeity instead of several variations
on "company mode active" or "no company mode active".
1 year ago
glx22
cd80b31d19
Codechange: Use SQInteger for generic numbers in script_storypage
1 year ago
Rubidium
580d0a6343
Codechange: make use of Tile in for all direct map accesses
1 year ago
glx22
3559576166
Codechange: [Script] Don't expose static buffers outside of ScriptText
1 year ago
Michael Lutz
e6e69d5289
Codechange: Un-bitstuff goal and story page commands.
3 years ago
Michael Lutz
6691ee3b96
Codechange: Template script command calls.
3 years ago
Charles Pigott
e5f931ef42
Fix: Warning about using the wrong enum type
4 years ago
Jonathan G Rennison
f11cd8f2d0
Fix: Compilation warnings in story_gui and script_story_page
...
See: #7896
4 years ago
Niels Martin Hansen
800ade7702
Feature: Push-buttons on storybook pages ( #7896 )
...
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.
4 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
5 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
zuu
9603014102
(svn r26307) -Add: [nogo] Allow GS to hide story page date
10 years ago
zuu
1dbd59e6ab
(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate
10 years ago
zuu
57a88c9de2
(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page
10 years ago
zuu
5165be2698
(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages
10 years ago
zuu
0c6f22b5c1
(svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool
10 years ago
zuu
be4451d40f
(svn r25519) -Fix [FS#5614] (r25342): Select page to update by its id and not the page id
11 years ago
zuu
53d2e785f5
(svn r25381) -Fix: Silent story book compiler warnings
11 years ago
zuu
33ad9774fb
(svn r25352) -Feature: GameScript API for selecting a story page to view
11 years ago
zuu
9aa1bf0264
(svn r25342) -Add: StoryPage data structures and GS API
11 years ago