- Adds lines `experience_modifier=100` to both tutorial scenarios
- When writing a saved_game, write the mp game settings (including
the experience modifier setting) for TEST and TUTORIAL scenario
types as well.
There are no "test campaigns" right now, so this won't be a
problem.
we now check linger_, init_side_done_ and gamestate_.gamedata_.phase() before accessing current_team().
This is saver since during linger mode or during initilisation there is not really a 'current team'.
This appears to fix tutorial scenario two. Bug #23366.
I'm not sure if this should be related to loading the tutorial at
all though, so it might not be the real cause of the bug.
If several projects share the same IntDir, they write to the same .pdb
which causes issues with multithread compilation (as well as warnings).
[skip ci]
floating_label is essentially a primitive GUI1 widget, consisting
just of a text label and non-interacting. It's also used for the
map labels displayed in-game iiuc.
previously mid-scenario saved accidently contained
[carryover_sides_start] instead of [carryover_sides]. It is not clear
whether the previous behaviour causes bugs but it was not the intended
behaviour.
This commit allows bold and italic font files to be specified in
the fonts.cfg file. When attribute "bold_name" is set to the name
of a font file, this font will be used in place of SDL TTF bold-
styling applied to the base font. Similarly for "italic_name".
This commit assumes that the code points for the styled versions
are the same as for the unstyled version. If that assumption is
not true for some font that we care about then this commit will
likely have to be revised.
First we make saved_game assignment operator copy and swap.
This might increase performance in case where the copy elison can be aplied.
Second we add a set_data(config& ) method that moves the savefile cfg
into this object. And use that function in the loadgame class.