diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-06-02 22:31:15 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-06-02 22:31:15 +0000 |
commit | c6a361c127b7f4d9b81b5ad37c2ca6ed7de317ee (patch) | |
tree | 2e265fb982b5a21d96d07551b731165e0f721a9a /Stars45/CmpSelectDlg.cpp | |
parent | 85f40a1f3a1cb4bfcccc7b3bc163cfbd98a1abf3 (diff) | |
download | starshatter-c6a361c127b7f4d9b81b5ad37c2ca6ed7de317ee.zip starshatter-c6a361c127b7f4d9b81b5ad37c2ca6ed7de317ee.tar.gz starshatter-c6a361c127b7f4d9b81b5ad37c2ca6ed7de317ee.tar.bz2 |
REmoving STARSHATTER_DEMO ifdefs and setting version string to 5.1.66
Diffstat (limited to 'Stars45/CmpSelectDlg.cpp')
-rw-r--r-- | Stars45/CmpSelectDlg.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Stars45/CmpSelectDlg.cpp b/Stars45/CmpSelectDlg.cpp index 0608fe7..0dc07bc 100644 --- a/Stars45/CmpSelectDlg.cpp +++ b/Stars45/CmpSelectDlg.cpp @@ -248,14 +248,6 @@ CmpSelectDlg::ShowNewCampaigns() // if campaign is not available, show the grayed-out image
-#ifdef STARSHATTER_DEMO_RELEASE
- // DEMO VERSION (only one campaign):
- if (c->GetCampaignId() > 2) {
- images[n]->CopyBitmap(*c->GetImage(2));
- lst_campaigns->SetItemImage(n, images[n]);
- }
-
-#else
// FULL GAME CRITERIA (based on player record):
if (c->GetCampaignId() > 2 && c->GetCampaignId() < 10 &&
!player->HasCompletedCampaign(c->GetCampaignId()-1)) {
@@ -273,7 +265,6 @@ CmpSelectDlg::ShowNewCampaigns() }
// NOTE: Campaigns 10, 20, and 30-99 are always enabled if they exist!
-#endif
}
}
}
@@ -363,15 +354,9 @@ CmpSelectDlg::OnCampaignSelect(AWEvent* event) Campaign* c = list[i];
// is campaign available?
-
-#ifdef STARSHATTER_DEMO_RELEASE
- // DEMO VERSION (only one campaign):
- if (c->GetCampaignId() <= 2)
-#else
// FULL GAME CRITERIA (based on player record):
if (c->GetCampaignId() <= 2 ||
player->HasCompletedCampaign(c->GetCampaignId()-1))
-#endif
{
if (lst_campaigns->IsSelected(i)) {
|