Feature/script type enhancement (#55)

This commit is contained in:
Zero Fanker 2024-06-27 12:24:51 +08:00 committed by GitHub
parent 321d0f0768
commit 9fe1849e72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1243 additions and 635 deletions

View file

@ -101,7 +101,7 @@ void ListAnimations(CComboBox& cb);
void ListParticles(CComboBox& cb);
void ListCrateTypes(CComboBox& cb);
void ListSpeechBubbleTypes(CComboBox& cb);
void ListGlobals(CComboBox& cb);
void ListMapVariables(CComboBox& cb);
void ListRulesGlobals(CComboBox& cb);
void ListTechtypes(CComboBox& cb);
@ -157,5 +157,12 @@ std::unique_ptr<CBitmap> BitmapFromFile(const CString& filepath);
CComPtr<IDirectDrawSurface4> BitmapToSurface(IDirectDraw4* pDD, const CBitmap& bitmap);
class ComboBoxHelper
{
public:
static void Clear(CComboBox& combobox);
static void ListCountries(CComboBox& combobox, bool bShowIndex = false);
static void ListBoolean(CComboBox& combobox);
};
#endif