mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
- New feature: sector fortification allows to construct structures in sectors in a much easier way than by using amerc to build 'by hand'. Fortification nodes are in a subfolder in Profiles and can easily be altered and exchanged, even in an ongoing game.
Fully savegame compatible. GameDir >= r2296 is recommended, but not required. - Cleaned up cover display functions. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8094 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+3
-2
@@ -134,7 +134,8 @@ enum definedDropDowns
|
||||
|
||||
DROPDOWNNR_IMPGEAR_MAX = DROPDOWNNR_IMPGEAR_MISC_7,
|
||||
|
||||
DROPDOWNNR_MSGBOX,
|
||||
DROPDOWNNR_MSGBOX_1,
|
||||
DROPDOWNNR_MSGBOX_2,
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -205,7 +206,7 @@ public:
|
||||
* Set the content of a dropdown. Each entry consists of an INT16 key, by which you can later identify which entry was selected, and a STR16 that will be displayed.
|
||||
* There can be multiple instances of the same key or name.
|
||||
*/
|
||||
void SetEntries( std::vector<std::pair<INT16, STR16> >& arEntryVec ) { mEntryVector = arEntryVec; }
|
||||
void SetEntries( std::vector<std::pair<INT16, STR16> >& arEntryVec ) { mEntryVector = arEntryVec; mNumDisplayedEntries = min( DROPDOWN_REGIONS, mEntryVector.size( ) ); }
|
||||
|
||||
/*
|
||||
* Set help text decribing what can be selected
|
||||
|
||||
Reference in New Issue
Block a user