Files
fs2open.github.com/fred2/campaignfilelistbox.h
Goober5000 98a3c64cc8 fix campaign loading in FRED
Load campaigns using the full path provided by the user, not just from the configured mod paths.

Also tweaks initialization based on the campaign having already been cleared in `mission_campaign_clear()`.
2022-11-15 20:40:33 -05:00

48 lines
1.0 KiB
C++

/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
// CampaignFilelistBox.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// campaign_filelist_box window
class campaign_filelist_box : public CListBox
{
// Construction
public:
void initialize(const CString &path);
campaign_filelist_box();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(campaign_filelist_box)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~campaign_filelist_box();
// Generated message map functions
protected:
//{{AFX_MSG(campaign_filelist_box)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////