From 27c0669d8bf3977658e7bd87639274e1e1e664c7 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Fri, 11 Mar 2016 22:20:05 +0200 Subject: [PATCH 01/62] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 61f9e41..38e38f3 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Building To build Serious Engine 1, you'll need Visual Studio 2013 or 2015, Professional or Community edition ( https://www.visualstudio.com/post-download-vs?sku=community ). +Try to keep the path to the solution file as short as possible. Do not use spaces in the path. + Once you've installed Visual Studio and (optionally) DirectX8 SDK, you can build the engine solution (`/Sources/All.sln`). Press F7 or Build -> Build solution. The libraries and executables will be put into `\Bin\` directory (or `\Bin\Debug\` if you are using the Debug configuration). Optional features From 45eb940e035dfbf7ca165fe842401697ebc24a0d Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 00:10:54 +0300 Subject: [PATCH 02/62] Update .gitignore Because it's trying to update generated files by VS. --- .gitignore | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index e4067d1..85f5b59 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,12 @@ *.app !Bison.exe !Flex.exe + +# Visual Studio Stuff +*.log +*.map +*.opensdf +*.pdb +*.sdf +*.suo +*.tlog From 47abf495f528ae1d3c1512550bc7d327310433a2 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 00:19:50 +0300 Subject: [PATCH 03/62] Update .gitignore again... Too many stuff generated by VS! --- .gitignore | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 85f5b59..e2df471 100644 --- a/.gitignore +++ b/.gitignore @@ -30,10 +30,15 @@ !Flex.exe # Visual Studio Stuff +*.bsc +*.cnt +*.exp *.log *.map *.opensdf *.pdb +*.res +*.sbr *.sdf *.suo -*.tlog +*.tlog \ No newline at end of file From a84fb768833fe90eee6fb91249657b4e3bcadd9f Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 00:45:21 +0300 Subject: [PATCH 04/62] Game executable: Separate MenuGadgets(.h/.cpp) MenuGadets(.h/.cpp) separated into multiple files for each gadget! --- Sources/SeriousSam/ArrowDir.h | 18 + Sources/SeriousSam/MGArrow.cpp | 44 + Sources/SeriousSam/MGArrow.h | 20 + Sources/SeriousSam/MGButton.cpp | 171 ++ Sources/SeriousSam/MGButton.h | 34 + Sources/SeriousSam/MGChangePlayer.cpp | 37 + Sources/SeriousSam/MGChangePlayer.h | 20 + Sources/SeriousSam/MGEdit.cpp | 169 ++ Sources/SeriousSam/MGEdit.h | 28 + Sources/SeriousSam/MGFileButton.cpp | 231 ++ Sources/SeriousSam/MGFileButton.h | 43 + Sources/SeriousSam/MGHighScore.cpp | 91 + Sources/SeriousSam/MGHighScore.h | 17 + Sources/SeriousSam/MGKeyDefinition.cpp | 218 ++ Sources/SeriousSam/MGKeyDefinition.h | 33 + Sources/SeriousSam/MGLevelButton.cpp | 27 + Sources/SeriousSam/MGLevelButton.h | 20 + Sources/SeriousSam/MGModel.cpp | 114 + Sources/SeriousSam/MGModel.h | 23 + Sources/SeriousSam/MGServerList.cpp | 445 ++++ Sources/SeriousSam/MGServerList.h | 54 + Sources/SeriousSam/MGSlider.cpp | 118 + Sources/SeriousSam/MGSlider.h | 29 + Sources/SeriousSam/MGTitle.cpp | 20 + Sources/SeriousSam/MGTitle.h | 18 + Sources/SeriousSam/MGTrigger.cpp | 116 + Sources/SeriousSam/MGTrigger.h | 34 + Sources/SeriousSam/MGVarButton.cpp | 174 ++ Sources/SeriousSam/MGVarButton.h | 22 + Sources/SeriousSam/Menu.cpp | 29 +- Sources/SeriousSam/Menu.h | 2 + Sources/SeriousSam/MenuGadget.cpp | 124 ++ Sources/SeriousSam/MenuGadget.h | 55 + Sources/SeriousSam/MenuGadgets.cpp | 1914 ----------------- Sources/SeriousSam/MenuGadgets.h | 281 --- Sources/SeriousSam/MenuPrinting.cpp | 1 + Sources/SeriousSam/SeriousSam.vcxproj | 38 +- Sources/SeriousSam/SeriousSam.vcxproj.filters | 99 +- Sources/SeriousSam/StdH.h | 3 +- 39 files changed, 2723 insertions(+), 2211 deletions(-) create mode 100644 Sources/SeriousSam/ArrowDir.h create mode 100644 Sources/SeriousSam/MGArrow.cpp create mode 100644 Sources/SeriousSam/MGArrow.h create mode 100644 Sources/SeriousSam/MGButton.cpp create mode 100644 Sources/SeriousSam/MGButton.h create mode 100644 Sources/SeriousSam/MGChangePlayer.cpp create mode 100644 Sources/SeriousSam/MGChangePlayer.h create mode 100644 Sources/SeriousSam/MGEdit.cpp create mode 100644 Sources/SeriousSam/MGEdit.h create mode 100644 Sources/SeriousSam/MGFileButton.cpp create mode 100644 Sources/SeriousSam/MGFileButton.h create mode 100644 Sources/SeriousSam/MGHighScore.cpp create mode 100644 Sources/SeriousSam/MGHighScore.h create mode 100644 Sources/SeriousSam/MGKeyDefinition.cpp create mode 100644 Sources/SeriousSam/MGKeyDefinition.h create mode 100644 Sources/SeriousSam/MGLevelButton.cpp create mode 100644 Sources/SeriousSam/MGLevelButton.h create mode 100644 Sources/SeriousSam/MGModel.cpp create mode 100644 Sources/SeriousSam/MGModel.h create mode 100644 Sources/SeriousSam/MGServerList.cpp create mode 100644 Sources/SeriousSam/MGServerList.h create mode 100644 Sources/SeriousSam/MGSlider.cpp create mode 100644 Sources/SeriousSam/MGSlider.h create mode 100644 Sources/SeriousSam/MGTitle.cpp create mode 100644 Sources/SeriousSam/MGTitle.h create mode 100644 Sources/SeriousSam/MGTrigger.cpp create mode 100644 Sources/SeriousSam/MGTrigger.h create mode 100644 Sources/SeriousSam/MGVarButton.cpp create mode 100644 Sources/SeriousSam/MGVarButton.h create mode 100644 Sources/SeriousSam/MenuGadget.cpp create mode 100644 Sources/SeriousSam/MenuGadget.h delete mode 100644 Sources/SeriousSam/MenuGadgets.cpp delete mode 100644 Sources/SeriousSam/MenuGadgets.h diff --git a/Sources/SeriousSam/ArrowDir.h b/Sources/SeriousSam/ArrowDir.h new file mode 100644 index 0000000..30a11aa --- /dev/null +++ b/Sources/SeriousSam/ArrowDir.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_ARROWDIR_H +#define SE_INCL_ARROWDIR_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +enum ArrowDir { + AD_NONE, + AD_UP, + AD_DOWN, + AD_LEFT, + AD_RIGHT, +}; + + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGArrow.cpp b/Sources/SeriousSam/MGArrow.cpp new file mode 100644 index 0000000..65c553e --- /dev/null +++ b/Sources/SeriousSam/MGArrow.cpp @@ -0,0 +1,44 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGArrow.h" + + +void CMGArrow::Render(CDrawPort *pdp) +{ + SetFontMedium(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + COLOR col = GetCurrentColor(); + + CTString str; + if (mg_adDirection == AD_NONE) { + str = "???"; + } + else if (mg_adDirection == AD_UP) { + str = TRANS("Page Up"); + } + else if (mg_adDirection == AD_DOWN) { + str = TRANS("Page Down"); + } + else { + ASSERT(FALSE); + } + PIX pixI = box.Min()(1); + PIX pixJ = box.Min()(2); + pdp->PutText(str, pixI, pixJ, col); +} + +void CMGArrow::OnActivate(void) +{ + if (mg_adDirection == AD_UP) { + pgmCurrentMenu->ScrollList(-3); + } + else if (mg_adDirection == AD_DOWN) { + pgmCurrentMenu->ScrollList(+3); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGArrow.h b/Sources/SeriousSam/MGArrow.h new file mode 100644 index 0000000..803a239 --- /dev/null +++ b/Sources/SeriousSam/MGArrow.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_ARROW_H +#define SE_INCL_MENU_GADGET_ARROW_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "ArrowDir.h" +#include "MGButton.h" + + +class CMGArrow : public CMGButton { +public: + enum ArrowDir mg_adDirection; + void Render(CDrawPort *pdp); + void OnActivate(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGButton.cpp b/Sources/SeriousSam/MGButton.cpp new file mode 100644 index 0000000..9fedc4a --- /dev/null +++ b/Sources/SeriousSam/MGButton.cpp @@ -0,0 +1,171 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "LevelInfo.h" +#include "VarList.h" +#include "MGButton.h" + +extern CSoundData *_psdPress; + +extern CMenuGadget *_pmgLastActivatedGadget; + + +CMGButton::CMGButton(void) +{ + mg_pActivatedFunction = NULL; + mg_iIndex = 0; + mg_iCenterI = 0; + mg_iTextMode = 1; + mg_bfsFontSize = BFS_MEDIUM; + mg_iCursorPos = -1; + mg_bRectangle = FALSE; + mg_bMental = FALSE; +} + + +void CMGButton::SetText(CTString strNew) +{ + mg_strText = strNew; +} + + +void CMGButton::OnActivate(void) +{ + if (mg_pActivatedFunction != NULL && mg_bEnabled) + { + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + _pmgLastActivatedGadget = this; + (*mg_pActivatedFunction)(); + } +} + + +void CMGButton::Render(CDrawPort *pdp) +{ + if (mg_bfsFontSize == BFS_LARGE) { + SetFontBig(pdp); + } + else if (mg_bfsFontSize == BFS_MEDIUM) { + SetFontMedium(pdp); + } + else { + ASSERT(mg_bfsFontSize == BFS_SMALL); + SetFontSmall(pdp); + } + pdp->SetTextMode(mg_iTextMode); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + COLOR col = GetCurrentColor(); + if (mg_bEditing) { + col = LCDGetColor(C_GREEN | 0xFF, "editing"); + } + + COLOR colRectangle = col; + if (mg_bHighlighted) { + col = LCDGetColor(C_WHITE | 0xFF, "hilited"); + if (!mg_bFocused) { + colRectangle = LCDGetColor(C_WHITE | 0xFF, "hilited rectangle"); + } + } + if (mg_bMental) { + FLOAT tmIn = 0.2f; + FLOAT tmOut = 1.0f; + FLOAT tmFade = 0.1f; + FLOAT tmExist = tmFade + tmIn + tmFade; + FLOAT tmTotal = tmFade + tmIn + tmFade + tmOut; + + FLOAT tmTime = _pTimer->GetHighPrecisionTimer().GetSeconds(); + FLOAT fFactor = 1; + if (tmTime>0.1f) { + tmTime = fmod(tmTime, tmTotal); + fFactor = CalculateRatio(tmTime, 0, tmExist, tmFade / tmExist, tmFade / tmExist); + } + col = (col&~0xFF) | INDEX(0xFF * fFactor); + } + + if (mg_bRectangle) { + // put border + const PIX pixLeft = box.Min()(1); + const PIX pixUp = box.Min()(2) - 3; + const PIX pixWidth = box.Size()(1) + 1; + const PIX pixHeight = box.Size()(2); + pdp->DrawBorder(pixLeft, pixUp, pixWidth, pixHeight, colRectangle); + } + + if (mg_bEditing) { + // put border + PIX pixLeft = box.Min()(1); + PIX pixUp = box.Min()(2) - 3; + PIX pixWidth = box.Size()(1) + 1; + PIX pixHeight = box.Size()(2); + if (mg_strLabel != "") { + pixLeft = box.Min()(1) + box.Size()(1)*0.55f; + pixWidth = box.Size()(1)*0.45f + 1; + } + pdp->Fill(pixLeft, pixUp, pixWidth, pixHeight, LCDGetColor(C_dGREEN | 0x40, "edit fill")); + } + + + INDEX iCursor = mg_iCursorPos; + + // print text + if (mg_strLabel != "") { + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + + pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); + pdp->PutText(mg_strText, pixIR, pixJ, col); + } + else { + CTString str = mg_strText; + if (pdp->dp_FontData->fd_bFixedWidth) { + str = str.Undecorated(); + INDEX iLen = str.Length(); + INDEX iMaxLen = ClampDn(box.Size()(1) / (pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth), 1L); + if (iCursor >= iMaxLen) { + str.TrimRight(iCursor); + str.TrimLeft(iMaxLen); + iCursor = iMaxLen; + } + else { + str.TrimRight(iMaxLen); + } + } + if (mg_iCenterI == -1) pdp->PutText(str, box.Min()(1), box.Min()(2), col); + else if (mg_iCenterI == +1) pdp->PutTextR(str, box.Max()(1), box.Min()(2), col); + else pdp->PutTextC(str, box.Center()(1), box.Min()(2), col); + } + + // put cursor if editing + if (mg_bEditing && (((ULONG)(_pTimer->GetRealTimeTick() * 2)) & 1)) { + PIX pixX = box.Min()(1) + GetCharOffset(pdp, iCursor); + if (mg_strLabel != "") { + pixX += box.Size()(1)*0.55f; + } + PIX pixY = box.Min()(2); + if (!pdp->dp_FontData->fd_bFixedWidth) { + pixY -= pdp->dp_fTextScaling * 2; + } + pdp->PutText("|", pixX, pixY, LCDGetColor(C_WHITE | 0xFF, "editing cursor")); + } +} + + +PIX CMGButton::GetCharOffset(CDrawPort *pdp, INDEX iCharNo) +{ + if (pdp->dp_FontData->fd_bFixedWidth) { + return (pdp->dp_FontData->fd_pixCharWidth + pdp->dp_pixTextCharSpacing)*(iCharNo - 0.5f); + } + CTString strCut(mg_strText); + strCut.TrimLeft(strlen(mg_strText) - iCharNo); + PIX pixFullWidth = pdp->GetTextWidth(mg_strText); + PIX pixCutWidth = pdp->GetTextWidth(strCut); + // !!!! not implemented for different centering + return pixFullWidth - pixCutWidth; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGButton.h b/Sources/SeriousSam/MGButton.h new file mode 100644 index 0000000..ed3444b --- /dev/null +++ b/Sources/SeriousSam/MGButton.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_BUTTON_H +#define SE_INCL_MENU_GADGET_BUTTON_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MenuGadget.h" + + +class CMGButton : public CMenuGadget { +public: + CTString mg_strLabel; // for those that have labels separately from main text + CTString mg_strText; + INDEX mg_iCenterI; + enum ButtonFontSize mg_bfsFontSize; + BOOL mg_bEditing; + BOOL mg_bHighlighted; + BOOL mg_bRectangle; + BOOL mg_bMental; + INDEX mg_iTextMode; + INDEX mg_iCursorPos; + + INDEX mg_iIndex; + void(*mg_pActivatedFunction)(void); + CMGButton(void); + void SetText(CTString strNew); + void OnActivate(void); + void Render(CDrawPort *pdp); + PIX GetCharOffset(CDrawPort *pdp, INDEX iCharNo); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGChangePlayer.cpp b/Sources/SeriousSam/MGChangePlayer.cpp new file mode 100644 index 0000000..e7b2a4c --- /dev/null +++ b/Sources/SeriousSam/MGChangePlayer.cpp @@ -0,0 +1,37 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGChangePlayer.h" + +extern CSoundData *_psdPress; + + +void CMGChangePlayer::OnActivate(void) +{ + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + _iLocalPlayer = mg_iLocalPlayer; + if (_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] < 0) + _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] = 0; + gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; + gmPlayerProfile.gm_pgmParentMenu = &gmSelectPlayersMenu; + extern BOOL _bPlayerMenuFromSinglePlayer; + _bPlayerMenuFromSinglePlayer = FALSE; + ChangeToMenu(&gmPlayerProfile); +} + +void CMGChangePlayer::SetPlayerText(void) +{ + INDEX iPlayer = _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; + CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; + if (iPlayer<0 || iPlayer>7) { + mg_strText = "????"; + } + else { + mg_strText.PrintF(TRANS("Player %d: %s\n"), mg_iLocalPlayer + 1, pc.GetNameForPrinting()); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGChangePlayer.h b/Sources/SeriousSam/MGChangePlayer.h new file mode 100644 index 0000000..16b3796 --- /dev/null +++ b/Sources/SeriousSam/MGChangePlayer.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_CHANGEPLAYER_H +#define SE_INCL_MENU_GADGET_CHANGEPLAYER_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGChangePlayer : public CMGButton { +public: + INDEX mg_iLocalPlayer; + + void SetPlayerText(void); + void OnActivate(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGEdit.cpp b/Sources/SeriousSam/MGEdit.cpp new file mode 100644 index 0000000..0ae93f3 --- /dev/null +++ b/Sources/SeriousSam/MGEdit.cpp @@ -0,0 +1,169 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGEdit.h" + +extern CSoundData *_psdPress; + +extern BOOL _bEditingString; + + +CMGEdit::CMGEdit(void) +{ + mg_pstrToChange = NULL; + mg_ctMaxStringLen = 70; + Clear(); +} + + +void CMGEdit::Clear(void) +{ + mg_iCursorPos = 0; + mg_bEditing = FALSE; + _bEditingString = FALSE; +} + + +void CMGEdit::OnActivate(void) +{ + if (!mg_bEnabled) { + return; + } + ASSERT(mg_pstrToChange != NULL); + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + SetText(mg_strText); + mg_iCursorPos = strlen(mg_strText); + mg_bEditing = TRUE; + _bEditingString = TRUE; +} + + +// focus lost +void CMGEdit::OnKillFocus(void) +{ + // go out of editing mode + if (mg_bEditing) { + OnKeyDown(VK_RETURN); + Clear(); + } + // proceed + CMenuGadget::OnKillFocus(); +} + +// helper function for deleting char(s) from string +static void Key_BackDel(CTString &str, INDEX &iPos, BOOL bShift, BOOL bRight) +{ + // do nothing if string is empty + INDEX ctChars = strlen(str); + if (ctChars == 0) return; + if (bRight && iPos0) { // BACKSPACE key + if (bShift) { + // delete to start of line + str.TrimLeft(ctChars - iPos); + iPos = 0; + } + else { + // delete only one char + str.DeleteChar(iPos - 1); + iPos--; + } + } +} + +// key/mouse button pressed +BOOL CMGEdit::OnKeyDown(int iVKey) +{ + // if not in edit mode + if (!mg_bEditing) { + // behave like normal gadget + return CMenuGadget::OnKeyDown(iVKey); + } + + // finish editing? + BOOL bShift = GetKeyState(VK_SHIFT) & 0x8000; + switch (iVKey) { + case VK_UP: case VK_DOWN: + case VK_RETURN: case VK_LBUTTON: *mg_pstrToChange = mg_strText; Clear(); OnStringChanged(); break; + case VK_ESCAPE: case VK_RBUTTON: mg_strText = *mg_pstrToChange; Clear(); OnStringCanceled(); break; + case VK_LEFT: if (mg_iCursorPos > 0) mg_iCursorPos--; break; + case VK_RIGHT: if (mg_iCursorPos < strlen(mg_strText)) mg_iCursorPos++; break; + case VK_HOME: mg_iCursorPos = 0; break; + case VK_END: mg_iCursorPos = strlen(mg_strText); break; + case VK_BACK: Key_BackDel(mg_strText, mg_iCursorPos, bShift, FALSE); break; + case VK_DELETE: Key_BackDel(mg_strText, mg_iCursorPos, bShift, TRUE); break; + default: break; // ignore all other special keys + } + + // key is handled + return TRUE; +} + + +// char typed +BOOL CMGEdit::OnChar(MSG msg) +{ + // if not in edit mode + if (!mg_bEditing) { + // behave like normal gadget + return CMenuGadget::OnChar(msg); + } + // only chars are allowed + const INDEX ctFullLen = mg_strText.Length(); + const INDEX ctNakedLen = mg_strText.LengthNaked(); + mg_iCursorPos = Clamp(mg_iCursorPos, 0L, ctFullLen); + int iVKey = msg.wParam; + if (isprint(iVKey) && ctNakedLen <= mg_ctMaxStringLen) { + mg_strText.InsertChar(mg_iCursorPos, (char)iVKey); + mg_iCursorPos++; + } + // key is handled + return TRUE; +} + + +void CMGEdit::Render(CDrawPort *pdp) +{ + if (mg_bEditing) { + mg_iTextMode = -1; + } + else if (mg_bFocused) { + mg_iTextMode = 0; + } + else { + mg_iTextMode = 1; + } + if (mg_strText == "" && !mg_bEditing) { + if (mg_bfsFontSize == BFS_SMALL) { + mg_strText = "*"; + } + else { + mg_strText = TRANS(""); + } + CMGButton::Render(pdp); + mg_strText = ""; + } + else { + CMGButton::Render(pdp); + } +} +void CMGEdit::OnStringChanged(void) +{ +} +void CMGEdit::OnStringCanceled(void) +{ +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGEdit.h b/Sources/SeriousSam/MGEdit.h new file mode 100644 index 0000000..70a6b9b --- /dev/null +++ b/Sources/SeriousSam/MGEdit.h @@ -0,0 +1,28 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_EDIT_H +#define SE_INCL_MENU_GADGET_EDIT_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGEdit : public CMGButton { +public: + INDEX mg_ctMaxStringLen; + CTString *mg_pstrToChange; + CMGEdit(void); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + BOOL OnChar(MSG msg); + void Clear(void); + void OnActivate(void); + void OnKillFocus(void); + void Render(CDrawPort *pdp); + virtual void OnStringChanged(void); + virtual void OnStringCanceled(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGFileButton.cpp b/Sources/SeriousSam/MGFileButton.cpp new file mode 100644 index 0000000..56e6ffe --- /dev/null +++ b/Sources/SeriousSam/MGFileButton.cpp @@ -0,0 +1,231 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGFileButton.h" + +extern CSoundData *_psdPress; + + +CMGFileButton::CMGFileButton(void) +{ + mg_iState = FBS_NORMAL; +} + +// refresh current text from description +void CMGFileButton::RefreshText(void) +{ + mg_strText = mg_strDes; + mg_strText.OnlyFirstLine(); + mg_strInfo = mg_strDes; + mg_strInfo.RemovePrefix(mg_strText); + mg_strInfo.DeleteChar(0); +} + +void CMGFileButton::SaveDescription(void) +{ + CTFileName fnFileNameDescription = mg_fnm.NoExt() + ".des"; + try { + mg_strDes.Save_t(fnFileNameDescription); + } + catch (char *strError) { + CPrintF("%s\n", strError); + } +} + +CMGFileButton *_pmgFileToSave = NULL; +void OnFileSaveOK(void) +{ + if (_pmgFileToSave != NULL) { + _pmgFileToSave->SaveYes(); + } +} + +void CMGFileButton::DoSave(void) +{ + if (FileExistsForWriting(mg_fnm)) { + _pmgFileToSave = this; + extern void SaveConfirm(void); + SaveConfirm(); + } + else { + SaveYes(); + } +} + +void CMGFileButton::SaveYes(void) +{ + ASSERT(gmLoadSaveMenu.gm_bSave); + // call saving function + BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + // if saved + if (bSucceeded) { + // save the description too + SaveDescription(); + } +} + +void CMGFileButton::DoLoad(void) +{ + ASSERT(!gmLoadSaveMenu.gm_bSave); + // if no file + if (!FileExists(mg_fnm)) { + // do nothing + return; + } + if (gmLoadSaveMenu.gm_pgmNextMenu != NULL) { + gmLoadSaveMenu.gm_pgmParentMenu = gmLoadSaveMenu.gm_pgmNextMenu; + } + // call loading function + BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + ASSERT(bSucceeded); +} + +static CTString _strTmpDescription; +static CTString _strOrgDescription; + +void CMGFileButton::StartEdit(void) +{ + CMGEdit::OnActivate(); +} + +void CMGFileButton::OnActivate(void) +{ + if (mg_fnm == "") { + return; + } + + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + + // if loading + if (!gmLoadSaveMenu.gm_bSave) { + // load now + DoLoad(); + // if saving + } + else { + // switch to editing mode + BOOL bWasEmpty = mg_strText == EMPTYSLOTSTRING; + mg_strDes = gmLoadSaveMenu.gm_strSaveDes; + RefreshText(); + _strOrgDescription = _strTmpDescription = mg_strText; + if (bWasEmpty) { + _strOrgDescription = EMPTYSLOTSTRING; + } + mg_pstrToChange = &_strTmpDescription; + StartEdit(); + mg_iState = FBS_SAVENAME; + } +} +BOOL CMGFileButton::OnKeyDown(int iVKey) +{ + if (mg_iState == FBS_NORMAL) { + if (gmLoadSaveMenu.gm_bSave || gmLoadSaveMenu.gm_bManage) { + if (iVKey == VK_F2) { + if (FileExistsForWriting(mg_fnm)) { + // switch to renaming mode + _strOrgDescription = mg_strText; + _strTmpDescription = mg_strText; + mg_pstrToChange = &_strTmpDescription; + StartEdit(); + mg_iState = FBS_RENAME; + } + return TRUE; + } + else if (iVKey == VK_DELETE) { + if (FileExistsForWriting(mg_fnm)) { + // delete the file, its description and thumbnail + RemoveFile(mg_fnm); + RemoveFile(mg_fnm.NoExt() + ".des"); + RemoveFile(mg_fnm.NoExt() + "Tbn.tex"); + // refresh menu + gmLoadSaveMenu.EndMenu(); + gmLoadSaveMenu.StartMenu(); + OnSetFocus(); + } + return TRUE; + } + } + return CMenuGadget::OnKeyDown(iVKey); + } + else { + // go out of editing mode + if (mg_bEditing) { + if (iVKey == VK_UP || iVKey == VK_DOWN) { + CMGEdit::OnKeyDown(VK_ESCAPE); + } + } + return CMGEdit::OnKeyDown(iVKey); + } +} + +void CMGFileButton::OnSetFocus(void) +{ + mg_iState = FBS_NORMAL; + + if (gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { + SetThumbnail(mg_fnm); + } + else { + ClearThumbnail(); + } + pgmCurrentMenu->KillAllFocuses(); + CMGButton::OnSetFocus(); +} + +void CMGFileButton::OnKillFocus(void) +{ + // go out of editing mode + if (mg_bEditing) { + OnKeyDown(VK_ESCAPE); + } + CMGEdit::OnKillFocus(); +} + +// override from edit gadget +void CMGFileButton::OnStringChanged(void) +{ + // if saving + if (mg_iState == FBS_SAVENAME) { + // do the save + mg_strDes = _strTmpDescription + "\n" + mg_strInfo; + DoSave(); + // if renaming + } + else if (mg_iState == FBS_RENAME) { + // do the rename + mg_strDes = _strTmpDescription + "\n" + mg_strInfo; + SaveDescription(); + // refresh menu + gmLoadSaveMenu.EndMenu(); + gmLoadSaveMenu.StartMenu(); + OnSetFocus(); + } +} +void CMGFileButton::OnStringCanceled(void) +{ + mg_strText = _strOrgDescription; +} + +void CMGFileButton::Render(CDrawPort *pdp) +{ + // render original gadget first + CMGEdit::Render(pdp); + + // if currently selected + if (mg_bFocused && mg_bEnabled) { + // add info at the bottom if screen + SetFontMedium(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxSaveLoad(15.0)); + PIX pixI = box.Min()(1); + PIX pixJ = box.Min()(2); + + COLOR col = LCDGetColor(C_mlGREEN | 255, "file info"); + pdp->PutText(mg_strInfo, pixI, pixJ, col); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGFileButton.h b/Sources/SeriousSam/MGFileButton.h new file mode 100644 index 0000000..0e614a3 --- /dev/null +++ b/Sources/SeriousSam/MGFileButton.h @@ -0,0 +1,43 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_FILEBUTTON_H +#define SE_INCL_MENU_GADGET_FILEBUTTON_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGEdit.h" + +// file button states +#define FBS_NORMAL 0 // normal active state +#define FBS_SAVENAME 1 // typing in the save name +#define FBS_RENAME 2 // renaming existing file +class CMGFileButton : public CMGEdit { +public: + CMGFileButton(void); + CTFileName mg_fnm; + CTString mg_strDes; // entire description goes here + CTString mg_strInfo; // info part of text to print above the gadget tip + INDEX mg_iState; + // refresh current text from description + void RefreshText(void); + // save description to disk + void SaveDescription(void); + void SaveYes(void); + void DoSave(void); + void DoLoad(void); + void StartEdit(void); + + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void OnActivate(void); + void OnSetFocus(void); + void OnKillFocus(void); + + // overrides from edit gadget + void OnStringChanged(void); + void OnStringCanceled(void); + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGHighScore.cpp b/Sources/SeriousSam/MGHighScore.cpp new file mode 100644 index 0000000..61b4109 --- /dev/null +++ b/Sources/SeriousSam/MGHighScore.cpp @@ -0,0 +1,91 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGHighScore.h" + +#define HSCOLUMNS 6 +CTString strHighScores[HIGHSCORE_COUNT + 1][HSCOLUMNS]; +FLOAT afI[HSCOLUMNS] = { + 0.12f, 0.15f, 0.6f, 0.7f, 0.78f, 0.9f +}; + + +void CMGHighScore::Render(CDrawPort *pdp) +{ + SetFontMedium(pdp); + + COLOR colHeader = LCDGetColor(C_GREEN | 255, "hiscore header"); + COLOR colData = LCDGetColor(C_mdGREEN | 255, "hiscore data"); + COLOR colLastSet = LCDGetColor(C_mlGREEN | 255, "hiscore last set"); + INDEX iLastSet = _pGame->gm_iLastSetHighScore; + + CTString strText; + + strHighScores[0][0] = TRANS("No."); + strHighScores[0][1] = TRANS("Player Name"); + strHighScores[0][2] = TRANS("Difficulty"); + strHighScores[0][3] = TRANS("Time"); + strHighScores[0][4] = TRANS("Kills"); + strHighScores[0][5] = TRANS("Score"); + + {for (INDEX i = 0; igm_ahseHighScores[i].hse_gdDifficulty) { + default: + ASSERT(FALSE); + case (CSessionProperties::GameDifficulty) - 100: + strHighScores[i + 1][1] = "---"; + continue; + break; + case CSessionProperties::GD_TOURIST: + strHighScores[i + 1][2] = TRANS("Tourist"); + break; + case CSessionProperties::GD_EASY: + strHighScores[i + 1][2] = TRANS("Easy"); + break; + case CSessionProperties::GD_NORMAL: + strHighScores[i + 1][2] = TRANS("Normal"); + break; + case CSessionProperties::GD_HARD: + strHighScores[i + 1][2] = TRANS("Hard"); + break; + case CSessionProperties::GD_EXTREME: + strHighScores[i + 1][2] = TRANS("Serious"); + break; + case CSessionProperties::GD_EXTREME + 1: + strHighScores[i + 1][2] = TRANS("Mental"); + break; + } + strHighScores[i + 1][0].PrintF("%d", i + 1); + strHighScores[i + 1][1] = _pGame->gm_ahseHighScores[i].hse_strPlayer; + strHighScores[i + 1][3] = TimeToString(_pGame->gm_ahseHighScores[i].hse_tmTime); + strHighScores[i + 1][4].PrintF("%03d", _pGame->gm_ahseHighScores[i].hse_ctKills); + strHighScores[i + 1][5].PrintF("%9d", _pGame->gm_ahseHighScores[i].hse_ctScore); + }} + + PIX pixJ = pdp->GetHeight()*0.25f; + {for (INDEX iRow = 0; iRowGetWidth()*afI[iColumn]; + if (iColumn == 1) { + pdp->PutText(strHighScores[iRow][iColumn], pixI, pixJ, col); + } + else { + pdp->PutTextR(strHighScores[iRow][iColumn], pixI, pixJ, col); + } + }} + if (iRow == 0) { + pixJ += pdp->GetHeight()*0.06f; + } + else { + pixJ += pdp->GetHeight()*0.04f; + } + }} +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGHighScore.h b/Sources/SeriousSam/MGHighScore.h new file mode 100644 index 0000000..9c0c2b0 --- /dev/null +++ b/Sources/SeriousSam/MGHighScore.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_HIGHSCORE_H +#define SE_INCL_MENU_GADGET_HIGHSCORE_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MenuGadget.h" + + +class CMGHighScore : public CMenuGadget { +public: + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGKeyDefinition.cpp b/Sources/SeriousSam/MGKeyDefinition.cpp new file mode 100644 index 0000000..8ef80d5 --- /dev/null +++ b/Sources/SeriousSam/MGKeyDefinition.cpp @@ -0,0 +1,218 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGKeyDefinition.h" + +extern CSoundData *_psdSelect; +extern CSoundData *_psdPress; + +extern BOOL _bDefiningKey; + + +CMGKeyDefinition::CMGKeyDefinition(void) +{ + mg_iState = DOING_NOTHING; +} + + +void CMGKeyDefinition::OnActivate(void) +{ + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + SetBindingNames(/*bDefining=*/TRUE); + mg_iState = RELEASE_RETURN_WAITING; +} + + +BOOL CMGKeyDefinition::OnKeyDown(int iVKey) +{ + // if waiting for a key definition + if (mg_iState == PRESS_KEY_WAITING) { + // do nothing + return TRUE; + } + + // if backspace pressed + if (iVKey == VK_BACK) { + // clear both keys + DefineKey(KID_NONE); + // message is processed + return TRUE; + } + + return CMenuGadget::OnKeyDown(iVKey); +} + +// set names for both key bindings +void CMGKeyDefinition::SetBindingNames(BOOL bDefining) +{ + // find the button + INDEX ict = 0; + INDEX iDik = 0; + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { + if (ict == mg_iControlNumber) { + CButtonAction &ba = *itba; + // get the current bindings and names + INDEX iKey1 = ba.ba_iFirstKey; + INDEX iKey2 = ba.ba_iSecondKey; + BOOL bKey1Bound = iKey1 != KID_NONE; + BOOL bKey2Bound = iKey2 != KID_NONE; + CTString strKey1 = _pInput->GetButtonTransName(iKey1); + CTString strKey2 = _pInput->GetButtonTransName(iKey2); + + // if defining + if (bDefining) { + // if only first key is defined + if (bKey1Bound && !bKey2Bound) { + // put question mark for second key + mg_strBinding = strKey1 + TRANS(" or ") + "?"; + // otherwise + } + else { + // put question mark only + mg_strBinding = "?"; + } + // if not defining + } + else { + // if second key is defined + if (bKey2Bound) { + // add both + mg_strBinding = strKey1 + TRANS(" or ") + strKey2; + // if second key is undefined + } + else { + // display only first one + mg_strBinding = strKey1; + } + } + return; + } + ict++; + } + + // if not found, put errorneous string + mg_strBinding = "???"; +} + +void CMGKeyDefinition::Appear(void) +{ + SetBindingNames(/*bDefining=*/FALSE); + CMenuGadget::Appear(); +} + +void CMGKeyDefinition::Disappear(void) +{ + CMenuGadget::Disappear(); +} + +void CMGKeyDefinition::DefineKey(INDEX iDik) +{ + // for each button in controls + INDEX ict = 0; + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { + CButtonAction &ba = *itba; + // if it is this one + if (ict == mg_iControlNumber) { + // if should clear + if (iDik == KID_NONE) { + // unbind both + ba.ba_iFirstKey = KID_NONE; + ba.ba_iSecondKey = KID_NONE; + } + // if first key is unbound, or both keys are bound + if (ba.ba_iFirstKey == KID_NONE || ba.ba_iSecondKey != KID_NONE) { + // bind first key + ba.ba_iFirstKey = iDik; + // clear second key + ba.ba_iSecondKey = KID_NONE; + // if only first key bound + } + else { + // bind second key + ba.ba_iSecondKey = iDik; + } + // if it is not this one + } + else { + // clear bindings that contain this key + if (ba.ba_iFirstKey == iDik) { + ba.ba_iFirstKey = KID_NONE; + } + if (ba.ba_iSecondKey == iDik) { + ba.ba_iSecondKey = KID_NONE; + } + } + ict++; + } + + SetBindingNames(/*bDefining=*/FALSE); +} + +void CMGKeyDefinition::Think(void) +{ + if (mg_iState == RELEASE_RETURN_WAITING) + { + _bDefiningKey = TRUE; + extern BOOL _bMouseUsedLast; + _bMouseUsedLast = FALSE; + _pInput->SetJoyPolling(TRUE); + _pInput->GetInput(FALSE); + if (_pInput->IsInputEnabled() && + !_pInput->GetButtonState(KID_ENTER) && + !_pInput->GetButtonState(KID_MOUSE1)) + { + mg_iState = PRESS_KEY_WAITING; + } + } + else if (mg_iState == PRESS_KEY_WAITING) + { + _pInput->SetJoyPolling(TRUE); + _pInput->GetInput(FALSE); + for (INDEX iDik = 0; iDikGetButtonState(iDik)) + { + // skip keys that cannot be defined + if (iDik == KID_TILDE) { + continue; + } + // if escape not pressed + if (iDik != KID_ESCAPE) { + // define the new key + DefineKey(iDik); + // if escape pressed + } + else { + // undefine the key + DefineKey(KID_NONE); + } + + // end defining loop + mg_iState = DOING_NOTHING; + _bDefiningKey = FALSE; + // refresh all buttons + pgmCurrentMenu->FillListItems(); + break; + } + } + } +} + +void CMGKeyDefinition::Render(CDrawPort *pdp) +{ + SetFontMedium(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + + COLOR col = GetCurrentColor(); + pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); + pdp->PutText(mg_strBinding, pixIR, pixJ, col); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGKeyDefinition.h b/Sources/SeriousSam/MGKeyDefinition.h new file mode 100644 index 0000000..6686e7a --- /dev/null +++ b/Sources/SeriousSam/MGKeyDefinition.h @@ -0,0 +1,33 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_KEYDEFINITION_H +#define SE_INCL_MENU_GADGET_KEYDEFINITION_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MenuGadget.h" + + +class CMGKeyDefinition : public CMenuGadget { +public: + INDEX mg_iState; + INDEX mg_iControlNumber; + + CTString mg_strLabel; + CTString mg_strBinding; + + CMGKeyDefinition(void); + void Appear(void); + void Disappear(void); + void OnActivate(void); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void Think(void); + // set names for both key bindings + void SetBindingNames(BOOL bDefining); + void DefineKey(INDEX iDik); + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGLevelButton.cpp b/Sources/SeriousSam/MGLevelButton.cpp new file mode 100644 index 0000000..33fede9 --- /dev/null +++ b/Sources/SeriousSam/MGLevelButton.cpp @@ -0,0 +1,27 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGLevelButton.h" + +extern CSoundData *_psdPress; + + +void CMGLevelButton::OnActivate(void) +{ + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + _pGame->gam_strCustomLevel = mg_fnmLevel; + extern void(*_pAfterLevelChosen)(void); + _pAfterLevelChosen(); +} + + +void CMGLevelButton::OnSetFocus(void) +{ + SetThumbnail(mg_fnmLevel); + CMGButton::OnSetFocus(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGLevelButton.h b/Sources/SeriousSam/MGLevelButton.h new file mode 100644 index 0000000..31f491a --- /dev/null +++ b/Sources/SeriousSam/MGLevelButton.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_LEVELBUTTON_H +#define SE_INCL_MENU_GADGET_LEVELBUTTON_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGLevelButton : public CMGButton { +public: + CTFileName mg_fnmLevel; + + void OnActivate(void); + void OnSetFocus(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGModel.cpp b/Sources/SeriousSam/MGModel.cpp new file mode 100644 index 0000000..243a9bd --- /dev/null +++ b/Sources/SeriousSam/MGModel.cpp @@ -0,0 +1,114 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGModel.h" + +extern INDEX sam_bWideScreen; + + +CMGModel::CMGModel(void) +{ + mg_fFloorY = 0; +} + +void CMGModel::Render(CDrawPort *pdp) +{ + // if no model + if (mg_moModel.GetData() == NULL) { + // just render text + mg_strText = TRANS("No model"); + CMGButton::Render(pdp); + return; + } + + // get position on screen + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + CDrawPort dpModel(pdp, box); + dpModel.Lock(); + dpModel.FillZBuffer(1.0f); + + LCDSetDrawport(&dpModel); + // clear menu here + dpModel.Fill(C_BLACK | 255); + LCDRenderClouds1(); + LCDRenderClouds2(); + + // prepare projection + CRenderModel rmRenderModel; + CPerspectiveProjection3D pr; + pr.FOVL() = sam_bWideScreen ? AngleDeg(45.0f) : AngleDeg(30.0f); + pr.ScreenBBoxL() = FLOATaabbox2D( + FLOAT2D(0.0f, 0.0f), + FLOAT2D((float)dpModel.GetWidth(), (float)dpModel.GetHeight()) + ); + pr.AspectRatioL() = 1.0f; + pr.FrontClipDistanceL() = 0.3f; + pr.ViewerPlacementL() = CPlacement3D(FLOAT3D(0, 0, 0), ANGLE3D(0, 0, 0)); + + // initialize remdering + CAnyProjection3D apr; + apr = pr; + BeginModelRenderingView(apr, &dpModel); + rmRenderModel.rm_vLightDirection = FLOAT3D(0.2f, -0.2f, -0.2f); + + // if model needs floor + if (mg_moFloor.GetData() != NULL) { + // set floor's position + CPlacement3D pl = mg_plModel; + pl.pl_OrientationAngle = ANGLE3D(0, 0, 0); + pl.pl_PositionVector = mg_plModel.pl_PositionVector; + pl.pl_PositionVector(2) += mg_fFloorY; + rmRenderModel.SetObjectPlacement(pl); + + // render the floor + rmRenderModel.rm_colLight = C_WHITE; + rmRenderModel.rm_colAmbient = C_WHITE; + mg_moFloor.SetupModelRendering(rmRenderModel); + mg_moFloor.RenderModel(rmRenderModel); + } + + // set model's position + CPlacement3D pl; + pl.pl_OrientationAngle = mg_plModel.pl_OrientationAngle; + pl.pl_PositionVector = mg_plModel.pl_PositionVector; + extern FLOAT sam_fPlayerOffset; + pl.pl_PositionVector(3) += sam_fPlayerOffset; + rmRenderModel.SetObjectPlacement(pl); + + // render the model + rmRenderModel.rm_colLight = LerpColor(C_BLACK, C_WHITE, 0.4f) | CT_OPAQUE; + rmRenderModel.rm_colAmbient = LerpColor(C_BLACK, C_WHITE, 0.2f) | CT_OPAQUE; + mg_moModel.SetupModelRendering(rmRenderModel); + FLOATplane3D plFloorPlane = FLOATplane3D(FLOAT3D(0.0f, 1.0f, 0.0f), + mg_plModel.pl_PositionVector(2) + mg_fFloorY); + FLOAT3D vShadowLightDir = FLOAT3D(-0.2f, -0.4f, -0.6f); + CPlacement3D plLightPlacement = CPlacement3D( + mg_plModel.pl_PositionVector + + vShadowLightDir*mg_plModel.pl_PositionVector(3) * 5, + ANGLE3D(0, 0, 0)); + mg_moModel.RenderShadow(rmRenderModel, plLightPlacement, 200.0f, 200.0f, 1.0f, plFloorPlane); + mg_moModel.RenderModel(rmRenderModel); + EndModelRenderingView(); + + LCDScreenBox(LCDGetColor(C_GREEN, "model box") | GetCurrentColor()); + + dpModel.Unlock(); + + pdp->Unlock(); + pdp->Lock(); + LCDSetDrawport(pdp); + + // print the model name + { + PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxPlayerModelName()); + COLOR col = GetCurrentColor(); + + PIX pixI = box.Min()(1); + PIX pixJ = box.Max()(2); + pdp->PutText(mg_strText, pixI, pixJ, col); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGModel.h b/Sources/SeriousSam/MGModel.h new file mode 100644 index 0000000..69beaaf --- /dev/null +++ b/Sources/SeriousSam/MGModel.h @@ -0,0 +1,23 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_MODEL_H +#define SE_INCL_MENU_GADGET_MODEL_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGModel : public CMGButton { +public: + CModelObject mg_moModel; + CModelObject mg_moFloor; + CPlacement3D mg_plModel; + BOOL mg_fFloorY; + + CMGModel(void); + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGServerList.cpp b/Sources/SeriousSam/MGServerList.cpp new file mode 100644 index 0000000..331c197 --- /dev/null +++ b/Sources/SeriousSam/MGServerList.cpp @@ -0,0 +1,445 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGServerList.h" +#include "MGEdit.h" + +extern CSoundData *_psdSelect; +extern CSoundData *_psdPress; + + +FLOATaabbox2D GetBoxPartHoriz(const FLOATaabbox2D &box, FLOAT fMin, FLOAT fMax) +{ + FLOAT fBoxMin = box.Min()(1); + FLOAT fBoxSize = box.Size()(1); + + return FLOATaabbox2D( + FLOAT2D(fBoxMin + fBoxSize*fMin, box.Min()(2)), + FLOAT2D(fBoxMin + fBoxSize*fMax, box.Max()(2))); +} + +void PrintInBox(CDrawPort *pdp, PIX pixI, PIX pixJ, PIX pixSizeI, CTString str, COLOR col) +{ + str = str.Undecorated(); + PIX pixCharSize = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; + str.TrimRight(pixSizeI / pixCharSize); + + // print text + pdp->PutText(str, pixI, pixJ, col); +} + + +CMGServerList::CMGServerList() +{ + mg_iSelected = 0; + mg_iFirstOnScreen = 0; + mg_ctOnScreen = 10; + mg_pixMinI = 0; + mg_pixMaxI = 0; + mg_pixListMinJ = 0; + mg_pixListStepJ = 0; + mg_pixDragJ = -1; + mg_iDragLine = -1; + mg_pixMouseDrag = -1; + // by default, sort by ping, best on top + mg_iSort = 2; + mg_bSortDown = FALSE; +} +void CMGServerList::AdjustFirstOnScreen(void) +{ + INDEX ctSessions = _lhServers.Count(); + mg_iSelected = Clamp(mg_iSelected, 0L, ClampDn(ctSessions - 1L, 0L)); + mg_iFirstOnScreen = Clamp(mg_iFirstOnScreen, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); + + if (mg_iSelected= mg_iFirstOnScreen + mg_ctOnScreen) { + mg_iFirstOnScreen = ClampDn(mg_iSelected - mg_ctOnScreen + 1L, 0L); + } +} + +BOOL _iSort = 0; +BOOL _bSortDown = FALSE; + +int CompareSessions(const void *pv0, const void *pv1) +{ + const CNetworkSession &ns0 = **(const CNetworkSession **)pv0; + const CNetworkSession &ns1 = **(const CNetworkSession **)pv1; + + int iResult = 0; + switch (_iSort) { + case 0: iResult = stricmp(ns0.ns_strSession, ns1.ns_strSession); break; + case 1: iResult = stricmp(ns0.ns_strWorld, ns1.ns_strWorld); break; + case 2: iResult = Sgn(ns0.ns_tmPing - ns1.ns_tmPing); break; + case 3: iResult = Sgn(ns0.ns_ctPlayers - ns1.ns_ctPlayers); break; + case 4: iResult = stricmp(ns0.ns_strGameType, ns1.ns_strGameType); break; + case 5: iResult = stricmp(ns0.ns_strMod, ns1.ns_strMod); break; + case 6: iResult = stricmp(ns0.ns_strVer, ns1.ns_strVer); break; + } + + if (iResult == 0) { // make sure we always have unique order when resorting + return stricmp(ns0.ns_strAddress, ns1.ns_strAddress);; + } + + return _bSortDown ? -iResult : iResult; +} + +extern CMGButton mgServerColumn[7]; +extern CMGEdit mgServerFilter[7]; + +void SortAndFilterServers(void) +{ + { FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + delete &*itns; + } } + { + FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { + CNetworkSession &ns = *itns; + extern CTString _strServerFilter[7]; + if (_strServerFilter[0] != "" && !ns.ns_strSession.Matches("*" + _strServerFilter[0] + "*")) continue; + if (_strServerFilter[1] != "" && !ns.ns_strWorld.Matches("*" + _strServerFilter[1] + "*")) continue; + if (_strServerFilter[2] != "") { + char strCompare[3] = { 0, 0, 0 }; + int iPing = 0; + _strServerFilter[2].ScanF("%2[<>=]%d", strCompare, &iPing); + if (strcmp(strCompare, "<") == 0 && !(int(ns.ns_tmPing * 1000)< iPing)) continue; + if (strcmp(strCompare, "<=") == 0 && !(int(ns.ns_tmPing * 1000) <= iPing)) continue; + if (strcmp(strCompare, ">") == 0 && !(int(ns.ns_tmPing * 1000)> iPing)) continue; + if (strcmp(strCompare, ">=") == 0 && !(int(ns.ns_tmPing * 1000) >= iPing)) continue; + if (strcmp(strCompare, "=") == 0 && !(int(ns.ns_tmPing * 1000) == iPing)) continue; + } + if (_strServerFilter[3] != "") { + char strCompare[3] = { 0, 0, 0 }; + int iPlayers = 0; + _strServerFilter[3].ScanF("%2[<>=]%d", strCompare, &iPlayers); + if (strcmp(strCompare, "<") == 0 && !(ns.ns_ctPlayers< iPlayers)) continue; + if (strcmp(strCompare, "<=") == 0 && !(ns.ns_ctPlayers <= iPlayers)) continue; + if (strcmp(strCompare, ">") == 0 && !(ns.ns_ctPlayers> iPlayers)) continue; + if (strcmp(strCompare, ">=") == 0 && !(ns.ns_ctPlayers >= iPlayers)) continue; + if (strcmp(strCompare, "=") == 0 && !(ns.ns_ctPlayers == iPlayers)) continue; + } + if (_strServerFilter[4] != "" && !ns.ns_strGameType.Matches("*" + _strServerFilter[4] + "*")) continue; + if (_strServerFilter[5] != "" && !ns.ns_strMod.Matches("*" + _strServerFilter[5] + "*")) continue; + if (_strServerFilter[6] != "" && !ns.ns_strVer.Matches("*" + _strServerFilter[6] + "*")) continue; + + CNetworkSession *pnsNew = new CNetworkSession; + pnsNew->Copy(*itns); + _lhServers.AddTail(pnsNew->ns_lnNode); + } +} + + _lhServers.Sort(CompareSessions, offsetof(CNetworkSession, ns_lnNode)); +} + +void CMGServerList::Render(CDrawPort *pdp) +{ + _iSort = mg_iSort; + _bSortDown = mg_bSortDown; + SortAndFilterServers(); + + SetFontSmall(pdp); + BOOL bFocusedBefore = mg_bFocused; + mg_bFocused = FALSE; + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + COLOR col = GetCurrentColor(); + + PIX pixDPSizeI = pdp->GetWidth(); + PIX pixDPSizeJ = pdp->GetHeight(); + PIX pixCharSizeI = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; + PIX pixCharSizeJ = pdp->dp_pixTextLineSpacing + pdp->dp_FontData->fd_pixCharHeight + 1; + PIX pixLineSize = 1; + PIX pixSliderSizeI = 10; + PIX pixOuterMargin = 20; + + INDEX ctSessions = _lhServers.Count(); + INDEX iSession = 0; + + INDEX ctColumns[7]; + {for (INDEX i = 0; iDrawLine(apixSeparatorI[i], pixTopJ, apixSeparatorI[i], pixBottomJ, col | CT_OPAQUE); + } + pdp->DrawLine(apixSeparatorI[0], pixTopJ, apixSeparatorI[8], pixTopJ, col | CT_OPAQUE); + pdp->DrawLine(apixSeparatorI[0], pixListTopJ - pixLineSize, apixSeparatorI[8], pixListTopJ - pixLineSize, col | CT_OPAQUE); + pdp->DrawLine(apixSeparatorI[0], pixBottomJ, apixSeparatorI[8], pixBottomJ, col | CT_OPAQUE); + + PIXaabbox2D boxHandle = GetScrollBarHandleBox(); + pdp->Fill(boxHandle.Min()(1) + 2, boxHandle.Min()(2) + 2, boxHandle.Size()(1) - 3, boxHandle.Size()(2) - 3, col | CT_OPAQUE); + + PIX pixJ = pixTopJ + pixLineSize * 2 + 1; + + mg_ctOnScreen = ctSessionsOnScreen; + AdjustFirstOnScreen(); + + if (_lhServers.Count() == 0) { + if (_pNetwork->ga_strEnumerationStatus != "") { + mg_bFocused = TRUE; + COLOR colItem = GetCurrentColor(); + PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI, pixListTopJ + pixCharSizeJ + pixLineSize + 1, apixSeparatorI[1] - apixSeparatorI[0], + TRANS("searching..."), colItem); + } + } + else { + FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + CNetworkSession &ns = *itns; + + if (iSession= mg_iFirstOnScreen + ctSessionsOnScreen) { + iSession++; + continue; + } + + PIX pixJ = pixListTopJ + (iSession - mg_iFirstOnScreen)*pixCharSizeJ + pixLineSize + 1; + + mg_bFocused = bFocusedBefore&&iSession == mg_iSelected; + COLOR colItem = GetCurrentColor(); + + if (ns.ns_strVer != _SE_VER_STRING) { + colItem = MulColors(colItem, 0xA0A0A0FF); + } + + CTString strPing(0, "%4d", INDEX(ns.ns_tmPing * 1000)); + CTString strPlayersCt(0, "%2d/%2d", ns.ns_ctPlayers, ns.ns_ctMaxPlayers); + CTString strMod = ns.ns_strMod; + if (strMod == "") { + strMod = "SeriousSam"; + } + PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI / 2, pixJ, apixSeparatorI[1] - apixSeparatorI[0] - pixCharSizeI, ns.ns_strSession, colItem); + PrintInBox(pdp, apixSeparatorI[1] + pixCharSizeI / 2, pixJ, apixSeparatorI[2] - apixSeparatorI[1] - pixCharSizeI, TranslateConst(ns.ns_strWorld), colItem); + PrintInBox(pdp, apixSeparatorI[2] + pixCharSizeI / 2, pixJ, apixSeparatorI[3] - apixSeparatorI[2] - pixCharSizeI, strPing, colItem); + PrintInBox(pdp, apixSeparatorI[3] + pixCharSizeI / 2, pixJ, apixSeparatorI[4] - apixSeparatorI[3] - pixCharSizeI, strPlayersCt, colItem); + PrintInBox(pdp, apixSeparatorI[4] + pixCharSizeI / 2, pixJ, apixSeparatorI[5] - apixSeparatorI[4] - pixCharSizeI, TranslateConst(ns.ns_strGameType), colItem); + PrintInBox(pdp, apixSeparatorI[5] + pixCharSizeI / 2, pixJ, apixSeparatorI[6] - apixSeparatorI[5] - pixCharSizeI, TranslateConst(strMod), colItem); + PrintInBox(pdp, apixSeparatorI[6] + pixCharSizeI / 2, pixJ, apixSeparatorI[7] - apixSeparatorI[6] - pixCharSizeI, ns.ns_strVer, colItem); + + iSession++; + } + } + + mg_bFocused = bFocusedBefore; +} + +static INDEX SliderPixToIndex(PIX pixOffset, INDEX iVisible, INDEX iTotal, PIXaabbox2D boxFull) +{ + FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); + PIX pixFull = boxFull.Size()(2); + PIX pixSize = PIX(pixFull*fSize); + if (pixSize >= boxFull.Size()(2)) { + return 0; + } + return (iTotal*pixOffset) / pixFull; +} + + +static PIXaabbox2D GetSliderBox(INDEX iFirst, INDEX iVisible, INDEX iTotal, + PIXaabbox2D boxFull) +{ + if (iTotal <= 0) { + return boxFull; + } + FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); + PIX pixFull = boxFull.Size()(2); + PIX pixSize = PIX(pixFull*fSize); + pixSize = ClampDn(pixSize, boxFull.Size()(1)); + PIX pixTop = pixFull*(FLOAT(iFirst) / iTotal) + boxFull.Min()(2); + PIX pixI0 = boxFull.Min()(1); + PIX pixI1 = boxFull.Max()(1); + return PIXaabbox2D(PIX2D(pixI0, pixTop), PIX2D(pixI1, pixTop + pixSize)); +} + +PIXaabbox2D CMGServerList::GetScrollBarFullBox(void) +{ + return PIXaabbox2D(PIX2D(mg_pixSBMinI, mg_pixSBMinJ), PIX2D(mg_pixSBMaxI, mg_pixSBMaxJ)); +} +PIXaabbox2D CMGServerList::GetScrollBarHandleBox(void) +{ + return GetSliderBox(mg_iFirstOnScreen, mg_ctOnScreen, _lhServers.Count(), GetScrollBarFullBox()); +} + +void CMGServerList::OnMouseOver(PIX pixI, PIX pixJ) +{ + mg_pixMouseI = pixI; + mg_pixMouseJ = pixJ; + + if (!(GetKeyState(VK_LBUTTON) & 0x8000)) { + mg_pixDragJ = -1; + } + + BOOL bInSlider = (pixI >= mg_pixSBMinI && pixI <= mg_pixSBMaxI && pixJ >= mg_pixSBMinJ && pixJ <= mg_pixSBMaxJ); + if (mg_pixDragJ >= 0 && bInSlider) { + PIX pixDelta = pixJ - mg_pixDragJ; + INDEX ctSessions = _lhServers.Count(); + INDEX iWantedLine = mg_iDragLine + + SliderPixToIndex(pixDelta, mg_ctOnScreen, ctSessions, GetScrollBarFullBox()); + mg_iFirstOnScreen = Clamp(iWantedLine, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); + mg_iSelected = Clamp(mg_iSelected, mg_iFirstOnScreen, mg_iFirstOnScreen + mg_ctOnScreen - 1L); + // AdjustFirstOnScreen(); + return; + } + + // if some server is selected + if (pixI >= mg_pixMinI && pixI <= mg_pixMaxI) { + INDEX iOnScreen = (pixJ - mg_pixListMinJ) / mg_pixListStepJ; + if (iOnScreen >= 0 && iOnScreen=mg_pixHeaderMinJ && mg_pixMouseJ<=mg_pixHeaderMidJ + && mg_pixMouseI>=mg_pixHeaderI[0] && mg_pixMouseI<=mg_pixHeaderI[7]) { + INDEX iNewSort = mg_iSort; + if (mg_pixMouseI<=mg_pixHeaderI[1]) { + iNewSort = 0; + } else if (mg_pixMouseI<=mg_pixHeaderI[2]) { + iNewSort = 1; + } else if (mg_pixMouseI<=mg_pixHeaderI[3]) { + iNewSort = 2; + } else if (mg_pixMouseI<=mg_pixHeaderI[4]) { + iNewSort = 3; + } else if (mg_pixMouseI<=mg_pixHeaderI[5]) { + iNewSort = 4; + } else if (mg_pixMouseI<=mg_pixHeaderI[6]) { + iNewSort = 5; + } else if (mg_pixMouseI<=mg_pixHeaderI[7]) { + iNewSort = 6; + } + if (iNewSort==mg_iSort) { + mg_bSortDown = !mg_bSortDown; + } else { + mg_bSortDown = FALSE; + } + mg_iSort = iNewSort; + break; + } else */if (mg_pixMouseDrag >= 0) { + mg_pixDragJ = mg_pixMouseDrag; + mg_iDragLine = mg_iFirstOnScreen; + break; + } + case VK_RETURN: + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + {INDEX i = 0; + FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + if (i == mg_iSelected) { + + char strAddress[256]; + int iPort; + itns->ns_strAddress.ScanF("%200[^:]:%d", &strAddress, &iPort); + _pGame->gam_strJoinAddress = strAddress; + _pShell->SetINDEX("net_iPort", iPort); + extern void StartSelectPlayersMenuFromServers(void); + StartSelectPlayersMenuFromServers(); + return TRUE; + } + i++; + }} + break; + default: + return FALSE; + } + return TRUE; +} + +void CMGServerList::OnSetFocus(void) +{ + mg_bFocused = TRUE; +} +void CMGServerList::OnKillFocus(void) +{ + mg_bFocused = FALSE; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGServerList.h b/Sources/SeriousSam/MGServerList.h new file mode 100644 index 0000000..cbfe00d --- /dev/null +++ b/Sources/SeriousSam/MGServerList.h @@ -0,0 +1,54 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_SERVERLIST_H +#define SE_INCL_MENU_GADGET_SERVERLIST_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGServerList : public CMGButton { +public: + INDEX mg_iSelected; + INDEX mg_iFirstOnScreen; + INDEX mg_ctOnScreen; + // server list dimensions + PIX mg_pixMinI; + PIX mg_pixMaxI; + PIX mg_pixListMinJ; + PIX mg_pixListStepJ; + // header dimensions + PIX mg_pixHeaderMinJ; + PIX mg_pixHeaderMidJ; + PIX mg_pixHeaderMaxJ; + PIX mg_pixHeaderI[8]; + // scrollbar dimensions + PIX mg_pixSBMinI; + PIX mg_pixSBMaxI; + PIX mg_pixSBMinJ; + PIX mg_pixSBMaxJ; + // scrollbar dragging params + PIX mg_pixDragJ; + PIX mg_iDragLine; + PIX mg_pixMouseDrag; + // current mouse pos + PIX mg_pixMouseI; + PIX mg_pixMouseJ; + + INDEX mg_iSort; // column to sort by + BOOL mg_bSortDown; // sort in reverse order + + CMGServerList(); + BOOL OnKeyDown(int iVKey); + PIXaabbox2D GetScrollBarFullBox(void); + PIXaabbox2D GetScrollBarHandleBox(void); + void OnSetFocus(void); + void OnKillFocus(void); + void Render(CDrawPort *pdp); + void AdjustFirstOnScreen(void); + void OnMouseOver(PIX pixI, PIX pixJ); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGSlider.cpp b/Sources/SeriousSam/MGSlider.cpp new file mode 100644 index 0000000..9dbe014 --- /dev/null +++ b/Sources/SeriousSam/MGSlider.cpp @@ -0,0 +1,118 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGSlider.h" + +extern PIX _pixCursorPosI; +extern PIX _pixCursorPosJ; +extern INDEX sam_bWideScreen; + + +CMGSlider::CMGSlider() +{ + mg_iMinPos = 0; + mg_iMaxPos = 16; + mg_iCurPos = 8; + mg_pOnSliderChange = NULL; + mg_fFactor = 1.0f; +} + +void CMGSlider::ApplyCurrentPosition(void) +{ + mg_iCurPos = Clamp(mg_iCurPos, mg_iMinPos, mg_iMaxPos); + FLOAT fStretch = FLOAT(mg_iCurPos) / (mg_iMaxPos - mg_iMinPos); + mg_fFactor = fStretch; + + if (mg_pOnSliderChange != NULL) { + mg_pOnSliderChange(mg_iCurPos); + } +} + +void CMGSlider::ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur) +{ + mg_iMinPos = iMin; + mg_iMaxPos = iMax; + mg_iCurPos = iCur; + ApplyCurrentPosition(); +} + + +BOOL CMGSlider::OnKeyDown(int iVKey) +{ + // if scrolling left + if ((iVKey == VK_BACK || iVKey == VK_LEFT) && mg_iCurPos>mg_iMinPos) { + mg_iCurPos--; + ApplyCurrentPosition(); + return TRUE; + // if scrolling right + } + else if ((iVKey == VK_RETURN || iVKey == VK_RIGHT) && mg_iCurPos= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { + // set new position exactly where mouse pointer is + FLOAT fRatio = FLOAT(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1); + fRatio = (fRatio - 0.01f) / (0.99f - 0.01f); + fRatio = Clamp(fRatio, 0.0f, 1.0f); + mg_iCurPos = fRatio*(mg_iMaxPos - mg_iMinPos) + mg_iMinPos; + ApplyCurrentPosition(); + return TRUE; + } + } + return CMenuGadget::OnKeyDown(iVKey); +} + + +PIXaabbox2D CMGSlider::GetSliderBox(void) +{ + extern CDrawPort *pdp; + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixJSize = box.Size()(2)*0.95f; + PIX pixISizeR = box.Size()(1)*0.45f; + if (sam_bWideScreen) pixJSize++; + return PIXaabbox2D(PIX2D(pixIR + 1, pixJ + 1), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)); +} + + +void CMGSlider::Render(CDrawPort *pdp) +{ + SetFontMedium(pdp); + + // get geometry + COLOR col = GetCurrentColor(); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixJSize = box.Size()(2)*0.95f; + PIX pixISizeR = box.Size()(1)*0.45f; + if (sam_bWideScreen) pixJSize++; + + // print text left of slider + pdp->PutTextR(mg_strText, pixIL, pixJ, col); + + // draw box around slider + LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR + 1, pixJ), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)), + LCDGetColor(C_GREEN | 255, "slider box")); + + // draw filled part of slider + pdp->Fill(pixIR + 2, pixJ + 1, (pixISizeR - 5)*mg_fFactor, (pixJSize - 4), col); + + // print percentage text + CTString strPercentage; + strPercentage.PrintF("%d%%", (int)floor(mg_fFactor * 100 + 0.5f)); + pdp->PutTextC(strPercentage, pixIR + pixISizeR / 2, pixJ + 1, col); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGSlider.h b/Sources/SeriousSam/MGSlider.h new file mode 100644 index 0000000..8e00272 --- /dev/null +++ b/Sources/SeriousSam/MGSlider.h @@ -0,0 +1,29 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_SLIDER_H +#define SE_INCL_MENU_GADGET_SLIDER_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGSlider : public CMGButton { +public: + FLOAT mg_fFactor; + INDEX mg_iMinPos; + INDEX mg_iMaxPos; + INDEX mg_iCurPos; + + CMGSlider(); + void ApplyCurrentPosition(void); + void ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + void(*mg_pOnSliderChange)(INDEX iCurPos); + PIXaabbox2D GetSliderBox(void); + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGTitle.cpp b/Sources/SeriousSam/MGTitle.cpp new file mode 100644 index 0000000..215fa11 --- /dev/null +++ b/Sources/SeriousSam/MGTitle.cpp @@ -0,0 +1,20 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGTitle.h" + + +void CMGTitle::Render(CDrawPort *pdp) +{ + SetFontTitle(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixI = box.Center()(1); + PIX pixJ = box.Min()(2); + + pdp->PutTextC(mg_strText, pixI, pixJ, LCDGetColor(C_WHITE | CT_OPAQUE, "title")); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGTitle.h b/Sources/SeriousSam/MGTitle.h new file mode 100644 index 0000000..b4d79ea --- /dev/null +++ b/Sources/SeriousSam/MGTitle.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_TITLE_H +#define SE_INCL_MENU_GADGET_TITLE_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MenuGadget.h" + + +class CMGTitle : public CMenuGadget { +public: + CTString mg_strText; + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGTrigger.cpp b/Sources/SeriousSam/MGTrigger.cpp new file mode 100644 index 0000000..7a4363d --- /dev/null +++ b/Sources/SeriousSam/MGTrigger.cpp @@ -0,0 +1,116 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "MGTrigger.h" + + +INDEX GetNewLoopValue(int iVKey, INDEX iCurrent, INDEX ctMembers) +{ + INDEX iPrev = (iCurrent + ctMembers - 1) % ctMembers; + INDEX iNext = (iCurrent + 1) % ctMembers; + // return and right arrow set new text + if (iVKey == VK_RETURN || iVKey == VK_LBUTTON || iVKey == VK_RIGHT) + { + return iNext; + } + // left arrow and backspace sets prev text + else if ((iVKey == VK_BACK || iVKey == VK_RBUTTON) || (iVKey == VK_LEFT)) + { + return iPrev; + } + return iCurrent; +} + +CMGTrigger::CMGTrigger(void) +{ + mg_pOnTriggerChange = NULL; + mg_iCenterI = 0; + mg_bVisual = FALSE; +} + +void CMGTrigger::ApplyCurrentSelection(void) +{ + mg_iSelected = Clamp(mg_iSelected, 0L, mg_ctTexts - 1L); + mg_strValue = mg_astrTexts[mg_iSelected]; +} + + +void CMGTrigger::OnSetNextInList(int iVKey) +{ + if (mg_pPreTriggerChange != NULL) { + mg_pPreTriggerChange(mg_iSelected); + } + + mg_iSelected = GetNewLoopValue(iVKey, mg_iSelected, mg_ctTexts); + mg_strValue = mg_astrTexts[mg_iSelected]; + + if (mg_pOnTriggerChange != NULL) { + (*mg_pOnTriggerChange)(mg_iSelected); + } +} + + +BOOL CMGTrigger::OnKeyDown(int iVKey) +{ + if ((iVKey == VK_RETURN || iVKey == VK_LBUTTON) || + (iVKey == VK_LEFT) || + (iVKey == VK_BACK || iVKey == VK_RBUTTON) || + (iVKey == VK_RIGHT)) + { + // key is handled + if (mg_bEnabled) OnSetNextInList(iVKey); + return TRUE; + } + // key is not handled + return FALSE; +} + + +void CMGTrigger::Render(CDrawPort *pdp) +{ + SetFontMedium(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + + COLOR col = GetCurrentColor(); + if (!mg_bVisual || mg_strValue == "") { + CTString strValue = mg_strValue; + if (mg_bVisual) { + strValue = TRANS("none"); + } + if (mg_iCenterI == -1) { + pdp->PutText(mg_strLabel, box.Min()(1), pixJ, col); + pdp->PutTextR(strValue, box.Max()(1), pixJ, col); + } + else { + pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); + pdp->PutText(strValue, pixIR, pixJ, col); + } + } + else { + CTString strLabel = mg_strLabel + ": "; + pdp->PutText(strLabel, box.Min()(1), pixJ, col); + CTextureObject to; + try { + to.SetData_t(mg_strValue); + CTextureData *ptd = (CTextureData *)to.GetData(); + PIX pixSize = box.Size()(2); + PIX pixCX = box.Max()(1) - pixSize / 2; + PIX pixCY = box.Center()(2); + pdp->PutTexture(&to, PIXaabbox2D( + PIX2D(pixCX - pixSize / 2, pixCY - pixSize / 2), + PIX2D(pixCX - pixSize / 2 + pixSize, pixCY - pixSize / 2 + pixSize)), C_WHITE | 255); + } + catch (char *strError) { + CPrintF("%s\n", strError); + } + to.SetData(NULL); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGTrigger.h b/Sources/SeriousSam/MGTrigger.h new file mode 100644 index 0000000..654268c --- /dev/null +++ b/Sources/SeriousSam/MGTrigger.h @@ -0,0 +1,34 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_TRIGGER_H +#define SE_INCL_MENU_GADGET_TRIGGER_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MenuGadget.h" + + +class CMGTrigger : public CMenuGadget { +public: + CTString mg_strLabel; + CTString mg_strValue; + CTString *mg_astrTexts; + INDEX mg_ctTexts; + INDEX mg_iSelected; + INDEX mg_iCenterI; + BOOL mg_bVisual; + + CMGTrigger(void); + + void ApplyCurrentSelection(void); + void OnSetNextInList(int iVKey); + void(*mg_pPreTriggerChange)(INDEX iCurrentlySelected); + void(*mg_pOnTriggerChange)(INDEX iCurrentlySelected); + + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void Render(CDrawPort *pdp); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MGVarButton.cpp b/Sources/SeriousSam/MGVarButton.cpp new file mode 100644 index 0000000..93e1032 --- /dev/null +++ b/Sources/SeriousSam/MGVarButton.cpp @@ -0,0 +1,174 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "VarList.h" +#include "MGVarButton.h" + +extern PIX _pixCursorPosI; +extern PIX _pixCursorPosJ; + + +BOOL CMGVarButton::IsSeparator(void) +{ + if (mg_pvsVar == NULL) return FALSE; + return mg_pvsVar->vs_bSeparator; +} + + +BOOL CMGVarButton::IsEnabled(void) +{ + return(_gmRunningGameMode == GM_NONE + || mg_pvsVar == NULL + || mg_pvsVar->vs_bCanChangeInGame); +} + + +// return slider position on scren +PIXaabbox2D CMGVarButton::GetSliderBox(void) +{ + extern CDrawPort *pdp; + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixISize = box.Size()(1)*0.13f; + PIX pixJSize = box.Size()(2); + return PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)); +} + +extern BOOL _bVarChanged; +BOOL CMGVarButton::OnKeyDown(int iVKey) +{ + if (mg_pvsVar == NULL || mg_pvsVar->vs_bSeparator || !mg_pvsVar->Validate() || !mg_bEnabled) { + return CMenuGadget::OnKeyDown(iVKey); + } + + // handle slider + if (mg_pvsVar->vs_iSlider && !mg_pvsVar->vs_bCustom) { + // ignore RMB + if (iVKey == VK_RBUTTON) return TRUE; + // handle LMB + if (iVKey == VK_LBUTTON) { + // get position of slider box on screen + PIXaabbox2D boxSlider = GetSliderBox(); + // if mouse is within + if (boxSlider >= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { + // set new position exactly where mouse pointer is + mg_pvsVar->vs_iValue = (FLOAT)(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1) * (mg_pvsVar->vs_ctValues); + _bVarChanged = TRUE; + } + // handled + return TRUE; + } + } + + if (iVKey == VK_RETURN) { + FlushVarSettings(TRUE); + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; + } + + if (iVKey == VK_LBUTTON || iVKey == VK_RIGHT) { + if (mg_pvsVar != NULL) { + INDEX iOldValue = mg_pvsVar->vs_iValue; + mg_pvsVar->vs_iValue++; + if (mg_pvsVar->vs_iValue >= mg_pvsVar->vs_ctValues) { + // wrap non-sliders, clamp sliders + if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; + else mg_pvsVar->vs_iValue = 0; + } + if (iOldValue != mg_pvsVar->vs_iValue) { + _bVarChanged = TRUE; + mg_pvsVar->vs_bCustom = FALSE; + mg_pvsVar->Validate(); + } + } + return TRUE; + } + + if (iVKey == VK_LEFT || iVKey == VK_RBUTTON) { + if (mg_pvsVar != NULL) { + INDEX iOldValue = mg_pvsVar->vs_iValue; + mg_pvsVar->vs_iValue--; + if (mg_pvsVar->vs_iValue<0) { + // wrap non-sliders, clamp sliders + if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = 0; + else mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; + } + if (iOldValue != mg_pvsVar->vs_iValue) { + _bVarChanged = TRUE; + mg_pvsVar->vs_bCustom = FALSE; + mg_pvsVar->Validate(); + } + } + return TRUE; + } + + // not handled + return CMenuGadget::OnKeyDown(iVKey); +} + + +void CMGVarButton::Render(CDrawPort *pdp) +{ + if (mg_pvsVar == NULL) { + return; + } + + SetFontMedium(pdp); + + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixIC = box.Center()(1); + PIX pixJ = box.Min()(2); + + if (mg_pvsVar->vs_bSeparator) + { + mg_bEnabled = FALSE; + COLOR col = LCDGetColor(C_WHITE | 255, "separator"); + CTString strText = mg_pvsVar->vs_strName; + pdp->PutTextC(strText, pixIC, pixJ, col); + } + else if (mg_pvsVar->Validate()) + { + // check whether the variable is disabled + if (mg_pvsVar->vs_strFilter != "") mg_bEnabled = _pShell->GetINDEX(mg_pvsVar->vs_strFilter); + COLOR col = GetCurrentColor(); + pdp->PutTextR(mg_pvsVar->vs_strName, pixIL, pixJ, col); + // custom is by default + CTString strText = TRANS("Custom"); + if (!mg_pvsVar->vs_bCustom) + { // not custom! + strText = mg_pvsVar->vs_astrTexts[mg_pvsVar->vs_iValue]; + // need slider? + if (mg_pvsVar->vs_iSlider>0) { + // draw box around slider + PIX pixISize = box.Size()(1)*0.13f; + PIX pixJSize = box.Size()(2); + LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)), + LCDGetColor(C_GREEN | 255, "slider box")); + // draw filled part of slider + if (mg_pvsVar->vs_iSlider == 1) { + // fill slider + FLOAT fFactor = (FLOAT)(mg_pvsVar->vs_iValue + 1) / mg_pvsVar->vs_ctValues; + pdp->Fill(pixIR + 1, pixJ + 2, (pixISize - 6)*fFactor, pixJSize - 9, col); + } + else { + // ratio slider + ASSERT(mg_pvsVar->vs_iSlider == 2); + FLOAT fUnitWidth = (FLOAT)(pixISize - 5) / mg_pvsVar->vs_ctValues; + pdp->Fill(pixIR + 1 + (mg_pvsVar->vs_iValue*fUnitWidth), pixJ + 2, fUnitWidth, pixJSize - 9, col); + } + // move text printout to the right of slider + pixIR += box.Size()(1)*0.15f; + } + } + // write right text + pdp->PutText(strText, pixIR, pixJ, col); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MGVarButton.h b/Sources/SeriousSam/MGVarButton.h new file mode 100644 index 0000000..b414bd6 --- /dev/null +++ b/Sources/SeriousSam/MGVarButton.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_VARBUTTON_H +#define SE_INCL_MENU_GADGET_VARBUTTON_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "MGButton.h" + + +class CMGVarButton : public CMGButton { +public: + class CVarSetting *mg_pvsVar; + PIXaabbox2D GetSliderBox(void); + BOOL OnKeyDown(int iVKey); + void Render(CDrawPort *pdp); + BOOL IsSeparator(void); + BOOL IsEnabled(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index f4f7a8f..77caba1 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -13,6 +13,21 @@ #include "LevelInfo.h" #include "VarList.h" +#include "MGArrow.h" +#include "MGButton.h" +#include "MGChangePlayer.h" +#include "MGEdit.h" +#include "MGFileButton.h" +#include "MGHighScore.h" +#include "MGKeyDefinition.h" +#include "MGLevelButton.h" +#include "MGModel.h" +#include "MGServerList.h" +#include "MGSlider.h" +#include "MGTitle.h" +#include "MGTrigger.h" +#include "MGVarButton.h" + // macros for translating radio button text arrays #define RADIOTRANS(str) ("ETRS" str) #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) @@ -5121,7 +5136,7 @@ void CAudioOptionsMenu::Initialize_t(void) gm_lhGadgets.AddTail( mgMPEGVolume.mg_lnNode); mgAudioOptionsApply.mg_bfsFontSize = BFS_LARGE; - mgAudioOptionsApply.mg_boxOnScreen = BoxBigRow(4); + mgAudioOptionsApply.mg_boxOnScreen = BoxBigRow(5/*4*/); mgAudioOptionsApply.mg_strText = TRANS("APPLY"); mgAudioOptionsApply.mg_strTip = TRANS("activate selected options"); gm_lhGadgets.AddTail( mgAudioOptionsApply.mg_lnNode); @@ -5461,6 +5476,17 @@ void CServersMenu::StartMenu(void) CGameMenu::StartMenu(); } +// __Evolution +BOOL CServersMenu::OnKeyDown(int iVKey) +{ + if (iVKey == VK_F5) { + RefreshServerListManually(); + return TRUE; + } + return CGameMenu::OnKeyDown(iVKey); +} +// __Evolution + // ------------------------ CNetworkMenu implementation void CNetworkMenu::Initialize_t(void) { @@ -5506,6 +5532,7 @@ void CNetworkMenu::Initialize_t(void) mgNetworkLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; } + void CNetworkMenu::StartMenu(void) { CGameMenu::StartMenu(); diff --git a/Sources/SeriousSam/Menu.h b/Sources/SeriousSam/Menu.h index 0091361..b39d62b 100644 --- a/Sources/SeriousSam/Menu.h +++ b/Sources/SeriousSam/Menu.h @@ -139,6 +139,8 @@ public: void Initialize_t(void); void StartMenu(void); void Think(void); + + BOOL OnKeyDown(int iVKey); // __Evolution }; class CPlayerProfileMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MenuGadget.cpp b/Sources/SeriousSam/MenuGadget.cpp new file mode 100644 index 0000000..fab91ba --- /dev/null +++ b/Sources/SeriousSam/MenuGadget.cpp @@ -0,0 +1,124 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include +#include "MenuPrinting.h" +#include +#include "LevelInfo.h" +#include "VarList.h" +#include "MenuGadget.h" + +extern CSoundData *_psdSelect; + +extern BOOL _bDefiningKey = FALSE; +extern BOOL _bEditingString = FALSE; +extern CMenuGadget *_pmgLastActivatedGadget = NULL; + + +CMenuGadget::CMenuGadget(void) +{ + mg_pmgLeft = NULL; + mg_pmgRight = NULL; + mg_pmgUp = NULL; + mg_pmgDown = NULL; + + mg_bVisible = TRUE; + mg_bEnabled = TRUE; + mg_bLabel = FALSE; + mg_bFocused = FALSE; + mg_iInList = -1; // not in list +} + +void CMenuGadget::OnActivate(void) +{ + NOTHING; +} + +// return TRUE if handled +BOOL CMenuGadget::OnKeyDown(int iVKey) +{ + // if return pressed + if (iVKey == VK_RETURN || iVKey == VK_LBUTTON) { + // activate + OnActivate(); + // key is handled + return TRUE; + } + // key is not handled + return FALSE; +} + + +BOOL CMenuGadget::OnChar(MSG msg) +{ + // key is not handled + return FALSE; +} + + +void CMenuGadget::OnSetFocus(void) +{ + mg_bFocused = TRUE; + if (!IsSeparator()) + { + PlayMenuSound(_psdSelect); + IFeel_PlayEffect("Menu_select"); + } +} + +void CMenuGadget::OnKillFocus(void) +{ + mg_bFocused = FALSE; +} + +void CMenuGadget::Appear(void) +{ + mg_bVisible = TRUE; +} + +void CMenuGadget::Disappear(void) +{ + mg_bVisible = FALSE; + mg_bFocused = FALSE; +} + +void CMenuGadget::Think(void) +{ +} +void CMenuGadget::OnMouseOver(PIX pixI, PIX pixJ) +{ +} + +// get current color for the gadget +COLOR CMenuGadget::GetCurrentColor(void) +{ + // use normal colors + COLOR colUnselected = LCDGetColor(C_GREEN, "unselected"); + COLOR colSelected = LCDGetColor(C_WHITE, "selected"); + // if disabled + if (!mg_bEnabled) { + // use a bit darker colors + colUnselected = LCDGetColor(C_dGREEN, "disabled unselected"); + colSelected = LCDGetColor(C_GRAY, "disabled selected"); + // if label + if (mg_bLabel) { + // use white + colUnselected = colSelected = LCDGetColor(C_WHITE, "label"); + } + } + // use unselected color + COLOR colRet = colUnselected; + // if selected + if (mg_bFocused) { + // oscilate towards selected color + FLOAT tmNow = _pTimer->GetHighPrecisionTimer().GetSeconds(); + colRet = LerpColor((colUnselected >> 1) & 0x7F7F7F7F, colSelected, sin(tmNow*10.0f)*0.5f + 0.5f); + } + + return colRet | CT_OPAQUE; +} + +void CMenuGadget::Render(CDrawPort *pdp) +{ +} diff --git a/Sources/SeriousSam/MenuGadget.h b/Sources/SeriousSam/MenuGadget.h new file mode 100644 index 0000000..66974dd --- /dev/null +++ b/Sources/SeriousSam/MenuGadget.h @@ -0,0 +1,55 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_GADGET_H +#define SE_INCL_MENU_GADGET_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +#define DOING_NOTHING 0 +#define PRESS_KEY_WAITING 1 +#define RELEASE_RETURN_WAITING 2 + +#define EMPTYSLOTSTRING TRANS("") + +class CMenuGadget { +public: + CListNode mg_lnNode; + FLOATaabbox2D mg_boxOnScreen; + BOOL mg_bVisible; + BOOL mg_bEnabled; + BOOL mg_bLabel; + BOOL mg_bFocused; + INDEX mg_iInList; // for scrollable gadget lists + + CTString mg_strTip; + CMenuGadget *mg_pmgLeft; + CMenuGadget *mg_pmgRight; + CMenuGadget *mg_pmgUp; + CMenuGadget *mg_pmgDown; + + CMenuGadget(void); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + virtual BOOL OnChar(MSG msg); + virtual void OnActivate(void); + virtual void OnSetFocus(void); + virtual void OnKillFocus(void); + virtual void Appear(void); + virtual void Disappear(void); + virtual void Think(void); + virtual void OnMouseOver(PIX pixI, PIX pixJ); + + virtual COLOR GetCurrentColor(void); + virtual void Render(CDrawPort *pdp); + virtual BOOL IsSeparator(void) { return FALSE; }; +}; + +enum ButtonFontSize { + BFS_SMALL = 0, + BFS_MEDIUM = 1, + BFS_LARGE = 2, +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MenuGadgets.cpp b/Sources/SeriousSam/MenuGadgets.cpp deleted file mode 100644 index 45aef34..0000000 --- a/Sources/SeriousSam/MenuGadgets.cpp +++ /dev/null @@ -1,1914 +0,0 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ - -#include "StdH.h" -#include -#include -#include "MenuPrinting.h" -#include -#include "LevelInfo.h" -#include "VarList.h" - -extern CFontData _fdBig; -extern CFontData _fdMedium; -extern CFontData _fdSmall; -extern CSoundData *_psdSelect; - -CMenuGadget *_pmgLastActivatedGadget = NULL; - -extern CSoundData *_psdPress; -extern PIX _pixCursorPosI; -extern PIX _pixCursorPosJ; -extern BOOL _bDefiningKey = FALSE; -extern BOOL _bEditingString = FALSE; -extern INDEX sam_bWideScreen; - - -CMenuGadget::CMenuGadget( void) -{ - mg_pmgLeft = NULL; - mg_pmgRight = NULL; - mg_pmgUp = NULL; - mg_pmgDown = NULL; - - mg_bVisible = TRUE; - mg_bEnabled = TRUE; - mg_bLabel = FALSE; - mg_bFocused = FALSE; - mg_iInList = -1; // not in list -} - -void CMenuGadget::OnActivate( void) -{ - NOTHING; -} - -// return TRUE if handled -BOOL CMenuGadget::OnKeyDown( int iVKey) -{ - // if return pressed - if( iVKey==VK_RETURN || iVKey==VK_LBUTTON) { - // activate - OnActivate(); - // key is handled - return TRUE; - } - // key is not handled - return FALSE; -} - - -BOOL CMenuGadget::OnChar(MSG msg) -{ - // key is not handled - return FALSE; -} - - -void CMenuGadget::OnSetFocus( void) -{ - mg_bFocused = TRUE; - if( !IsSeparator()) - { - PlayMenuSound(_psdSelect); - IFeel_PlayEffect("Menu_select"); - } -} - -void CMenuGadget::OnKillFocus( void) -{ - mg_bFocused = FALSE; -} - -void CMenuGadget::Appear( void) -{ - mg_bVisible = TRUE; -} - -void CMenuGadget::Disappear( void) -{ - mg_bVisible = FALSE; - mg_bFocused = FALSE; -} - -void CMenuGadget::Think( void) -{ -} -void CMenuGadget::OnMouseOver(PIX pixI, PIX pixJ) -{ -} - -// get current color for the gadget -COLOR CMenuGadget::GetCurrentColor(void) -{ - // use normal colors - COLOR colUnselected = LCDGetColor(C_GREEN, "unselected"); - COLOR colSelected = LCDGetColor(C_WHITE, "selected"); - // if disabled - if (!mg_bEnabled) { - // use a bit darker colors - colUnselected = LCDGetColor(C_dGREEN, "disabled unselected"); - colSelected = LCDGetColor(C_GRAY, "disabled selected"); - // if label - if (mg_bLabel) { - // use white - colUnselected = colSelected = LCDGetColor(C_WHITE, "label"); - } - } - // use unselected color - COLOR colRet = colUnselected; - // if selected - if( mg_bFocused) { - // oscilate towards selected color - FLOAT tmNow = _pTimer->GetHighPrecisionTimer().GetSeconds(); - colRet = LerpColor( (colUnselected>>1)&0x7F7F7F7F, colSelected, sin(tmNow*10.0f)*0.5f+0.5f); - } - - return colRet|CT_OPAQUE; -} - -void CMenuGadget::Render( CDrawPort *pdp) -{ -} - -void CMGTitle::Render( CDrawPort *pdp) -{ - SetFontTitle(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixI = box.Center()(1); - PIX pixJ = box.Min()(2); - - pdp->PutTextC( mg_strText, pixI, pixJ, LCDGetColor(C_WHITE|CT_OPAQUE, "title")); -} - -CMGButton::CMGButton( void) -{ - mg_pActivatedFunction = NULL; - mg_iIndex = 0; - mg_iCenterI = 0; - mg_iTextMode = 1; - mg_bfsFontSize = BFS_MEDIUM; - mg_iCursorPos = -1; - mg_bRectangle = FALSE; - mg_bMental = FALSE; -} - - -void CMGButton::SetText( CTString strNew) -{ - mg_strText = strNew; -} - - -void CMGButton::OnActivate( void) -{ - if( mg_pActivatedFunction!=NULL && mg_bEnabled) - { - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - _pmgLastActivatedGadget = this; - (*mg_pActivatedFunction)(); - } -} - - -BOOL CMGVarButton::IsSeparator(void) -{ - if( mg_pvsVar==NULL) return FALSE; - return mg_pvsVar->vs_bSeparator; -} - - -BOOL CMGVarButton::IsEnabled(void) -{ - return( _gmRunningGameMode==GM_NONE - || mg_pvsVar==NULL - || mg_pvsVar->vs_bCanChangeInGame); -} - - -void CMGButton::Render( CDrawPort *pdp) -{ - if (mg_bfsFontSize==BFS_LARGE) { - SetFontBig(pdp); - } else if (mg_bfsFontSize==BFS_MEDIUM) { - SetFontMedium(pdp); - } else { - ASSERT(mg_bfsFontSize==BFS_SMALL); - SetFontSmall(pdp); - } - pdp->SetTextMode(mg_iTextMode); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - COLOR col = GetCurrentColor(); - if(mg_bEditing) { - col = LCDGetColor(C_GREEN|0xFF, "editing"); - } - - COLOR colRectangle = col; - if( mg_bHighlighted) { - col = LCDGetColor(C_WHITE|0xFF, "hilited"); - if( !mg_bFocused) { - colRectangle = LCDGetColor(C_WHITE|0xFF, "hilited rectangle"); - } - } - if (mg_bMental) { - FLOAT tmIn = 0.2f; - FLOAT tmOut = 1.0f; - FLOAT tmFade = 0.1f; - FLOAT tmExist = tmFade+tmIn+tmFade; - FLOAT tmTotal = tmFade+tmIn+tmFade+tmOut; - - FLOAT tmTime = _pTimer->GetHighPrecisionTimer().GetSeconds(); - FLOAT fFactor = 1; - if (tmTime>0.1f) { - tmTime = fmod(tmTime, tmTotal); - fFactor = CalculateRatio(tmTime, 0, tmExist, tmFade/tmExist, tmFade/tmExist); - } - col = (col&~0xFF)|INDEX(0xFF*fFactor); - } - - if( mg_bRectangle) { - // put border - const PIX pixLeft = box.Min()(1); - const PIX pixUp = box.Min()(2)-3; - const PIX pixWidth = box.Size()(1)+1; - const PIX pixHeight = box.Size()(2); - pdp->DrawBorder( pixLeft, pixUp, pixWidth, pixHeight, colRectangle); - } - - if( mg_bEditing) { - // put border - PIX pixLeft = box.Min()(1); - PIX pixUp = box.Min()(2)-3; - PIX pixWidth = box.Size()(1)+1; - PIX pixHeight = box.Size()(2); - if (mg_strLabel!="") { - pixLeft = box.Min()(1)+box.Size()(1)*0.55f; - pixWidth = box.Size()(1)*0.45f+1; - } - pdp->Fill( pixLeft, pixUp, pixWidth, pixHeight, LCDGetColor(C_dGREEN|0x40, "edit fill")); - } - - - INDEX iCursor = mg_iCursorPos; - - // print text - if (mg_strLabel!="") { - PIX pixIL = box.Min()(1)+box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - - pdp->PutTextR( mg_strLabel, pixIL, pixJ, col); - pdp->PutText( mg_strText, pixIR, pixJ, col); - } else { - CTString str = mg_strText; - if (pdp->dp_FontData->fd_bFixedWidth) { - str = str.Undecorated(); - INDEX iLen = str.Length(); - INDEX iMaxLen = ClampDn(box.Size()(1)/(pdp->dp_pixTextCharSpacing+pdp->dp_FontData->fd_pixCharWidth), 1L); - if (iCursor>=iMaxLen) { - str.TrimRight(iCursor); - str.TrimLeft(iMaxLen); - iCursor = iMaxLen; - } else { - str.TrimRight(iMaxLen); - } - } - if( mg_iCenterI==-1) pdp->PutText( str, box.Min()(1), box.Min()(2), col); - else if( mg_iCenterI==+1) pdp->PutTextR( str, box.Max()(1), box.Min()(2), col); - else pdp->PutTextC( str, box.Center()(1), box.Min()(2), col); - } - - // put cursor if editing - if( mg_bEditing && (((ULONG)(_pTimer->GetRealTimeTick()*2))&1)) { - PIX pixX = box.Min()(1) + GetCharOffset( pdp, iCursor); - if (mg_strLabel!="") { - pixX += box.Size()(1)*0.55f; - } - PIX pixY = box.Min()(2); - if (!pdp->dp_FontData->fd_bFixedWidth) { - pixY -= pdp->dp_fTextScaling *2; - } - pdp->PutText( "|", pixX, pixY, LCDGetColor(C_WHITE|0xFF, "editing cursor")); - } -} - - -PIX CMGButton::GetCharOffset( CDrawPort *pdp, INDEX iCharNo) -{ - if (pdp->dp_FontData->fd_bFixedWidth) { - return (pdp->dp_FontData->fd_pixCharWidth+pdp->dp_pixTextCharSpacing)*(iCharNo-0.5f); - } - CTString strCut(mg_strText); - strCut.TrimLeft( strlen(mg_strText)-iCharNo); - PIX pixFullWidth = pdp->GetTextWidth(mg_strText); - PIX pixCutWidth = pdp->GetTextWidth(strCut); - // !!!! not implemented for different centering - return pixFullWidth-pixCutWidth; -} - -CMGModel::CMGModel(void) -{ - mg_fFloorY = 0; -} - -void CMGModel::Render( CDrawPort *pdp) -{ - // if no model - if (mg_moModel.GetData()==NULL) { - // just render text - mg_strText = TRANS("No model"); - CMGButton::Render(pdp); - return; - } - - // get position on screen - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - CDrawPort dpModel(pdp, box); - dpModel.Lock(); - dpModel.FillZBuffer(1.0f); - - LCDSetDrawport(&dpModel); - // clear menu here - dpModel.Fill(C_BLACK|255); - LCDRenderClouds1(); - LCDRenderClouds2(); - - // prepare projection - CRenderModel rmRenderModel; - CPerspectiveProjection3D pr; - pr.FOVL() = sam_bWideScreen ? AngleDeg(45.0f) : AngleDeg(30.0f); - pr.ScreenBBoxL() = FLOATaabbox2D( - FLOAT2D(0.0f, 0.0f), - FLOAT2D((float)dpModel.GetWidth(), (float)dpModel.GetHeight()) - ); - pr.AspectRatioL() = 1.0f; - pr.FrontClipDistanceL() = 0.3f; - pr.ViewerPlacementL() = CPlacement3D(FLOAT3D(0,0,0), ANGLE3D(0,0,0)); - - // initialize remdering - CAnyProjection3D apr; - apr = pr; - BeginModelRenderingView(apr, &dpModel); - rmRenderModel.rm_vLightDirection = FLOAT3D( 0.2f, -0.2f, -0.2f); - - // if model needs floor - if (mg_moFloor.GetData()!=NULL) { - // set floor's position - CPlacement3D pl = mg_plModel; - pl.pl_OrientationAngle = ANGLE3D(0,0,0); - pl.pl_PositionVector = mg_plModel.pl_PositionVector; - pl.pl_PositionVector(2) += mg_fFloorY; - rmRenderModel.SetObjectPlacement(pl); - - // render the floor - rmRenderModel.rm_colLight = C_WHITE; - rmRenderModel.rm_colAmbient = C_WHITE; - mg_moFloor.SetupModelRendering( rmRenderModel); - mg_moFloor.RenderModel( rmRenderModel); - } - - // set model's position - CPlacement3D pl; - pl.pl_OrientationAngle = mg_plModel.pl_OrientationAngle; - pl.pl_PositionVector = mg_plModel.pl_PositionVector; - extern FLOAT sam_fPlayerOffset; - pl.pl_PositionVector(3) += sam_fPlayerOffset; - rmRenderModel.SetObjectPlacement(pl); - - // render the model - rmRenderModel.rm_colLight = LerpColor(C_BLACK, C_WHITE, 0.4f)|CT_OPAQUE; - rmRenderModel.rm_colAmbient = LerpColor(C_BLACK, C_WHITE, 0.2f)|CT_OPAQUE; - mg_moModel.SetupModelRendering( rmRenderModel); - FLOATplane3D plFloorPlane = FLOATplane3D( FLOAT3D( 0.0f, 1.0f, 0.0f), - mg_plModel.pl_PositionVector(2)+mg_fFloorY); - FLOAT3D vShadowLightDir = FLOAT3D( -0.2f, -0.4f, -0.6f); - CPlacement3D plLightPlacement = CPlacement3D( - mg_plModel.pl_PositionVector+ - vShadowLightDir*mg_plModel.pl_PositionVector(3)*5, - ANGLE3D(0,0,0)); - mg_moModel.RenderShadow( rmRenderModel, plLightPlacement, 200.0f, 200.0f, 1.0f, plFloorPlane); - mg_moModel.RenderModel( rmRenderModel); - EndModelRenderingView(); - - LCDScreenBox(LCDGetColor(C_GREEN, "model box")|GetCurrentColor()); - - dpModel.Unlock(); - - pdp->Unlock(); - pdp->Lock(); - LCDSetDrawport(pdp); - - // print the model name - { - PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxPlayerModelName()); - COLOR col = GetCurrentColor(); - - PIX pixI = box.Min()(1); - PIX pixJ = box.Max()(2); - pdp->PutText( mg_strText, pixI, pixJ, col); - } -} - - -// ------- Edit gadget implementation -CMGEdit::CMGEdit(void) -{ - mg_pstrToChange = NULL; - mg_ctMaxStringLen = 70; - Clear(); -} - - -void CMGEdit::Clear(void) -{ - mg_iCursorPos = 0; - mg_bEditing = FALSE; - _bEditingString = FALSE; -} - - -void CMGEdit::OnActivate(void) -{ - if (!mg_bEnabled) { - return; - } - ASSERT( mg_pstrToChange != NULL); - PlayMenuSound( _psdPress); - IFeel_PlayEffect("Menu_press"); - SetText( mg_strText); - mg_iCursorPos = strlen(mg_strText); - mg_bEditing = TRUE; - _bEditingString = TRUE; -} - - -// focus lost -void CMGEdit::OnKillFocus(void) -{ - // go out of editing mode - if( mg_bEditing) { - OnKeyDown(VK_RETURN); - Clear(); - } - // proceed - CMenuGadget::OnKillFocus(); -} - - -// helper function for deleting char(s) from string -static void Key_BackDel( CTString &str, INDEX &iPos, BOOL bShift, BOOL bRight) -{ - // do nothing if string is empty - INDEX ctChars = strlen(str); - if( ctChars==0) return; - if( bRight && iPos0) { // BACKSPACE key - if( bShift) { - // delete to start of line - str.TrimLeft(ctChars-iPos); - iPos=0; - } else { - // delete only one char - str.DeleteChar(iPos-1); - iPos--; - } - } -} - -// key/mouse button pressed -BOOL CMGEdit::OnKeyDown( int iVKey) -{ - // if not in edit mode - if( !mg_bEditing) { - // behave like normal gadget - return CMenuGadget::OnKeyDown(iVKey); - } - - // finish editing? - BOOL bShift = GetKeyState(VK_SHIFT) & 0x8000; - switch( iVKey) { - case VK_UP: case VK_DOWN: - case VK_RETURN: case VK_LBUTTON: *mg_pstrToChange = mg_strText; Clear(); OnStringChanged(); break; - case VK_ESCAPE: case VK_RBUTTON: mg_strText = *mg_pstrToChange; Clear(); OnStringCanceled(); break; - case VK_LEFT: if( mg_iCursorPos > 0) mg_iCursorPos--; break; - case VK_RIGHT: if( mg_iCursorPos < strlen(mg_strText)) mg_iCursorPos++; break; - case VK_HOME: mg_iCursorPos = 0; break; - case VK_END: mg_iCursorPos = strlen(mg_strText); break; - case VK_BACK: Key_BackDel( mg_strText, mg_iCursorPos, bShift, FALSE); break; - case VK_DELETE: Key_BackDel( mg_strText, mg_iCursorPos, bShift, TRUE); break; - default: break; // ignore all other special keys - } - - // key is handled - return TRUE; -} - - -// char typed -BOOL CMGEdit::OnChar( MSG msg) -{ - // if not in edit mode - if( !mg_bEditing) { - // behave like normal gadget - return CMenuGadget::OnChar(msg); - } - // only chars are allowed - const INDEX ctFullLen = mg_strText.Length(); - const INDEX ctNakedLen = mg_strText.LengthNaked(); - mg_iCursorPos = Clamp( mg_iCursorPos, 0L, ctFullLen); - int iVKey = msg.wParam; - if( isprint(iVKey) && ctNakedLen<=mg_ctMaxStringLen) { - mg_strText.InsertChar( mg_iCursorPos, (char)iVKey); - mg_iCursorPos++; - } - // key is handled - return TRUE; -} - - -void CMGEdit::Render( CDrawPort *pdp) -{ - if( mg_bEditing) { - mg_iTextMode = -1; - } else if( mg_bFocused) { - mg_iTextMode = 0; - } else { - mg_iTextMode = 1; - } - if (mg_strText=="" && !mg_bEditing) { - if (mg_bfsFontSize==BFS_SMALL) { - mg_strText="*"; - } else { - mg_strText=TRANS(""); - } - CMGButton::Render(pdp); - mg_strText=""; - } else { - CMGButton::Render(pdp); - } -} -void CMGEdit::OnStringChanged(void) -{ -} -void CMGEdit::OnStringCanceled(void) -{ -} - - -void CMGArrow::Render( CDrawPort *pdp) -{ - SetFontMedium(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - COLOR col = GetCurrentColor(); - - CTString str; - if (mg_adDirection==AD_NONE) { - str = "???"; - } else if (mg_adDirection==AD_UP) { - str = TRANS("Page Up"); - } else if (mg_adDirection==AD_DOWN) { - str = TRANS("Page Down"); - } else { - ASSERT(FALSE); - } - PIX pixI = box.Min()(1); - PIX pixJ = box.Min()(2); - pdp->PutText( str, pixI, pixJ, col); -} - -void CMGArrow::OnActivate(void) -{ - if (mg_adDirection==AD_UP) { - pgmCurrentMenu->ScrollList(-3); - } else if (mg_adDirection==AD_DOWN) { - pgmCurrentMenu->ScrollList(+3); - } -} - -#define HSCOLUMNS 6 -CTString strHighScores[HIGHSCORE_COUNT+1][HSCOLUMNS]; -FLOAT afI[HSCOLUMNS] = { - 0.12f, 0.15f, 0.6f, 0.7f, 0.78f, 0.9f -}; - -void CMGHighScore::Render( CDrawPort *pdp) -{ - SetFontMedium(pdp); - - COLOR colHeader = LCDGetColor(C_GREEN|255, "hiscore header"); - COLOR colData = LCDGetColor(C_mdGREEN|255, "hiscore data"); - COLOR colLastSet = LCDGetColor(C_mlGREEN|255, "hiscore last set"); - INDEX iLastSet = _pGame->gm_iLastSetHighScore; - - CTString strText; - - strHighScores[0][0] = TRANS("No."); - strHighScores[0][1] = TRANS("Player Name"); - strHighScores[0][2] = TRANS("Difficulty"); - strHighScores[0][3] = TRANS("Time"); - strHighScores[0][4] = TRANS("Kills"); - strHighScores[0][5] = TRANS("Score"); - - {for (INDEX i=0; igm_ahseHighScores[i].hse_gdDifficulty) { - default: - ASSERT(FALSE); - case (CSessionProperties::GameDifficulty)-100: - strHighScores[i+1][1] = "---"; - continue; - break; - case CSessionProperties::GD_TOURIST: - strHighScores[i+1][2] = TRANS("Tourist"); - break; - case CSessionProperties::GD_EASY: - strHighScores[i+1][2] = TRANS("Easy"); - break; - case CSessionProperties::GD_NORMAL: - strHighScores[i+1][2] = TRANS("Normal"); - break; - case CSessionProperties::GD_HARD: - strHighScores[i+1][2] = TRANS("Hard"); - break; - case CSessionProperties::GD_EXTREME: - strHighScores[i+1][2] = TRANS("Serious"); - break; - case CSessionProperties::GD_EXTREME+1: - strHighScores[i+1][2] = TRANS("Mental"); - break; - } - strHighScores[i+1][0].PrintF("%d", i+1); - strHighScores[i+1][1] = _pGame->gm_ahseHighScores[i].hse_strPlayer; - strHighScores[i+1][3] = TimeToString(_pGame->gm_ahseHighScores[i].hse_tmTime); - strHighScores[i+1][4].PrintF("%03d", _pGame->gm_ahseHighScores[i].hse_ctKills); - strHighScores[i+1][5].PrintF("%9d", _pGame->gm_ahseHighScores[i].hse_ctScore); - }} - - PIX pixJ = pdp->GetHeight()*0.25f; - {for (INDEX iRow=0; iRowGetWidth()*afI[iColumn]; - if (iColumn==1) { - pdp->PutText(strHighScores[iRow][iColumn], pixI, pixJ, col); - } else { - pdp->PutTextR(strHighScores[iRow][iColumn], pixI, pixJ, col); - } - }} - if (iRow==0) { - pixJ+=pdp->GetHeight()*0.06f; - } else { - pixJ+=pdp->GetHeight()*0.04f; - } - }} -} - -// ------- Trigger button implementation -INDEX GetNewLoopValue( int iVKey, INDEX iCurrent, INDEX ctMembers) -{ - INDEX iPrev = (iCurrent+ctMembers-1)%ctMembers; - INDEX iNext = (iCurrent+1)%ctMembers; - // return and right arrow set new text - if( iVKey == VK_RETURN || iVKey==VK_LBUTTON || iVKey==VK_RIGHT ) - { - return iNext; - } - // left arrow and backspace sets prev text - else if( (iVKey == VK_BACK || iVKey==VK_RBUTTON) || (iVKey == VK_LEFT) ) - { - return iPrev; - } - return iCurrent; -} - -CMGTrigger::CMGTrigger( void) -{ - mg_pOnTriggerChange = NULL; - mg_iCenterI = 0; - mg_bVisual = FALSE; -} - -void CMGTrigger::ApplyCurrentSelection(void) -{ - mg_iSelected = Clamp(mg_iSelected, 0L, mg_ctTexts-1L); - mg_strValue = mg_astrTexts[ mg_iSelected]; -} - - -void CMGTrigger::OnSetNextInList(int iVKey) -{ - if( mg_pPreTriggerChange != NULL) { - mg_pPreTriggerChange(mg_iSelected); - } - - mg_iSelected = GetNewLoopValue( iVKey, mg_iSelected, mg_ctTexts); - mg_strValue = mg_astrTexts[ mg_iSelected]; - - if( mg_pOnTriggerChange != NULL) { - (*mg_pOnTriggerChange)(mg_iSelected); - } -} - - -BOOL CMGTrigger::OnKeyDown( int iVKey) -{ - if( (iVKey == VK_RETURN || iVKey==VK_LBUTTON) || - (iVKey == VK_LEFT) || - (iVKey == VK_BACK || iVKey==VK_RBUTTON) || - (iVKey == VK_RIGHT) ) - { - // key is handled - if( mg_bEnabled) OnSetNextInList(iVKey); - return TRUE; - } - // key is not handled - return FALSE; -} - - -void CMGTrigger::Render( CDrawPort *pdp) -{ - SetFontMedium(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1)+box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - - COLOR col = GetCurrentColor(); - if (!mg_bVisual || mg_strValue=="") { - CTString strValue = mg_strValue; - if (mg_bVisual) { - strValue = TRANS("none"); - } - if (mg_iCenterI==-1) { - pdp->PutText( mg_strLabel, box.Min()(1), pixJ, col); - pdp->PutTextR( strValue, box.Max()(1), pixJ, col); - } else { - pdp->PutTextR( mg_strLabel, pixIL, pixJ, col); - pdp->PutText( strValue, pixIR, pixJ, col); - } - } else { - CTString strLabel = mg_strLabel+": "; - pdp->PutText(strLabel, box.Min()(1), pixJ, col); - CTextureObject to; - try { - to.SetData_t(mg_strValue); - CTextureData *ptd = (CTextureData *)to.GetData(); - PIX pixSize = box.Size()(2); - PIX pixCX = box.Max()(1)-pixSize/2; - PIX pixCY = box.Center()(2); - pdp->PutTexture( &to, PIXaabbox2D( - PIX2D(pixCX-pixSize/2, pixCY-pixSize/2), - PIX2D(pixCX-pixSize/2+pixSize, pixCY-pixSize/2+pixSize)), C_WHITE|255); - } catch (char *strError) { - CPrintF("%s\n", strError); - } - to.SetData(NULL); - } -} - -CMGSlider::CMGSlider() -{ - mg_iMinPos = 0; - mg_iMaxPos = 16; - mg_iCurPos = 8; - mg_pOnSliderChange = NULL; - mg_fFactor = 1.0f; -} - -void CMGSlider::ApplyCurrentPosition( void) -{ - mg_iCurPos = Clamp(mg_iCurPos, mg_iMinPos, mg_iMaxPos); - FLOAT fStretch = FLOAT(mg_iCurPos)/(mg_iMaxPos-mg_iMinPos); - mg_fFactor = fStretch; - - if (mg_pOnSliderChange!=NULL) { - mg_pOnSliderChange(mg_iCurPos); - } -} - -void CMGSlider::ApplyGivenPosition( INDEX iMin, INDEX iMax, INDEX iCur) -{ - mg_iMinPos = iMin; - mg_iMaxPos = iMax; - mg_iCurPos = iCur; - ApplyCurrentPosition(); -} - - -BOOL CMGSlider::OnKeyDown( int iVKey) -{ - // if scrolling left - if( (iVKey==VK_BACK || iVKey==VK_LEFT) && mg_iCurPos>mg_iMinPos) { - mg_iCurPos --; - ApplyCurrentPosition(); - return TRUE; - // if scrolling right - } else if( (iVKey==VK_RETURN || iVKey==VK_RIGHT) && mg_iCurPos=PIX2D(_pixCursorPosI, _pixCursorPosJ)) { - // set new position exactly where mouse pointer is - FLOAT fRatio = FLOAT(_pixCursorPosI-boxSlider.Min()(1))/boxSlider.Size()(1); - fRatio = (fRatio-0.01f)/(0.99f-0.01f); - fRatio = Clamp(fRatio, 0.0f, 1.0f); - mg_iCurPos = fRatio*(mg_iMaxPos-mg_iMinPos) + mg_iMinPos; - ApplyCurrentPosition(); - return TRUE; - } - } - return CMenuGadget::OnKeyDown( iVKey); -} - - -PIXaabbox2D CMGSlider::GetSliderBox(void) -{ - extern CDrawPort *pdp; - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixJSize = box.Size()(2)*0.95f; - PIX pixISizeR = box.Size()(1)*0.45f; - if( sam_bWideScreen) pixJSize++; - return PIXaabbox2D( PIX2D(pixIR+1, pixJ+1), PIX2D(pixIR+pixISizeR-2, pixJ+pixJSize-2)); -} - - -void CMGSlider::Render( CDrawPort *pdp) -{ - SetFontMedium(pdp); - - // get geometry - COLOR col = GetCurrentColor(); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1)+box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixJSize = box.Size()(2)*0.95f; - PIX pixISizeR = box.Size()(1)*0.45f; - if( sam_bWideScreen) pixJSize++; - - // print text left of slider - pdp->PutTextR( mg_strText, pixIL, pixJ, col); - - // draw box around slider - LCDDrawBox(0, -1, PIXaabbox2D( PIX2D(pixIR+1, pixJ), PIX2D(pixIR+pixISizeR-2, pixJ+pixJSize-2)), - LCDGetColor(C_GREEN|255, "slider box")); - - // draw filled part of slider - pdp->Fill( pixIR+2, pixJ+1, (pixISizeR-5)*mg_fFactor, (pixJSize-4), col); - - // print percentage text - CTString strPercentage; - strPercentage.PrintF("%d%%", (int)floor(mg_fFactor*100+0.5f) ); - pdp->PutTextC( strPercentage, pixIR+pixISizeR/2, pixJ+1, col); -} - - -void CMGLevelButton::OnActivate(void) -{ - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - _pGame->gam_strCustomLevel = mg_fnmLevel; - extern void (*_pAfterLevelChosen)(void); - _pAfterLevelChosen(); -} - - -void CMGLevelButton::OnSetFocus(void) -{ - SetThumbnail(mg_fnmLevel); - CMGButton::OnSetFocus(); -} - - - -// return slider position on scren -PIXaabbox2D CMGVarButton::GetSliderBox(void) -{ - extern CDrawPort *pdp; - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixISize = box.Size()(1)*0.13f; - PIX pixJSize = box.Size()(2); - return PIXaabbox2D( PIX2D(pixIR, pixJ+1), PIX2D(pixIR+pixISize-4, pixJ+pixJSize-6)); -} - -extern BOOL _bVarChanged; -BOOL CMGVarButton::OnKeyDown(int iVKey) -{ - if (mg_pvsVar==NULL || mg_pvsVar->vs_bSeparator || !mg_pvsVar->Validate() || !mg_bEnabled) { - return CMenuGadget::OnKeyDown(iVKey); - } - - // handle slider - if( mg_pvsVar->vs_iSlider && !mg_pvsVar->vs_bCustom) { - // ignore RMB - if( iVKey==VK_RBUTTON) return TRUE; - // handle LMB - if( iVKey==VK_LBUTTON) { - // get position of slider box on screen - PIXaabbox2D boxSlider = GetSliderBox(); - // if mouse is within - if( boxSlider>=PIX2D(_pixCursorPosI, _pixCursorPosJ)) { - // set new position exactly where mouse pointer is - mg_pvsVar->vs_iValue = (FLOAT)(_pixCursorPosI-boxSlider.Min()(1))/boxSlider.Size()(1) * (mg_pvsVar->vs_ctValues); - _bVarChanged = TRUE; - } - // handled - return TRUE; - } - } - - if( iVKey==VK_RETURN) { - FlushVarSettings(TRUE); - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; - } - - if( iVKey==VK_LBUTTON || iVKey==VK_RIGHT) { - if (mg_pvsVar!=NULL) { - INDEX iOldValue = mg_pvsVar->vs_iValue; - mg_pvsVar->vs_iValue++; - if( mg_pvsVar->vs_iValue>=mg_pvsVar->vs_ctValues) { - // wrap non-sliders, clamp sliders - if( mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues-1L; - else mg_pvsVar->vs_iValue = 0; - } - if( iOldValue != mg_pvsVar->vs_iValue) { - _bVarChanged = TRUE; - mg_pvsVar->vs_bCustom = FALSE; - mg_pvsVar->Validate(); - } - } - return TRUE; - } - - if( iVKey==VK_LEFT || iVKey==VK_RBUTTON) { - if (mg_pvsVar!=NULL) { - INDEX iOldValue = mg_pvsVar->vs_iValue; - mg_pvsVar->vs_iValue--; - if( mg_pvsVar->vs_iValue<0) { - // wrap non-sliders, clamp sliders - if( mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = 0; - else mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues-1L; - } - if( iOldValue != mg_pvsVar->vs_iValue) { - _bVarChanged = TRUE; - mg_pvsVar->vs_bCustom = FALSE; - mg_pvsVar->Validate(); - } - } - return TRUE; - } - - // not handled - return CMenuGadget::OnKeyDown(iVKey); -} - - -void CMGVarButton::Render( CDrawPort *pdp) -{ - if (mg_pvsVar==NULL) { - return; - } - - SetFontMedium(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1)+box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixIC = box.Center()(1); - PIX pixJ = box.Min()(2); - - if (mg_pvsVar->vs_bSeparator) - { - mg_bEnabled = FALSE; - COLOR col = LCDGetColor(C_WHITE|255, "separator"); - CTString strText = mg_pvsVar->vs_strName; - pdp->PutTextC(strText, pixIC, pixJ, col); - } - else if (mg_pvsVar->Validate()) - { - // check whether the variable is disabled - if( mg_pvsVar->vs_strFilter!="") mg_bEnabled = _pShell->GetINDEX(mg_pvsVar->vs_strFilter); - COLOR col = GetCurrentColor(); - pdp->PutTextR( mg_pvsVar->vs_strName, pixIL, pixJ, col); - // custom is by default - CTString strText = TRANS("Custom"); - if( !mg_pvsVar->vs_bCustom) - { // not custom! - strText = mg_pvsVar->vs_astrTexts[mg_pvsVar->vs_iValue]; - // need slider? - if( mg_pvsVar->vs_iSlider>0) { - // draw box around slider - PIX pixISize = box.Size()(1)*0.13f; - PIX pixJSize = box.Size()(2); - LCDDrawBox( 0,-1, PIXaabbox2D( PIX2D(pixIR, pixJ+1), PIX2D(pixIR+pixISize-4, pixJ+pixJSize-6)), - LCDGetColor(C_GREEN|255, "slider box")); - // draw filled part of slider - if( mg_pvsVar->vs_iSlider==1) { - // fill slider - FLOAT fFactor = (FLOAT)(mg_pvsVar->vs_iValue+1) / mg_pvsVar->vs_ctValues; - pdp->Fill( pixIR+1, pixJ+2, (pixISize-6)*fFactor, pixJSize-9, col); - } else { - // ratio slider - ASSERT( mg_pvsVar->vs_iSlider==2); - FLOAT fUnitWidth = (FLOAT)(pixISize-5) / mg_pvsVar->vs_ctValues; - pdp->Fill( pixIR+1+(mg_pvsVar->vs_iValue*fUnitWidth), pixJ+2, fUnitWidth, pixJSize-9, col); - } - // move text printout to the right of slider - pixIR += box.Size()(1)*0.15f; - } - } - // write right text - pdp->PutText(strText, pixIR, pixJ, col); - } -} - - -CMGFileButton::CMGFileButton(void) -{ - mg_iState = FBS_NORMAL; -} - -// refresh current text from description -void CMGFileButton::RefreshText(void) -{ - mg_strText = mg_strDes; - mg_strText.OnlyFirstLine(); - mg_strInfo = mg_strDes; - mg_strInfo.RemovePrefix(mg_strText); - mg_strInfo.DeleteChar(0); -} - -void CMGFileButton::SaveDescription(void) -{ - CTFileName fnFileNameDescription = mg_fnm.NoExt()+".des"; - try { - mg_strDes.Save_t(fnFileNameDescription); - } catch( char *strError) { - CPrintF("%s\n", strError); - } -} - -CMGFileButton *_pmgFileToSave = NULL; -void OnFileSaveOK(void) -{ - if (_pmgFileToSave!=NULL) { - _pmgFileToSave->SaveYes(); - } -} - -void CMGFileButton::DoSave(void) -{ - if (FileExistsForWriting(mg_fnm)) { - _pmgFileToSave = this; - extern void SaveConfirm(void); - SaveConfirm(); - } else { - SaveYes(); - } -} - -void CMGFileButton::SaveYes(void) -{ - ASSERT(gmLoadSaveMenu.gm_bSave); - // call saving function - BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); - // if saved - if (bSucceeded) { - // save the description too - SaveDescription(); - } -} - -void CMGFileButton::DoLoad(void) -{ - ASSERT(!gmLoadSaveMenu.gm_bSave); - // if no file - if(!FileExists(mg_fnm)) { - // do nothing - return; - } - if (gmLoadSaveMenu.gm_pgmNextMenu!=NULL) { - gmLoadSaveMenu.gm_pgmParentMenu = gmLoadSaveMenu.gm_pgmNextMenu; - } - // call loading function - BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); - ASSERT(bSucceeded); -} - -static CTString _strTmpDescription; -static CTString _strOrgDescription; - -void CMGFileButton::StartEdit(void) -{ - CMGEdit::OnActivate(); -} - -void CMGFileButton::OnActivate(void) -{ - if (mg_fnm=="") { - return; - } - - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - - // if loading - if (!gmLoadSaveMenu.gm_bSave) { - // load now - DoLoad(); - // if saving - } else { - // switch to editing mode - BOOL bWasEmpty = mg_strText==EMPTYSLOTSTRING; - mg_strDes = gmLoadSaveMenu.gm_strSaveDes; - RefreshText(); - _strOrgDescription = _strTmpDescription = mg_strText; - if (bWasEmpty) { - _strOrgDescription = EMPTYSLOTSTRING; - } - mg_pstrToChange = &_strTmpDescription; - StartEdit(); - mg_iState = FBS_SAVENAME; - } -} -BOOL CMGFileButton::OnKeyDown(int iVKey) -{ - if (mg_iState == FBS_NORMAL) { - if (gmLoadSaveMenu.gm_bSave || gmLoadSaveMenu.gm_bManage) { - if (iVKey == VK_F2) { - if (FileExistsForWriting(mg_fnm)) { - // switch to renaming mode - _strOrgDescription = mg_strText; - _strTmpDescription = mg_strText; - mg_pstrToChange = &_strTmpDescription; - StartEdit(); - mg_iState = FBS_RENAME; - } - return TRUE; - } else if (iVKey == VK_DELETE) { - if (FileExistsForWriting(mg_fnm)) { - // delete the file, its description and thumbnail - RemoveFile(mg_fnm); - RemoveFile(mg_fnm.NoExt()+".des"); - RemoveFile(mg_fnm.NoExt()+"Tbn.tex"); - // refresh menu - gmLoadSaveMenu.EndMenu(); - gmLoadSaveMenu.StartMenu(); - OnSetFocus(); - } - return TRUE; - } - } - return CMenuGadget::OnKeyDown(iVKey); - } else { - // go out of editing mode - if(mg_bEditing) { - if (iVKey==VK_UP || iVKey==VK_DOWN) { - CMGEdit::OnKeyDown(VK_ESCAPE); - } - } - return CMGEdit::OnKeyDown(iVKey); - } -} - -void CMGFileButton::OnSetFocus(void) -{ - mg_iState = FBS_NORMAL; - - if (gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { - SetThumbnail(mg_fnm); - } else { - ClearThumbnail(); - } - pgmCurrentMenu->KillAllFocuses(); - CMGButton::OnSetFocus(); -} - -void CMGFileButton::OnKillFocus(void) -{ - // go out of editing mode - if(mg_bEditing) { - OnKeyDown(VK_ESCAPE); - } - CMGEdit::OnKillFocus(); -} - -// override from edit gadget -void CMGFileButton::OnStringChanged(void) -{ - // if saving - if (mg_iState == FBS_SAVENAME) { - // do the save - mg_strDes = _strTmpDescription+"\n"+mg_strInfo; - DoSave(); - // if renaming - } else if (mg_iState == FBS_RENAME) { - // do the rename - mg_strDes = _strTmpDescription+"\n"+mg_strInfo; - SaveDescription(); - // refresh menu - gmLoadSaveMenu.EndMenu(); - gmLoadSaveMenu.StartMenu(); - OnSetFocus(); - } -} -void CMGFileButton::OnStringCanceled(void) -{ - mg_strText = _strOrgDescription; -} - -void CMGFileButton::Render( CDrawPort *pdp) -{ - // render original gadget first - CMGEdit::Render(pdp); - - // if currently selected - if (mg_bFocused && mg_bEnabled) { - // add info at the bottom if screen - SetFontMedium(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxSaveLoad(15.0)); - PIX pixI = box.Min()(1); - PIX pixJ = box.Min()(2); - - COLOR col = LCDGetColor(C_mlGREEN|255, "file info"); - pdp->PutText( mg_strInfo, pixI, pixJ, col); - } -} - -FLOATaabbox2D GetBoxPartHoriz(const FLOATaabbox2D &box, FLOAT fMin, FLOAT fMax) -{ - FLOAT fBoxMin = box.Min()(1); - FLOAT fBoxSize = box.Size()(1); - - return FLOATaabbox2D( - FLOAT2D(fBoxMin+fBoxSize*fMin, box.Min()(2)), - FLOAT2D(fBoxMin+fBoxSize*fMax, box.Max()(2))); -} - -void PrintInBox(CDrawPort *pdp, PIX pixI, PIX pixJ, PIX pixSizeI, CTString str, COLOR col) -{ - str = str.Undecorated(); - PIX pixCharSize = pdp->dp_pixTextCharSpacing+pdp->dp_FontData->fd_pixCharWidth; - str.TrimRight(pixSizeI/pixCharSize); - - // print text - pdp->PutText(str, pixI, pixJ, col); -} - -CMGServerList::CMGServerList() -{ - mg_iSelected = 0; - mg_iFirstOnScreen = 0; - mg_ctOnScreen = 10; - mg_pixMinI = 0; - mg_pixMaxI = 0; - mg_pixListMinJ = 0; - mg_pixListStepJ = 0; - mg_pixDragJ = -1; - mg_iDragLine = -1; - mg_pixMouseDrag = -1; - // by default, sort by ping, best on top - mg_iSort = 2; - mg_bSortDown = FALSE; -} -void CMGServerList::AdjustFirstOnScreen(void) -{ - INDEX ctSessions = _lhServers.Count(); - mg_iSelected = Clamp(mg_iSelected, 0L, ClampDn(ctSessions-1L, 0L)); - mg_iFirstOnScreen = Clamp(mg_iFirstOnScreen, 0L, ClampDn(ctSessions-mg_ctOnScreen, 0L)); - - if (mg_iSelected=mg_iFirstOnScreen+mg_ctOnScreen) { - mg_iFirstOnScreen = ClampDn(mg_iSelected-mg_ctOnScreen+1L, 0L); - } -} - -BOOL _iSort = 0; -BOOL _bSortDown = FALSE; - -int CompareSessions(const void *pv0, const void *pv1) -{ - const CNetworkSession &ns0 = **(const CNetworkSession **)pv0; - const CNetworkSession &ns1 = **(const CNetworkSession **)pv1; - - int iResult = 0; - switch(_iSort) { - case 0: iResult = stricmp(ns0.ns_strSession, ns1.ns_strSession); break; - case 1: iResult = stricmp(ns0.ns_strWorld, ns1.ns_strWorld); break; - case 2: iResult = Sgn(ns0.ns_tmPing-ns1.ns_tmPing); break; - case 3: iResult = Sgn(ns0.ns_ctPlayers-ns1.ns_ctPlayers); break; - case 4: iResult = stricmp(ns0.ns_strGameType, ns1.ns_strGameType); break; - case 5: iResult = stricmp(ns0.ns_strMod, ns1.ns_strMod ); break; - case 6: iResult = stricmp(ns0.ns_strVer, ns1.ns_strVer ); break; - } - - if (iResult==0) { // make sure we always have unique order when resorting - return stricmp(ns0.ns_strAddress, ns1.ns_strAddress);; - } - - return _bSortDown?-iResult:iResult; -} - -extern CMGButton mgServerColumn[7]; -extern CMGEdit mgServerFilter[7]; - -void SortAndFilterServers(void) -{ - {FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - delete &*itns; - }} - {FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { - CNetworkSession &ns = *itns; - extern CTString _strServerFilter[7]; - if (_strServerFilter[0]!="" && !ns.ns_strSession.Matches("*"+_strServerFilter[0]+"*")) continue; - if (_strServerFilter[1]!="" && !ns.ns_strWorld.Matches("*"+_strServerFilter[1]+"*")) continue; - if (_strServerFilter[2]!="") { - char strCompare[3] = {0,0,0}; - int iPing = 0; - _strServerFilter[2].ScanF("%2[<>=]%d", strCompare, &iPing); - if (strcmp(strCompare, "<" )==0 && !(int(ns.ns_tmPing*1000)< iPing)) continue; - if (strcmp(strCompare, "<=")==0 && !(int(ns.ns_tmPing*1000)<=iPing)) continue; - if (strcmp(strCompare, ">" )==0 && !(int(ns.ns_tmPing*1000)> iPing)) continue; - if (strcmp(strCompare, ">=")==0 && !(int(ns.ns_tmPing*1000)>=iPing)) continue; - if (strcmp(strCompare, "=" )==0 && !(int(ns.ns_tmPing*1000)==iPing)) continue; - } - if (_strServerFilter[3]!="") { - char strCompare[3] = {0,0,0}; - int iPlayers = 0; - _strServerFilter[3].ScanF("%2[<>=]%d", strCompare, &iPlayers); - if (strcmp(strCompare, "<" )==0 && !(ns.ns_ctPlayers< iPlayers)) continue; - if (strcmp(strCompare, "<=")==0 && !(ns.ns_ctPlayers<=iPlayers)) continue; - if (strcmp(strCompare, ">" )==0 && !(ns.ns_ctPlayers> iPlayers)) continue; - if (strcmp(strCompare, ">=")==0 && !(ns.ns_ctPlayers>=iPlayers)) continue; - if (strcmp(strCompare, "=" )==0 && !(ns.ns_ctPlayers==iPlayers)) continue; - } - if (_strServerFilter[4]!="" && !ns.ns_strGameType.Matches("*"+_strServerFilter[4]+"*")) continue; - if (_strServerFilter[5]!="" && !ns.ns_strMod.Matches("*"+_strServerFilter[5]+"*")) continue; - if (_strServerFilter[6]!="" && !ns.ns_strVer.Matches("*"+_strServerFilter[6]+"*")) continue; - - CNetworkSession *pnsNew = new CNetworkSession; - pnsNew->Copy(*itns); - _lhServers.AddTail(pnsNew->ns_lnNode); - }} - - _lhServers.Sort(CompareSessions, offsetof(CNetworkSession, ns_lnNode)); -} - -void CMGServerList::Render(CDrawPort *pdp) -{ - _iSort = mg_iSort ; - _bSortDown = mg_bSortDown; - SortAndFilterServers(); - - SetFontSmall(pdp); - BOOL bFocusedBefore = mg_bFocused; - mg_bFocused = FALSE; - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - COLOR col = GetCurrentColor(); - - PIX pixDPSizeI = pdp->GetWidth(); - PIX pixDPSizeJ = pdp->GetHeight(); - PIX pixCharSizeI = pdp->dp_pixTextCharSpacing+pdp->dp_FontData->fd_pixCharWidth; - PIX pixCharSizeJ = pdp->dp_pixTextLineSpacing+pdp->dp_FontData->fd_pixCharHeight+1; - PIX pixLineSize = 1; - PIX pixSliderSizeI = 10; - PIX pixOuterMargin = 20; - - INDEX ctSessions = _lhServers.Count(); - INDEX iSession=0; - - INDEX ctColumns[7]; - {for (INDEX i=0; iDrawLine(apixSeparatorI[i], pixTopJ, apixSeparatorI[i], pixBottomJ, col|CT_OPAQUE); - } - pdp->DrawLine(apixSeparatorI[0], pixTopJ, apixSeparatorI[8], pixTopJ, col|CT_OPAQUE); - pdp->DrawLine(apixSeparatorI[0], pixListTopJ-pixLineSize, apixSeparatorI[8], pixListTopJ-pixLineSize, col|CT_OPAQUE); - pdp->DrawLine(apixSeparatorI[0], pixBottomJ, apixSeparatorI[8], pixBottomJ, col|CT_OPAQUE); - - PIXaabbox2D boxHandle = GetScrollBarHandleBox(); - pdp->Fill(boxHandle.Min()(1)+2, boxHandle.Min()(2)+2, boxHandle.Size()(1)-3, boxHandle.Size()(2)-3, col|CT_OPAQUE); - - PIX pixJ = pixTopJ+pixLineSize*2+1; - - mg_ctOnScreen = ctSessionsOnScreen; - AdjustFirstOnScreen(); - - if (_lhServers.Count()==0) { - if (_pNetwork->ga_strEnumerationStatus!="") { - mg_bFocused = TRUE; - COLOR colItem = GetCurrentColor(); - PrintInBox(pdp, apixSeparatorI[0]+pixCharSizeI, pixListTopJ+pixCharSizeJ+pixLineSize+1, apixSeparatorI[1]-apixSeparatorI[0], - TRANS("searching..."), colItem); - } - } else { - FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - CNetworkSession &ns = *itns; - - if (iSession=mg_iFirstOnScreen+ctSessionsOnScreen) { - iSession++; - continue; - } - - PIX pixJ = pixListTopJ+(iSession-mg_iFirstOnScreen)*pixCharSizeJ+pixLineSize+1; - - mg_bFocused = bFocusedBefore&&iSession==mg_iSelected; - COLOR colItem = GetCurrentColor(); - - if (ns.ns_strVer!=_SE_VER_STRING) { - colItem = MulColors(colItem, 0xA0A0A0FF); - } - - CTString strPing(0,"%4d", INDEX(ns.ns_tmPing*1000)); - CTString strPlayersCt(0, "%2d/%2d", ns.ns_ctPlayers, ns.ns_ctMaxPlayers); - CTString strMod = ns.ns_strMod; - if (strMod=="") { - strMod = "SeriousSam"; - } - PrintInBox(pdp, apixSeparatorI[0]+pixCharSizeI/2, pixJ, apixSeparatorI[1]-apixSeparatorI[0]-pixCharSizeI, ns.ns_strSession, colItem); - PrintInBox(pdp, apixSeparatorI[1]+pixCharSizeI/2, pixJ, apixSeparatorI[2]-apixSeparatorI[1]-pixCharSizeI, TranslateConst(ns.ns_strWorld), colItem); - PrintInBox(pdp, apixSeparatorI[2]+pixCharSizeI/2, pixJ, apixSeparatorI[3]-apixSeparatorI[2]-pixCharSizeI, strPing, colItem); - PrintInBox(pdp, apixSeparatorI[3]+pixCharSizeI/2, pixJ, apixSeparatorI[4]-apixSeparatorI[3]-pixCharSizeI, strPlayersCt, colItem); - PrintInBox(pdp, apixSeparatorI[4]+pixCharSizeI/2, pixJ, apixSeparatorI[5]-apixSeparatorI[4]-pixCharSizeI, TranslateConst(ns.ns_strGameType), colItem); - PrintInBox(pdp, apixSeparatorI[5]+pixCharSizeI/2, pixJ, apixSeparatorI[6]-apixSeparatorI[5]-pixCharSizeI, TranslateConst(strMod), colItem); - PrintInBox(pdp, apixSeparatorI[6]+pixCharSizeI/2, pixJ, apixSeparatorI[7]-apixSeparatorI[6]-pixCharSizeI, ns.ns_strVer, colItem); - - iSession++; - } - } - - mg_bFocused = bFocusedBefore; -} - -static INDEX SliderPixToIndex(PIX pixOffset, INDEX iVisible, INDEX iTotal, PIXaabbox2D boxFull) -{ - FLOAT fSize = ClampUp(FLOAT(iVisible)/iTotal, 1.0f); - PIX pixFull = boxFull.Size()(2); - PIX pixSize = PIX(pixFull*fSize); - if (pixSize>=boxFull.Size()(2)) { - return 0; - } - return (iTotal*pixOffset)/pixFull; -} - -static PIXaabbox2D GetSliderBox(INDEX iFirst, INDEX iVisible, INDEX iTotal, - PIXaabbox2D boxFull) -{ - if (iTotal<=0) { - return boxFull; - } - FLOAT fSize = ClampUp(FLOAT(iVisible)/iTotal, 1.0f); - PIX pixFull = boxFull.Size()(2); - PIX pixSize = PIX(pixFull*fSize); - pixSize = ClampDn(pixSize, boxFull.Size()(1)); - PIX pixTop = pixFull*(FLOAT(iFirst)/iTotal)+boxFull.Min()(2); - PIX pixI0 = boxFull.Min()(1); - PIX pixI1 = boxFull.Max()(1); - return PIXaabbox2D(PIX2D(pixI0, pixTop), PIX2D(pixI1, pixTop+pixSize)); -} - -PIXaabbox2D CMGServerList::GetScrollBarFullBox(void) -{ - return PIXaabbox2D(PIX2D(mg_pixSBMinI, mg_pixSBMinJ), PIX2D(mg_pixSBMaxI, mg_pixSBMaxJ)); -} -PIXaabbox2D CMGServerList::GetScrollBarHandleBox(void) -{ - return GetSliderBox(mg_iFirstOnScreen, mg_ctOnScreen, _lhServers.Count(), GetScrollBarFullBox()); -} - -void CMGServerList::OnMouseOver(PIX pixI, PIX pixJ) -{ - mg_pixMouseI = pixI; - mg_pixMouseJ = pixJ; - - if (!(GetKeyState(VK_LBUTTON)&0x8000)) { - mg_pixDragJ = -1; - } - - BOOL bInSlider = (pixI>=mg_pixSBMinI && pixI<=mg_pixSBMaxI && pixJ>=mg_pixSBMinJ && pixJ<=mg_pixSBMaxJ); - if (mg_pixDragJ>=0 && bInSlider) { - PIX pixDelta = pixJ-mg_pixDragJ; - INDEX ctSessions = _lhServers.Count(); - INDEX iWantedLine = mg_iDragLine+ - SliderPixToIndex(pixDelta, mg_ctOnScreen, ctSessions, GetScrollBarFullBox()); - mg_iFirstOnScreen = Clamp(iWantedLine, 0L, ClampDn(ctSessions-mg_ctOnScreen, 0L)); - mg_iSelected = Clamp(mg_iSelected, mg_iFirstOnScreen, mg_iFirstOnScreen+mg_ctOnScreen-1L); -// AdjustFirstOnScreen(); - return; - } - - // if some server is selected - if (pixI>=mg_pixMinI && pixI<=mg_pixMaxI) { - INDEX iOnScreen = (pixJ-mg_pixListMinJ)/mg_pixListStepJ; - if (iOnScreen>=0 && iOnScreen=mg_pixHeaderMinJ && mg_pixMouseJ<=mg_pixHeaderMidJ - && mg_pixMouseI>=mg_pixHeaderI[0] && mg_pixMouseI<=mg_pixHeaderI[7]) { - INDEX iNewSort = mg_iSort; - if (mg_pixMouseI<=mg_pixHeaderI[1]) { - iNewSort = 0; - } else if (mg_pixMouseI<=mg_pixHeaderI[2]) { - iNewSort = 1; - } else if (mg_pixMouseI<=mg_pixHeaderI[3]) { - iNewSort = 2; - } else if (mg_pixMouseI<=mg_pixHeaderI[4]) { - iNewSort = 3; - } else if (mg_pixMouseI<=mg_pixHeaderI[5]) { - iNewSort = 4; - } else if (mg_pixMouseI<=mg_pixHeaderI[6]) { - iNewSort = 5; - } else if (mg_pixMouseI<=mg_pixHeaderI[7]) { - iNewSort = 6; - } - if (iNewSort==mg_iSort) { - mg_bSortDown = !mg_bSortDown; - } else { - mg_bSortDown = FALSE; - } - mg_iSort = iNewSort; - break; - } else */if (mg_pixMouseDrag>=0) { - mg_pixDragJ = mg_pixMouseDrag; - mg_iDragLine = mg_iFirstOnScreen; - break; - } - case VK_RETURN: - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - {INDEX i=0; - FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - if (i==mg_iSelected) { - - char strAddress[256]; - int iPort; - itns->ns_strAddress.ScanF("%200[^:]:%d", &strAddress, &iPort); - _pGame->gam_strJoinAddress = strAddress; - _pShell->SetINDEX("net_iPort", iPort); - extern void StartSelectPlayersMenuFromServers(void ); - StartSelectPlayersMenuFromServers(); - return TRUE; - } - i++; - }} - break; - default: - return FALSE; - } - return TRUE; -} - -void CMGServerList::OnSetFocus(void) -{ - mg_bFocused = TRUE; -} -void CMGServerList::OnKillFocus(void) -{ - mg_bFocused = FALSE; -} - -// -------------------------------- Buttons for player selecting implementation -void CMGChangePlayer::OnActivate(void) -{ - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - _iLocalPlayer = mg_iLocalPlayer; - if( _pGame->gm_aiMenuLocalPlayers[ mg_iLocalPlayer] < 0) - _pGame->gm_aiMenuLocalPlayers[ mg_iLocalPlayer] = 0; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[ mg_iLocalPlayer]; - gmPlayerProfile.gm_pgmParentMenu = &gmSelectPlayersMenu; - extern BOOL _bPlayerMenuFromSinglePlayer; - _bPlayerMenuFromSinglePlayer = FALSE; - ChangeToMenu( &gmPlayerProfile); -} - -void CMGChangePlayer::SetPlayerText(void) -{ - INDEX iPlayer = _pGame->gm_aiMenuLocalPlayers[ mg_iLocalPlayer]; - CPlayerCharacter &pc = _pGame->gm_apcPlayers[ iPlayer]; - if (iPlayer<0 || iPlayer>7) { - mg_strText = "????"; - } else { - mg_strText.PrintF(TRANS("Player %d: %s\n"), mg_iLocalPlayer+1, pc.GetNameForPrinting()); - } -} - -// ------- Key (from customize keyboard) implementation - -CMGKeyDefinition::CMGKeyDefinition( void) -{ - mg_iState = DOING_NOTHING; -} - - -void CMGKeyDefinition::OnActivate(void) -{ - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - SetBindingNames(/*bDefining=*/TRUE); - mg_iState = RELEASE_RETURN_WAITING; -} - - -BOOL CMGKeyDefinition::OnKeyDown( int iVKey) -{ - // if waiting for a key definition - if( mg_iState == PRESS_KEY_WAITING) { - // do nothing - return TRUE; - } - - // if backspace pressed - if(iVKey == VK_BACK) { - // clear both keys - DefineKey(KID_NONE); - // message is processed - return TRUE; - } - - return CMenuGadget::OnKeyDown( iVKey); -} - -// set names for both key bindings -void CMGKeyDefinition::SetBindingNames(BOOL bDefining) -{ - // find the button - INDEX ict=0; - INDEX iDik=0; - FOREACHINLIST( CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { - if( ict == mg_iControlNumber) { - CButtonAction &ba = *itba; - // get the current bindings and names - INDEX iKey1 = ba.ba_iFirstKey; - INDEX iKey2 = ba.ba_iSecondKey; - BOOL bKey1Bound = iKey1!=KID_NONE; - BOOL bKey2Bound = iKey2!=KID_NONE; - CTString strKey1 = _pInput->GetButtonTransName(iKey1); - CTString strKey2 = _pInput->GetButtonTransName(iKey2); - - // if defining - if (bDefining) { - // if only first key is defined - if (bKey1Bound && !bKey2Bound) { - // put question mark for second key - mg_strBinding = strKey1+TRANS(" or ")+"?"; - // otherwise - } else { - // put question mark only - mg_strBinding = "?"; - } - // if not defining - } else { - // if second key is defined - if (bKey2Bound) { - // add both - mg_strBinding = strKey1+TRANS(" or ")+strKey2; - // if second key is undefined - } else { - // display only first one - mg_strBinding = strKey1; - } - } - return ; - } - ict++; - } - - // if not found, put errorneous string - mg_strBinding = "???"; -} - -void CMGKeyDefinition::Appear(void) -{ - SetBindingNames(/*bDefining=*/FALSE); - CMenuGadget::Appear(); -} - -void CMGKeyDefinition::Disappear(void) -{ - CMenuGadget::Disappear(); -} - -void CMGKeyDefinition::DefineKey(INDEX iDik) -{ - // for each button in controls - INDEX ict=0; - FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { - CButtonAction &ba = *itba; - // if it is this one - if (ict == mg_iControlNumber) { - // if should clear - if (iDik == KID_NONE) { - // unbind both - ba.ba_iFirstKey = KID_NONE; - ba.ba_iSecondKey = KID_NONE; - } - // if first key is unbound, or both keys are bound - if (ba.ba_iFirstKey==KID_NONE || ba.ba_iSecondKey!=KID_NONE) { - // bind first key - ba.ba_iFirstKey = iDik; - // clear second key - ba.ba_iSecondKey = KID_NONE; - // if only first key bound - } else { - // bind second key - ba.ba_iSecondKey = iDik; - } - // if it is not this one - } else { - // clear bindings that contain this key - if (ba.ba_iFirstKey == iDik) { - ba.ba_iFirstKey = KID_NONE; - } - if (ba.ba_iSecondKey == iDik) { - ba.ba_iSecondKey = KID_NONE; - } - } - ict++; - } - - SetBindingNames(/*bDefining=*/FALSE); -} - -void CMGKeyDefinition::Think( void) -{ - if( mg_iState == RELEASE_RETURN_WAITING) - { - _bDefiningKey = TRUE; - extern BOOL _bMouseUsedLast; - _bMouseUsedLast = FALSE; - _pInput->SetJoyPolling(TRUE); - _pInput->GetInput(FALSE); - if( _pInput->IsInputEnabled() && - !_pInput->GetButtonState( KID_ENTER) && - !_pInput->GetButtonState( KID_MOUSE1 ) ) - { - mg_iState = PRESS_KEY_WAITING; - } - } - else if( mg_iState == PRESS_KEY_WAITING) - { - _pInput->SetJoyPolling(TRUE); - _pInput->GetInput(FALSE); - for( INDEX iDik = 0; iDikGetButtonState( iDik)) - { - // skip keys that cannot be defined - if (iDik == KID_TILDE) { - continue; - } - // if escape not pressed - if (iDik != KID_ESCAPE) { - // define the new key - DefineKey(iDik); - // if escape pressed - } else { - // undefine the key - DefineKey(KID_NONE); - } - - // end defining loop - mg_iState = DOING_NOTHING; - _bDefiningKey = FALSE; - // refresh all buttons - pgmCurrentMenu->FillListItems(); - break; - } - } - } -} - -void CMGKeyDefinition::Render( CDrawPort *pdp) -{ - SetFontMedium(pdp); - - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1)+box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1)+box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - - COLOR col = GetCurrentColor(); - pdp->PutTextR( mg_strLabel, pixIL, pixJ, col); - pdp->PutText( mg_strBinding, pixIR, pixJ, col); -} diff --git a/Sources/SeriousSam/MenuGadgets.h b/Sources/SeriousSam/MenuGadgets.h deleted file mode 100644 index 3583832..0000000 --- a/Sources/SeriousSam/MenuGadgets.h +++ /dev/null @@ -1,281 +0,0 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ - -#define DOING_NOTHING 0 -#define PRESS_KEY_WAITING 1 -#define RELEASE_RETURN_WAITING 2 - -#define EMPTYSLOTSTRING TRANS("") - -class CMenuGadget { -public: - CListNode mg_lnNode; - FLOATaabbox2D mg_boxOnScreen; - BOOL mg_bVisible; - BOOL mg_bEnabled; - BOOL mg_bLabel; - BOOL mg_bFocused; - INDEX mg_iInList; // for scrollable gadget lists - - CTString mg_strTip; - CMenuGadget *mg_pmgLeft; - CMenuGadget *mg_pmgRight; - CMenuGadget *mg_pmgUp; - CMenuGadget *mg_pmgDown; - - CMenuGadget( void); - // return TRUE if handled - virtual BOOL OnKeyDown( int iVKey); - virtual BOOL OnChar(MSG msg); - virtual void OnActivate( void); - virtual void OnSetFocus( void); - virtual void OnKillFocus( void); - virtual void Appear( void); - virtual void Disappear( void); - virtual void Think( void); - virtual void OnMouseOver(PIX pixI, PIX pixJ); - - virtual COLOR GetCurrentColor(void); - virtual void Render( CDrawPort *pdp); - virtual BOOL IsSeparator(void) { return FALSE; }; -}; - -enum ButtonFontSize { - BFS_SMALL = 0, - BFS_MEDIUM = 1, - BFS_LARGE = 2, -}; - -class CMGTitle : public CMenuGadget { -public: - CTString mg_strText; - void Render( CDrawPort *pdp); -}; - -class CMGHighScore : public CMenuGadget { -public: - void Render( CDrawPort *pdp); -}; - -class CMGButton : public CMenuGadget { -public: - CTString mg_strLabel; // for those that have labels separately from main text - CTString mg_strText; - INDEX mg_iCenterI; - enum ButtonFontSize mg_bfsFontSize; - BOOL mg_bEditing; - BOOL mg_bHighlighted; - BOOL mg_bRectangle; - BOOL mg_bMental; - INDEX mg_iTextMode; - INDEX mg_iCursorPos; - - INDEX mg_iIndex; - void (*mg_pActivatedFunction)(void); - CMGButton(void); - void SetText( CTString strNew); - void OnActivate(void); - void Render( CDrawPort *pdp); - PIX GetCharOffset( CDrawPort *pdp, INDEX iCharNo); -}; - -enum ArrowDir { - AD_NONE, - AD_UP, - AD_DOWN, - AD_LEFT, - AD_RIGHT, -}; - -class CMGArrow : public CMGButton { -public: - enum ArrowDir mg_adDirection; - void Render( CDrawPort *pdp); - void OnActivate( void); -}; - -class CMGModel : public CMGButton { -public: - CModelObject mg_moModel; - CModelObject mg_moFloor; - CPlacement3D mg_plModel; - BOOL mg_fFloorY; - - CMGModel(void); - void Render( CDrawPort *pdp); -}; - -class CMGEdit : public CMGButton { -public: - INDEX mg_ctMaxStringLen; - CTString *mg_pstrToChange; - CMGEdit(void); - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - BOOL OnChar(MSG msg); - void Clear(void); - void OnActivate(void); - void OnKillFocus(void); - void Render( CDrawPort *pdp); - virtual void OnStringChanged(void); - virtual void OnStringCanceled(void); -}; - -class CMGKeyDefinition : public CMenuGadget { -public: - INDEX mg_iState; - INDEX mg_iControlNumber; - - CTString mg_strLabel; - CTString mg_strBinding; - - CMGKeyDefinition(void); - void Appear(void); - void Disappear(void); - void OnActivate(void); - // return TRUE if handled - BOOL OnKeyDown( int iVKey); - void Think( void); - // set names for both key bindings - void SetBindingNames(BOOL bDefining); - void DefineKey(INDEX iDik); - void Render( CDrawPort *pdp); -}; - -class CMGTrigger : public CMenuGadget { -public: - CTString mg_strLabel; - CTString mg_strValue; - CTString *mg_astrTexts; - INDEX mg_ctTexts; - INDEX mg_iSelected; - INDEX mg_iCenterI; - BOOL mg_bVisual; - - CMGTrigger(void); - - void ApplyCurrentSelection(void); - void OnSetNextInList(int iVKey); - void (*mg_pPreTriggerChange)(INDEX iCurrentlySelected); - void (*mg_pOnTriggerChange)(INDEX iCurrentlySelected); - - // return TRUE if handled - BOOL OnKeyDown( int iVKey); - void Render( CDrawPort *pdp); -}; - -class CMGSlider : public CMGButton { -public: - FLOAT mg_fFactor; - INDEX mg_iMinPos; - INDEX mg_iMaxPos; - INDEX mg_iCurPos; - - CMGSlider(); - void ApplyCurrentPosition(void); - void ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur); - // return TRUE if handled - virtual BOOL OnKeyDown( int iVKey); - void (*mg_pOnSliderChange)(INDEX iCurPos); - PIXaabbox2D GetSliderBox(void); - void Render( CDrawPort *pdp); -}; - -class CMGLevelButton : public CMGButton { -public: - CTFileName mg_fnmLevel; - - void OnActivate(void); - void OnSetFocus( void); -}; - -class CMGVarButton : public CMGButton { -public: - class CVarSetting *mg_pvsVar; - PIXaabbox2D GetSliderBox(void); - BOOL OnKeyDown(int iVKey); - void Render( CDrawPort *pdp); - BOOL IsSeparator(void); - BOOL IsEnabled(void); -}; - -// file button states -#define FBS_NORMAL 0 // normal active state -#define FBS_SAVENAME 1 // typing in the save name -#define FBS_RENAME 2 // renaming existing file -class CMGFileButton : public CMGEdit { -public: - CMGFileButton(void); - CTFileName mg_fnm; - CTString mg_strDes; // entire description goes here - CTString mg_strInfo; // info part of text to print above the gadget tip - INDEX mg_iState; - // refresh current text from description - void RefreshText(void); - // save description to disk - void SaveDescription(void); - void SaveYes(void); - void DoSave(void); - void DoLoad(void); - void StartEdit(void); - - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - void OnActivate(void); - void OnSetFocus(void); - void OnKillFocus(void); - - // overrides from edit gadget - void OnStringChanged(void); - void OnStringCanceled(void); - void Render( CDrawPort *pdp); -}; - -class CMGServerList : public CMGButton { -public: - INDEX mg_iSelected; - INDEX mg_iFirstOnScreen; - INDEX mg_ctOnScreen; - // server list dimensions - PIX mg_pixMinI; - PIX mg_pixMaxI; - PIX mg_pixListMinJ; - PIX mg_pixListStepJ; - // header dimensions - PIX mg_pixHeaderMinJ; - PIX mg_pixHeaderMidJ; - PIX mg_pixHeaderMaxJ; - PIX mg_pixHeaderI[8]; - // scrollbar dimensions - PIX mg_pixSBMinI; - PIX mg_pixSBMaxI; - PIX mg_pixSBMinJ; - PIX mg_pixSBMaxJ; - // scrollbar dragging params - PIX mg_pixDragJ; - PIX mg_iDragLine; - PIX mg_pixMouseDrag; - // current mouse pos - PIX mg_pixMouseI; - PIX mg_pixMouseJ; - - INDEX mg_iSort; // column to sort by - BOOL mg_bSortDown; // sort in reverse order - - CMGServerList(); - BOOL OnKeyDown(int iVKey); - PIXaabbox2D GetScrollBarFullBox(void); - PIXaabbox2D GetScrollBarHandleBox(void); - void OnSetFocus(void); - void OnKillFocus(void); - void Render( CDrawPort *pdp); - void AdjustFirstOnScreen(void); - void OnMouseOver(PIX pixI, PIX pixJ); -}; - -class CMGChangePlayer : public CMGButton { -public: - INDEX mg_iLocalPlayer; - - void SetPlayerText(void); - void OnActivate( void); -}; diff --git a/Sources/SeriousSam/MenuPrinting.cpp b/Sources/SeriousSam/MenuPrinting.cpp index f74abb3..f19fa39 100644 --- a/Sources/SeriousSam/MenuPrinting.cpp +++ b/Sources/SeriousSam/MenuPrinting.cpp @@ -3,6 +3,7 @@ #include "StdH.h" #include "MenuPrinting.h" +#include "ArrowDir.h" static const FLOAT _fBigStartJ = 0.25f; static const FLOAT _fBigSizeJ = 0.066f; diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index b361610..b221d0e 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -188,13 +188,22 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul Use StdH.h - - Use - StdH.h - Use - StdH.h - + + + + + + + + + + + + + + + Use StdH.h @@ -211,6 +220,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + @@ -219,8 +229,22 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - + + + + + + + + + + + + + + + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 22f3188..8f48799 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -42,9 +42,6 @@ Source Files - - Source Files - Source Files @@ -60,6 +57,51 @@ Source Files + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + @@ -86,9 +128,6 @@ Header Files - - Header Files - Header Files @@ -107,6 +146,54 @@ Header Files + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index 41b6065..1c65f03 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -23,5 +23,4 @@ #define TECHTESTONLY 0 #include "SeriousSam.h" -#include "Menu.h" -#include "MenuGadgets.h" \ No newline at end of file +#include "Menu.h" \ No newline at end of file From f33bb4519fd13c073390099803463c358666629d Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 00:53:58 +0300 Subject: [PATCH 05/62] Fix. I forgot to remove piece of my code. --- Scripts/PersistentSymbols.ini | 4 ++-- Sources/SeriousSam/Menu.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/PersistentSymbols.ini b/Scripts/PersistentSymbols.ini index d61e379..1e6a134 100644 --- a/Scripts/PersistentSymbols.ini +++ b/Scripts/PersistentSymbols.ini @@ -429,9 +429,9 @@ persistent extern user INDEX gam_iBlood=(INDEX)2; persistent extern user INDEX gam_bGibs=(INDEX)1; persistent extern user INDEX gam_bUseExtraEnemies=(INDEX)1; persistent extern user INDEX gam_iStartDifficulty=(INDEX)1; -persistent extern user INDEX gam_iStartMode=(INDEX)-1; +persistent extern user INDEX gam_iStartMode=(INDEX)0; persistent extern user CTString gam_strGameAgentExtras=""; -persistent extern user CTString gam_strCustomLevel=""; +persistent extern user CTString gam_strCustomLevel="Levels\\Default.wld"; persistent extern user CTString gam_strSessionName="Unnamed session"; persistent extern user CTString gam_strJoinAddress="serveraddress"; persistent extern user INDEX gam_bEnableAdvancedObserving=(INDEX)0; diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index 77caba1..f71c2a5 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -5136,7 +5136,7 @@ void CAudioOptionsMenu::Initialize_t(void) gm_lhGadgets.AddTail( mgMPEGVolume.mg_lnNode); mgAudioOptionsApply.mg_bfsFontSize = BFS_LARGE; - mgAudioOptionsApply.mg_boxOnScreen = BoxBigRow(5/*4*/); + mgAudioOptionsApply.mg_boxOnScreen = BoxBigRow(4); mgAudioOptionsApply.mg_strText = TRANS("APPLY"); mgAudioOptionsApply.mg_strTip = TRANS("activate selected options"); gm_lhGadgets.AddTail( mgAudioOptionsApply.mg_lnNode); From 742d11a81328197f62bb90dd21c74d26c9fff224 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 02:26:30 +0300 Subject: [PATCH 06/62] WorldEditor: FIX Remove wrong and useless conversion Because this is issue! --- Sources/WorldEditor/DlgBrowseByClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/WorldEditor/DlgBrowseByClass.cpp b/Sources/WorldEditor/DlgBrowseByClass.cpp index 1ef3534..7b30702 100644 --- a/Sources/WorldEditor/DlgBrowseByClass.cpp +++ b/Sources/WorldEditor/DlgBrowseByClass.cpp @@ -223,7 +223,7 @@ CTString GetItemValue(CEntity *pen, INDEX iColumn, INDEX &iFormat) case COLUMN_INDEX: { INDEX iIndex=dcEntities.GetIndex(pen); - strResult.PrintF("%d", FLOAT(iIndex)); + strResult.PrintF("%d", iIndex); iFormat=PDF_INDEX; break; } From d1636a7990aeef035d86d3319dae827baadfe6ce Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 02:28:31 +0300 Subject: [PATCH 07/62] Update .gitignore again!!! AGAIN! I really hate VS because it makes too many useless generated stuff! --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e2df471..511d69e 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.bsc *.cnt *.exp +*.ipch *.log *.map *.opensdf From a4af93fa317471e02c0f62526c8aa7453cfbd2a8 Mon Sep 17 00:00:00 2001 From: Matt Lee Date: Fri, 11 Mar 2016 18:20:51 -0600 Subject: [PATCH 08/62] Add GPL header to files --- Sources/DecodeReport/DecodeReport.cpp | 15 ++++- Sources/DecodeReport/StdAfx.cpp | 15 ++++- Sources/DecodeReport/StdAfx.h | 15 ++++- Sources/DedicatedServer/DedicatedServer.cpp | 15 ++++- Sources/DedicatedServer/StdAfx.cpp | 15 ++++- Sources/DedicatedServer/StdAfx.h | 15 ++++- Sources/DedicatedServer/resource.h | 15 ++++- Sources/Depend/Dependency.cpp | 15 ++++- Sources/Depend/Dependency.h | 15 ++++- Sources/Depend/StdH.cpp | 17 ++++- Sources/Depend/StdH.h | 15 ++++- Sources/Depend/UtilityDepend.cpp | 15 ++++- Sources/Ecc/Main.cpp | 17 ++++- Sources/Ecc/Main.h | 15 ++++- Sources/Ecc/StdH.h | 15 ++++- Sources/Ecc/unistd.h | 17 ++++- Sources/Engine/Base/Anim.cpp | 15 ++++- Sources/Engine/Base/Anim.h | 15 ++++- Sources/Engine/Base/Assert.h | 15 ++++- Sources/Engine/Base/Base.h | 15 ++++- Sources/Engine/Base/CRC.cpp | 15 ++++- Sources/Engine/Base/CRC.h | 15 ++++- Sources/Engine/Base/CRCTable.cpp | 15 ++++- Sources/Engine/Base/CRCTable.h | 15 ++++- Sources/Engine/Base/CTString.cpp | 15 ++++- Sources/Engine/Base/CTString.h | 15 ++++- Sources/Engine/Base/Changeable.cpp | 15 ++++- Sources/Engine/Base/Changeable.h | 15 ++++- Sources/Engine/Base/ChangeableRT.h | 15 ++++- Sources/Engine/Base/Console.cpp | 15 ++++- Sources/Engine/Base/Console.h | 15 ++++- Sources/Engine/Base/Console_internal.h | 15 ++++- Sources/Engine/Base/Directory.cpp | 15 ++++- Sources/Engine/Base/ErrorReporting.cpp | 15 ++++- Sources/Engine/Base/ErrorReporting.h | 15 ++++- Sources/Engine/Base/ErrorTable.h | 15 ++++- Sources/Engine/Base/FileName.cpp | 15 ++++- Sources/Engine/Base/FileName.h | 15 ++++- Sources/Engine/Base/GroupFile.h | 15 ++++- Sources/Engine/Base/IFeel.cpp | 15 ++++- Sources/Engine/Base/IFeel.h | 15 ++++- Sources/Engine/Base/Input.cpp | 15 ++++- Sources/Engine/Base/Input.h | 15 ++++- Sources/Engine/Base/KeyNames.h | 15 ++++- Sources/Engine/Base/Lists.cpp | 15 ++++- Sources/Engine/Base/Lists.h | 15 ++++- Sources/Engine/Base/Memory.cpp | 15 ++++- Sources/Engine/Base/Memory.h | 15 ++++- Sources/Engine/Base/ParsingSymbols.h | 15 ++++- Sources/Engine/Base/Profiling.cpp | 15 ++++- Sources/Engine/Base/Profiling.h | 15 ++++- Sources/Engine/Base/ProfilingEnabled.h | 15 ++++- Sources/Engine/Base/ProgressHook.cpp | 15 ++++- Sources/Engine/Base/ProgressHook.h | 15 ++++- Sources/Engine/Base/Protection.cpp | 15 ++++- Sources/Engine/Base/Protection.h | 15 ++++- Sources/Engine/Base/Registry.cpp | 15 ++++- Sources/Engine/Base/Registry.h | 15 ++++- Sources/Engine/Base/Relations.cpp | 15 ++++- Sources/Engine/Base/Relations.h | 15 ++++- Sources/Engine/Base/ReplaceFile.cpp | 15 ++++- Sources/Engine/Base/ReplaceFile.h | 15 ++++- Sources/Engine/Base/Serial.cpp | 15 ++++- Sources/Engine/Base/Serial.h | 15 ++++- Sources/Engine/Base/Shell.cpp | 15 ++++- Sources/Engine/Base/Shell.h | 15 ++++- Sources/Engine/Base/ShellTypes.cpp | 15 ++++- Sources/Engine/Base/Shell_internal.h | 15 ++++- Sources/Engine/Base/StackDump.cpp | 15 ++++- Sources/Engine/Base/Statistics.cpp | 15 ++++- Sources/Engine/Base/Statistics.h | 15 ++++- Sources/Engine/Base/Statistics_Internal.h | 15 ++++- Sources/Engine/Base/Stream.cpp | 15 ++++- Sources/Engine/Base/Stream.h | 15 ++++- Sources/Engine/Base/Synchronization.cpp | 15 ++++- Sources/Engine/Base/Synchronization.h | 15 ++++- Sources/Engine/Base/Timer.cpp | 15 ++++- Sources/Engine/Base/Timer.h | 15 ++++- Sources/Engine/Base/Translation.cpp | 15 ++++- Sources/Engine/Base/Translation.h | 15 ++++- Sources/Engine/Base/TranslationPair.h | 15 ++++- Sources/Engine/Base/Types.h | 15 ++++- Sources/Engine/Base/Unzip.cpp | 15 ++++- Sources/Engine/Base/Unzip.h | 15 ++++- Sources/Engine/Base/Updateable.cpp | 15 ++++- Sources/Engine/Base/Updateable.h | 15 ++++- Sources/Engine/Base/UpdateableRT.h | 15 ++++- Sources/Engine/Brushes/Brush.cpp | 15 ++++- Sources/Engine/Brushes/Brush.h | 15 ++++- Sources/Engine/Brushes/BrushArchive.cpp | 15 ++++- Sources/Engine/Brushes/BrushArchive.h | 15 ++++- Sources/Engine/Brushes/BrushBase.h | 17 ++++- Sources/Engine/Brushes/BrushExport.cpp | 15 ++++- Sources/Engine/Brushes/BrushIO.cpp | 15 ++++- Sources/Engine/Brushes/BrushImport.cpp | 15 ++++- Sources/Engine/Brushes/BrushMip.cpp | 15 ++++- Sources/Engine/Brushes/BrushPolygon.cpp | 15 ++++- Sources/Engine/Brushes/BrushSector.cpp | 15 ++++- Sources/Engine/Brushes/BrushShadows.cpp | 15 ++++- Sources/Engine/Brushes/BrushTransformed.h | 15 ++++- Sources/Engine/Brushes/BrushTriangularize.cpp | 15 ++++- Sources/Engine/Build.h | 15 ++++- Sources/Engine/Classes/BaseEvents.es | 15 ++++- Sources/Engine/Classes/MovableBrushEntity.es | 15 ++++- Sources/Engine/Classes/MovableEntity.es | 15 ++++- Sources/Engine/Classes/MovableModelEntity.es | 15 ++++- Sources/Engine/Classes/PlayerEntity.es | 15 ++++- Sources/Engine/CurrentVersion.h | 15 ++++- Sources/Engine/Engine.cpp | 17 ++++- Sources/Engine/Engine.h | 15 ++++- Sources/Engine/Entities/Entity.cpp | 15 ++++- Sources/Engine/Entities/Entity.h | 15 ++++- Sources/Engine/Entities/EntityClass.cpp | 15 ++++- Sources/Engine/Entities/EntityClass.h | 15 ++++- Sources/Engine/Entities/EntityCollision.cpp | 15 ++++- Sources/Engine/Entities/EntityCollision.h | 15 ++++- Sources/Engine/Entities/EntityCopying.cpp | 17 ++++- Sources/Engine/Entities/EntityEvent.h | 15 ++++- Sources/Engine/Entities/EntityPointer.h | 15 ++++- Sources/Engine/Entities/EntityProperties.cpp | 15 ++++- Sources/Engine/Entities/EntityProperties.h | 15 ++++- Sources/Engine/Entities/FieldBSPTesting.cpp | 15 ++++- Sources/Engine/Entities/FieldSettings.h | 15 ++++- Sources/Engine/Entities/InternalClasses.h | 15 ++++- Sources/Engine/Entities/LastPositions.cpp | 15 ++++- Sources/Engine/Entities/LastPositions.h | 15 ++++- Sources/Engine/Entities/NearestPolygon.cpp | 15 ++++- Sources/Engine/Entities/PlayerCharacter.cpp | 15 ++++- Sources/Engine/Entities/PlayerCharacter.h | 15 ++++- Sources/Engine/Entities/Precaching.h | 15 ++++- Sources/Engine/Entities/ShadingInfo.h | 15 ++++- Sources/Engine/GameAgent/GameAgent.cpp | 15 ++++- Sources/Engine/GameAgent/GameAgent.h | 15 ++++- Sources/Engine/GameShell.h | 15 ++++- Sources/Engine/Graphics/Adapter.cpp | 15 ++++- Sources/Engine/Graphics/Adapter.h | 15 ++++- Sources/Engine/Graphics/Benchmark.cpp | 15 ++++- Sources/Engine/Graphics/Color.cpp | 15 ++++- Sources/Engine/Graphics/Color.h | 15 ++++- Sources/Engine/Graphics/DepthCheck.cpp | 15 ++++- Sources/Engine/Graphics/DisplayMode.cpp | 15 ++++- Sources/Engine/Graphics/DisplayMode.h | 15 ++++- Sources/Engine/Graphics/DrawPort.cpp | 15 ++++- Sources/Engine/Graphics/DrawPort.h | 15 ++++- .../Engine/Graphics/DrawPort_Particles.cpp | 15 ++++- .../Engine/Graphics/DrawPort_RenderScene.cpp | 15 ++++- Sources/Engine/Graphics/Fog.cpp | 15 ++++- Sources/Engine/Graphics/Fog.h | 15 ++++- Sources/Engine/Graphics/Fog_internal.h | 15 ++++- Sources/Engine/Graphics/Font.cpp | 15 ++++- Sources/Engine/Graphics/Font.h | 15 ++++- Sources/Engine/Graphics/GfxLibrary.cpp | 15 ++++- Sources/Engine/Graphics/GfxLibrary.h | 15 ++++- Sources/Engine/Graphics/GfxProfile.cpp | 15 ++++- Sources/Engine/Graphics/GfxProfile.h | 15 ++++- Sources/Engine/Graphics/Gfx_Direct3D.cpp | 17 ++++- .../Engine/Graphics/Gfx_Direct3D_Colors.cpp | 17 ++++- .../Engine/Graphics/Gfx_Direct3D_Textures.cpp | 17 ++++- Sources/Engine/Graphics/Gfx_OpenGL.cpp | 15 ++++- .../Engine/Graphics/Gfx_OpenGL_Textures.cpp | 15 ++++- Sources/Engine/Graphics/Gfx_wrapper.cpp | 15 ++++- Sources/Engine/Graphics/Gfx_wrapper.h | 15 ++++- .../Engine/Graphics/Gfx_wrapper_Direct3D.cpp | 17 ++++- .../Engine/Graphics/Gfx_wrapper_OpenGL.cpp | 15 ++++- Sources/Engine/Graphics/Graphics.cpp | 15 ++++- Sources/Engine/Graphics/ImageInfo.cpp | 15 ++++- Sources/Engine/Graphics/ImageInfo.h | 15 ++++- Sources/Engine/Graphics/MultiMonitor.cpp | 15 ++++- Sources/Engine/Graphics/MultiMonitor.h | 15 ++++- Sources/Engine/Graphics/OpenGL.h | 15 ++++- Sources/Engine/Graphics/Raster.cpp | 15 ++++- Sources/Engine/Graphics/Raster.h | 15 ++++- Sources/Engine/Graphics/RenderPoly.h | 15 ++++- Sources/Engine/Graphics/RenderScene.h | 15 ++++- Sources/Engine/Graphics/Shader.cpp | 15 ++++- Sources/Engine/Graphics/Shader.h | 15 ++++- Sources/Engine/Graphics/ShadowMap.cpp | 15 ++++- Sources/Engine/Graphics/ShadowMap.h | 15 ++++- Sources/Engine/Graphics/Stereo.cpp | 15 ++++- Sources/Engine/Graphics/Stereo.h | 15 ++++- Sources/Engine/Graphics/Texture.cpp | 15 ++++- Sources/Engine/Graphics/Texture.h | 15 ++++- Sources/Engine/Graphics/TextureEffects.cpp | 15 ++++- Sources/Engine/Graphics/TextureEffects.h | 15 ++++- Sources/Engine/Graphics/TextureRender.cpp | 15 ++++- Sources/Engine/Graphics/Vertex.h | 15 ++++- Sources/Engine/Graphics/ViewPort.cpp | 15 ++++- Sources/Engine/Graphics/ViewPort.h | 15 ++++- Sources/Engine/Graphics/gl_functions.h | 15 ++++- Sources/Engine/Graphics/gl_types.h | 15 ++++- Sources/Engine/Light/Gradient.h | 15 ++++- Sources/Engine/Light/LayerMaker.cpp | 15 ++++- Sources/Engine/Light/LayerMixer.cpp | 15 ++++- Sources/Engine/Light/LensFlares.h | 15 ++++- Sources/Engine/Light/LightSource.cpp | 15 ++++- Sources/Engine/Light/LightSource.h | 15 ++++- Sources/Engine/Light/Shadows_internal.h | 17 ++++- Sources/Engine/Math/AABBox.h | 15 ++++- Sources/Engine/Math/FixInt.h | 15 ++++- Sources/Engine/Math/Float.cpp | 15 ++++- Sources/Engine/Math/Float.h | 15 ++++- Sources/Engine/Math/Functions.cpp | 15 ++++- Sources/Engine/Math/Functions.h | 15 ++++- Sources/Engine/Math/Geometry.cpp | 15 ++++- Sources/Engine/Math/Geometry.h | 15 ++++- Sources/Engine/Math/Geometry_DOUBLE.cpp | 15 ++++- Sources/Engine/Math/Matrix.h | 15 ++++- Sources/Engine/Math/OBBox.h | 15 ++++- Sources/Engine/Math/Object3D.cpp | 15 ++++- Sources/Engine/Math/Object3D.h | 15 ++++- Sources/Engine/Math/Object3D_CSG.cpp | 15 ++++- Sources/Engine/Math/Object3D_IO.cpp | 15 ++++- Sources/Engine/Math/ObjectSector.cpp | 15 ++++- Sources/Engine/Math/Placement.cpp | 15 ++++- Sources/Engine/Math/Placement.h | 15 ++++- Sources/Engine/Math/Plane.h | 15 ++++- Sources/Engine/Math/Projection.cpp | 15 ++++- Sources/Engine/Math/Projection.h | 15 ++++- Sources/Engine/Math/Projection_DOUBLE.h | 15 ++++- Sources/Engine/Math/Projection_Isometric.cpp | 15 ++++- Sources/Engine/Math/Projection_Parallel.cpp | 15 ++++- .../Engine/Math/Projection_Perspective.cpp | 15 ++++- Sources/Engine/Math/Projection_Simple.cpp | 15 ++++- .../Engine/Math/Projection_Simple_DOUBLE.cpp | 15 ++++- Sources/Engine/Math/Quaternion.h | 15 ++++- Sources/Engine/Math/TextureMapping.cpp | 15 ++++- Sources/Engine/Math/TextureMapping.h | 15 ++++- Sources/Engine/Math/Vector.h | 15 ++++- Sources/Engine/Models/EditModel.cpp | 15 ++++- Sources/Engine/Models/EditModel.h | 15 ++++- Sources/Engine/Models/MipMaker.cpp | 15 ++++- Sources/Engine/Models/MipMaker.h | 15 ++++- Sources/Engine/Models/Model.cpp | 15 ++++- Sources/Engine/Models/Model.h | 15 ++++- Sources/Engine/Models/ModelData.h | 15 ++++- Sources/Engine/Models/ModelObject.h | 15 ++++- Sources/Engine/Models/ModelProfile.cpp | 15 ++++- Sources/Engine/Models/ModelProfile.h | 15 ++++- Sources/Engine/Models/Model_internal.h | 15 ++++- Sources/Engine/Models/Normals.cpp | 15 ++++- Sources/Engine/Models/Normals.h | 15 ++++- Sources/Engine/Models/RenderModel.cpp | 15 ++++- Sources/Engine/Models/RenderModel.h | 15 ++++- Sources/Engine/Models/RenderModel_Mask.cpp | 15 ++++- Sources/Engine/Models/RenderModel_View.cpp | 15 ++++- Sources/Engine/Models/RenderModel_internal.h | 15 ++++- Sources/Engine/Models/VertexGetting.cpp | 15 ++++- Sources/Engine/Network/ActionBuffer.cpp | 15 ++++- Sources/Engine/Network/ActionBuffer.h | 15 ++++- Sources/Engine/Network/Buffer.cpp | 15 ++++- Sources/Engine/Network/Buffer.h | 15 ++++- Sources/Engine/Network/CPacket.cpp | 15 ++++- Sources/Engine/Network/CPacket.h | 17 ++++- Sources/Engine/Network/ClientInterface.cpp | 17 ++++- Sources/Engine/Network/ClientInterface.h | 17 ++++- Sources/Engine/Network/Common.h | 15 ++++- .../Engine/Network/CommunicationInterface.cpp | 15 ++++- .../Engine/Network/CommunicationInterface.h | 17 ++++- Sources/Engine/Network/Compression.cpp | 15 ++++- Sources/Engine/Network/Compression.h | 15 ++++- Sources/Engine/Network/Diff.cpp | 15 ++++- Sources/Engine/Network/Diff.h | 15 ++++- Sources/Engine/Network/EMsgBuffer.cpp | 15 ++++- Sources/Engine/Network/EMsgBuffer.h | 17 ++++- Sources/Engine/Network/EntityHashing.cpp | 17 ++++- Sources/Engine/Network/EntityHashing.h | 17 ++++- Sources/Engine/Network/LevelChange.h | 15 ++++- Sources/Engine/Network/MessageDispatcher.cpp | 15 ++++- Sources/Engine/Network/MessageDispatcher.h | 15 ++++- Sources/Engine/Network/Network.cpp | 15 ++++- Sources/Engine/Network/Network.h | 15 ++++- Sources/Engine/Network/NetworkMessage.cpp | 15 ++++- Sources/Engine/Network/NetworkMessage.h | 15 ++++- Sources/Engine/Network/NetworkProfile.cpp | 15 ++++- Sources/Engine/Network/NetworkProfile.h | 15 ++++- Sources/Engine/Network/Packet.cpp | 15 ++++- Sources/Engine/Network/Packet.h | 17 ++++- Sources/Engine/Network/PlayerBuffer.cpp | 15 ++++- Sources/Engine/Network/PlayerBuffer.h | 15 ++++- Sources/Engine/Network/PlayerSource.cpp | 15 ++++- Sources/Engine/Network/PlayerSource.h | 15 ++++- Sources/Engine/Network/PlayerTarget.cpp | 15 ++++- Sources/Engine/Network/PlayerTarget.h | 15 ++++- Sources/Engine/Network/Server.cpp | 15 ++++- Sources/Engine/Network/Server.h | 15 ++++- Sources/Engine/Network/SessionSocket.h | 15 ++++- Sources/Engine/Network/SessionState.cpp | 15 ++++- Sources/Engine/Network/SessionState.h | 15 ++++- Sources/Engine/Rendering/RenCache.cpp | 15 ++++- Sources/Engine/Rendering/RendASER.cpp | 15 ++++- Sources/Engine/Rendering/RendClip.cpp | 15 ++++- Sources/Engine/Rendering/RendMisc.cpp | 15 ++++- Sources/Engine/Rendering/Render.cpp | 15 ++++- Sources/Engine/Rendering/Render.h | 15 ++++- Sources/Engine/Rendering/RenderAdding.cpp | 15 ++++- Sources/Engine/Rendering/RenderBrushes.cpp | 15 ++++- Sources/Engine/Rendering/RenderModels.cpp | 15 ++++- Sources/Engine/Rendering/RenderProfile.cpp | 15 ++++- Sources/Engine/Rendering/RenderProfile.h | 15 ++++- Sources/Engine/Rendering/Render_internal.h | 15 ++++- Sources/Engine/Rendering/SelectOnRender.cpp | 15 ++++- Sources/Engine/Ska/AnimSet.cpp | 15 ++++- Sources/Engine/Ska/AnimSet.h | 15 ++++- Sources/Engine/Ska/Mesh.cpp | 15 ++++- Sources/Engine/Ska/Mesh.h | 15 ++++- Sources/Engine/Ska/ModelInstance.cpp | 15 ++++- Sources/Engine/Ska/ModelInstance.h | 15 ++++- Sources/Engine/Ska/ParsingSmbs.h | 15 ++++- Sources/Engine/Ska/RMRender.cpp | 15 ++++- Sources/Engine/Ska/RMRenderMask.cpp | 17 ++++- Sources/Engine/Ska/Render.h | 15 ++++- Sources/Engine/Ska/Skeleton.cpp | 15 ++++- Sources/Engine/Ska/Skeleton.h | 15 ++++- Sources/Engine/Ska/StringTable.cpp | 15 ++++- Sources/Engine/Ska/StringTable.h | 15 ++++- Sources/Engine/Sound/SoundData.cpp | 15 ++++- Sources/Engine/Sound/SoundData.h | 15 ++++- Sources/Engine/Sound/SoundDecoder.cpp | 15 ++++- Sources/Engine/Sound/SoundDecoder.h | 17 ++++- Sources/Engine/Sound/SoundLibrary.cpp | 15 ++++- Sources/Engine/Sound/SoundLibrary.h | 15 ++++- Sources/Engine/Sound/SoundListener.h | 15 ++++- Sources/Engine/Sound/SoundMixer.cpp | 15 ++++- Sources/Engine/Sound/SoundObject.cpp | 15 ++++- Sources/Engine/Sound/SoundObject.h | 15 ++++- Sources/Engine/Sound/SoundProfile.cpp | 15 ++++- Sources/Engine/Sound/SoundProfile.h | 15 ++++- Sources/Engine/Sound/Wave.cpp | 15 ++++- Sources/Engine/Sound/Wave.h | 15 ++++- Sources/Engine/Sound/al_functions.h | 15 ++++- Sources/Engine/Sound/eax.h | 15 ++++- Sources/Engine/Sound/ov_functions.h | 15 ++++- Sources/Engine/StdH.cpp | 15 ++++- Sources/Engine/StdH.h | 17 ++++- Sources/Engine/Templates/AllocationArray.cpp | 15 ++++- Sources/Engine/Templates/AllocationArray.h | 15 ++++- Sources/Engine/Templates/BSP.cpp | 15 ++++- Sources/Engine/Templates/BSP.h | 15 ++++- Sources/Engine/Templates/BSP_internal.h | 15 ++++- Sources/Engine/Templates/DynamicArray.cpp | 15 ++++- Sources/Engine/Templates/DynamicArray.h | 15 ++++- Sources/Engine/Templates/DynamicContainer.cpp | 15 ++++- Sources/Engine/Templates/DynamicContainer.h | 15 ++++- .../Engine/Templates/DynamicStackArray.cpp | 15 ++++- Sources/Engine/Templates/DynamicStackArray.h | 15 ++++- .../Engine/Templates/HashTableTemplate.cpp | 17 ++++- Sources/Engine/Templates/HashTableTemplate.h | 15 ++++- Sources/Engine/Templates/LinearAllocator.cpp | 15 ++++- Sources/Engine/Templates/LinearAllocator.h | 15 ++++- Sources/Engine/Templates/NameTable.cpp | 17 ++++- Sources/Engine/Templates/NameTable.h | 15 ++++- .../Engine/Templates/NameTable_CTFileName.cpp | 15 ++++- .../Engine/Templates/NameTable_CTFileName.h | 15 ++++- .../Templates/NameTable_CTranslationPair.cpp | 15 ++++- .../Templates/NameTable_CTranslationPair.h | 15 ++++- Sources/Engine/Templates/Selection.cpp | 15 ++++- Sources/Engine/Templates/Selection.h | 15 ++++- Sources/Engine/Templates/StaticArray.cpp | 15 ++++- Sources/Engine/Templates/StaticArray.h | 15 ++++- Sources/Engine/Templates/StaticStackArray.cpp | 15 ++++- Sources/Engine/Templates/StaticStackArray.h | 15 ++++- Sources/Engine/Templates/Stock.cpp | 15 ++++- Sources/Engine/Templates/Stock.h | 15 ++++- Sources/Engine/Templates/Stock_CAnimData.cpp | 15 ++++- Sources/Engine/Templates/Stock_CAnimData.h | 15 ++++- Sources/Engine/Templates/Stock_CAnimSet.cpp | 15 ++++- Sources/Engine/Templates/Stock_CAnimSet.h | 15 ++++- .../Engine/Templates/Stock_CEntityClass.cpp | 15 ++++- Sources/Engine/Templates/Stock_CEntityClass.h | 15 ++++- Sources/Engine/Templates/Stock_CMesh.cpp | 15 ++++- Sources/Engine/Templates/Stock_CMesh.h | 15 ++++- Sources/Engine/Templates/Stock_CModelData.cpp | 15 ++++- Sources/Engine/Templates/Stock_CModelData.h | 15 ++++- Sources/Engine/Templates/Stock_CShader.cpp | 15 ++++- Sources/Engine/Templates/Stock_CShader.h | 15 ++++- Sources/Engine/Templates/Stock_CSkeleton.cpp | 15 ++++- Sources/Engine/Templates/Stock_CSkeleton.h | 15 ++++- Sources/Engine/Templates/Stock_CSoundData.cpp | 15 ++++- Sources/Engine/Templates/Stock_CSoundData.h | 15 ++++- .../Engine/Templates/Stock_CTextureData.cpp | 15 ++++- Sources/Engine/Templates/Stock_CTextureData.h | 15 ++++- Sources/Engine/Terrain/ArrayHolder.cpp | 15 ++++- Sources/Engine/Terrain/ArrayHolder.h | 17 ++++- Sources/Engine/Terrain/Terrain.cpp | 15 ++++- Sources/Engine/Terrain/Terrain.h | 17 ++++- Sources/Engine/Terrain/TerrainArchive.cpp | 15 ++++- Sources/Engine/Terrain/TerrainArchive.h | 15 ++++- Sources/Engine/Terrain/TerrainEditing.cpp | 15 ++++- Sources/Engine/Terrain/TerrainEditing.h | 15 ++++- Sources/Engine/Terrain/TerrainLayer.cpp | 15 ++++- Sources/Engine/Terrain/TerrainLayer.h | 17 ++++- Sources/Engine/Terrain/TerrainMisc.cpp | 15 ++++- Sources/Engine/Terrain/TerrainMisc.h | 17 ++++- Sources/Engine/Terrain/TerrainRayCasting.cpp | 17 ++++- Sources/Engine/Terrain/TerrainRayCasting.h | 17 ++++- Sources/Engine/Terrain/TerrainRender.cpp | 15 ++++- Sources/Engine/Terrain/TerrainRender.h | 17 ++++- Sources/Engine/Terrain/TerrainTile.cpp | 15 ++++- Sources/Engine/Terrain/TerrainTile.h | 17 ++++- Sources/Engine/World/PhysicsProfile.cpp | 15 ++++- Sources/Engine/World/PhysicsProfile.h | 21 ++++-- Sources/Engine/World/World.cpp | 17 ++++- Sources/Engine/World/World.h | 15 ++++- Sources/Engine/World/WorldCSG.cpp | 15 ++++- Sources/Engine/World/WorldCollision.cpp | 15 ++++- Sources/Engine/World/WorldCollision.h | 15 ++++- Sources/Engine/World/WorldCollisionGrid.cpp | 17 ++++- Sources/Engine/World/WorldEditingProfile.cpp | 15 ++++- Sources/Engine/World/WorldEditingProfile.h | 15 ++++- Sources/Engine/World/WorldIO.cpp | 15 ++++- Sources/Engine/World/WorldRayCasting.cpp | 15 ++++- Sources/Engine/World/WorldRayCasting.h | 15 ++++- Sources/Engine/World/WorldSettings.h | 15 ++++- Sources/Engine/temp.h | 15 ++++- Sources/EngineGui/DlgChooseTextureType.cpp | 15 ++++- Sources/EngineGui/DlgChooseTextureType.h | 15 ++++- .../EngineGui/DlgCreateAnimatedTexture.cpp | 15 ++++- Sources/EngineGui/DlgCreateAnimatedTexture.h | 15 ++++- Sources/EngineGui/DlgCreateEffectTexture.cpp | 15 ++++- Sources/EngineGui/DlgCreateEffectTexture.h | 15 ++++- Sources/EngineGui/DlgCreateNormalTexture.cpp | 15 ++++- Sources/EngineGui/DlgCreateNormalTexture.h | 15 ++++- Sources/EngineGui/DlgSelectMode.cpp | 15 ++++- Sources/EngineGui/DlgSelectMode.h | 15 ++++- Sources/EngineGui/EngineGUI.cpp | 15 ++++- Sources/EngineGui/EngineGUI.h | 15 ++++- Sources/EngineGui/FileRequester.cpp | 15 ++++- Sources/EngineGui/StdH.cpp | 15 ++++- Sources/EngineGui/StdH.h | 15 ++++- Sources/EngineGui/WndDisplayTexture.cpp | 17 ++++- Sources/EngineGui/WndDisplayTexture.h | 15 ++++- Sources/EngineGui/resource.h | 15 ++++- Sources/EntitiesMP/AirElemental.es | 15 ++++- Sources/EntitiesMP/AirShockwave.es | 15 ++++- Sources/EntitiesMP/AmmoItem.es | 15 ++++- Sources/EntitiesMP/AmmoPack.es | 15 ++++- Sources/EntitiesMP/AnimationChanger.es | 15 ++++- Sources/EntitiesMP/AnimationHub.es | 15 ++++- Sources/EntitiesMP/AreaMarker.es | 15 ++++- Sources/EntitiesMP/ArmorItem.es | 15 ++++- Sources/EntitiesMP/BackgroundViewer.es | 15 ++++- Sources/EntitiesMP/BasicEffects.es | 15 ++++- Sources/EntitiesMP/Beast.es | 15 ++++- Sources/EntitiesMP/BigHead.es | 15 ++++- Sources/EntitiesMP/BlendController.es | 15 ++++- Sources/EntitiesMP/BloodSpray.es | 15 ++++- Sources/EntitiesMP/Boneman.es | 15 ++++- Sources/EntitiesMP/Bouncer.es | 15 ++++- Sources/EntitiesMP/Bullet.es | 15 ++++- Sources/EntitiesMP/Camera.es | 15 ++++- Sources/EntitiesMP/CameraMarker.es | 15 ++++- Sources/EntitiesMP/CannonBall.es | 15 ++++- Sources/EntitiesMP/CannonRotating.es | 15 ++++- Sources/EntitiesMP/CannonStatic.es | 15 ++++- Sources/EntitiesMP/ChainsawFreak.es | 15 ++++- Sources/EntitiesMP/Common/Common.cpp | 15 ++++- Sources/EntitiesMP/Common/Common.h | 15 ++++- .../EntitiesMP/Common/EmanatingParticles.cpp | 15 ++++- .../EntitiesMP/Common/EmanatingParticles.h | 15 ++++- Sources/EntitiesMP/Common/Flags.h | 15 ++++- Sources/EntitiesMP/Common/GameInterface.h | 15 ++++- Sources/EntitiesMP/Common/HUD.cpp | 15 ++++- Sources/EntitiesMP/Common/Particles.cpp | 15 ++++- Sources/EntitiesMP/Common/Particles.h | 15 ++++- Sources/EntitiesMP/Common/PathFinding.cpp | 17 ++++- Sources/EntitiesMP/Common/PathFinding.h | 15 ++++- Sources/EntitiesMP/Common/Stats.cpp | 15 ++++- Sources/EntitiesMP/Common/WeaponPositions.h | 15 ++++- Sources/EntitiesMP/Copier.es | 15 ++++- Sources/EntitiesMP/Counter.es | 15 ++++- Sources/EntitiesMP/CrateBus.es | 15 ++++- Sources/EntitiesMP/CrateRider.es | 15 ++++- Sources/EntitiesMP/CreditsHolder.es | 15 ++++- Sources/EntitiesMP/Damager.es | 15 ++++- Sources/EntitiesMP/Debris.es | 15 ++++- .../EntitiesMP/DebugEntityStatesDisplay.es | 15 ++++- Sources/EntitiesMP/Demon.es | 15 ++++- Sources/EntitiesMP/DestroyableArchitecture.es | 15 ++++- Sources/EntitiesMP/Devil.es | 15 ++++- Sources/EntitiesMP/DevilMarker.es | 15 ++++- Sources/EntitiesMP/DevilProjectile.es | 15 ++++- Sources/EntitiesMP/DoorController.es | 15 ++++- Sources/EntitiesMP/Dragonman.es | 15 ++++- Sources/EntitiesMP/EffectMarker.es | 15 ++++- Sources/EntitiesMP/Effector.es | 15 ++++- Sources/EntitiesMP/Elemental.es | 15 ++++- Sources/EntitiesMP/EnemyBase.es | 15 ++++- Sources/EntitiesMP/EnemyCounter.es | 15 ++++- Sources/EntitiesMP/EnemyDive.es | 15 ++++- Sources/EntitiesMP/EnemyFly.es | 15 ++++- Sources/EntitiesMP/EnemyMarker.es | 15 ++++- Sources/EntitiesMP/EnemyRunInto.es | 15 ++++- Sources/EntitiesMP/EnemySpawner.es | 15 ++++- Sources/EntitiesMP/EnvironmentBase.es | 15 ++++- Sources/EntitiesMP/EnvironmentMarker.es | 15 ++++- .../EntitiesMP/EnvironmentParticlesHolder.es | 15 ++++- Sources/EntitiesMP/Eruptor.es | 15 ++++- Sources/EntitiesMP/ExotechLarva.es | 15 ++++- Sources/EntitiesMP/ExotechLarvaBattery.es | 15 ++++- Sources/EntitiesMP/ExotechLarvaCharger.es | 15 ++++- Sources/EntitiesMP/Eyeman.es | 15 ++++- Sources/EntitiesMP/Fireworks.es | 15 ++++- Sources/EntitiesMP/Fish.es | 15 ++++- Sources/EntitiesMP/Flame.es | 15 ++++- Sources/EntitiesMP/FogMarker.es | 15 ++++- Sources/EntitiesMP/Gizmo.es | 15 ++++- Sources/EntitiesMP/Global.es | 15 ++++- Sources/EntitiesMP/GradientMarker.es | 15 ++++- Sources/EntitiesMP/GravityMarker.es | 15 ++++- Sources/EntitiesMP/GravityRouter.es | 15 ++++- Sources/EntitiesMP/Grunt.es | 15 ++++- Sources/EntitiesMP/GruntSka.es | 15 ++++- Sources/EntitiesMP/Guffy.es | 15 ++++- Sources/EntitiesMP/HazeMarker.es | 15 ++++- Sources/EntitiesMP/Headman.es | 15 ++++- Sources/EntitiesMP/HealthItem.es | 15 ++++- Sources/EntitiesMP/HudPicHolder.es | 15 ++++- Sources/EntitiesMP/Item.es | 15 ++++- Sources/EntitiesMP/KeyItem.es | 15 ++++- Sources/EntitiesMP/LarvaOffspring.es | 15 ++++- Sources/EntitiesMP/Light.es | 15 ++++- Sources/EntitiesMP/Lightning.es | 15 ++++- Sources/EntitiesMP/Marker.es | 15 ++++- Sources/EntitiesMP/MessageHolder.es | 15 ++++- Sources/EntitiesMP/MessageItem.es | 15 ++++- Sources/EntitiesMP/MeteorShower.es | 15 ++++- Sources/EntitiesMP/MirrorMarker.es | 15 ++++- Sources/EntitiesMP/ModelDestruction.es | 15 ++++- Sources/EntitiesMP/ModelHolder.es | 15 ++++- Sources/EntitiesMP/ModelHolder2.es | 15 ++++- Sources/EntitiesMP/ModelHolder3.es | 15 ++++- Sources/EntitiesMP/MovingBrush.es | 15 ++++- Sources/EntitiesMP/MovingBrushMarker.es | 15 ++++- Sources/EntitiesMP/MusicChanger.es | 15 ++++- Sources/EntitiesMP/MusicHolder.es | 15 ++++- Sources/EntitiesMP/NavigationMarker.es | 15 ++++- Sources/EntitiesMP/ParticleCloudsHolder.es | 15 ++++- Sources/EntitiesMP/ParticleCloudsMarker.es | 15 ++++- Sources/EntitiesMP/ParticlesHolder.es | 15 ++++- Sources/EntitiesMP/Pendulum.es | 15 ++++- Sources/EntitiesMP/PhotoAlbum.es | 15 ++++- Sources/EntitiesMP/Pipebomb.es | 15 ++++- Sources/EntitiesMP/Player.es | 15 ++++- Sources/EntitiesMP/PlayerActionMarker.es | 15 ++++- Sources/EntitiesMP/PlayerAnimator.es | 15 ++++- Sources/EntitiesMP/PlayerMarker.es | 15 ++++- Sources/EntitiesMP/PlayerView.es | 15 ++++- Sources/EntitiesMP/PlayerWeapons.es | 15 ++++- Sources/EntitiesMP/PlayerWeaponsEffects.es | 15 ++++- Sources/EntitiesMP/PowerUpItem.es | 15 ++++- Sources/EntitiesMP/Projectile.es | 15 ++++- Sources/EntitiesMP/PyramidSpaceShip.es | 15 ++++- Sources/EntitiesMP/PyramidSpaceShipMarker.es | 15 ++++- Sources/EntitiesMP/Reminder.es | 15 ++++- Sources/EntitiesMP/RollingStone.es | 15 ++++- Sources/EntitiesMP/Santa.es | 15 ++++- Sources/EntitiesMP/Scorpman.es | 15 ++++- Sources/EntitiesMP/ScrollHolder.es | 15 ++++- Sources/EntitiesMP/SeriousBomb.es | 15 ++++- Sources/EntitiesMP/Ship.es | 15 ++++- Sources/EntitiesMP/ShipMarker.es | 15 ++++- Sources/EntitiesMP/Shooter.es | 15 ++++- Sources/EntitiesMP/SoundHolder.es | 15 ++++- Sources/EntitiesMP/SpawnerProjectile.es | 15 ++++- Sources/EntitiesMP/Spinner.es | 15 ++++- Sources/EntitiesMP/StdH/StdH.cpp | 15 ++++- Sources/EntitiesMP/StdH/StdH.h | 15 ++++- Sources/EntitiesMP/StormController.es | 15 ++++- Sources/EntitiesMP/Summoner.es | 15 ++++- Sources/EntitiesMP/SummonerMarker.es | 15 ++++- Sources/EntitiesMP/Switch.es | 15 ++++- Sources/EntitiesMP/TacticsChanger.es | 15 ++++- Sources/EntitiesMP/TacticsHolder.es | 15 ++++- Sources/EntitiesMP/Teleport.es | 15 ++++- Sources/EntitiesMP/Terrain.es | 15 ++++- Sources/EntitiesMP/TextFXHolder.es | 15 ++++- Sources/EntitiesMP/TimeController.es | 15 ++++- Sources/EntitiesMP/TouchField.es | 15 ++++- Sources/EntitiesMP/Trigger.es | 15 ++++- Sources/EntitiesMP/Twister.es | 15 ++++- Sources/EntitiesMP/VoiceHolder.es | 15 ++++- Sources/EntitiesMP/Walker.es | 15 ++++- Sources/EntitiesMP/WatchPlayers.es | 15 ++++- Sources/EntitiesMP/Watcher.es | 15 ++++- Sources/EntitiesMP/Water.es | 15 ++++- Sources/EntitiesMP/WeaponItem.es | 15 ++++- Sources/EntitiesMP/Werebull.es | 15 ++++- Sources/EntitiesMP/Woman.es | 15 ++++- Sources/EntitiesMP/WorldBase.es | 15 ++++- Sources/EntitiesMP/WorldLink.es | 15 ++++- Sources/EntitiesMP/WorldSettingsController.es | 15 ++++- Sources/GameGUIMP/ActionsListControl.cpp | 15 ++++- Sources/GameGUIMP/ActionsListControl.h | 15 ++++- Sources/GameGUIMP/AxisListCtrl.cpp | 15 ++++- Sources/GameGUIMP/AxisListCtrl.h | 17 ++++- Sources/GameGUIMP/ConsoleSymbolsCombo.cpp | 15 ++++- Sources/GameGUIMP/ConsoleSymbolsCombo.h | 15 ++++- Sources/GameGUIMP/DlgAudioQuality.cpp | 15 ++++- Sources/GameGUIMP/DlgAudioQuality.h | 17 ++++- Sources/GameGUIMP/DlgConsole.cpp | 15 ++++- Sources/GameGUIMP/DlgConsole.h | 15 ++++- Sources/GameGUIMP/DlgEditButtonAction.cpp | 15 ++++- Sources/GameGUIMP/DlgEditButtonAction.h | 15 ++++- Sources/GameGUIMP/DlgPlayerAppearance.cpp | 15 ++++- Sources/GameGUIMP/DlgPlayerAppearance.h | 17 ++++- Sources/GameGUIMP/DlgPlayerControls.cpp | 15 ++++- Sources/GameGUIMP/DlgPlayerControls.h | 15 ++++- Sources/GameGUIMP/DlgPlayerSettings.cpp | 15 ++++- Sources/GameGUIMP/DlgPlayerSettings.h | 15 ++++- Sources/GameGUIMP/DlgRenameControls.cpp | 15 ++++- Sources/GameGUIMP/DlgRenameControls.h | 15 ++++- Sources/GameGUIMP/DlgSelectPlayer.cpp | 15 ++++- Sources/GameGUIMP/DlgSelectPlayer.h | 15 ++++- Sources/GameGUIMP/DlgVideoQuality.cpp | 15 ++++- Sources/GameGUIMP/DlgVideoQuality.h | 17 ++++- Sources/GameGUIMP/EditConsole.cpp | 15 ++++- Sources/GameGUIMP/EditConsole.h | 15 ++++- Sources/GameGUIMP/GameGUI.cpp | 15 ++++- Sources/GameGUIMP/GameGUI.h | 15 ++++- Sources/GameGUIMP/LocalPlayersList.cpp | 15 ++++- Sources/GameGUIMP/LocalPlayersList.h | 17 ++++- Sources/GameGUIMP/PressKeyEditControl.cpp | 15 ++++- Sources/GameGUIMP/PressKeyEditControl.h | 15 ++++- Sources/GameGUIMP/StdAfx.cpp | 15 ++++- Sources/GameGUIMP/StdAfx.h | 15 ++++- Sources/GameGUIMP/resource.h | 15 ++++- Sources/GameMP/Camera.cpp | 15 ++++- Sources/GameMP/Camera.h | 15 ++++- Sources/GameMP/CompMessage.cpp | 15 ++++- Sources/GameMP/CompMessage.h | 15 ++++- Sources/GameMP/CompModels.cpp | 15 ++++- Sources/GameMP/Computer.cpp | 15 ++++- Sources/GameMP/Computer.h | 15 ++++- Sources/GameMP/Console.cpp | 15 ++++- Sources/GameMP/Controls.cpp | 17 ++++- Sources/GameMP/Game.cpp | 15 ++++- Sources/GameMP/Game.h | 15 ++++- Sources/GameMP/LCDDrawing.cpp | 15 ++++- Sources/GameMP/LCDDrawing.h | 15 ++++- Sources/GameMP/LoadingHook.cpp | 15 ++++- Sources/GameMP/Map.cpp | 15 ++++- Sources/GameMP/PlayerSettings.h | 17 ++++- Sources/GameMP/SEColors.h | 17 ++++- Sources/GameMP/SessionProperties.cpp | 15 ++++- Sources/GameMP/SessionProperties.h | 15 ++++- Sources/GameMP/StdAfx.cpp | 15 ++++- Sources/GameMP/StdAfx.h | 15 ++++- Sources/GameMP/WEDInterface.cpp | 15 ++++- Sources/LWSkaExporter/AnimExport.cpp | 15 ++++- Sources/LWSkaExporter/Base.h | 15 ++++- Sources/LWSkaExporter/CopyWeightMaps.cpp | 15 ++++- Sources/LWSkaExporter/Master.cpp | 15 ++++- Sources/LWSkaExporter/MeshExport.cpp | 15 ++++- Sources/LWSkaExporter/ModelerMeshExporter.cpp | 15 ++++- Sources/LWSkaExporter/SectionsExport.cpp | 15 ++++- Sources/LWSkaExporter/SurfaceParameters.cpp | 15 ++++- Sources/LWSkaExporter/plugin.cpp | 15 ++++- Sources/LWSkaExporter/vecmat.h | 15 ++++- Sources/MakeFONT/MakeFONT.cpp | 15 ++++- Sources/Modeler/#DlgNumericAlpha.h# | 61 ++++++++++++++++++ Sources/Modeler/AnimComboBox.cpp | 15 ++++- Sources/Modeler/AnimComboBox.h | 15 ++++- Sources/Modeler/ChildFrm.cpp | 15 ++++- Sources/Modeler/ChildFrm.h | 15 ++++- Sources/Modeler/ChoosedColorButton.cpp | 15 ++++- Sources/Modeler/ChoosedColorButton.h | 15 ++++- Sources/Modeler/ColoredButton.cpp | 15 ++++- Sources/Modeler/ColoredButton.h | 15 ++++- Sources/Modeler/CtrlEditBoolean.cpp | 15 ++++- Sources/Modeler/CtrlEditBoolean.h | 17 ++++- Sources/Modeler/DlgAutoMipModeling.cpp | 15 ++++- Sources/Modeler/DlgAutoMipModeling.h | 15 ++++- Sources/Modeler/DlgChooseAnim.cpp | 15 ++++- Sources/Modeler/DlgChooseAnim.h | 15 ++++- .../Modeler/DlgCreateReflectionTexture.cpp | 15 ++++- Sources/Modeler/DlgCreateReflectionTexture.h | 15 ++++- Sources/Modeler/DlgCreateSpecularTexture.cpp | 15 ++++- Sources/Modeler/DlgCreateSpecularTexture.h | 15 ++++- Sources/Modeler/DlgExportForSkinning.cpp | 15 ++++- Sources/Modeler/DlgExportForSkinning.h | 15 ++++- Sources/Modeler/DlgInfoFrame.cpp | 15 ++++- Sources/Modeler/DlgInfoFrame.h | 15 ++++- Sources/Modeler/DlgInfoPgAnim.cpp | 15 ++++- Sources/Modeler/DlgInfoPgAnim.h | 15 ++++- Sources/Modeler/DlgInfoPgGlobal.cpp | 15 ++++- Sources/Modeler/DlgInfoPgMip.cpp | 15 ++++- Sources/Modeler/DlgInfoPgMip.h | 15 ++++- Sources/Modeler/DlgInfoPgNone.cpp | 15 ++++- Sources/Modeler/DlgInfoPgNone.h | 15 ++++- Sources/Modeler/DlgInfoPgPos.cpp | 15 ++++- Sources/Modeler/DlgInfoPgPos.h | 15 ++++- Sources/Modeler/DlgInfoPgRendering.cpp | 15 ++++- Sources/Modeler/DlgInfoPgRendering.h | 15 ++++- Sources/Modeler/DlgInfoSheet.cpp | 15 ++++- Sources/Modeler/DlgInfoSheet.h | 15 ++++- Sources/Modeler/DlgMarkLinkedSurfaces.cpp | 15 ++++- Sources/Modeler/DlgMarkLinkedSurfaces.h | 15 ++++- Sources/Modeler/DlgMultiplyMapping.cpp | 15 ++++- Sources/Modeler/DlgMultiplyMapping.h | 15 ++++- Sources/Modeler/DlgNewProgress.cpp | 15 ++++- Sources/Modeler/DlgNewProgress.h | 15 ++++- Sources/Modeler/DlgNumericAlpha.cpp | 15 ++++- Sources/Modeler/DlgNumericAlpha.h | 15 ++++- Sources/Modeler/DlgPgCollision.cpp | 15 ++++- Sources/Modeler/DlgPgCollision.h | 15 ++++- .../Modeler/DlgPgInfoAttachingPlacement.cpp | 15 ++++- Sources/Modeler/DlgPgInfoAttachingPlacement.h | 15 ++++- Sources/Modeler/DlgPgInfoAttachingSound.cpp | 15 ++++- Sources/Modeler/DlgPgInfoAttachingSound.h | 15 ++++- Sources/Modeler/DlgPleaseWait.cpp | 15 ++++- Sources/Modeler/DlgPleaseWait.h | 15 ++++- Sources/Modeler/DlgPreferences.cpp | 15 ++++- Sources/Modeler/DlgPreferences.h | 15 ++++- Sources/Modeler/LinkedSurfaceList.cpp | 15 ++++- Sources/Modeler/LinkedSurfaceList.h | 15 ++++- Sources/Modeler/MainFrm.cpp | 15 ++++- Sources/Modeler/MainFrm.h | 15 ++++- Sources/Modeler/Modeler.cpp | 15 ++++- Sources/Modeler/Modeler.h | 15 ++++- Sources/Modeler/ModelerDoc.cpp | 15 ++++- Sources/Modeler/ModelerDoc.h | 15 ++++- Sources/Modeler/ModelerView.cpp | 15 ++++- Sources/Modeler/ModelerView.h | 15 ++++- Sources/Modeler/PaletteButton.cpp | 15 ++++- Sources/Modeler/PaletteButton.h | 15 ++++- Sources/Modeler/PaletteDialog.cpp | 15 ++++- Sources/Modeler/PaletteDialog.h | 15 ++++- Sources/Modeler/PatchPalette.cpp | 15 ++++- Sources/Modeler/PatchPalette.h | 15 ++++- Sources/Modeler/PatchPaletteButton.cpp | 15 ++++- Sources/Modeler/PatchPaletteButton.h | 15 ++++- Sources/Modeler/ScriptDoc.cpp | 15 ++++- Sources/Modeler/ScriptDoc.h | 15 ++++- Sources/Modeler/ScriptView.cpp | 17 ++++- Sources/Modeler/ScriptView.h | 15 ++++- Sources/Modeler/SkyFloat.cpp | 15 ++++- Sources/Modeler/SkyFloat.h | 15 ++++- Sources/Modeler/StainsComboBox.cpp | 15 ++++- Sources/Modeler/StainsComboBox.h | 15 ++++- Sources/Modeler/StdAfx.cpp | 15 ++++- Sources/Modeler/StdAfx.h | 15 ++++- Sources/Modeler/TextureComboBox.cpp | 15 ++++- Sources/Modeler/TextureComboBox.h | 15 ++++- Sources/Modeler/dlginfopgglobal.h | 15 ++++- Sources/Modeler/resource.h | 15 ++++- .../Ages/Egypt/Architecture/Column07/Column.h | 15 ++++- .../Ages/Egypt/Architecture/Column08/Column.h | 15 ++++- .../Egypt/Architecture/Columns02/Columns.h | 15 ++++- .../Ages/Egypt/Architecture/Fence01/Fence.h | 15 ++++- .../Architecture/SmoothGate01/SmoothGate.h | 15 ++++- .../Ages/Egypt/Architecture/Switch01/Handle.h | 15 ++++- .../Ages/Egypt/Architecture/Switch01/Switch.h | 15 ++++- Sources/Models/Ages/Egypt/Gods/Amon/Amon.h | 15 ++++- .../Models/Ages/Egypt/Gods/Amon/AmonGold.h | 15 ++++- .../Ages/Egypt/Gods/Amon/AmonReflections.h | 15 ++++- Sources/Models/Ages/Egypt/Gods/Amonorg/Amon.h | 15 ++++- .../Models/Ages/Egypt/Gods/Amonorg/AmonGold.h | 15 ++++- .../Ages/Egypt/Gods/Amonorg/Destroyed.h | 15 ++++- .../Models/Ages/Egypt/Gods/Nefthis/Nefthis.h | 15 ++++- Sources/Models/Ages/Egypt/Gods/Neith/Neith.h | 15 ++++- .../Models/Ages/Egypt/Gods/Osiris/Osiris.h | 15 ++++- Sources/Models/Ages/Egypt/Gods/Ptah/Ptah.h | 15 ++++- .../Models/Ages/Egypt/Gods/Sekhmet/Sekhmet.h | 15 ++++- Sources/Models/Ages/Egypt/Gods/Toth/Toth.h | 15 ++++- .../Ages/Egypt/Gods/TothMonkey/TothMonkey.h | 15 ++++- .../Ages/Egypt/Objects/Horns03/Destroyed.h | 15 ++++- .../Models/Ages/Egypt/Objects/Horns03/Horns.h | 15 ++++- .../Egypt/Statues/BirdStatue/BirdStatue.h | 15 ++++- Sources/Models/Ages/Egypt/Statues/Cat/Cat.h | 15 ++++- .../Models/Ages/Egypt/Statues/Jackal/Jackal.h | 15 ++++- .../Ages/Egypt/Statues/Jackal01/Destroyed.h | 15 ++++- .../Ages/Egypt/Statues/Jackal01/Jackal.h | 15 ++++- .../Ages/Egypt/Statues/Jaguar02/Destroyed.h | 15 ++++- .../Ages/Egypt/Statues/Jaguar02/Jaguar.h | 15 ++++- .../Ages/Egypt/Statues/Neferthiti/Nefer.h | 15 ++++- .../Ages/Egypt/Statues/Sphinx03/Sphinx.h | 15 ++++- .../Ages/Egypt/Statues/Sphinx04/Destroyed.h | 15 ++++- .../Ages/Egypt/Statues/Sphinx04/Sphinx.h | 15 ++++- .../Egypt/Traps/RollingStone/RollingStone.h | 15 ++++- .../Ages/Egypt/Traps/RollingStone/Stone.h | 15 ++++- .../Traps/RollingStone_old/RollingStone.h | 15 ++++- .../Ages/Egypt/Traps/SphinxSplited/Sphinx.h | 15 ++++- .../Egypt/Traps/SphinxSplited/SphinxGlass.h | 15 ++++- .../Models/Ages/Egypt/Traps/Spikes01/Spikes.h | 15 ++++- .../LightSources/LightSource05/LightSource.h | 15 ++++- .../LightSources/LightSource07/LightSource.h | 15 ++++- .../LightSources/LightSource08/LightSource.h | 15 ++++- .../LightSources/LightSource09/LightSource.h | 15 ++++- .../Ages/Future/Space/Galaxy01/Galaxy.h | 15 ++++- Sources/Models/Computer/Floor.h | 15 ++++- Sources/Models/CutSequences/Altar/Altar.h | 15 ++++- .../CutSequences/AltarKarnakApproach/Altar.h | 15 ++++- .../CutSequences/AltarPicker/AltarPicker.h | 15 ++++- Sources/Models/CutSequences/Bridge/Bridge.h | 15 ++++- .../CutSequences/Bridge/BridgeSupport.h | 15 ++++- Sources/Models/CutSequences/Counter/Digit.h | 15 ++++- Sources/Models/CutSequences/Crate/Crate.h | 15 ++++- .../Models/CutSequences/Crate/CrateLowPoly.h | 15 ++++- .../Models/CutSequences/CrateRider/Crate.h | 15 ++++- .../CutSequences/CroteamLogo/CroteamLogo.h | 15 ++++- Sources/Models/CutSequences/Earth/Earth.h | 15 ++++- .../CutSequences/EndTitle/ToBeContinued.h | 15 ++++- Sources/Models/CutSequences/Lamp01/Lamp.h | 15 ++++- Sources/Models/CutSequences/Lamp02/Lamp.h | 15 ++++- Sources/Models/CutSequences/Lamp03/Lamp.h | 15 ++++- Sources/Models/CutSequences/Lamp04/Lamp.h | 15 ++++- Sources/Models/CutSequences/Lamp05/Glow.h | 15 ++++- Sources/Models/CutSequences/Lamp05/Light.h | 15 ++++- Sources/Models/CutSequences/Lamp06/Glow.h | 15 ++++- Sources/Models/CutSequences/Lamp06/Lamp.h | 15 ++++- Sources/Models/CutSequences/LogoOdi/LogoOdi.h | 15 ++++- Sources/Models/CutSequences/Luxor/Antenna.h | 15 ++++- .../Models/CutSequences/Obelisk/MainPart.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part01.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part02.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part03.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part04.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part05.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part06.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part07.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part08.h | 15 ++++- Sources/Models/CutSequences/Obelisk/Part09.h | 15 ++++- Sources/Models/CutSequences/Portal/Base.h | 15 ++++- .../CutSequences/Portal/LightningHolder.h | 15 ++++- Sources/Models/CutSequences/Portal/Portal.h | 15 ++++- Sources/Models/CutSequences/Pylon/MainPart.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part01.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part02.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part03.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part04.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part05.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part06.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part07.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part08.h | 15 ++++- Sources/Models/CutSequences/Pylon/Part09.h | 15 ++++- .../Models/CutSequences/Pyramid/Lightning.h | 15 ++++- Sources/Models/CutSequences/Pyramid/Ring.h | 15 ++++- Sources/Models/CutSequences/Screens/Frame.h | 15 ++++- Sources/Models/CutSequences/Screens/Screen.h | 15 ++++- .../CutSequences/SeriousSamLogo/SeriousSam.h | 15 ++++- .../SeriousSamSign/SeriousSamSign.h | 15 ++++- .../CutSequences/SpaceShip/BeamMachine.h | 15 ++++- .../CutSequences/SpaceShip/BeamMachineRim.h | 15 ++++- Sources/Models/CutSequences/SpaceShip/Body.h | 15 ++++- .../CutSequences/SpaceShip/BottomFlare.h | 15 ++++- Sources/Models/CutSequences/SpaceShip/Door.h | 15 ++++- .../Models/CutSequences/SpaceShip/FillIn.h | 15 ++++- .../Models/CutSequences/SpaceShip/LightBeam.h | 15 ++++- .../Models/CutSequences/SpaceShip/PowerRing.h | 15 ++++- .../Models/CutSequences/SpaceShip/SpaceShip.h | 15 ++++- Sources/Models/Editor/AmbientLight.h | 15 ++++- Sources/Models/Editor/AngleVector.h | 15 ++++- Sources/Models/Editor/AnimationChanger.h | 15 ++++- Sources/Models/Editor/Axis.h | 15 ++++- Sources/Models/Editor/BlendController.h | 15 ++++- Sources/Models/Editor/BoundingBox.h | 15 ++++- Sources/Models/Editor/Camera.h | 15 ++++- Sources/Models/Editor/CameraMarker.h | 15 ++++- Sources/Models/Editor/CollisionBox.h | 15 ++++- Sources/Models/Editor/Copier.h | 15 ++++- Sources/Models/Editor/Damager.h | 15 ++++- Sources/Models/Editor/DoorController.h | 15 ++++- Sources/Models/Editor/EmptyBrush.h | 15 ++++- Sources/Models/Editor/EnemyMarker.h | 15 ++++- Sources/Models/Editor/EnemySpawner.h | 15 ++++- Sources/Models/Editor/EntityMarker.h | 15 ++++- Sources/Models/Editor/EnvironmentMarker.h | 15 ++++- Sources/Models/Editor/Floor.h | 15 ++++- Sources/Models/Editor/Fog.h | 15 ++++- Sources/Models/Editor/GradientMarker.h | 15 ++++- Sources/Models/Editor/GravityMarker.h | 15 ++++- Sources/Models/Editor/GravityRouter.h | 15 ++++- Sources/Models/Editor/Guilotine.h | 15 ++++- Sources/Models/Editor/Haze.h | 15 ++++- Sources/Models/Editor/Lamp.h | 15 ++++- Sources/Models/Editor/LightSource.h | 15 ++++- Sources/Models/Editor/LightStyle.h | 15 ++++- Sources/Models/Editor/Lightning.h | 15 ++++- Sources/Models/Editor/MessageHolder.h | 15 ++++- Sources/Models/Editor/ModelDestruction.h | 15 ++++- Sources/Models/Editor/MovingBrushMarker.h | 15 ++++- Sources/Models/Editor/MusicChanger.h | 15 ++++- Sources/Models/Editor/MusicHolder.h | 15 ++++- Sources/Models/Editor/NavigationMarker.h | 15 ++++- Sources/Models/Editor/PlayerActionMarker.h | 15 ++++- Sources/Models/Editor/PlayerStart.h | 15 ++++- Sources/Models/Editor/PointLight.h | 15 ++++- Sources/Models/Editor/PortalMarker.h | 15 ++++- Sources/Models/Editor/RangeSphere.h | 15 ++++- Sources/Models/Editor/ShipMarker.h | 15 ++++- Sources/Models/Editor/SoundHolder.h | 15 ++++- Sources/Models/Editor/SoundHolder02.h | 15 ++++- Sources/Models/Editor/SpotLight.h | 15 ++++- Sources/Models/Editor/StormController.h | 15 ++++- Sources/Models/Editor/Teapot.h | 15 ++++- Sources/Models/Editor/Teleport.h | 15 ++++- Sources/Models/Editor/ThunderController.h | 15 ++++- Sources/Models/Editor/Trigger.h | 15 ++++- Sources/Models/Editor/Vector.h | 15 ++++- Sources/Models/Editor/VoiceHolder.h | 15 ++++- Sources/Models/Editor/WarpEntrance.h | 15 ++++- Sources/Models/Editor/WarpExit.h | 15 ++++- Sources/Models/Editor/WatchPlayers.h | 15 ++++- Sources/Models/Editor/WorldLink.h | 15 ++++- .../Models/Editor/WorldSettingsController.h | 15 ++++- Sources/Models/Effects/BigFire/Fire.h | 15 ++++- .../Models/Effects/Blood01/objects/Blood01.h | 15 ++++- .../Models/Effects/BloodCloud/BloodCloud.h | 15 ++++- .../Effects/BloodExplosion01/BloodExplosion.h | 15 ++++- .../Models/Effects/BloodOnTheWall01/Blood.h | 15 ++++- .../Models/Effects/BulletOnTheWall/Bullet.h | 15 ++++- .../Effects/BulletParticles/BulletParticles.h | 15 ++++- .../Models/Effects/BulletTrail/BulletTrail.h | 15 ++++- .../BurnedStainOnTheWall.h | 15 ++++- Sources/Models/Effects/Debris/Body01/Body.h | 15 ++++- Sources/Models/Effects/Debris/Body02/Body.h | 15 ++++- Sources/Models/Effects/Debris/Body03/Body.h | 15 ++++- Sources/Models/Effects/Debris/Body04/Body.h | 15 ++++- Sources/Models/Effects/Debris/Body05/Body.h | 15 ++++- Sources/Models/Effects/Debris/Brain01/Brain.h | 15 ++++- .../Models/Effects/Debris/Column01/Column01.h | 15 ++++- .../Effects/Debris/Column01/ColumnAll.h | 15 ++++- .../Models/Effects/Debris/Column01/Part01.h | 15 ++++- .../Models/Effects/Debris/Column01/Part02.h | 15 ++++- .../Models/Effects/Debris/Column01/Part03.h | 15 ++++- .../Models/Effects/Debris/Column01/Part04.h | 15 ++++- .../Models/Effects/Debris/Column01/Part05.h | 15 ++++- .../Models/Effects/Debris/Column01/Part06.h | 15 ++++- .../Models/Effects/Debris/Column01/Part07.h | 15 ++++- .../Models/Effects/Debris/Column01/Part08.h | 15 ++++- .../Models/Effects/Debris/Column01/Part09.h | 15 ++++- .../Models/Effects/Debris/Column01/Part10.h | 15 ++++- .../Models/Effects/Debris/Column01/Part11.h | 15 ++++- .../Models/Effects/Debris/Column02/Column.h | 15 ++++- .../Models/Effects/Debris/Column02/Part01.h | 15 ++++- .../Models/Effects/Debris/Column02/Part02.h | 15 ++++- .../Models/Effects/Debris/Column02/Part03.h | 15 ++++- .../Models/Effects/Debris/Column02/Part04.h | 15 ++++- .../Models/Effects/Debris/Column02/Part05.h | 15 ++++- .../Models/Effects/Debris/Column02/Part06.h | 15 ++++- .../Models/Effects/Debris/Column02/Part07.h | 15 ++++- .../Models/Effects/Debris/Column02/Part08.h | 15 ++++- .../Models/Effects/Debris/Column02/Part09.h | 15 ++++- .../Models/Effects/Debris/Column02/Part10.h | 15 ++++- Sources/Models/Effects/Debris/Flesh/Flesh.h | 15 ++++- Sources/Models/Effects/Debris/Fruits/Apple.h | 15 ++++- Sources/Models/Effects/Debris/Fruits/Banana.h | 15 ++++- .../Effects/Debris/Fruits/CheeseBurger.h | 15 ++++- .../Models/Effects/Debris/Fruits/LollyPop.h | 15 ++++- Sources/Models/Effects/Debris/Fruits/Orange.h | 15 ++++- Sources/Models/Effects/Debris/Fruits/Pear.h | 15 ++++- Sources/Models/Effects/Debris/Lava01/Lava.h | 15 ++++- .../Models/Effects/Debris/Lava01/LavaFlare.h | 15 ++++- Sources/Models/Effects/Debris/Skull01/Skull.h | 15 ++++- .../Models/Effects/Debris/Skull01_org/Skull.h | 15 ++++- Sources/Models/Effects/Debris/Stone/Stone.h | 15 ++++- Sources/Models/Effects/Debris/Wood01/Wood.h | 15 ++++- .../Models/Effects/Explosion01/Explosion01.h | 15 ++++- .../Models/Effects/Explosion02/Explosion.h | 15 ++++- .../Models/Effects/Explosion03/Explosion.h | 15 ++++- .../Models/Effects/Explosion04/Explosion.h | 15 ++++- .../Models/Effects/Explosion05/Explosion.h | 15 ++++- .../Models/Effects/Explosion06/Explosion.h | 15 ++++- .../Models/Effects/Explosion07/Explosion.h | 15 ++++- .../Models/Effects/Explosion08/Explosion.h | 15 ++++- .../Models/Effects/Explosion09/Explosion.h | 15 ++++- .../Models/Effects/Explosion10/Explosion.h | 15 ++++- .../Models/Effects/Explosion11/Explosion.h | 15 ++++- .../Models/Effects/Explosion12/Explosion.h | 15 ++++- .../Models/Effects/Explosion13/Explosion.h | 15 ++++- .../Models/Effects/Explosion14/Explosion.h | 15 ++++- .../Models/Effects/Explosion15/Explosion.h | 15 ++++- .../Models/Effects/Explosion16/Explosion.h | 15 ++++- .../Models/Effects/Explosion17/Explosion.h | 15 ++++- .../Models/Effects/Explosion18/Explosion.h | 15 ++++- .../ExplosionGrenade/ExplosionGrenade.h | 15 ++++- .../ExplosionGrenade/ExplosionGrenade3D.h | 15 ++++- .../Effects/ExplosionParticles/Particles.h | 15 ++++- .../Effects/ExplosionParticles/Particles3D.h | 15 ++++- .../Effects/ExplosionRocket/ExplosionRocket.h | 15 ++++- .../ExplosionRocket/ExplosionRocket3D.h | 15 ++++- Sources/Models/Effects/Fire01/Fire.h | 15 ++++- Sources/Models/Effects/Fire02/Fire.h | 15 ++++- Sources/Models/Effects/Fire03/Fire.h | 15 ++++- Sources/Models/Effects/Flare01/Flare.h | 15 ++++- Sources/Models/Effects/Flare02/Flaire.h | 15 ++++- Sources/Models/Effects/Flare03/Flare.h | 15 ++++- Sources/Models/Effects/Flares1m/Flaire.h | 15 ++++- Sources/Models/Effects/Holder2x4/Holder.h | 15 ++++- .../Models/Effects/Holder2x4/HolderAngle.h | 15 ++++- .../Models/Effects/Holder2x4/HolderOneSide.h | 15 ++++- Sources/Models/Effects/LavaRock01/LavaRock.h | 15 ++++- .../Models/Effects/LavaRock01/LavaRock02.h | 15 ++++- .../Models/Effects/LavaRock01/LavaRock03.h | 15 ++++- .../Models/Effects/LightBeam01/LightBeam.h | 15 ++++- .../Models/Effects/LightBeam02/LightBeam.h | 15 ++++- .../Models/Effects/LightBeam03/LightBeam.h | 15 ++++- Sources/Models/Effects/Rail/rail.h | 15 ++++- Sources/Models/Effects/Rail/railend.h | 15 ++++- Sources/Models/Effects/Rail/railstart.h | 15 ++++- .../Effects/RotatingFlare01/RotatingFlare.h | 15 ++++- Sources/Models/Effects/ShockWave/Ring.h | 15 ++++- Sources/Models/Effects/ShockWave/Ring2.h | 15 ++++- .../Models/Effects/ShockWave01/ShockWave.h | 15 ++++- .../Effects/ShockWaveGreen/ShockWaveGreen.h | 15 ++++- Sources/Models/Effects/Smoke01/Smoke.h | 15 ++++- Sources/Models/Effects/Smoke02/Smoke.h | 15 ++++- Sources/Models/Effects/Smoke03/Smoke.h | 15 ++++- Sources/Models/Effects/Smoke04/Smoke.h | 15 ++++- Sources/Models/Effects/Smoke05/Smoke.h | 15 ++++- Sources/Models/Effects/Smoke06/Smoke.h | 15 ++++- Sources/Models/Effects/SmokeLine/SmokeLine.h | 15 ++++- .../Models/Effects/SmokeLine01/SmokeLine.h | 15 ++++- .../Models/Effects/SmokeLine02/SmokeLine.h | 15 ++++- Sources/Models/Effects/Sphere01/Sphere.h | 15 ++++- Sources/Models/Effects/StainOnTheWall/Stain.h | 15 ++++- Sources/Models/Effects/Teleport01/Teleport.h | 15 ++++- Sources/Models/Effects/Water01/Water.h | 15 ++++- .../Models/Effects/WaterFall01/WaterFall.h | 15 ++++- Sources/Models/Effects/WaterFoam01/Puff.h | 15 ++++- Sources/Models/Effects/WaterFoam02/Foam.h | 15 ++++- Sources/Models/Effects/WaterFoam03/Foam.h | 15 ++++- .../Models/Effects/Weapons/Flare01/Flare.h | 15 ++++- .../Models/Effects/Weapons/Flare02/Flare.h | 15 ++++- Sources/Models/ElsaPromo/CurvedSurfaces.h | 15 ++++- Sources/Models/ElsaPromo/ElsaLogoLow.h | 15 ++++- Sources/Models/ElsaPromo/Temple/DoorLeft.h | 15 ++++- Sources/Models/ElsaPromo/Temple/DoorRight.h | 15 ++++- Sources/Models/Enemies/Beast/Beast.h | 15 ++++- .../Enemies/Beast/Projectile/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOld/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOld2/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOrg/Projectile.h | 15 ++++- Sources/Models/Enemies/Beast_/Beast.h | 15 ++++- .../Enemies/Beast_/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/Boneman/Boneman.h | 15 ++++- Sources/Models/Enemies/Boneman/Debris/Body.h | 15 ++++- Sources/Models/Enemies/Boneman/Debris/Hand.h | 15 ++++- Sources/Models/Enemies/Boneman/Debris/Legs.h | 15 ++++- .../Enemies/Boneman/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/Catman/CatMan.h | 15 ++++- .../Models/Enemies/Catman/Fire/CatmanFire.h | 15 ++++- .../Enemies/Catman/FireOld/CatmanFire.h | 15 ++++- .../Enemies/Catman/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/ChainSawFreak/Freak.h | 15 ++++- Sources/Models/Enemies/ChainSawFreak/Saw.h | 15 ++++- Sources/Models/Enemies/Cyborg/AssHole.h | 15 ++++- Sources/Models/Enemies/Cyborg/Bike.h | 15 ++++- Sources/Models/Enemies/Cyborg/Cyborg.h | 15 ++++- Sources/Models/Enemies/Cyborg/CyborgONEPART.h | 15 ++++- Sources/Models/Enemies/Cyborg/Foot.h | 15 ++++- Sources/Models/Enemies/Cyborg/Head.h | 15 ++++- Sources/Models/Enemies/Cyborg/LeftLowerArm.h | 15 ++++- Sources/Models/Enemies/Cyborg/LeftLowerLeg.h | 15 ++++- Sources/Models/Enemies/Cyborg/LeftUpperArm.h | 15 ++++- Sources/Models/Enemies/Cyborg/LeftUpperLeg.h | 15 ++++- .../Cyborg/Projectile/LaserProjectile.h | 15 ++++- .../Cyborg/Projectile/LaserProjectileGlow01.h | 15 ++++- .../Enemies/Cyborg/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/Cyborg/RightLowerArm.h | 15 ++++- Sources/Models/Enemies/Cyborg/RightLowerLeg.h | 15 ++++- Sources/Models/Enemies/Cyborg/RightUpperArm.h | 15 ++++- Sources/Models/Enemies/Cyborg/RightUpperLeg.h | 15 ++++- Sources/Models/Enemies/Cyborg/Termi+rifle.h | 15 ++++- Sources/Models/Enemies/Cyborg/Torso.h | 15 ++++- Sources/Models/Enemies/Devil/Devil.h | 15 ++++- Sources/Models/Enemies/Devil/DevilHead.h | 15 ++++- Sources/Models/Enemies/Devil/DevilTest.h | 15 ++++- Sources/Models/Enemies/Devil/GoatHead.h | 15 ++++- Sources/Models/Enemies/Devil/SkullHead.h | 15 ++++- .../Enemies/Devil/Weapons/ElectricityFlare.h | 15 ++++- .../Enemies/Devil/Weapons/ElectricityGun.h | 15 ++++- Sources/Models/Enemies/Devil/Weapons/Laser.h | 15 ++++- .../Enemies/Devil/Weapons/ProjectileGun.h | 15 ++++- .../Enemies/Devil/Weapons/RocketLauncher.h | 15 ++++- Sources/Models/Enemies/Devil_old/Flare.h | 15 ++++- .../Models/Enemies/Devil_old/MiniGunItem.h | 15 ++++- Sources/Models/Enemies/Devil_old/Minigun.h | 15 ++++- Sources/Models/Enemies/Devil_old/Stick.h | 15 ++++- Sources/Models/Enemies/Devil_old/devil.h | 15 ++++- Sources/Models/Enemies/Devil_old/devil2.h | 15 ++++- Sources/Models/Enemies/Devil_old/shield.h | 15 ++++- .../Models/Enemies/DragonMan/Debris/Body.h | 15 ++++- .../Models/Enemies/DragonMan/Debris/Head.h | 15 ++++- Sources/Models/Enemies/DragonMan/Debris/Leg.h | 15 ++++- .../Models/Enemies/DragonMan/Debris/Tail.h | 15 ++++- .../Models/Enemies/DragonMan/Debris/Wing.h | 15 ++++- Sources/Models/Enemies/DragonMan/DragonMan.h | 15 ++++- .../Enemies/DragonMan/Projectile/Projectile.h | 15 ++++- .../Models/Enemies/ElementalAir/Elemental.h | 15 ++++- .../Models/Enemies/ElementalLava/BodyFlare.h | 15 ++++- .../Enemies/ElementalLava/ElementalLava.h | 15 ++++- .../Models/Enemies/ElementalLava/HandFlare.h | 15 ++++- .../ElementalLava/Projectile/LavaBomb.h | 15 ++++- .../ElementalLava/Projectile/LavaStone.h | 15 ++++- .../ElementalLava/Projectile/LavaStoneFlare.h | 15 ++++- Sources/Models/Enemies/Elementals/AirMan.h | 15 ++++- Sources/Models/Enemies/Elementals/IceMan.h | 15 ++++- Sources/Models/Enemies/Elementals/Icepick.h | 15 ++++- Sources/Models/Enemies/Elementals/LavaMan.h | 15 ++++- .../Enemies/Elementals/LavaManFX/BodyFlare.h | 15 ++++- .../Enemies/Elementals/LavaManFX/HandFlare.h | 15 ++++- Sources/Models/Enemies/Elementals/Maul.h | 15 ++++- .../Enemies/Elementals/Projectile/Fireball.h | 15 ++++- .../Elementals/Projectile/IcePyramid.h | 15 ++++- .../Elementals/Projectile/IcePyramidFlare.h | 15 ++++- .../Enemies/Elementals/Projectile/LavaBomb.h | 15 ++++- .../Elementals/Projectile/LavaBombFlare.h | 15 ++++- .../Enemies/Elementals/Projectile/LavaStone.h | 15 ++++- .../Elementals/Projectile/LavaStoneFlare.h | 15 ++++- .../Enemies/Elementals/Projectile/Stone.h | 15 ++++- .../Enemies/Elementals/Projectile/WaterDrop.h | 15 ++++- .../Enemies/Elementals/StoneManFX/BodyFlare.h | 15 ++++- Sources/Models/Enemies/Elementals/Stoneman.h | 15 ++++- Sources/Models/Enemies/Elementals/Twister.h | 15 ++++- Sources/Models/Enemies/Elementals/WaterMan.h | 15 ++++- .../Enemies/Elementals/WaterManFX/BodyFlare.h | 15 ++++- Sources/Models/Enemies/Eyeman/Debris/Arm.h | 15 ++++- Sources/Models/Enemies/Eyeman/Debris/Leg.h | 15 ++++- Sources/Models/Enemies/Eyeman/Debris/Torso.h | 15 ++++- Sources/Models/Enemies/Eyeman/Eyeman.h | 15 ++++- .../Enemies/EyemanOld/Projectile/Acid.h | 15 ++++- Sources/Models/Enemies/EyemanOld/eyeman.h | 15 ++++- Sources/Models/Enemies/Fish/Fish.h | 15 ++++- Sources/Models/Enemies/Fish/Glow.h | 15 ++++- .../Enemies/Fishman/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/Fishman/fishman.h | 15 ++++- Sources/Models/Enemies/Gizmo/Gizmo.h | 15 ++++- Sources/Models/Enemies/HeadManOld/Bag.h | 15 ++++- Sources/Models/Enemies/HeadManOld/ChainSaw.h | 15 ++++- Sources/Models/Enemies/HeadManOld/Head.h | 15 ++++- Sources/Models/Enemies/HeadManOld/HeadMan.h | 15 ++++- .../Models/Enemies/HeadManOld/Headonstick.h | 15 ++++- .../Enemies/HeadManOld/Projectile/Blade.h | 15 ++++- .../Enemies/HeadManOld/Projectile/Bomb.h | 15 ++++- .../HeadManOld/Projectile/FireCracker.h | 15 ++++- .../Enemies/HeadManOld/Projectile/FireTrail.h | 15 ++++- .../Enemies/HeadManOld/RocketLauncher.h | 15 ++++- Sources/Models/Enemies/HeadManOld/Saw.h | 15 ++++- Sources/Models/Enemies/HeadManOld/Stick.h | 15 ++++- Sources/Models/Enemies/Headman/ChainSaw.h | 15 ++++- Sources/Models/Enemies/Headman/Debris/Arm.h | 15 ++++- Sources/Models/Enemies/Headman/Debris/Leg.h | 15 ++++- Sources/Models/Enemies/Headman/Debris/Torso.h | 15 ++++- .../Models/Enemies/Headman/FireCrackerHead.h | 15 ++++- Sources/Models/Enemies/Headman/Head.h | 15 ++++- .../Models/Enemies/Headman/Projectile/Blade.h | 15 ++++- .../Models/Enemies/Headman/Projectile/Bomb.h | 15 ++++- .../Enemies/Headman/Projectile/FireCracker.h | 15 ++++- .../Enemies/Headman/Projectile/FireTrail.h | 15 ++++- .../Models/Enemies/Headman/RocketLauncher.h | 15 ++++- Sources/Models/Enemies/Headman/Saw.h | 15 ++++- Sources/Models/Enemies/Headman/Stick.h | 15 ++++- Sources/Models/Enemies/Headman/headman.h | 15 ++++- Sources/Models/Enemies/Headman/headmantest.h | 15 ++++- Sources/Models/Enemies/HuanMan/Huanman.h | 15 ++++- .../Models/Enemies/HuanMan/Projectile/Flare.h | 15 ++++- .../Enemies/HuanMan/Projectile/Projectile.h | 15 ++++- .../HuanMan/Projectile/tmp/Projectile.h | 15 ++++- Sources/Models/Enemies/MAMUTMAN/Mamutman.h | 15 ++++- .../Enemies/MAMUTMAN/Projectile/Mamutman.h | 15 ++++- .../Enemies/MANTAMAN/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/MANTAMAN/mantaman.h | 15 ++++- Sources/Models/Enemies/Mamut/OBJECTS/mamut.h | 15 ++++- .../Mamut/Projectile/MamutProjectile.h | 15 ++++- Sources/Models/Enemies/Mental/BrainBottle.h | 15 ++++- Sources/Models/Enemies/Mental/BrainDrain.h | 15 ++++- Sources/Models/Enemies/Mental/BrainHoses.h | 15 ++++- Sources/Models/Enemies/Mental/Head.h | 15 ++++- Sources/Models/Enemies/Mental/Mental.h | 15 ++++- .../Robots/DrivingSpider/DrivingSpider.h | 15 ++++- .../Enemies/Robots/DrivingSpider/Weapon.h | 15 ++++- .../Enemies/Robots/DrivingWheel/Robot.h | 15 ++++- .../Models/Enemies/Robots/FloatBall/Robot.h | 15 ++++- .../Robots/FloatKamikaze/FloatKamikaze.h | 15 ++++- .../Enemies/Robots/FloatKamikaze/Ring.h | 15 ++++- .../Robots/FlyingFighter/FlyingFighter.h | 15 ++++- .../Enemies/Robots/FlyingFighter/Ship.h | 15 ++++- .../Models/Enemies/Robots/SentryBall/Ball.h | 15 ++++- .../Models/Enemies/Robots/SentryBall/Effect.h | 15 ++++- .../Enemies/Robots/SentryBall/SentryBall.h | 15 ++++- Sources/Models/Enemies/SCORPMAN/Flare.h | 15 ++++- Sources/Models/Enemies/SCORPMAN/Gun.h | 15 ++++- Sources/Models/Enemies/SCORPMAN/scorpman.h | 15 ++++- Sources/Models/Enemies/Walker/Debris/Head.h | 15 ++++- Sources/Models/Enemies/Walker/Debris/Head2.h | 15 ++++- Sources/Models/Enemies/Walker/Debris/Leg.h | 15 ++++- Sources/Models/Enemies/Walker/Laser.h | 15 ++++- .../Models/Enemies/Walker/RocketLauncher.h | 15 ++++- Sources/Models/Enemies/Walker/Walker.h | 15 ++++- Sources/Models/Enemies/WereBull/WereBull.h | 15 ++++- Sources/Models/Enemies/WereBullOld/WereBull.h | 15 ++++- .../Enemies/Woman/Projectile/Projectile.h | 15 ++++- Sources/Models/Enemies/Woman/Woman.h | 15 ++++- .../Models/Enemies/Woman/WomanForArtwork.h | 15 ++++- Sources/Models/IHVTest/AnimatedTexture.h | 15 ++++- Sources/Models/IHVTest/Bump.h | 15 ++++- Sources/Models/IHVTest/CurvedSurfaces.h | 15 ++++- Sources/Models/IHVTest/Diffuse.h | 15 ++++- Sources/Models/IHVTest/DoubleSided.h | 15 ++++- Sources/Models/IHVTest/DoubleSided_Add.h | 15 ++++- Sources/Models/IHVTest/DoubleSided_Multiply.h | 15 ++++- Sources/Models/IHVTest/EffectTexture.h | 15 ++++- Sources/Models/IHVTest/Flat.h | 15 ++++- Sources/Models/IHVTest/FullBright.h | 15 ++++- Sources/Models/IHVTest/GlassCurvedSurfaces.h | 15 ++++- Sources/Models/IHVTest/Ignored.h | 15 ++++- Sources/Models/IHVTest/Lightning.h | 15 ++++- Sources/Models/IHVTest/ModelAnimation.h | 15 ++++- Sources/Models/IHVTest/Patch.h | 15 ++++- Sources/Models/IHVTest/Reflection.h | 15 ++++- Sources/Models/IHVTest/Smooth.h | 15 ++++- Sources/Models/IHVTest/Specularity.h | 15 ++++- Sources/Models/IHVTest/Transparent.h | 15 ++++- Sources/Models/IHVTest/Trasluscent.h | 15 ++++- Sources/Models/Items/Ammo/Bullets/Bullets.h | 15 ++++- .../Models/Items/Ammo/Cannonball/CannonBall.h | 15 ++++- .../Items/Ammo/Cannonball/CannonBallQuad.h | 15 ++++- .../Models/Items/Ammo/Electricity/Effect.h | 15 ++++- .../Models/Items/Ammo/Electricity/Effect2.h | 15 ++++- .../Items/Ammo/Electricity/Electricity.h | 15 ++++- Sources/Models/Items/Ammo/Grenades/Grenades.h | 15 ++++- Sources/Models/Items/Ammo/Napalm/Napalm.h | 15 ++++- Sources/Models/Items/Ammo/Rockets/Rockets.h | 15 ++++- Sources/Models/Items/Ammo/Shells/Shells.h | 15 ++++- .../Models/Items/Ammo/_Old/Bullets/Bullets.h | 15 ++++- .../Items/Ammo/_Old/Cannonball/CannonBall.h | 15 ++++- .../Ammo/_Old/Cannonball/CannonBallQuad.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Effect.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Effect2.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Electricity.h | 15 ++++- .../Models/Items/Ammo/_Old/Grenades/Grenade.h | 15 ++++- .../Items/Ammo/_Old/Grenades/Grenades.h | 15 ++++- .../Models/Items/Ammo/_Old/Rockets/Rocket01.h | 15 ++++- .../Models/Items/Ammo/_Old/Rockets/Rockets.h | 15 ++++- .../Models/Items/Ammo/_Old/Shells/Shells.h | 15 ++++- Sources/Models/Items/Armor/Armor_1.h | 15 ++++- Sources/Models/Items/Armor/Armor_100.h | 15 ++++- Sources/Models/Items/Armor/Armor_200.h | 15 ++++- Sources/Models/Items/Armor/Armor_25.h | 15 ++++- Sources/Models/Items/Armor/Armor_50.h | 15 ++++- Sources/Models/Items/Flares/Flare.h | 15 ++++- Sources/Models/Items/Health/Large/Large.h | 15 ++++- Sources/Models/Items/Health/Medium/Medium.h | 15 ++++- Sources/Models/Items/Health/Pill/Pill.h | 15 ++++- Sources/Models/Items/Health/Small/Small.h | 15 ++++- Sources/Models/Items/Health/Super/Super.h | 15 ++++- Sources/Models/Items/Health/SuperOrg/Super.h | 15 ++++- Sources/Models/Items/ItemHolder/ItemHolder.h | 15 ++++- Sources/Models/Items/Keys/AnkhGold/Ankh.h | 15 ++++- Sources/Models/Items/Keys/AnkhStone/Ankh.h | 15 ++++- Sources/Models/Items/Keys/AnkhWood/Ankh.h | 15 ++++- Sources/Models/Items/Keys/Elements/Air.h | 15 ++++- Sources/Models/Items/Keys/Elements/Earth.h | 15 ++++- Sources/Models/Items/Keys/Elements/Fire.h | 15 ++++- .../Models/Items/Keys/Elements/Old/Earth.h | 15 ++++- Sources/Models/Items/Keys/Elements/Water.h | 15 ++++- Sources/Models/Items/Keys/EyeOfRa/EyeOfRa.h | 15 ++++- .../Models/Items/Keys/EyeOfRaCoin/CoinLeft.h | 15 ++++- .../Models/Items/Keys/EyeOfRaCoin/CoinRight.h | 15 ++++- .../Models/Items/Keys/GoldSphinx/GoldSphinx.h | 15 ++++- Sources/Models/Items/Keys/HorSons/HorSons.h | 15 ++++- .../Models/Items/Keys/Luxor/FeatherOfTruth.h | 15 ++++- Sources/Models/Items/Keys/Luxor/GoldHeart.h | 15 ++++- Sources/Models/Items/Keys/RaKey/Key.h | 15 ++++- Sources/Models/Items/Keys/RaSign/Sign.h | 15 ++++- Sources/Models/Items/Keys/Scarab/Scarab.h | 15 ++++- Sources/Models/Items/Keys/Uaset/Uaset.h | 15 ++++- Sources/Models/Items/Keys/Wings/Wings.h | 15 ++++- Sources/Models/Items/Pergament/Pergament.h | 15 ++++- .../Models/Items/PowerUps/BackPack/BackPack.h | 15 ++++- .../PowerUps/SeriousDamage/SeriousDamage.h | 15 ++++- .../Items/PowerUps/SeriousPack/SeriousPack.h | 15 ++++- .../PowerUps/_Old/SeriousPack/SeriousPack.h | 15 ++++- .../LightSources/FireHolder01/FireHolder.h | 15 ++++- .../LightSources/FireHolder14/FireHolder.h | 15 ++++- .../LightSources/FireHolder16/FireHolder.h | 15 ++++- .../LightSources/FireHolder46/FireHolder.h | 15 ++++- .../LightSources/FireHolder49/FireHolder.h | 15 ++++- .../LightSources/FireHolder51/FireHolder.h | 15 ++++- Sources/Models/LightSources/Torch03/Torch.h | 15 ++++- Sources/Models/LightSources/Torch04/Torch.h | 15 ++++- .../LightSources/WallTorch01/WallTorch.h | 15 ++++- .../LightSources/WallTorch02/WallTorch.h | 15 ++++- Sources/Models/MenuOld/Arrow.h | 15 ++++- Sources/Models/MenuOld/BigButton.h | 15 ++++- Sources/Models/MenuOld/BigLongButton.h | 15 ++++- Sources/Models/MenuOld/ExclamationMark.h | 15 ++++- Sources/Models/MenuOld/InfoTable.h | 15 ++++- Sources/Models/MenuOld/Key.h | 15 ++++- Sources/Models/MenuOld/Key2V.h | 15 ++++- Sources/Models/MenuOld/KeyH1_5.h | 15 ++++- Sources/Models/MenuOld/KeyH2.h | 15 ++++- Sources/Models/MenuOld/KeyH3.h | 15 ++++- Sources/Models/MenuOld/KeyNoDefined.h | 15 ++++- Sources/Models/MenuOld/KeyReturn.h | 15 ++++- Sources/Models/MenuOld/KeySpace.h | 15 ++++- Sources/Models/MenuOld/LittleTrigger.h | 15 ++++- Sources/Models/MenuOld/Monitor.h | 15 ++++- Sources/Models/MenuOld/Mouse.h | 15 ++++- Sources/Models/MenuOld/NormalButton.h | 15 ++++- Sources/Models/MenuOld/PrevNextButton.h | 15 ++++- Sources/Models/MenuOld/Question.h | 15 ++++- .../MenuOld/SeriousSamSign/SeriousSamSign.h | 15 ++++- Sources/Models/MenuOld/Slider.h | 15 ++++- Sources/Models/MenuOld/SliderInside.h | 15 ++++- Sources/Models/MenuOld/SplitScreen.h | 15 ++++- Sources/Models/MenuOld/TitleButton.h | 15 ++++- Sources/Models/MenuOld/ValidMode.h | 15 ++++- Sources/Models/MenuOld/VeryLittleTrigger.h | 15 ++++- Sources/Models/MenuOld/elfold/Arrow.h | 15 ++++- Sources/Models/MenuOld/elfold/BigButton.h | 15 ++++- Sources/Models/MenuOld/elfold/BigLongButton.h | 15 ++++- .../MenuOld/elfold/Buttons_Old/BigButton.h | 15 ++++- .../elfold/Buttons_Old/BigLongButton.h | 15 ++++- .../MenuOld/elfold/Buttons_Old/LittleTriger.h | 15 ++++- .../elfold/Buttons_Old/PrevNextButton.h | 15 ++++- .../MenuOld/elfold/Buttons_Old/Slider.h | 15 ++++- .../MenuOld/elfold/Buttons_Old/TitleButton.h | 15 ++++- .../MenuOld/elfold/Buttons_Old/ValidMode.h | 15 ++++- .../Models/MenuOld/elfold/ExclamationMark.h | 15 ++++- Sources/Models/MenuOld/elfold/InfoTable.h | 15 ++++- Sources/Models/MenuOld/elfold/Key.h | 15 ++++- Sources/Models/MenuOld/elfold/Key2V.h | 15 ++++- Sources/Models/MenuOld/elfold/KeyH1_5.h | 15 ++++- Sources/Models/MenuOld/elfold/KeyH2.h | 15 ++++- Sources/Models/MenuOld/elfold/KeyH3.h | 15 ++++- Sources/Models/MenuOld/elfold/KeyNoDefined.h | 15 ++++- Sources/Models/MenuOld/elfold/KeyReturn.h | 15 ++++- Sources/Models/MenuOld/elfold/KeySpace.h | 15 ++++- Sources/Models/MenuOld/elfold/LittleTriger.h | 15 ++++- Sources/Models/MenuOld/elfold/LittleTrigger.h | 15 ++++- Sources/Models/MenuOld/elfold/Monitor.h | 15 ++++- Sources/Models/MenuOld/elfold/Mouse.h | 15 ++++- Sources/Models/MenuOld/elfold/NormalButton.h | 15 ++++- .../Models/MenuOld/elfold/PrevNextButton.h | 15 ++++- Sources/Models/MenuOld/elfold/Question.h | 15 ++++- Sources/Models/MenuOld/elfold/Slider.h | 15 ++++- Sources/Models/MenuOld/elfold/SliderInside.h | 15 ++++- Sources/Models/MenuOld/elfold/SplitScreen.h | 15 ++++- Sources/Models/MenuOld/elfold/TitleButton.h | 15 ++++- Sources/Models/MenuOld/elfold/ValidMode.h | 15 ++++- .../Models/MenuOld/elfold/VeryLittleTrigger.h | 15 ++++- .../MissionPack/Items/Ammo/Napalm/Napalm.h | 15 ++++- .../MissionPack/Player/SeriousSam/Body.h | 15 ++++- .../MissionPack/Player/SeriousSam/Glasses.h | 15 ++++- .../MissionPack/Player/SeriousSam/Head.h | 15 ++++- .../MissionPack/Player/SeriousSam/Player.h | 15 ++++- .../Models/MissionPack/Weapons/Flamer/Body.h | 15 ++++- .../Models/MissionPack/Weapons/Flamer/Flame.h | 15 ++++- .../MissionPack/Weapons/Flamer/Flamer.h | 15 ++++- .../MissionPack/Weapons/Flamer/FlamerItem.h | 15 ++++- .../Weapons/Flamer/FuelReservoir.h | 15 ++++- .../Models/MissionPack/Weapons/Sniper/Body.h | 15 ++++- .../MissionPack/Weapons/Sniper/Sniper.h | 15 ++++- .../MissionPack/Weapons/Sniper/SniperItem.h | 15 ++++- .../Models/Objects/Crosses/Cross01/Cross.h | 15 ++++- .../Furniture/EggWithHorns/EggWithHorns.h | 15 ++++- .../Objects/Egypt/Furniture/Fish/Fish.h | 15 ++++- Sources/Models/Objects/Egypt/Gods/Amon/Amon.h | 15 ++++- .../Objects/Egypt/Gods/Anubis01/Anubis.h | 15 ++++- .../Objects/Egypt/Gods/Anubis02/Anubis.h | 15 ++++- .../Objects/Egypt/Gods/HorChild/HorChild.h | 15 ++++- .../Objects/Egypt/Gods/HorSons/HorSons.h | 15 ++++- .../Models/Objects/Egypt/Gods/Khnum/Khnum.h | 15 ++++- .../Models/Objects/Egypt/Gods/Khonsu/Khonsu.h | 15 ++++- .../Objects/Egypt/Gods/Mestret/Mestret.h | 15 ++++- .../Objects/Egypt/Gods/Nefthis/Nefthis.h | 15 ++++- .../Models/Objects/Egypt/Gods/Neith/Neith.h | 15 ++++- .../Models/Objects/Egypt/Gods/Osiris/Osiris.h | 15 ++++- Sources/Models/Objects/Egypt/Gods/Ptah/Ptah.h | 15 ++++- Sources/Models/Objects/Egypt/Gods/Ra/Ra.h | 15 ++++- .../Models/Objects/Egypt/Gods/Sebek/Sebek.h | 15 ++++- .../Objects/Egypt/Gods/Sekhmet/Sekhmet.h | 15 ++++- Sources/Models/Objects/Egypt/Gods/Toth/Toth.h | 15 ++++- .../Egypt/Gods/TothMonkey/TothMonkey.h | 15 ++++- .../Models/Objects/Egypt/Gods/Uaset/Uaset.h | 15 ++++- .../Objects/Egypt/Mumies/Mummy01/Mummy.h | 15 ++++- .../Models/Objects/Egypt/Statues/Cat/Cat.h | 15 ++++- .../Objects/Egypt/Statues/Cat/Cat_testbump.h | 15 ++++- .../Objects/Egypt/Statues/Head01/Head.h | 15 ++++- .../Objects/Egypt/Statues/Head02/Head.h | 15 ++++- .../Objects/Egypt/Statues/Head03/Head.h | 15 ++++- .../Objects/Egypt/Statues/Jackal/Jackal.h | 15 ++++- .../Objects/Egypt/Statues/Jaguar/Jaguar.h | 15 ++++- .../Objects/Egypt/Statues/Jaguar02/Jaguar.h | 15 ++++- .../Objects/Egypt/Statues/Jaguar03/Jaguar.h | 15 ++++- .../Objects/Egypt/Statues/Jaguar04/Jaguar.h | 15 ++++- .../Objects/Egypt/Statues/Sphinx/Sphinx.h | 15 ++++- .../Objects/Egypt/Statues/Statue01/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue02/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue03/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue04/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue05/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue06/Statue.h | 15 ++++- .../Objects/Egypt/Statues/Statue07/Statue.h | 15 ++++- .../Objects/FireHolders/Torch01/Torch.h | 15 ++++- Sources/Models/Objects/Flag04/Flag.h | 15 ++++- Sources/Models/Objects/FlagPole03/FlagPole.h | 15 ++++- .../Models/Objects/Torches/Torch01/Torch.h | 15 ++++- Sources/Models/Objects/second/Bed04/Bed04.h | 15 ++++- .../Objects/second/BedCover01/BedCover01.h | 15 ++++- .../second/Chairwooden01/ChairWooden01.h | 15 ++++- .../Objects/second/Ra_Sign02/Ra_Sign02.h | 15 ++++- .../Objects/second/Raspelo03/Raspelo03.h | 15 ++++- Sources/Models/Objects/second/Sofa01/Sofa01.h | 15 ++++- .../Models/Objects/second/Sphinx01/Spinx01.h | 15 ++++- .../second/StoneChair01/StoneChair01.h | 15 ++++- .../Models/Objects/second/Stool02/Stool02.h | 15 ++++- .../Models/Objects/second/Stool03/Stool03.h | 15 ++++- .../second/Table_Work01/Table_Work01.h | 15 ++++- Sources/Models/Objects/second/Tent02/Tent02.h | 15 ++++- Sources/Models/Plants/Bush01/Bush.h | 15 ++++- Sources/Models/Plants/Flower01/Flower.h | 15 ++++- Sources/Models/Plants/Garden01/Garden.h | 15 ++++- Sources/Models/Plants/Garden02/Garden.h | 15 ++++- Sources/Models/Plants/Ivy01/Ivy.h | 15 ++++- Sources/Models/Plants/OldTree02/Tree.h | 15 ++++- Sources/Models/Plants/OldTree07/Tree.h | 15 ++++- Sources/Models/Plants/Palm02/BrokenPalm.h | 15 ++++- Sources/Models/Plants/Palm02/Palm.h | 15 ++++- Sources/Models/Plants/Palm10/BrokenPalm.h | 15 ++++- Sources/Models/Plants/Palm10/Palm.h | 15 ++++- Sources/Models/Plants/Palm10/PalmLeaf.h | 15 ++++- Sources/Models/Plants/Palm10Old/BrokenPalm.h | 15 ++++- Sources/Models/Plants/Palm10Old/Palm.h | 15 ++++- Sources/Models/Plants/Palm10Old/PalmLeaf.h | 15 ++++- Sources/Models/Plants/Palm11/Palm.h | 15 ++++- Sources/Models/Plants/Plant01/Plant.h | 15 ++++- Sources/Models/Player/BeheadedBen/Body.h | 15 ++++- Sources/Models/Player/BeheadedBen/Head.h | 15 ++++- Sources/Models/Player/BeheadedBen/Player.h | 15 ++++- Sources/Models/Player/BoxerBarry/Body.h | 15 ++++- Sources/Models/Player/BoxerBarry/Head.h | 15 ++++- Sources/Models/Player/BoxerBarry/Player.h | 15 ++++- Sources/Models/Player/DiscoDan/Body.h | 15 ++++- Sources/Models/Player/DiscoDan/Glasses.h | 15 ++++- Sources/Models/Player/DiscoDan/Hair.h | 15 ++++- Sources/Models/Player/DiscoDan/Hat.h | 15 ++++- Sources/Models/Player/DiscoDan/Head.h | 15 ++++- Sources/Models/Player/DiscoDan/Player.h | 15 ++++- Sources/Models/Player/EmptyEd/Body.h | 15 ++++- Sources/Models/Player/EmptyEd/Brain.h | 15 ++++- Sources/Models/Player/EmptyEd/Head.h | 15 ++++- Sources/Models/Player/EmptyEd/Player.h | 15 ++++- Sources/Models/Player/KleerKenny/Body.h | 15 ++++- Sources/Models/Player/KleerKenny/Head.h | 15 ++++- Sources/Models/Player/KleerKenny/Player.h | 15 ++++- Sources/Models/Player/MightyMarvin/Body.h | 15 ++++- Sources/Models/Player/MightyMarvin/Glasses.h | 15 ++++- Sources/Models/Player/MightyMarvin/Head.h | 15 ++++- Sources/Models/Player/MightyMarvin/Player.h | 15 ++++- .../Models/Player/MightyMarvin/_Opened/Body.h | 15 ++++- Sources/Models/Player/PiratePete/Body.h | 15 ++++- Sources/Models/Player/PiratePete/Glasses.h | 15 ++++- Sources/Models/Player/PiratePete/Head.h | 15 ++++- Sources/Models/Player/PiratePete/Player.h | 15 ++++- Sources/Models/Player/RedRick/Body.h | 15 ++++- Sources/Models/Player/RedRick/Glasses.h | 15 ++++- Sources/Models/Player/RedRick/Head.h | 15 ++++- .../Player/RedRick/NewGlasses/Glasses.h | 15 ++++- Sources/Models/Player/RedRick/Player.h | 15 ++++- Sources/Models/Player/RockingRyan/Body.h | 15 ++++- Sources/Models/Player/RockingRyan/Head.h | 15 ++++- Sources/Models/Player/RockingRyan/Player.h | 15 ++++- Sources/Models/Player/SantaSam/Beard.h | 15 ++++- Sources/Models/Player/SantaSam/Body.h | 15 ++++- Sources/Models/Player/SantaSam/Glasses.h | 15 ++++- Sources/Models/Player/SantaSam/Head.h | 15 ++++- Sources/Models/Player/SantaSam/Player.h | 15 ++++- .../Models/Player/SantaSam/PlayerForMapping.h | 15 ++++- Sources/Models/Player/SantaSam/hat.h | 15 ++++- Sources/Models/Player/SeriousSam/Body.h | 15 ++++- Sources/Models/Player/SeriousSam/Glasses.h | 15 ++++- Sources/Models/Player/SeriousSam/Head.h | 15 ++++- Sources/Models/Player/SeriousSam/Player.h | 15 ++++- Sources/Models/Player/Soldier/Body.h | 15 ++++- Sources/Models/Player/Soldier/Glasses.h | 15 ++++- Sources/Models/Player/Soldier/Head.h | 15 ++++- Sources/Models/Player/Soldier/Player.h | 15 ++++- Sources/Models/Player/WildWyat/Body.h | 15 ++++- Sources/Models/Player/WildWyat/Hat.h | 15 ++++- Sources/Models/Player/WildWyat/Head.h | 15 ++++- Sources/Models/Player/WildWyat/Player.h | 15 ++++- Sources/Models/Player_old/PiratePete/Body.h | 15 ++++- .../Models/Player_old/PiratePete/Glasses.h | 15 ++++- Sources/Models/Player_old/PiratePete/Head.h | 15 ++++- Sources/Models/Player_old/PiratePete/Player.h | 15 ++++- Sources/Models/Player_old/RedRick/Body.h | 15 ++++- Sources/Models/Player_old/RedRick/Glasses.h | 15 ++++- Sources/Models/Player_old/RedRick/Head.h | 15 ++++- Sources/Models/Player_old/RedRick/Player.h | 15 ++++- Sources/Models/Player_old/SantaSam/Beard.h | 15 ++++- Sources/Models/Player_old/SantaSam/Body.h | 15 ++++- Sources/Models/Player_old/SantaSam/Glasses.h | 15 ++++- Sources/Models/Player_old/SantaSam/Head.h | 15 ++++- Sources/Models/Player_old/SantaSam/Player.h | 15 ++++- Sources/Models/Player_old/SantaSam/hat.h | 15 ++++- Sources/Models/Player_old/SeriousSam/Body.h | 15 ++++- .../Models/Player_old/SeriousSam/BodyHires.h | 15 ++++- .../Models/Player_old/SeriousSam/BodyPromo.h | 15 ++++- .../Models/Player_old/SeriousSam/Glasses.h | 15 ++++- Sources/Models/Player_old/SeriousSam/Head.h | 15 ++++- Sources/Models/Player_old/SeriousSam/Player.h | 15 ++++- .../Player_old/SeriousSam/PlayerHires.h | 15 ++++- .../Player_old/SeriousSam/PlayerPromo.h | 15 ++++- .../Models/Player_old/SeriousSamOld/Body.h | 15 ++++- .../Models/Player_old/SeriousSamOld/Head.h | 15 ++++- .../Models/Player_old/SeriousSamOld/Player.h | 15 ++++- .../Player_old/SeriousSamOld/Test/Body.h | 15 ++++- .../Player_old/SeriousSamOld/Test/Head.h | 15 ++++- .../Player_old/SeriousSamOld/Test/Player.h | 15 ++++- .../Models/Player_old/SeriousSamTmp/Body.h | 15 ++++- .../Models/Player_old/SeriousSamTmp/Glasses.h | 15 ++++- .../Models/Player_old/SeriousSamTmp/Head.h | 15 ++++- .../Models/Player_old/SeriousSamTmp/Player.h | 15 ++++- Sources/Models/Player_old/SeriousSammy/Body.h | 15 ++++- .../Models/Player_old/SeriousSammy/Glasses.h | Bin 276 -> 878 bytes Sources/Models/Player_old/SeriousSammy/Head.h | Bin 294 -> 896 bytes .../Models/Player_old/SeriousSammy/Player.h | Bin 298 -> 900 bytes Sources/Models/Player_old/Soldier/Body.h | 15 ++++- Sources/Models/Player_old/Soldier/Glasses.h | 15 ++++- Sources/Models/Player_old/Soldier/Head.h | 15 ++++- Sources/Models/Player_old/Soldier/Player.h | 15 ++++- Sources/Models/Player_old/Soldier/_t/Body.h | 15 ++++- .../Models/Player_old/Soldier/_t/Glasses.h | 15 ++++- Sources/Models/Player_old/Soldier/_t/Head.h | 15 ++++- Sources/Models/Player_old/Soldier/_t/Player.h | 15 ++++- Sources/Models/Switches/Switch01/Switch.h | 15 ++++- Sources/Models/Test/3dexploration/Box.h | 15 ++++- Sources/Models/Test/3dexploration/Box_Pose.h | 15 ++++- Sources/Models/Test/Box.h | 15 ++++- Sources/Models/Test/Femalet2.h | 15 ++++- Sources/Models/Test/MipModelTest.h | 15 ++++- Sources/Models/Test/MultiPolygonMountains.h | 15 ++++- .../Test/MultiPolygonMountainsDisplaced.h | 15 ++++- Sources/Models/Test/OneBigPolygon.h | 15 ++++- Sources/Models/Test/OnePolygon.h | 15 ++++- Sources/Models/Test/PatchTextBox.h | 15 ++++- Sources/Models/Test/RelfectionOnBox.h | 15 ++++- Sources/Models/Test/Sphere.h | 15 ++++- Sources/Models/Test/SphereWithMips.h | 15 ++++- Sources/Models/Test/Teapot_test.h | 15 ++++- Sources/Models/Test/Teapot_test2.h | 15 ++++- Sources/Models/Test/Teapot_test3.h | 15 ++++- Sources/Models/Test/Thetraedar.h | 15 ++++- Sources/Models/Test/Tree.h | 15 ++++- Sources/Models/Test/Vase.h | 15 ++++- Sources/Models/Test/swinger/swinger.h | 15 ++++- Sources/Models/Weapons/Cannon/Body.h | 15 ++++- Sources/Models/Weapons/Cannon/Cannon.h | 15 ++++- Sources/Models/Weapons/Cannon/Flame.h | 15 ++++- Sources/Models/Weapons/Cannon/Light.h | 15 ++++- Sources/Models/Weapons/Cannon/NukeBox.h | 15 ++++- .../Weapons/Cannon/Projectile/CannonBall.h | 15 ++++- Sources/Models/Weapons/Colt/ColtBullets.h | 15 ++++- Sources/Models/Weapons/Colt/ColtCock.h | 15 ++++- Sources/Models/Weapons/Colt/ColtItem.h | 15 ++++- Sources/Models/Weapons/Colt/ColtMain.h | 15 ++++- Sources/Models/Weapons/Colt/colt.h | 15 ++++- Sources/Models/Weapons/DoubleShotgun/Ammo.h | 15 ++++- .../Weapons/DoubleShotgun/DoubleShotgun.h | 15 ++++- .../Weapons/DoubleShotgun/DoubleShotgunItem.h | 15 ++++- .../Weapons/DoubleShotgun/Dshotgunbarrels.h | 15 ++++- .../Weapons/DoubleShotgun/Dshotgunhandle.h | 15 ++++- .../Weapons/DoubleShotgun/HandWithAmmo.h | 15 ++++- Sources/Models/Weapons/DoubleShotgun/Switch.h | 15 ++++- Sources/Models/Weapons/Flamer/Body.h | 15 ++++- Sources/Models/Weapons/Flamer/Flame.h | 15 ++++- Sources/Models/Weapons/Flamer/Flamer.h | 15 ++++- Sources/Models/Weapons/Flamer/FlamerItem.h | 15 ++++- Sources/Models/Weapons/Flamer/FuelReservoir.h | 15 ++++- .../Weapons/Flamer/Projectile/Invisible.h | 15 ++++- Sources/Models/Weapons/FlamerNew/Body.h | 15 ++++- .../Models/Weapons/FlamerNew/FuelReservoir.h | 15 ++++- Sources/Models/Weapons/GhostBuster/Body.h | 15 ++++- Sources/Models/Weapons/GhostBuster/Effect01.h | 15 ++++- .../Models/Weapons/GhostBuster/EffectFlare.h | 15 ++++- .../Weapons/GhostBuster/EffectFlare01.h | 15 ++++- .../Models/Weapons/GhostBuster/GhostBuster.h | 15 ++++- .../Weapons/GhostBuster/GhostBusterItem.h | 15 ++++- .../Weapons/GhostBuster/Projectile/Ray.h | 15 ++++- Sources/Models/Weapons/GhostBuster/Rotator.h | 15 ++++- Sources/Models/Weapons/GrenadeLauncher/Body.h | 15 ++++- .../Weapons/GrenadeLauncher/Grenade/Grenade.h | 15 ++++- .../Weapons/GrenadeLauncher/GrenadeBack.h | 15 ++++- .../Weapons/GrenadeLauncher/GrenadeLauncher.h | 15 ++++- .../GrenadeLauncher/GrenadeLauncherItem.h | 15 ++++- .../Weapons/GrenadeLauncher/MovingPipe.h | 15 ++++- Sources/Models/Weapons/Knife/Knife.h | 15 ++++- Sources/Models/Weapons/Knife/KnifeItem.h | 15 ++++- Sources/Models/Weapons/Laser/Barrel.h | 15 ++++- Sources/Models/Weapons/Laser/Body.h | 15 ++++- Sources/Models/Weapons/Laser/Laser.h | 15 ++++- Sources/Models/Weapons/Laser/LaserItem.h | 15 ++++- .../Laser/Projectile/LaserProjectile.h | 15 ++++- .../Laser/Projectile/LaserProjectileGlow01.h | 15 ++++- Sources/Models/Weapons/MiniGun/Barrels.h | 15 ++++- Sources/Models/Weapons/MiniGun/Body.h | 15 ++++- Sources/Models/Weapons/MiniGun/Engine.h | 15 ++++- Sources/Models/Weapons/MiniGun/Handle.h | 15 ++++- Sources/Models/Weapons/MiniGun/MiniGunItem.h | 15 ++++- Sources/Models/Weapons/MiniGun/Shell/Shell.h | 15 ++++- Sources/Models/Weapons/MiniGun/minigun.h | 15 ++++- Sources/Models/Weapons/Pipebomb/Bomb.h | 15 ++++- Sources/Models/Weapons/Pipebomb/Button.h | 15 ++++- .../Models/Weapons/Pipebomb/Grenade/Grenade.h | 15 ++++- .../Models/Weapons/Pipebomb/HandWithBomb.h | 15 ++++- .../Models/Weapons/Pipebomb/HandWithStick.h | 15 ++++- Sources/Models/Weapons/Pipebomb/Shield.h | 15 ++++- Sources/Models/Weapons/Pipebomb/Stick.h | 15 ++++- Sources/Models/Weapons/Pipebomb/StickItem.h | 15 ++++- Sources/Models/Weapons/RocketLauncher/Body.h | 15 ++++- .../RocketLauncher/Projectile/Rocket.h | 15 ++++- .../Weapons/RocketLauncher/RocketLauncher.h | 15 ++++- .../RocketLauncher/RocketLauncherItem.h | 15 ++++- .../Weapons/RocketLauncher/Rotatingpart.h | 15 ++++- .../Models/Weapons/SingleShotgun/Barrels.h | 15 ++++- Sources/Models/Weapons/SingleShotgun/Handle.h | 15 ++++- .../Weapons/SingleShotgun/Shell/Shell.h | 15 ++++- .../Weapons/SingleShotgun/SingleShotGun.h | 15 ++++- .../Weapons/SingleShotgun/SingleShotgunItem.h | 15 ++++- Sources/Models/Weapons/SingleShotgun/Slider.h | 15 ++++- Sources/Models/Weapons/Sniper/Body.h | 15 ++++- Sources/Models/Weapons/Sniper/Sniper.h | 15 ++++- Sources/Models/Weapons/TommyGun/Body.h | 15 ++++- Sources/Models/Weapons/TommyGun/Slider.h | 15 ++++- Sources/Models/Weapons/TommyGun/TommyGun.h | 15 ++++- .../Models/Weapons/TommyGun/TommyGunItem.h | 15 ++++- Sources/Models/Weapons_old/Cannon/Body.h | 15 ++++- Sources/Models/Weapons_old/Cannon/Cannon.h | 15 ++++- Sources/Models/Weapons_old/Cannon/Flame.h | 15 ++++- Sources/Models/Weapons_old/Cannon/Fuse.h | 15 ++++- .../Models/Weapons_old/Cannon/HandWithTorch.h | 15 ++++- .../Cannon/Projectile/CannonBall.h | 15 ++++- Sources/Models/Weapons_old/Cannon/Torch.h | 15 ++++- Sources/Models/Weapons_old/Cannon/TorchUp.h | 15 ++++- Sources/Models/Weapons_old/Colt/ColtBullets.h | 15 ++++- Sources/Models/Weapons_old/Colt/ColtCock.h | 15 ++++- Sources/Models/Weapons_old/Colt/ColtItem.h | 15 ++++- Sources/Models/Weapons_old/Colt/ColtMain.h | 15 ++++- Sources/Models/Weapons_old/Colt/colt.h | 15 ++++- .../Models/Weapons_old/Crosshair/Crosshair.h | 15 ++++- .../Models/Weapons_old/DoubleShotgun/Ammo.h | 15 ++++- .../Weapons_old/DoubleShotgun/DoubleShotgun.h | 15 ++++- .../DoubleShotgun/DoubleShotgunItem.h | 15 ++++- .../DoubleShotgun/Dshotgunbarrels.h | 15 ++++- .../DoubleShotgun/Dshotgunhandle.h | 15 ++++- .../Weapons_old/DoubleShotgun/HandWithAmmo.h | 15 ++++- .../Models/Weapons_old/DoubleShotgun/Switch.h | 15 ++++- .../Weapons_old/DoubleShotgunOld/Ammo.h | 15 ++++- .../DoubleShotgunOld/DoubleShotgun.h | 15 ++++- .../DoubleShotgunOld/DoubleShotgunItem.h | 15 ++++- .../DoubleShotgunOld/Dshotgunbarrels.h | 15 ++++- .../DoubleShotgunOld/Dshotgunhandle.h | 15 ++++- .../DoubleShotgunOld/HandWithAmmo.h | 15 ++++- .../HandWithAmmo/HandWithAmmo.h | 15 ++++- .../Weapons_old/DoubleShotgunOld/Switch.h | 15 ++++- .../DoubleShotgunOld/t/DoubleShotgun.h | 15 ++++- Sources/Models/Weapons_old/Flamer/Body.h | 15 ++++- Sources/Models/Weapons_old/Flamer/Flame.h | 15 ++++- Sources/Models/Weapons_old/Flamer/Flamer.h | 15 ++++- .../Models/Weapons_old/Flamer/FlamerItem.h | 15 ++++- .../Models/Weapons_old/Flamer/FuelReservoir.h | 15 ++++- .../Weapons_old/Flamer/Projectile/Invisible.h | 15 ++++- Sources/Models/Weapons_old/GhostBuster/Body.h | 15 ++++- .../Models/Weapons_old/GhostBuster/Effect01.h | 15 ++++- .../Weapons_old/GhostBuster/EffectFlare.h | 15 ++++- .../Weapons_old/GhostBuster/EffectFlare01.h | 15 ++++- .../Weapons_old/GhostBuster/GhostBuster.h | 15 ++++- .../Weapons_old/GhostBuster/GhostBusterItem.h | 15 ++++- .../Weapons_old/GhostBuster/Projectile/Ray.h | 15 ++++- .../Models/Weapons_old/GhostBuster/Rotator.h | 15 ++++- .../Models/Weapons_old/GrenadeLauncher/Body.h | 15 ++++- .../GrenadeLauncher/Grenade/Grenade.h | 15 ++++- .../Weapons_old/GrenadeLauncher/GrenadeBack.h | 15 ++++- .../GrenadeLauncher/GrenadeLauncher.h | 15 ++++- .../GrenadeLauncher/GrenadeLauncherItem.h | 15 ++++- .../Weapons_old/GrenadeLauncher/MovingPipe.h | 15 ++++- Sources/Models/Weapons_old/Hand/Hands.h | 15 ++++- Sources/Models/Weapons_old/Knife/Knife.h | 15 ++++- Sources/Models/Weapons_old/Knife/KnifeItem.h | 15 ++++- Sources/Models/Weapons_old/Laser/Barrel.h | 15 ++++- Sources/Models/Weapons_old/Laser/Body.h | 15 ++++- Sources/Models/Weapons_old/Laser/Laser.h | 15 ++++- Sources/Models/Weapons_old/Laser/LaserItem.h | 15 ++++- .../Laser/Projectile/LaserProjectile.h | 15 ++++- .../Laser/Projectile/LaserProjectileGlow01.h | 15 ++++- Sources/Models/Weapons_old/Minigun/Barrels.h | 15 ++++- Sources/Models/Weapons_old/Minigun/Body.h | 15 ++++- Sources/Models/Weapons_old/Minigun/Engine.h | 15 ++++- Sources/Models/Weapons_old/Minigun/Handle.h | 15 ++++- .../Models/Weapons_old/Minigun/MiniGunItem.h | 15 ++++- .../Models/Weapons_old/Minigun/Shell/Shell.h | 15 ++++- Sources/Models/Weapons_old/Minigun/minigun.h | 15 ++++- Sources/Models/Weapons_old/PipeBomb/Bomb.h | 15 ++++- Sources/Models/Weapons_old/PipeBomb/Button.h | 15 ++++- .../Weapons_old/PipeBomb/Grenade/Grenade.h | 15 ++++- .../Weapons_old/PipeBomb/HandWithBomb.h | 15 ++++- .../Weapons_old/PipeBomb/HandWithStick.h | 15 ++++- Sources/Models/Weapons_old/PipeBomb/Shield.h | 15 ++++- Sources/Models/Weapons_old/PipeBomb/Stick.h | 15 ++++- .../Models/Weapons_old/PipeBomb/StickItem.h | 15 ++++- .../Models/Weapons_old/RocketLauncher/Body.h | 15 ++++- .../RocketLauncher/Projectile/Rocket.h | 15 ++++- .../RocketLauncher/RocketLauncher.h | 15 ++++- .../Weapons_old/RocketLauncher/Rotatingpart.h | 15 ++++- .../Weapons_old/SingleShotgun/Barrels.h | 15 ++++- .../Models/Weapons_old/SingleShotgun/Handle.h | 15 ++++- .../Weapons_old/SingleShotgun/SingleShotGun.h | 15 ++++- .../SingleShotgun/SingleShotgunItem.h | 15 ++++- .../Models/Weapons_old/SingleShotgun/Slider.h | 15 ++++- Sources/Models/Weapons_old/TommyGun/Body.h | 15 ++++- Sources/Models/Weapons_old/TommyGun/Slider.h | 15 ++++- .../Models/Weapons_old/TommyGun/TommyGun.h | 15 ++++- .../Weapons_old/TommyGun/TommyGunItem.h | 15 ++++- Sources/Models/Windows/Vitraj01/Vitraj.h | 15 ++++- Sources/Models/headers/Computer/Floor.h | 15 ++++- Sources/Models/headers/Editor/AmbientLight.h | 15 ++++- Sources/Models/headers/Editor/AngleVector.h | 15 ++++- .../Models/headers/Editor/AnimationChanger.h | 15 ++++- Sources/Models/headers/Editor/Axis.h | 15 ++++- Sources/Models/headers/Editor/BoundingBox.h | 15 ++++- Sources/Models/headers/Editor/Camera.h | 15 ++++- Sources/Models/headers/Editor/CameraMarker.h | 15 ++++- Sources/Models/headers/Editor/CollisionBox.h | 15 ++++- Sources/Models/headers/Editor/Copier.h | 15 ++++- Sources/Models/headers/Editor/Damager.h | 15 ++++- .../Models/headers/Editor/DoorController.h | 15 ++++- Sources/Models/headers/Editor/EmptyBrush.h | 15 ++++- Sources/Models/headers/Editor/EnemyMarker.h | 15 ++++- Sources/Models/headers/Editor/EnemySpawner.h | 15 ++++- Sources/Models/headers/Editor/EntityMarker.h | 15 ++++- .../Models/headers/Editor/EnvironmentMarker.h | 15 ++++- Sources/Models/headers/Editor/Floor.h | 15 ++++- Sources/Models/headers/Editor/Fog.h | 15 ++++- .../Models/headers/Editor/GradientMarker.h | 15 ++++- Sources/Models/headers/Editor/GravityMarker.h | 15 ++++- Sources/Models/headers/Editor/GravityRouter.h | 15 ++++- Sources/Models/headers/Editor/Guilotine.h | 15 ++++- Sources/Models/headers/Editor/Haze.h | 15 ++++- Sources/Models/headers/Editor/Lamp.h | 15 ++++- Sources/Models/headers/Editor/LightSource.h | 15 ++++- Sources/Models/headers/Editor/LightStyle.h | 15 ++++- Sources/Models/headers/Editor/Lightning.h | 15 ++++- Sources/Models/headers/Editor/MessageHolder.h | 15 ++++- .../Models/headers/Editor/ModelDestruction.h | 15 ++++- .../Models/headers/Editor/MovingBrushMarker.h | 15 ++++- Sources/Models/headers/Editor/MusicChanger.h | 15 ++++- Sources/Models/headers/Editor/MusicHolder.h | 15 ++++- .../Models/headers/Editor/NavigationMarker.h | 15 ++++- .../headers/Editor/PlayerActionMarker.h | 15 ++++- Sources/Models/headers/Editor/PlayerStart.h | 15 ++++- Sources/Models/headers/Editor/PointLight.h | 15 ++++- Sources/Models/headers/Editor/PortalMarker.h | 15 ++++- Sources/Models/headers/Editor/RangeSphere.h | 15 ++++- Sources/Models/headers/Editor/ShipMarker.h | 15 ++++- Sources/Models/headers/Editor/SoundHolder.h | 15 ++++- Sources/Models/headers/Editor/SoundHolder02.h | 15 ++++- Sources/Models/headers/Editor/SpotLight.h | 15 ++++- .../Models/headers/Editor/StormController.h | 15 ++++- Sources/Models/headers/Editor/Teapot.h | 15 ++++- Sources/Models/headers/Editor/Teleport.h | 15 ++++- .../Models/headers/Editor/ThunderController.h | 15 ++++- Sources/Models/headers/Editor/Trigger.h | 15 ++++- Sources/Models/headers/Editor/Vector.h | 15 ++++- Sources/Models/headers/Editor/WarpEntrance.h | 15 ++++- Sources/Models/headers/Editor/WarpExit.h | 15 ++++- Sources/Models/headers/Editor/WatchPlayers.h | 15 ++++- Sources/Models/headers/Editor/WorldLink.h | 15 ++++- .../headers/Editor/WorldSettingsController.h | 15 ++++- .../headers/Effects/Blood01/objects/Blood01.h | 15 ++++- .../headers/Effects/BloodCloud/BloodCloud.h | 15 ++++- .../Effects/BloodExplosion01/BloodExplosion.h | 15 ++++- .../headers/Effects/BloodOnTheWall01/Blood.h | 15 ++++- .../headers/Effects/BulletOnTheWall/Bullet.h | 15 ++++- .../Effects/BulletParticles/BulletParticles.h | 15 ++++- .../headers/Effects/BulletTrail/BulletTrail.h | 15 ++++- .../BurnedStainOnTheWall.h | 15 ++++- .../headers/Effects/Debris/Body01/Body.h | 15 ++++- .../headers/Effects/Debris/Body02/Body.h | 15 ++++- .../headers/Effects/Debris/Body03/Body.h | 15 ++++- .../headers/Effects/Debris/Body04/Body.h | 15 ++++- .../headers/Effects/Debris/Body05/Body.h | 15 ++++- .../headers/Effects/Debris/Brain01/Brain.h | 15 ++++- .../headers/Effects/Debris/Flesh/Flesh.h | 15 ++++- .../headers/Effects/Debris/Lava01/Lava.h | 15 ++++- .../headers/Effects/Debris/Lava01/LavaFlare.h | 15 ++++- .../headers/Effects/Debris/Skull01/Skull.h | 15 ++++- .../Effects/Debris/Skull01_org/Skull.h | 15 ++++- .../headers/Effects/Debris/Stone/Stone.h | 15 ++++- .../headers/Effects/Debris/Wood01/Wood.h | 15 ++++- .../headers/Effects/Explosion01/Explosion01.h | 15 ++++- .../headers/Effects/Explosion02/Explosion.h | 15 ++++- .../headers/Effects/Explosion03/Explosion.h | 15 ++++- .../headers/Effects/Explosion04/Explosion.h | 15 ++++- .../headers/Effects/Explosion05/Explosion.h | 15 ++++- .../headers/Effects/Explosion06/Explosion.h | 15 ++++- .../headers/Effects/Explosion07/Explosion.h | 15 ++++- .../headers/Effects/Explosion08/Explosion.h | 15 ++++- .../headers/Effects/Explosion09/Explosion.h | 15 ++++- .../headers/Effects/Explosion10/Explosion.h | 15 ++++- .../headers/Effects/Explosion11/Explosion.h | 15 ++++- .../headers/Effects/Explosion12/Explosion.h | 15 ++++- .../headers/Effects/Explosion13/Explosion.h | 15 ++++- .../headers/Effects/Explosion14/Explosion.h | 15 ++++- .../headers/Effects/Explosion15/Explosion.h | 15 ++++- .../headers/Effects/Explosion16/Explosion.h | 15 ++++- .../headers/Effects/Explosion17/Explosion.h | 15 ++++- .../headers/Effects/Explosion18/Explosion.h | 15 ++++- .../ExplosionGrenade/ExplosionGrenade.h | 15 ++++- .../ExplosionGrenade/ExplosionGrenade3D.h | 15 ++++- .../Effects/ExplosionParticles/Particles.h | 15 ++++- .../Effects/ExplosionParticles/Particles3D.h | 15 ++++- .../Effects/ExplosionRocket/ExplosionRocket.h | 15 ++++- .../ExplosionRocket/ExplosionRocket3D.h | 15 ++++- Sources/Models/headers/Effects/Fire01/Fire.h | 15 ++++- Sources/Models/headers/Effects/Fire02/Fire.h | 15 ++++- Sources/Models/headers/Effects/Fire03/Fire.h | 15 ++++- .../Models/headers/Effects/Flare01/Flare.h | 15 ++++- .../Models/headers/Effects/Flare02/Flaire.h | 15 ++++- .../Models/headers/Effects/Flares1m/Flaire.h | 15 ++++- .../Models/headers/Effects/Holder2x4/Holder.h | 15 ++++- .../headers/Effects/Holder2x4/HolderAngle.h | 15 ++++- .../headers/Effects/Holder2x4/HolderOneSide.h | 15 ++++- .../headers/Effects/LavaRock01/LavaRock.h | 15 ++++- .../headers/Effects/LavaRock01/LavaRock02.h | 15 ++++- .../headers/Effects/LavaRock01/LavaRock03.h | 15 ++++- .../headers/Effects/LightBeam01/LightBeam.h | 15 ++++- Sources/Models/headers/Effects/Rail/rail.h | 15 ++++- Sources/Models/headers/Effects/Rail/railend.h | 15 ++++- .../Models/headers/Effects/Rail/railstart.h | 15 ++++- .../Effects/RotatingFlare01/RotatingFlare.h | 15 ++++- .../Models/headers/Effects/ShockWave/Ring.h | 15 ++++- .../Models/headers/Effects/ShockWave/Ring2.h | 15 ++++- .../headers/Effects/ShockWave01/ShockWave.h | 15 ++++- .../Effects/ShockWaveGreen/ShockWaveGreen.h | 15 ++++- .../Models/headers/Effects/Smoke01/Smoke.h | 15 ++++- .../Models/headers/Effects/Smoke02/Smoke.h | 15 ++++- .../Models/headers/Effects/Smoke03/Smoke.h | 15 ++++- .../Models/headers/Effects/Smoke04/Smoke.h | 15 ++++- .../Models/headers/Effects/Smoke05/Smoke.h | 15 ++++- .../Models/headers/Effects/Smoke06/Smoke.h | 15 ++++- .../headers/Effects/SmokeLine/SmokeLine.h | 15 ++++- .../headers/Effects/SmokeLine01/SmokeLine.h | 15 ++++- .../headers/Effects/SmokeLine02/SmokeLine.h | 15 ++++- .../headers/Effects/StainOnTheWall/Stain.h | 15 ++++- .../headers/Effects/Teleport01/Teleport.h | 15 ++++- .../Models/headers/Effects/Water01/Water.h | 15 ++++- .../headers/Effects/WaterFall01/WaterFall.h | 15 ++++- .../Models/headers/Effects/WaterFoam01/Puff.h | 15 ++++- .../Models/headers/Effects/WaterFoam02/Foam.h | 15 ++++- .../Models/headers/Effects/WaterFoam03/Foam.h | 15 ++++- .../headers/Effects/Weapons/Flare01/Flare.h | 15 ++++- .../headers/Effects/Weapons/Flare02/Flare.h | 15 ++++- Sources/Models/headers/Enemies/Beast/Beast.h | 15 ++++- .../Enemies/Beast/Projectile/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOld/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOld2/Projectile.h | 15 ++++- .../Enemies/Beast/ProjectileOrg/Projectile.h | 15 ++++- .../Models/headers/Enemies/Boneman/Boneman.h | 15 ++++- .../headers/Enemies/Boneman/Debris/Body.h | 15 ++++- .../headers/Enemies/Boneman/Debris/Hand.h | 15 ++++- .../headers/Enemies/Boneman/Debris/Legs.h | 15 ++++- .../Enemies/Boneman/Projectile/Projectile.h | 15 ++++- .../Models/headers/Enemies/Catman/CatMan.h | 15 ++++- .../headers/Enemies/Catman/Fire/CatmanFire.h | 15 ++++- .../Enemies/Catman/FireOld/CatmanFire.h | 15 ++++- .../Enemies/Catman/Projectile/Projectile.h | 15 ++++- .../headers/Enemies/ChainSawFreak/Freak.h | 15 ++++- .../headers/Enemies/ChainSawFreak/Saw.h | 15 ++++- .../Models/headers/Enemies/Cyborg/AssHole.h | 15 ++++- Sources/Models/headers/Enemies/Cyborg/Bike.h | 15 ++++- .../Models/headers/Enemies/Cyborg/Cyborg.h | 15 ++++- .../headers/Enemies/Cyborg/CyborgONEPART.h | 15 ++++- Sources/Models/headers/Enemies/Cyborg/Foot.h | 15 ++++- Sources/Models/headers/Enemies/Cyborg/Head.h | 15 ++++- .../headers/Enemies/Cyborg/LeftLowerArm.h | 15 ++++- .../headers/Enemies/Cyborg/LeftLowerLeg.h | 15 ++++- .../headers/Enemies/Cyborg/LeftUpperArm.h | 15 ++++- .../headers/Enemies/Cyborg/LeftUpperLeg.h | 15 ++++- .../Cyborg/Projectile/LaserProjectile.h | 15 ++++- .../Cyborg/Projectile/LaserProjectileGlow01.h | 15 ++++- .../Enemies/Cyborg/Projectile/Projectile.h | 15 ++++- .../headers/Enemies/Cyborg/RightLowerArm.h | 15 ++++- .../headers/Enemies/Cyborg/RightLowerLeg.h | 15 ++++- .../headers/Enemies/Cyborg/RightUpperArm.h | 15 ++++- .../headers/Enemies/Cyborg/RightUpperLeg.h | 15 ++++- .../headers/Enemies/Cyborg/Termi+rifle.h | 15 ++++- Sources/Models/headers/Enemies/Cyborg/Torso.h | 15 ++++- Sources/Models/headers/Enemies/Devil/Flare.h | 15 ++++- .../headers/Enemies/Devil/MiniGunItem.h | 15 ++++- .../Models/headers/Enemies/Devil/Minigun.h | 15 ++++- Sources/Models/headers/Enemies/Devil/Stick.h | 15 ++++- Sources/Models/headers/Enemies/Devil/devil.h | 15 ++++- Sources/Models/headers/Enemies/Devil/devil2.h | 15 ++++- Sources/Models/headers/Enemies/Devil/shield.h | 15 ++++- .../headers/Enemies/DragonMan/Debris/Body.h | 15 ++++- .../headers/Enemies/DragonMan/Debris/Head.h | 15 ++++- .../headers/Enemies/DragonMan/Debris/Leg.h | 15 ++++- .../headers/Enemies/DragonMan/Debris/Tail.h | 15 ++++- .../headers/Enemies/DragonMan/Debris/Wing.h | 15 ++++- .../headers/Enemies/DragonMan/DragonMan.h | 15 ++++- .../Enemies/DragonMan/Projectile/Projectile.h | 15 ++++- .../headers/Enemies/ElementalAir/Elemental.h | 15 ++++- .../headers/Enemies/ElementalLava/BodyFlare.h | 15 ++++- .../Enemies/ElementalLava/ElementalLava.h | 15 ++++- .../headers/Enemies/ElementalLava/HandFlare.h | 15 ++++- .../ElementalLava/Projectile/LavaBomb.h | 15 ++++- .../ElementalLava/Projectile/LavaStone.h | 15 ++++- .../ElementalLava/Projectile/LavaStoneFlare.h | 15 ++++- .../headers/Enemies/Elementals/AirMan.h | 15 ++++- .../headers/Enemies/Elementals/IceMan.h | 15 ++++- .../headers/Enemies/Elementals/Icepick.h | 15 ++++- .../headers/Enemies/Elementals/LavaMan.h | 15 ++++- .../Enemies/Elementals/LavaManFX/BodyFlare.h | 15 ++++- .../Enemies/Elementals/LavaManFX/HandFlare.h | 15 ++++- .../Models/headers/Enemies/Elementals/Maul.h | 15 ++++- .../Enemies/Elementals/Projectile/Fireball.h | 15 ++++- .../Elementals/Projectile/IcePyramid.h | 15 ++++- .../Elementals/Projectile/IcePyramidFlare.h | 15 ++++- .../Enemies/Elementals/Projectile/LavaBomb.h | 15 ++++- .../Enemies/Elementals/Projectile/LavaStone.h | 15 ++++- .../Elementals/Projectile/LavaStoneFlare.h | 15 ++++- .../Enemies/Elementals/Projectile/Stone.h | 15 ++++- .../Enemies/Elementals/Projectile/WaterDrop.h | 15 ++++- .../Enemies/Elementals/StoneManFX/BodyFlare.h | 15 ++++- .../headers/Enemies/Elementals/Stoneman.h | 15 ++++- .../headers/Enemies/Elementals/Twister.h | 15 ++++- .../headers/Enemies/Elementals/WaterMan.h | 15 ++++- .../Enemies/Elementals/WaterManFX/BodyFlare.h | 15 ++++- .../Models/headers/Enemies/Eyeman/Eyeman.h | 15 ++++- .../Enemies/EyemanOld/Projectile/Acid.h | 15 ++++- .../Models/headers/Enemies/EyemanOld/eyeman.h | 15 ++++- Sources/Models/headers/Enemies/Fish/Fish.h | 15 ++++- Sources/Models/headers/Enemies/Fish/Glow.h | 15 ++++- .../Enemies/Fishman/Projectile/Projectile.h | 15 ++++- .../Models/headers/Enemies/Fishman/fishman.h | 15 ++++- Sources/Models/headers/Enemies/Gizmo/Gizmo.h | 15 ++++- .../Models/headers/Enemies/HeadManOld/Bag.h | 15 ++++- .../headers/Enemies/HeadManOld/ChainSaw.h | 15 ++++- .../Models/headers/Enemies/HeadManOld/Head.h | 15 ++++- .../headers/Enemies/HeadManOld/HeadMan.h | 15 ++++- .../headers/Enemies/HeadManOld/Headonstick.h | 15 ++++- .../Enemies/HeadManOld/Projectile/Blade.h | 15 ++++- .../Enemies/HeadManOld/Projectile/Bomb.h | 15 ++++- .../HeadManOld/Projectile/FireCracker.h | 15 ++++- .../Enemies/HeadManOld/Projectile/FireTrail.h | 15 ++++- .../Enemies/HeadManOld/RocketLauncher.h | 15 ++++- .../Models/headers/Enemies/HeadManOld/Saw.h | 15 ++++- .../Models/headers/Enemies/HeadManOld/Stick.h | 15 ++++- .../Models/headers/Enemies/Headman/ChainSaw.h | 15 ++++- .../headers/Enemies/Headman/FireCrackerHead.h | 15 ++++- Sources/Models/headers/Enemies/Headman/Head.h | 15 ++++- .../Enemies/Headman/Projectile/Blade.h | 15 ++++- .../headers/Enemies/Headman/Projectile/Bomb.h | 15 ++++- .../Enemies/Headman/Projectile/FireCracker.h | 15 ++++- .../Enemies/Headman/Projectile/FireTrail.h | 15 ++++- .../headers/Enemies/Headman/RocketLauncher.h | 15 ++++- Sources/Models/headers/Enemies/Headman/Saw.h | 15 ++++- .../Models/headers/Enemies/Headman/Stick.h | 15 ++++- .../Models/headers/Enemies/Headman/headman.h | 15 ++++- .../headers/Enemies/Headman/headmantest.h | 15 ++++- .../Models/headers/Enemies/HuanMan/Huanman.h | 15 ++++- .../Enemies/HuanMan/Projectile/Flare.h | 15 ++++- .../Enemies/HuanMan/Projectile/Projectile.h | 15 ++++- .../HuanMan/Projectile/tmp/Projectile.h | 15 ++++- .../headers/Enemies/MAMUTMAN/Mamutman.h | 15 ++++- .../Enemies/MANTAMAN/Projectile/Projectile.h | 15 ++++- .../headers/Enemies/MANTAMAN/mantaman.h | 15 ++++- .../headers/Enemies/Mamut/OBJECTS/mamut.h | 15 ++++- .../Mamut/Projectile/MamutProjectile.h | 15 ++++- .../Enemies/Robots/DrivingWheel/Robot.h | 15 ++++- .../headers/Enemies/Robots/FloatBall/Robot.h | 15 ++++- .../Enemies/Robots/FlyingFighter/Ship.h | 15 ++++- .../headers/Enemies/Robots/SentryBall/Ball.h | 15 ++++- .../Enemies/Robots/SentryBall/Effect.h | 15 ++++- .../Enemies/Robots/SentryBall/SentryBall.h | 15 ++++- .../Models/headers/Enemies/SCORPMAN/Flare.h | 15 ++++- Sources/Models/headers/Enemies/SCORPMAN/Gun.h | 15 ++++- .../headers/Enemies/SCORPMAN/scorpman.h | 15 ++++- Sources/Models/headers/Enemies/Walker/Laser.h | 15 ++++- .../headers/Enemies/Walker/RocketLauncher.h | 15 ++++- .../Models/headers/Enemies/Walker/Walker.h | 15 ++++- .../headers/Enemies/WereBull/WereBull.h | 15 ++++- .../headers/Enemies/WereBullOld/WereBull.h | 15 ++++- .../Enemies/Woman/Projectile/Projectile.h | 15 ++++- Sources/Models/headers/Enemies/Woman/Woman.h | 15 ++++- .../headers/Enemies/Woman/WomanForArtwork.h | 15 ++++- .../Models/headers/IHVTest/CurvedSurfaces.h | 15 ++++- .../headers/IHVTest/GlassCurvedSurfaces.h | 15 ++++- Sources/Models/headers/IHVTest/Lightning.h | 15 ++++- .../headers/Items/Ammo/Bullets/Bullets.h | 15 ++++- .../Items/Ammo/Cannonball/CannonBall.h | 15 ++++- .../Items/Ammo/Cannonball/CannonBallQuad.h | 15 ++++- .../headers/Items/Ammo/Electricity/Effect.h | 15 ++++- .../headers/Items/Ammo/Electricity/Effect2.h | 15 ++++- .../Items/Ammo/Electricity/Electricity.h | 15 ++++- .../headers/Items/Ammo/Grenades/Grenades.h | 15 ++++- .../Models/headers/Items/Ammo/Napalm/Napalm.h | 15 ++++- .../headers/Items/Ammo/Rockets/Rockets.h | 15 ++++- .../Models/headers/Items/Ammo/Shells/Shells.h | 15 ++++- .../headers/Items/Ammo/_Old/Bullets/Bullets.h | 15 ++++- .../Items/Ammo/_Old/Cannonball/CannonBall.h | 15 ++++- .../Ammo/_Old/Cannonball/CannonBallQuad.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Effect.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Effect2.h | 15 ++++- .../Items/Ammo/_Old/Electricity/Electricity.h | 15 ++++- .../Items/Ammo/_Old/Grenades/Grenade.h | 15 ++++- .../Items/Ammo/_Old/Grenades/Grenades.h | 15 ++++- .../Items/Ammo/_Old/Rockets/Rocket01.h | 15 ++++- .../headers/Items/Ammo/_Old/Rockets/Rockets.h | 15 ++++- .../headers/Items/Ammo/_Old/Shells/Shells.h | 15 ++++- Sources/Models/headers/Items/Armor/Armor_1.h | 15 ++++- .../Models/headers/Items/Armor/Armor_100.h | 15 ++++- .../Models/headers/Items/Armor/Armor_200.h | 15 ++++- Sources/Models/headers/Items/Armor/Armor_25.h | 15 ++++- Sources/Models/headers/Items/Armor/Armor_50.h | 15 ++++- Sources/Models/headers/Items/Flares/Flare.h | 15 ++++- .../Models/headers/Items/Health/Large/Large.h | 15 ++++- .../headers/Items/Health/Medium/Medium.h | 15 ++++- .../Models/headers/Items/Health/Pill/Pill.h | 15 ++++- .../Models/headers/Items/Health/Small/Small.h | 15 ++++- .../Models/headers/Items/Health/Super/Super.h | 15 ++++- .../headers/Items/Health/SuperOrg/Super.h | 15 ++++- .../headers/Items/ItemHolder/ItemHolder.h | 15 ++++- .../Models/headers/Items/Keys/AnkhGold/Ankh.h | 15 ++++- .../headers/Items/Keys/AnkhStone/Ankh.h | 15 ++++- .../Models/headers/Items/Keys/AnkhWood/Ankh.h | 15 ++++- .../Items/PowerUps/BackPack/BackPack.h | 15 ++++- .../Items/PowerUps/SeriousPack/SeriousPack.h | 15 ++++- .../PowerUps/_Old/SeriousPack/SeriousPack.h | 15 ++++- .../Models/headers/Player/SeriousSam/Body.h | 15 ++++- .../headers/Player/SeriousSam/Glasses.h | 15 ++++- .../Models/headers/Player/SeriousSam/Head.h | 15 ++++- .../Models/headers/Player/SeriousSam/Player.h | 15 ++++- .../headers/Player/SeriousSamOld/Body.h | 15 ++++- .../headers/Player/SeriousSamOld/Head.h | 15 ++++- .../headers/Player/SeriousSamOld/Player.h | 15 ++++- .../Models/headers/Switches/Switch01/Switch.h | 15 ++++- Sources/Models/headers/Weapons/Cannon/Body.h | 15 ++++- .../Models/headers/Weapons/Cannon/Cannon.h | 15 ++++- Sources/Models/headers/Weapons/Cannon/Flame.h | 15 ++++- Sources/Models/headers/Weapons/Cannon/Light.h | 15 ++++- .../Models/headers/Weapons/Cannon/NukeBox.h | 15 ++++- .../Weapons/Cannon/Projectile/CannonBall.h | 15 ++++- .../Models/headers/Weapons/Colt/ColtBullets.h | 15 ++++- .../Models/headers/Weapons/Colt/ColtCock.h | 15 ++++- .../Models/headers/Weapons/Colt/ColtItem.h | 15 ++++- .../Models/headers/Weapons/Colt/ColtMain.h | 15 ++++- Sources/Models/headers/Weapons/Colt/colt.h | 15 ++++- .../headers/Weapons/DoubleShotgun/Ammo.h | 15 ++++- .../Weapons/DoubleShotgun/DoubleShotgun.h | 15 ++++- .../Weapons/DoubleShotgun/DoubleShotgunItem.h | 15 ++++- .../Weapons/DoubleShotgun/Dshotgunbarrels.h | 15 ++++- .../Weapons/DoubleShotgun/Dshotgunhandle.h | 15 ++++- .../Weapons/DoubleShotgun/HandWithAmmo.h | 15 ++++- .../headers/Weapons/DoubleShotgun/Switch.h | 15 ++++- Sources/Models/headers/Weapons/Flamer/Body.h | 15 ++++- Sources/Models/headers/Weapons/Flamer/Flame.h | 15 ++++- .../Models/headers/Weapons/Flamer/Flamer.h | 15 ++++- .../headers/Weapons/Flamer/FlamerItem.h | 15 ++++- .../headers/Weapons/Flamer/FuelReservoir.h | 15 ++++- .../Weapons/Flamer/Projectile/Invisible.h | 15 ++++- .../Models/headers/Weapons/FlamerNew/Body.h | 15 ++++- .../headers/Weapons/FlamerNew/FuelReservoir.h | 15 ++++- .../Models/headers/Weapons/GhostBuster/Body.h | 15 ++++- .../headers/Weapons/GhostBuster/Effect01.h | 15 ++++- .../headers/Weapons/GhostBuster/EffectFlare.h | 15 ++++- .../Weapons/GhostBuster/EffectFlare01.h | 15 ++++- .../headers/Weapons/GhostBuster/GhostBuster.h | 15 ++++- .../Weapons/GhostBuster/GhostBusterItem.h | 15 ++++- .../Weapons/GhostBuster/Projectile/Ray.h | 15 ++++- .../headers/Weapons/GhostBuster/Rotator.h | 15 ++++- .../headers/Weapons/GrenadeLauncher/Body.h | 15 ++++- .../Weapons/GrenadeLauncher/Grenade/Grenade.h | 15 ++++- .../Weapons/GrenadeLauncher/GrenadeBack.h | 15 ++++- .../Weapons/GrenadeLauncher/GrenadeLauncher.h | 15 ++++- .../GrenadeLauncher/GrenadeLauncherItem.h | 15 ++++- .../Weapons/GrenadeLauncher/MovingPipe.h | 15 ++++- Sources/Models/headers/Weapons/Knife/Knife.h | 15 ++++- .../Models/headers/Weapons/Knife/KnifeItem.h | 15 ++++- Sources/Models/headers/Weapons/Laser/Barrel.h | 15 ++++- Sources/Models/headers/Weapons/Laser/Body.h | 15 ++++- Sources/Models/headers/Weapons/Laser/Laser.h | 15 ++++- .../Models/headers/Weapons/Laser/LaserItem.h | 15 ++++- .../Laser/Projectile/LaserProjectile.h | 15 ++++- .../Laser/Projectile/LaserProjectileGlow01.h | 15 ++++- .../Models/headers/Weapons/MiniGun/Barrels.h | 15 ++++- Sources/Models/headers/Weapons/MiniGun/Body.h | 15 ++++- .../Models/headers/Weapons/MiniGun/Engine.h | 15 ++++- .../Models/headers/Weapons/MiniGun/Handle.h | 15 ++++- .../headers/Weapons/MiniGun/MiniGunItem.h | 15 ++++- .../headers/Weapons/MiniGun/Shell/Shell.h | 15 ++++- .../Models/headers/Weapons/MiniGun/minigun.h | 15 ++++- .../Models/headers/Weapons/PipeBomb/Bomb.h | 15 ++++- .../Models/headers/Weapons/PipeBomb/Button.h | 15 ++++- .../Weapons/PipeBomb/Grenade/Grenade.h | 15 ++++- .../headers/Weapons/PipeBomb/HandWithBomb.h | 15 ++++- .../headers/Weapons/PipeBomb/HandWithStick.h | 15 ++++- .../Models/headers/Weapons/PipeBomb/Shield.h | 15 ++++- .../Models/headers/Weapons/PipeBomb/Stick.h | 15 ++++- .../headers/Weapons/PipeBomb/StickItem.h | 15 ++++- .../headers/Weapons/RocketLauncher/Body.h | 15 ++++- .../RocketLauncher/Projectile/Rocket.h | 15 ++++- .../Weapons/RocketLauncher/RocketLauncher.h | 15 ++++- .../RocketLauncher/RocketLauncherItem.h | 15 ++++- .../Weapons/RocketLauncher/Rotatingpart.h | 15 ++++- .../headers/Weapons/SingleShotgun/Barrels.h | 15 ++++- .../headers/Weapons/SingleShotgun/Handle.h | 15 ++++- .../Weapons/SingleShotgun/Shell/Shell.h | 15 ++++- .../Weapons/SingleShotgun/SingleShotGun.h | 15 ++++- .../Weapons/SingleShotgun/SingleShotgunItem.h | 15 ++++- .../headers/Weapons/SingleShotgun/Slider.h | 15 ++++- Sources/Models/headers/Weapons/Sniper/Body.h | 15 ++++- .../Models/headers/Weapons/Sniper/Sniper.h | 15 ++++- .../Models/headers/Weapons/TommyGun/Body.h | 15 ++++- .../Models/headers/Weapons/TommyGun/Slider.h | 15 ++++- .../headers/Weapons/TommyGun/TommyGun.h | 15 ++++- .../headers/Weapons/TommyGun/TommyGunItem.h | 15 ++++- .../ModelsMP/Babylon/BabylonColumn/Column.h | 15 ++++- .../Babylon/BabylonTower/CornerTower.h | 15 ++++- Sources/ModelsMP/Babylon/BabylonTower/Tower.h | 15 ++++- .../ModelsMP/Babylon/BabylonTowerIvy/Ivy.h | 15 ++++- Sources/ModelsMP/Babylon/Column01/Column.h | 15 ++++- Sources/ModelsMP/Babylon/Dome01/Dome.h | 15 ++++- Sources/ModelsMP/Babylon/DoorPortal/Portal.h | 15 ++++- .../ModelsMP/Babylon/DoorPortal02/Portal.h | 15 ++++- Sources/ModelsMP/Babylon/Elephant/Elephant.h | 15 ++++- .../Babylon/FireHolder01/FireHolder.h | 15 ++++- .../Babylon/FireHolder02/FireHolder.h | 15 ++++- .../Babylon/FireHolder03/FireHolder.h | 15 ++++- .../Babylon/FireHolder04/FireHolder.h | 15 ++++- .../Babylon/FireHolder05/FireHolder.h | 15 ++++- .../Babylon/FireHolder06/FireHolder.h | 15 ++++- .../Babylon/FireHolder07/FireHolder.h | 15 ++++- .../Babylon/FireHolder09/FireHolder.h | 15 ++++- .../Babylon/FireHolder10/FireHolder.h | 15 ++++- Sources/ModelsMP/Babylon/Horse/Horse.h | 15 ++++- .../Babylon/LionStatue/LionStatue-test.h | 15 ++++- .../ModelsMP/Babylon/LionStatue/LionStatue.h | 15 ++++- Sources/ModelsMP/Babylon/ManStatue/Statue.h | 15 ++++- Sources/ModelsMP/Babylon/Persepolis/Egg.h | 15 ++++- .../Babylon/PersepolisTemple/TempleColumn.h | 15 ++++- Sources/ModelsMP/Babylon/Portal02/Portal.h | 15 ++++- Sources/ModelsMP/Babylon/PotPlant01/Plant.h | 15 ++++- Sources/ModelsMP/Babylon/PotPlant01/Pot.h | 15 ++++- Sources/ModelsMP/Babylon/Tower01/Tower.h | 15 ++++- .../ModelsMP/Babylon/Tower01/TowerQuadric.h | 15 ++++- Sources/ModelsMP/Babylon/Vase01/Vase.h | 15 ++++- Sources/ModelsMP/Babylon/Vase02/Vase.h | 15 ++++- .../ModelsMP/Babylon/WallShooter/Shooter.h | 15 ++++- Sources/ModelsMP/Computer/Floor.h | 15 ++++- Sources/ModelsMP/CutSequences/Book/Book.h | 15 ++++- .../ModelsMP/CutSequences/Book/CoverPages.h | 15 ++++- Sources/ModelsMP/CutSequences/Church/Arch.h | 15 ++++- Sources/ModelsMP/CutSequences/Church/Bench.h | 15 ++++- Sources/ModelsMP/CutSequences/Church/Column.h | 15 ++++- .../CutSequences/Church/ConfessionBox.h | 15 ++++- .../CutSequences/Church/Vitrage_Big.h | 15 ++++- .../CutSequences/Church/Vitrage_Small.h | 15 ++++- .../CutSequences/ChurchRoof/CurchRoof.h | 15 ++++- .../ModelsMP/CutSequences/CrateBus/CrateBus.h | 15 ++++- .../CutSequences/CrateBus/CrateBus_Crashed.h | 15 ++++- .../ModelsMP/CutSequences/Curtain/Curtain.h | 15 ++++- .../CutSequences/DiscoBall/DiscoBall.h | 15 ++++- .../CutSequences/DiscoBall/Microphone.h | 15 ++++- Sources/ModelsMP/CutSequences/EgyptSet/Ball.h | 15 ++++- Sources/ModelsMP/CutSequences/EgyptSet/Body.h | 15 ++++- .../CutSequences/EgyptSet/CameraTracks.h | 15 ++++- .../ModelsMP/CutSequences/EgyptSet/Chair.h | 15 ++++- .../ModelsMP/CutSequences/EgyptSet/Devil.h | 15 ++++- .../ModelsMP/CutSequences/EgyptSet/Devil2.h | 15 ++++- Sources/ModelsMP/CutSequences/EgyptSet/Head.h | 15 ++++- .../ModelsMP/CutSequences/EgyptSet/Player.h | 15 ++++- Sources/ModelsMP/CutSequences/EgyptSet/Toys.h | 15 ++++- Sources/ModelsMP/CutSequences/Intro/log.h | 15 ++++- .../ModelsMP/CutSequences/Museum/Container.h | 15 ++++- .../ModelsMP/CutSequences/Museum/Question.h | 15 ++++- Sources/ModelsMP/CutSequences/Museum/Ughzy.h | 15 ++++- .../ModelsMP/CutSequences/PokerTable/Table.h | 15 ++++- .../ModelsMP/CutSequences/PumpkinField/Head.h | 15 ++++- .../CutSequences/Reflector/Reflector.h | 15 ++++- Sources/ModelsMP/CutSequences/Rocket/Rocket.h | 15 ++++- Sources/ModelsMP/CutSequences/Santa/Bag.h | 15 ++++- Sources/ModelsMP/CutSequences/Santa/Body.h | 15 ++++- Sources/ModelsMP/CutSequences/Santa/Player.h | 15 ++++- .../CutSequences/SpaceShip/BeamMachine.h | 15 ++++- .../CutSequences/SpaceShip/BeamMachineRim.h | 15 ++++- .../ModelsMP/CutSequences/SpaceShip/Body.h | 15 ++++- .../CutSequences/SpaceShip/BottomFlare.h | 15 ++++- .../ModelsMP/CutSequences/SpaceShip/Door.h | 15 ++++- .../ModelsMP/CutSequences/SpaceShip/FillIn.h | 15 ++++- .../CutSequences/SpaceShip/LightBeam.h | 15 ++++- .../CutSequences/SpaceShip/PowerRing.h | 15 ++++- .../CutSequences/SpaceShip/SpaceShip.h | 15 ++++- .../TelephoneBooth/TelephoneBooth.h | 15 ++++- .../ModelsMP/CutSequences/ToiletTime/Bullet.h | 15 ++++- .../ModelsMP/CutSequences/ToiletTime/Toilet.h | 15 ++++- .../CutSequences/ToiletTime/ToiletBooth.h | 15 ++++- .../TriggerAnimated/TriggerAnimated.h | 15 ++++- .../CutSequences/Wood/UnderConstruction.h | 15 ++++- Sources/ModelsMP/CutSequences/Wood/Wood.h | 15 ++++- Sources/ModelsMP/DeathMatch/Bonner/Bonner.h | 15 ++++- Sources/ModelsMP/DeathMatch/Rope/Rope.h | 15 ++++- Sources/ModelsMP/Editor/Damager.h | 15 ++++- Sources/ModelsMP/Editor/Debug_EntityStack.h | 15 ++++- Sources/ModelsMP/Editor/EffectMarker.h | 15 ++++- .../Editor/EnvironmentParticlesHolder.h | 15 ++++- Sources/ModelsMP/Editor/TacticsChanger.h | 15 ++++- Sources/ModelsMP/Editor/TacticsHolder.h | 15 ++++- Sources/ModelsMP/Editor/TacticsManager.h | 15 ++++- Sources/ModelsMP/Editor/TimeControler.h | 15 ++++- Sources/ModelsMP/Effects/Debris/Tree/TREE.h | 15 ++++- Sources/ModelsMP/Effects/Fire03/Fire.h | 15 ++++- Sources/ModelsMP/Effects/GreenFire/Fire.h | 15 ++++- Sources/ModelsMP/Effects/GreenFire/FireFar.h | 15 ++++- Sources/ModelsMP/Effects/Laser/Border.h | 15 ++++- Sources/ModelsMP/Effects/Laser/Laser.h | 15 ++++- Sources/ModelsMP/Effects/Laser/Laser_Red.h | 15 ++++- .../ModelsMP/Effects/LightBeam04/LightBeam.h | 15 ++++- .../ModelsMP/Effects/LightBeam05/LightBeam.h | 15 ++++- .../Enemies/AirElemental/AirElemental.h | 15 ++++- .../ModelsMP/Enemies/AirElemental/Elemental.h | 15 ++++- .../AirElemental/Projectile/Projectile.h | 15 ++++- .../ModelsMP/Enemies/AirElemental/ShockWave.h | 15 ++++- .../Enemies/AirElemental/ShockWaveBase.h | 15 ++++- .../ModelsMP/Enemies/AirElemental/Twister.h | 15 ++++- .../Enemies/CannonRotating/Debris/Cannon.h | 15 ++++- .../CannonRotating/Debris/RotatingMechanism.h | 15 ++++- .../Enemies/CannonRotating/Debris/Turret.h | 15 ++++- .../CannonRotating/RotatingMechanism.h | 15 ++++- .../ModelsMP/Enemies/CannonRotating/Turret.h | 15 ++++- .../ModelsMP/Enemies/CannonStatic/Cannon.h | 15 ++++- .../Enemies/CannonStatic/Debris/Cannon.h | 15 ++++- .../Enemies/CannonStatic/Debris/Wheel.h | 15 ++++- .../Enemies/CannonStatic/Debris/Wood.h | 15 ++++- .../ModelsMP/Enemies/CannonStatic/Turret.h | 15 ++++- .../ModelsMP/Enemies/ChainSawFreak/Freak.h | 15 ++++- Sources/ModelsMP/Enemies/ChainSawFreak/Saw.h | 15 ++++- Sources/ModelsMP/Enemies/Demon/Demon.h | 15 ++++- .../Enemies/Demon/Projectile/Projectile.h | 15 ++++- Sources/ModelsMP/Enemies/ExotechLarva/Arm.h | 15 ++++- .../ModelsMP/Enemies/ExotechLarva/BackArms.h | 15 ++++- Sources/ModelsMP/Enemies/ExotechLarva/Beam.h | 15 ++++- Sources/ModelsMP/Enemies/ExotechLarva/Body.h | 15 ++++- .../Enemies/ExotechLarva/Charger/Beam.h | 15 ++++- .../ExotechLarva/Charger/ElectricBeam.h | 15 ++++- .../ExotechLarva/Charger/Electricity.h | 15 ++++- .../ExotechLarva/Charger/ElectricityBeams.h | 15 ++++- .../ExotechLarva/Charger/FloorCharger.h | 15 ++++- .../Enemies/ExotechLarva/Charger/PlasmaBeam.h | 15 ++++- .../ExotechLarva/Charger/WallCharger.h | 15 ++++- .../Enemies/ExotechLarva/Debris/BodyDebris.h | 15 ++++- .../ExotechLarva/Debris/TailDebris01.h | 15 ++++- .../ExotechLarva/Debris/TailDebris02.h | 15 ++++- .../Enemies/ExotechLarva/EffectFlare.h | 15 ++++- .../Enemies/ExotechLarva/EnergyBeams.h | 15 ++++- .../Enemies/ExotechLarva/ExotechLarva.h | 15 ++++- .../ExotechLarva/Projectile/Projectile.h | 15 ++++- .../ExotechLarva/Projectile/TailProjectile.h | 15 ++++- .../Enemies/ExotechLarva/Weapons/PlasmaGun.h | 15 ++++- .../ExotechLarva/______Work/Bck2/Arm.h | 15 ++++- .../ExotechLarva/______Work/Bck2/Body.h | 15 ++++- .../______Work/Bck2/ExotechLarva.h | 15 ++++- Sources/ModelsMP/Enemies/Grunt/Grunt.h | 15 ++++- Sources/ModelsMP/Enemies/Grunt/Gun.h | 15 ++++- .../ModelsMP/Enemies/Grunt/Gun_Commander.h | 15 ++++- .../Grunt/Projectile/GruntProjectile.h | 15 ++++- Sources/ModelsMP/Enemies/Guffy/Guffy.h | 15 ++++- Sources/ModelsMP/Enemies/Guffy/Gun.h | 15 ++++- .../Guffy/Projectile/GuffyProjectile.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/01Mental.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/Aura.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/BrainBottle.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/BrainDrain.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/BrainHoses.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/Head.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/Head2.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/Horns.h | 15 ++++- Sources/ModelsMP/Enemies/Mental/Mental.h | 15 ++++- Sources/ModelsMP/Enemies/Shooters/Arrow01.h | 15 ++++- .../Enemies/Summoner/Debris/Cloth01.h | 15 ++++- .../Enemies/Summoner/Debris/Cloth02.h | 15 ++++- .../Enemies/Summoner/Debris/Cloth03.h | 15 ++++- .../Enemies/Summoner/Debris/Cloth04.h | 15 ++++- .../Summoner/SpawnerProjectile/Invisible.h | 15 ++++- Sources/ModelsMP/Enemies/Summoner/Staff.h | 15 ++++- Sources/ModelsMP/Enemies/Summoner/Summoner.h | 15 ++++- Sources/ModelsMP/Enemies/Woman/Woman.h | 15 ++++- Sources/ModelsMP/Gothic/Axe01/Axe.h | 15 ++++- Sources/ModelsMP/Gothic/Barrel/Barrel.h | 15 ++++- Sources/ModelsMP/Gothic/Bench/Bench.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence01.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence02.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence03.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence04.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence05.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence06.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Fence07.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Tower01.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Tower02.h | 15 ++++- Sources/ModelsMP/Gothic/Castle/Tower03.h | 15 ++++- Sources/ModelsMP/Gothic/Chimney01/chimney.h | 15 ++++- Sources/ModelsMP/Gothic/Church/Arch.h | 15 ++++- Sources/ModelsMP/Gothic/Church/Roof01.h | 15 ++++- Sources/ModelsMP/Gothic/Church/Roof02.h | 15 ++++- .../ModelsMP/Gothic/ChurchBell/ChurchBell.h | 15 ++++- Sources/ModelsMP/Gothic/ChurchPortal/Portal.h | 15 ++++- Sources/ModelsMP/Gothic/Column01/Column.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Bridge.h | 15 ++++- .../ModelsMP/Gothic/Corridor/ChurchPortal.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Column.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/DD.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Pumpkin.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Tower.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Tower02.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Tower03.h | 15 ++++- Sources/ModelsMP/Gothic/Corridor/Tower04.h | 15 ++++- Sources/ModelsMP/Gothic/Cross01/Cross.h | 15 ++++- Sources/ModelsMP/Gothic/Cross02/Cross.h | 15 ++++- Sources/ModelsMP/Gothic/Cross02/JesusSam.h | 15 ++++- Sources/ModelsMP/Gothic/Cross03/Cross.h | 15 ++++- Sources/ModelsMP/Gothic/Cross03/Cross01.h | 15 ++++- Sources/ModelsMP/Gothic/Cross03/CrossChurch.h | 15 ++++- Sources/ModelsMP/Gothic/Cross03/DeanCross.h | 15 ++++- Sources/ModelsMP/Gothic/DemonStatue/Demon.h | 15 ++++- Sources/ModelsMP/Gothic/Fountain/Fountain.h | 15 ++++- Sources/ModelsMP/Gothic/Glove/Glove.h | 15 ++++- Sources/ModelsMP/Gothic/Grave/Grave.h | 15 ++++- Sources/ModelsMP/Gothic/LandOfDamned/Player.h | 15 ++++- Sources/ModelsMP/Gothic/LandOfDamned/Portal.h | 15 ++++- .../Gothic/LightSource03/LightSource.h | 15 ++++- .../Gothic/LightSource04/LightSource.h | 15 ++++- .../Gothic/LightSource05/LightSource.h | 15 ++++- .../ModelsMP/Gothic/Lightsource01/Candle.h | 15 ++++- .../Gothic/Lightsource02/Lightsource.h | 15 ++++- Sources/ModelsMP/Gothic/Painting01/Painting.h | 15 ++++- Sources/ModelsMP/Gothic/Portal/Portal.h | 15 ++++- Sources/ModelsMP/Gothic/Shield01/Shield.h | 15 ++++- Sources/ModelsMP/Gothic/Shield02/Shield.h | 15 ++++- Sources/ModelsMP/Gothic/Shooter02/Shooter.h | 15 ++++- Sources/ModelsMP/Gothic/Snow/Snow.h | 15 ++++- Sources/ModelsMP/Gothic/SnowMan/SnowMan.h | 15 ++++- Sources/ModelsMP/Gothic/Statue01/Statue.h | 15 ++++- Sources/ModelsMP/Gothic/Volcano/Volcano.h | 15 ++++- Sources/ModelsMP/Items/Ammo/Napalm/Napalm.h | 15 ++++- .../Items/Ammo/SniperBullets/SniperBullets.h | 15 ++++- Sources/ModelsMP/Items/Armor/Armor_5.h | 15 ++++- Sources/ModelsMP/Items/Armor/Helm.h | 15 ++++- .../ModelsMP/Items/Keys/BookOfWisdom/Book.h | 15 ++++- .../Items/Keys/BookOfWisdom/BookHolder.h | 15 ++++- Sources/ModelsMP/Items/Keys/Cross/Cross.h | 15 ++++- .../ModelsMP/Items/Keys/CrystalSkull/Skull.h | 15 ++++- .../Items/Keys/EntranceKey/EntranceKey.h | 15 ++++- Sources/ModelsMP/Items/Keys/GoldCross/Cross.h | 15 ++++- .../Items/Keys/GoldElephant/Elephant.h | 15 ++++- .../ModelsMP/Items/Keys/GoldJaguar/Jaguar.h | 15 ++++- .../Items/Keys/GothicPapyrus/Papyrus.h | 15 ++++- .../ModelsMP/Items/Keys/HawkWings/WingLeft.h | 15 ++++- .../ModelsMP/Items/Keys/HawkWings/WingRight.h | 15 ++++- Sources/ModelsMP/Items/Keys/HolyGrail/Grail.h | 15 ++++- .../ModelsMP/Items/Keys/ManStatue/Statue.h | 15 ++++- .../Items/Keys/MoonSymbol/MoonSymbol.h | 15 ++++- Sources/ModelsMP/Items/Keys/Statue01/Statue.h | 15 ++++- Sources/ModelsMP/Items/Keys/Statue02/Statue.h | 15 ++++- Sources/ModelsMP/Items/Keys/Statue03/Statue.h | 15 ++++- .../ModelsMP/Items/Keys/SunSymbol/SunSymbol.h | 15 ++++- .../Items/Keys/TablesOfWisdom/Tables.h | 15 ++++- .../ModelsMP/Items/Keys/WingLion/WingLion.h | 15 ++++- Sources/ModelsMP/Items/Keys/key01/Key.h | 15 ++++- .../PowerUps/Invisibility/Invinsibility.h | 15 ++++- .../PowerUps/Invisibility/Invisibility.h | 15 ++++- .../Invulnerability/Invulnerability.h | 15 ++++- .../Items/PowerUps/SeriousBomb/SeriousBomb.h | 15 ++++- .../PowerUps/SeriousDamage/SeriousDamage.h | 15 ++++- .../PowerUps/SeriousSpeed/SeriousSpeed.h | 15 ++++- Sources/ModelsMP/Objects/Flag01/Flag.h | 15 ++++- Sources/ModelsMP/Objects/FlagPole/FlagPole.h | 15 ++++- Sources/ModelsMP/Plants/Bush10/Bush.h | 15 ++++- Sources/ModelsMP/Plants/Bush10/Bush_Debris.h | 15 ++++- Sources/ModelsMP/Plants/Bush11/Bush01.h | 15 ++++- Sources/ModelsMP/Plants/Bush12/Bush01.h | 15 ++++- Sources/ModelsMP/Plants/Bush12/Bush02.h | 15 ++++- Sources/ModelsMP/Plants/Bush13/Barks01.h | 15 ++++- Sources/ModelsMP/Plants/Bush13/Bush02.h | 15 ++++- Sources/ModelsMP/Plants/Bush13/BushCoat.h | 15 ++++- Sources/ModelsMP/Plants/Grass01/GRASS.h | 15 ++++- Sources/ModelsMP/Plants/OldTree02/Tree.h | 15 ++++- .../ModelsMP/Plants/OldTree02/Tree_Branch.h | 15 ++++- .../ModelsMP/Plants/OldTree02/Tree_Debris01.h | 15 ++++- Sources/ModelsMP/Plants/Palm20/Palm.h | 15 ++++- Sources/ModelsMP/Plants/Palm20/Palm02.h | 15 ++++- .../ModelsMP/Plants/Palm20/Palm02_Debris.h | 15 ++++- .../ModelsMP/Plants/Palm20/Palm02_Debris00.h | 15 ++++- .../ModelsMP/Plants/Palm20/Palm02_Debris01.h | 15 ++++- .../ModelsMP/Plants/Palm20/Palm02_Debris02.h | 15 ++++- Sources/ModelsMP/Plants/Palm20/Palm02_Leaf.h | 15 ++++- Sources/ModelsMP/Plants/Palm20/Palm03.h | 15 ++++- Sources/ModelsMP/Plants/PalmBush/PalmBush01.h | 15 ++++- Sources/ModelsMP/Plants/PalmBush/PalmBush02.h | 15 ++++- Sources/ModelsMP/Plants/PalmBush/PalmBush03.h | 15 ++++- Sources/ModelsMP/Plants/PalmBush/PalmBush04.h | 15 ++++- .../ModelsMP/Plants/PalmBush/PalmBush04Bark.h | 15 ++++- .../Plants/PalmBush/PalmBush_Debris.h | 15 ++++- Sources/ModelsMP/Plants/Tree01/TREE.h | 15 ++++- Sources/ModelsMP/Plants/Tree01/TREE_Branch.h | 15 ++++- Sources/ModelsMP/Plants/Tree01/TREE_Leaf.h | 15 ++++- .../ModelsMP/Plants/Tree01/Tree_Debris00.h | 15 ++++- .../ModelsMP/Plants/Tree01/Tree_Debris01.h | 15 ++++- .../ModelsMP/Plants/Tree01/Tree_Debris02.h | 15 ++++- .../ModelsMP/Plants/Tree01/Tree_Debris03.h | 15 ++++- .../ModelsMP/Plants/Tree01/Tree_Debris04.h | 15 ++++- Sources/ModelsMP/Plants/Tree10/Tree.h | 15 ++++- Sources/ModelsMP/Plants/Tree12/TREE.h | 15 ++++- Sources/ModelsMP/Plants/Tree13/Cherry03.h | 15 ++++- .../ModelsMP/Plants/Tree13/Cherry03_Branch.h | 15 ++++- .../Plants/Tree13/Cherry03_Debris00.h | 15 ++++- .../Plants/Tree13/Cherry03_Debris01.h | 15 ++++- .../Plants/Tree13/Cherry03_Debris02.h | 15 ++++- Sources/ModelsMP/Plants/Tree13/Leaves.h | 15 ++++- Sources/ModelsMP/Plants/Tree15/Tree.h | 15 ++++- Sources/ModelsMP/Plants/Tree15/Tree02.h | 15 ++++- .../ModelsMP/Plants/Tree15/Tree02_Branch.h | 15 ++++- .../ModelsMP/Plants/Tree15/Tree02_Debris00.h | 15 ++++- .../ModelsMP/Plants/Tree15/Tree02_Debris01.h | 15 ++++- Sources/ModelsMP/Plants/Tree15/Tree02_Leaf.h | 15 ++++- Sources/ModelsMP/Plants/Tree15/Tree03.h | 15 ++++- Sources/ModelsMP/Plants/Tree15/Tree04.h | 15 ++++- Sources/ModelsMP/Plants/Tree16/Tree04.h | 15 ++++- Sources/ModelsMP/Plants/Tree17/Tree02.h | 15 ++++- Sources/ModelsMP/Plants/Tree17/Tree03.h | 15 ++++- Sources/ModelsMP/Plants/Tree17/Tree04.h | 15 ++++- Sources/ModelsMP/Plants/Tree17/Tree05.h | 15 ++++- .../ModelsMP/Plants/Tree17/Tree05_Branch.h | 15 ++++- .../ModelsMP/Plants/Tree17/Tree05_Debris00.h | 15 ++++- .../ModelsMP/Plants/Tree17/Tree05_Debris01.h | 15 ++++- .../ModelsMP/Plants/Tree17/Tree05_Debris02.h | 15 ++++- Sources/ModelsMP/Plants/Tree17/Tree05_Leaf.h | 15 ++++- Sources/ModelsMP/Plants/Tree18/Tree.h | 15 ++++- Sources/ModelsMP/Plants/Tree19/Tree.h | 15 ++++- Sources/ModelsMP/Plants/Tree20/Tree.h | 15 ++++- Sources/ModelsMP/Plants/Tree20/Tree02.h | 15 ++++- .../ModelsMP/Plants/Tree20/Tree02_Debris00.h | 15 ++++- .../ModelsMP/Plants/Tree20/Tree02_Debris01.h | 15 ++++- .../ModelsMP/Plants/Tree20/Tree02_Debris02.h | 15 ++++- Sources/ModelsMP/Plants/Tree20/Tree02_Leaf.h | 15 ++++- Sources/ModelsMP/Plants/Tree20/Tree03.h | 15 ++++- Sources/ModelsMP/Plants/WallIvy01/Ivy.h | 15 ++++- Sources/ModelsMP/Plants/WallIvy03/Ivy.h | 15 ++++- Sources/ModelsMP/Plants/WallIvy04/Ivy.h | 15 ++++- Sources/ModelsMP/Plants/WallIvy05/Ivy.h | 15 ++++- Sources/ModelsMP/Plants/WaterPlant/Plant.h | 15 ++++- Sources/ModelsMP/Plants/WaterPlant/Plant02.h | 15 ++++- Sources/ModelsMP/Plants/ivy/Ivy.h | 15 ++++- Sources/ModelsMP/Plants/ivy/Ivy_Debris.h | 15 ++++- Sources/ModelsMP/Player/BoxerBarry/Body.h | 15 ++++- Sources/ModelsMP/Player/BoxerBarry/Head.h | 15 ++++- Sources/ModelsMP/Player/BoxerBarry/Player.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Body.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Glasses.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Hair.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Hat.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Head.h | 15 ++++- Sources/ModelsMP/Player/DiscoDan/Player.h | 15 ++++- Sources/ModelsMP/Player/KleerKenny/Body.h | 15 ++++- Sources/ModelsMP/Player/KleerKenny/Head.h | 15 ++++- Sources/ModelsMP/Player/KleerKenny/Player.h | 15 ++++- Sources/ModelsMP/Player/MightyMarvin/Body.h | 15 ++++- .../ModelsMP/Player/MightyMarvin/Glasses.h | 15 ++++- Sources/ModelsMP/Player/MightyMarvin/Head.h | 15 ++++- Sources/ModelsMP/Player/MightyMarvin/Player.h | 15 ++++- Sources/ModelsMP/Player/SeriousSam/Body.h | 15 ++++- Sources/ModelsMP/Player/SeriousSam/Glasses.h | 15 ++++- Sources/ModelsMP/Player/SeriousSam/Head.h | 15 ++++- Sources/ModelsMP/Player/SeriousSam/Player.h | 15 ++++- Sources/ModelsMP/Player/Swdm/Body.h | 15 ++++- Sources/ModelsMP/Player/Swdm/Glasses.h | 15 ++++- Sources/ModelsMP/Player/Swdm/Head.h | 15 ++++- Sources/ModelsMP/Player/Swdm/Player.h | 15 ++++- Sources/ModelsMP/Player/Zorg/Body.h | 15 ++++- Sources/ModelsMP/Player/Zorg/Head.h | 15 ++++- Sources/ModelsMP/Player/Zorg/Player.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Altar/Altar.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Bridge/Bridge.h | 15 ++++- .../SouthAmerica/Bridge/BridgeSupport.h | 15 ++++- .../SouthAmerica/CaveEntrance/CaveEntrance.h | 15 ++++- .../ModelsMP/SouthAmerica/Column01/Columns.h | 15 ++++- .../SouthAmerica/CrystalSkull/Skull04.h | 15 ++++- .../SouthAmerica/CrystalSkull/Skull05.h | 15 ++++- .../ModelsMP/SouthAmerica/DragonHead01/Head.h | 15 ++++- .../ModelsMP/SouthAmerica/DragonHead02/Head.h | 15 ++++- .../SouthAmerica/DragonHead03/DragonHead.h | 15 ++++- .../SouthAmerica/FireHolder01/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder02/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder03/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder04/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder05/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder06/FireHolder.h | 15 ++++- .../SouthAmerica/FireHolder07/FireHolder.h | 15 ++++- .../FireHolder07/FireHolderNoFire.h | 15 ++++- .../SouthAmerica/FireHolder08/FireHolder.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Hand/Hand.h | 15 ++++- .../SouthAmerica/HeadEntrance/Entrance.h | 15 ++++- .../SouthAmerica/HeadStatue01/HeadStatue.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Jaguar/Body.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Jaguar/Jaguar.h | 15 ++++- .../LaserMechanism/LaserMechanism.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid/Pyramid.h | 15 ++++- .../SouthAmerica/Pyramid/PyramidSmall.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid/Stairs.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid02/Pyramid.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid02/Stairs.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid03/Pyramid.h | 15 ++++- .../SouthAmerica/Pyramid03/PyramidSmall.h | 15 ++++- .../ModelsMP/SouthAmerica/Pyramid03/Stairs.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Rocks/Rock.h | 15 ++++- .../ModelsMP/SouthAmerica/Shooter01/Shooter.h | 15 ++++- .../SouthAmerica/Shooter01/Shooter02.h | 15 ++++- .../ModelsMP/SouthAmerica/Shooter02/Shooter.h | 15 ++++- .../SouthAmerica/Shooter02/Shooter02.h | 15 ++++- .../ModelsMP/SouthAmerica/Shooter03/Shooter.h | 15 ++++- .../ModelsMP/SouthAmerica/Shooter04/Shooter.h | 15 ++++- .../SouthAmerica/SpiderWeb/SpiderWeb.h | 15 ++++- .../ModelsMP/SouthAmerica/Statue05/Statue.h | 15 ++++- .../ModelsMP/SouthAmerica/SunOltar/Oltar.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Torch04/Torch.h | 15 ++++- .../ModelsMP/SouthAmerica/Totem01/Totem01.h | 15 ++++- Sources/ModelsMP/SouthAmerica/Totem02/Totem.h | 15 ++++- .../SouthAmerica/TwoHeadSnake/Snake.h | 15 ++++- Sources/ModelsMP/Switches/Switch01/Switch.h | 15 ++++- Sources/ModelsMP/TechTest/TruForm/BioMech.h | 15 ++++- Sources/ModelsMP/TechTest/TruForm/Portal.h | 15 ++++- Sources/ModelsMP/TechTest/TruForm/Teapot.h | 15 ++++- Sources/ModelsMP/TechTest/TruForm/Toroid.h | 15 ++++- Sources/ModelsMP/Warped/CPPR/Body.h | 15 ++++- Sources/ModelsMP/Warped/CPPR/GrenadeBack.h | 15 ++++- .../ModelsMP/Warped/CPPR/GrenadeLauncher.h | 15 ++++- .../Warped/CPPR/GrenadeLauncherItem.h | 15 ++++- Sources/ModelsMP/Warped/CPPR/MovingPipe.h | 15 ++++- Sources/ModelsMP/Warped/Laser/Barrel.h | 15 ++++- Sources/ModelsMP/Warped/Laser/Barrel_big.h | 15 ++++- Sources/ModelsMP/Warped/Laser/Body.h | 15 ++++- Sources/ModelsMP/Warped/Laser/Laser.h | 15 ++++- Sources/ModelsMP/Warped/Laser/LaserItem.h | 15 ++++- Sources/ModelsMP/Warped/Projectile/Mine.h | 15 ++++- Sources/ModelsMP/Weapons/ChainSaw/Blade.h | 15 ++++- .../Weapons/ChainSaw/BladeForPlayer.h | 15 ++++- Sources/ModelsMP/Weapons/ChainSaw/Body.h | 15 ++++- .../ModelsMP/Weapons/ChainSaw/BodyForPlayer.h | 15 ++++- Sources/ModelsMP/Weapons/ChainSaw/ChainSaw.h | 15 ++++- .../Weapons/ChainSaw/ChainsawForPlayer.h | 15 ++++- .../ModelsMP/Weapons/ChainSaw/ChainsawItem.h | 15 ++++- Sources/ModelsMP/Weapons/ChainSaw/Teeth.h | 15 ++++- .../Weapons/ChainSaw/TeethForPlayer.h | 15 ++++- Sources/ModelsMP/Weapons/Flamer/Body.h | 15 ++++- Sources/ModelsMP/Weapons/Flamer/Flame.h | 15 ++++- Sources/ModelsMP/Weapons/Flamer/Flamer.h | 15 ++++- Sources/ModelsMP/Weapons/Flamer/FlamerItem.h | 15 ++++- .../ModelsMP/Weapons/Flamer/FuelReservoir.h | 15 ++++- .../Weapons/Flamer/Projectile/Invisible.h | 15 ++++- Sources/ModelsMP/Weapons/Sniper/Body.h | 15 ++++- Sources/ModelsMP/Weapons/Sniper/Sniper.h | 15 ++++- Sources/ModelsMP/Weapons/Sniper/SniperItem.h | 15 ++++- .../ModelsMP/Weapons/Weapons/ChainSaw/Blade.h | 15 ++++- .../Weapons/Weapons/ChainSaw/BladeForPlayer.h | 15 ++++- .../ModelsMP/Weapons/Weapons/ChainSaw/Body.h | 15 ++++- .../Weapons/Weapons/ChainSaw/BodyForPlayer.h | 15 ++++- .../Weapons/Weapons/ChainSaw/ChainSaw.h | 15 ++++- .../Weapons/ChainSaw/ChainsawForPlayer.h | 15 ++++- .../Weapons/Weapons/ChainSaw/ChainsawItem.h | 15 ++++- .../ModelsMP/Weapons/Weapons/ChainSaw/Teeth.h | 15 ++++- .../Weapons/Weapons/ChainSaw/TeethForPlayer.h | 15 ++++- .../Weapons/Weapons/Flamer/Backup/Flamer.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Flamer/Body.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Flamer/Flame.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Flamer/Flamer.h | 15 ++++- .../Weapons/Weapons/Flamer/FlamerItem.h | 15 ++++- .../Weapons/Weapons/Flamer/FuelReservoir.h | 15 ++++- .../Weapons/Flamer/Opened/BodyOpened.h | 15 ++++- .../Flamer/Opened/FuelReservoirOpened.h | 15 ++++- .../Weapons/Flamer/Projectile/Invisible.h | 15 ++++- .../Weapons/Weapons/Flamer/Work/Body.h | 15 ++++- .../Weapons/Flamer/Work/FuelReservoir.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Flamer/ok/Body.h | 15 ++++- .../Weapons/Weapons/Flamer/ok/Flame.h | 15 ++++- .../Weapons/Weapons/Flamer/ok/Flamer.h | 15 ++++- .../Weapons/Weapons/Flamer/ok/FlamerItem.h | 15 ++++- .../Weapons/Weapons/Flamer/ok/FuelReservoir.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Sniper/Body.h | 15 ++++- .../ModelsMP/Weapons/Weapons/Sniper/Sniper.h | 15 ++++- .../Weapons/Weapons/Sniper/SniperItem.h | 15 ++++- Sources/RCon/RCon.cpp | 15 ++++- Sources/RCon/RCon.h | 15 ++++- Sources/RCon/RConDlg.cpp | 15 ++++- Sources/RCon/RConDlg.h | 15 ++++- Sources/RCon/StdAfx.cpp | 15 ++++- Sources/RCon/StdAfx.h | 15 ++++- Sources/RCon/resource.h | 15 ++++- Sources/SeriousSam/CDCheck.h | 15 ++++- Sources/SeriousSam/CmdLine.cpp | 15 ++++- Sources/SeriousSam/CmdLine.h | 15 ++++- Sources/SeriousSam/Credits.cpp | 15 ++++- Sources/SeriousSam/Credits.h | 15 ++++- Sources/SeriousSam/GLSettings.cpp | 15 ++++- Sources/SeriousSam/GLSettings.h | 15 ++++- Sources/SeriousSam/LCDDrawing.cpp | 15 ++++- Sources/SeriousSam/LCDDrawing.h | 15 ++++- Sources/SeriousSam/LevelInfo.cpp | 15 ++++- Sources/SeriousSam/LevelInfo.h | 15 ++++- Sources/SeriousSam/MainWindow.cpp | 15 ++++- Sources/SeriousSam/MainWindow.h | 15 ++++- Sources/SeriousSam/Menu.cpp | 15 ++++- Sources/SeriousSam/Menu.h | 15 ++++- Sources/SeriousSam/MenuGadgets.cpp | 15 ++++- Sources/SeriousSam/MenuGadgets.h | 15 ++++- Sources/SeriousSam/MenuPrinting.cpp | 15 ++++- Sources/SeriousSam/MenuPrinting.h | 15 ++++- Sources/SeriousSam/SeriousSam.cpp | 15 ++++- Sources/SeriousSam/SeriousSam.h | 17 ++++- Sources/SeriousSam/SplashScreen.cpp | 17 ++++- Sources/SeriousSam/SplashScreen.h | 17 ++++- Sources/SeriousSam/StdH.cpp | 17 ++++- Sources/SeriousSam/StdH.h | 17 ++++- Sources/SeriousSam/VarList.cpp | 15 ++++- Sources/SeriousSam/VarList.h | 15 ++++- Sources/SeriousSam/resource.h | 15 ++++- Sources/SeriousSkaStudio/CheckBox.cpp | 15 ++++- Sources/SeriousSkaStudio/CheckBox.h | 15 ++++- Sources/SeriousSkaStudio/ChildFrm.cpp | 15 ++++- Sources/SeriousSkaStudio/ChildFrm.h | 15 ++++- Sources/SeriousSkaStudio/ColoredButton.cpp | 15 ++++- Sources/SeriousSkaStudio/ColoredButton.h | 15 ++++- Sources/SeriousSkaStudio/DlgBarTreeView.cpp | 15 ++++- Sources/SeriousSkaStudio/DlgBarTreeView.h | 15 ++++- Sources/SeriousSkaStudio/DlgClient.cpp | 15 ++++- Sources/SeriousSkaStudio/DlgClient.h | 15 ++++- Sources/SeriousSkaStudio/DlgTemplate.cpp | 15 ++++- Sources/SeriousSkaStudio/DlgTemplate.h | 15 ++++- Sources/SeriousSkaStudio/DropDown.cpp | 15 ++++- Sources/SeriousSkaStudio/DropDown.h | 15 ++++- Sources/SeriousSkaStudio/MDIClientWnd.cpp | 15 ++++- Sources/SeriousSkaStudio/MDIClientWnd.h | 15 ++++- Sources/SeriousSkaStudio/MainFrm.cpp | 15 ++++- Sources/SeriousSkaStudio/MainFrm.h | 15 ++++- Sources/SeriousSkaStudio/ModelTreeCtrl.cpp | 15 ++++- Sources/SeriousSkaStudio/ModelTreeCtrl.h | 15 ++++- Sources/SeriousSkaStudio/ParsingSymbols.h | 15 ++++- Sources/SeriousSkaStudio/SeriousSkaStudio.cpp | 15 ++++- Sources/SeriousSkaStudio/SeriousSkaStudio.h | 15 ++++- .../SeriousSkaStudio/SeriousSkaStudioDoc.cpp | 15 ++++- .../SeriousSkaStudio/SeriousSkaStudioDoc.h | 15 ++++- .../SeriousSkaStudio/SeriousSkaStudioView.cpp | 15 ++++- .../SeriousSkaStudio/SeriousSkaStudioView.h | 15 ++++- Sources/SeriousSkaStudio/SplitterFrame.cpp | 15 ++++- Sources/SeriousSkaStudio/SplitterFrame.h | 15 ++++- Sources/SeriousSkaStudio/StdAfx.cpp | 15 ++++- Sources/SeriousSkaStudio/StdAfx.h | 15 ++++- Sources/SeriousSkaStudio/TexView.cpp | 15 ++++- Sources/SeriousSkaStudio/TexView.h | 15 ++++- Sources/SeriousSkaStudio/TextBox.cpp | 15 ++++- Sources/SeriousSkaStudio/TextBox.h | 15 ++++- Sources/SeriousSkaStudio/resource.h | 15 ++++- Sources/SeriousSkaStudio/unistd.h | 17 ++++- Sources/Shaders/AddShader.cpp | 17 ++++- Sources/Shaders/AddShaderDS.cpp | 17 ++++- Sources/Shaders/BaseShader.cpp | 17 ++++- Sources/Shaders/BaseShaderDS.cpp | 17 ++++- Sources/Shaders/BaseTransparent.cpp | 17 ++++- Sources/Shaders/BaseTransparentDS.cpp | 17 ++++- Sources/Shaders/ColorShader.cpp | 17 ++++- Sources/Shaders/Common.cpp | 15 ++++- Sources/Shaders/Common.h | 15 ++++- Sources/Shaders/DetailShader.cpp | 17 ++++- Sources/Shaders/DisplaceShader.cpp | 15 ++++- Sources/Shaders/InvisibleShader.cpp | 17 ++++- Sources/Shaders/MultiLayerShader.cpp | 17 ++++- Sources/Shaders/Reflection.cpp | 17 ++++- Sources/Shaders/ReflectionDS.cpp | 17 ++++- Sources/Shaders/ReftectionAndSpecular.cpp | 17 ++++- Sources/Shaders/ReftectionAndSpecularDS.cpp | 17 ++++- Sources/Shaders/Specular.cpp | 17 ++++- Sources/Shaders/SpecularDS.cpp | 17 ++++- Sources/Shaders/StdH.cpp | 17 ++++- Sources/Shaders/StdH.h | 15 ++++- Sources/Shaders/Translucent.cpp | 17 ++++- Sources/WorldEditor/ActiveTextureWnd.cpp | 15 ++++- Sources/WorldEditor/ActiveTextureWnd.h | 15 ++++- Sources/WorldEditor/BrowseWindow.cpp | 15 ++++- Sources/WorldEditor/Browser.cpp | 15 ++++- Sources/WorldEditor/Browser.h | 15 ++++- Sources/WorldEditor/BrushPaletteWnd.cpp | 15 ++++- Sources/WorldEditor/BrushPaletteWnd.h | 15 ++++- Sources/WorldEditor/CSGDesitnationCombo.cpp | 15 ++++- Sources/WorldEditor/CSGDesitnationCombo.h | 15 ++++- Sources/WorldEditor/ChildFrm.cpp | 15 ++++- Sources/WorldEditor/ChildFrm.h | 15 ++++- Sources/WorldEditor/ColorPaletteWnd.cpp | 15 ++++- Sources/WorldEditor/ColorPaletteWnd.h | 15 ++++- Sources/WorldEditor/ColoredButton.cpp | 15 ++++- Sources/WorldEditor/CtlTipOfTheDayText.cpp | 15 ++++- Sources/WorldEditor/CtlTipOfTheDayText.h | 15 ++++- Sources/WorldEditor/CtrlAxisRadio.cpp | 15 ++++- Sources/WorldEditor/CtrlBrowseFile.cpp | 15 ++++- Sources/WorldEditor/CtrlBrowseFile.h | 15 ++++- .../CtrlColorBrowsingModeRadio.cpp | 15 ++++- .../WorldEditor/CtrlColorBrowsingModeRadio.h | 15 ++++- Sources/WorldEditor/CtrlEditBoolean.cpp | 15 ++++- Sources/WorldEditor/CtrlEditBoolean.h | 17 ++++- Sources/WorldEditor/CtrlEditFlags.cpp | 15 ++++- Sources/WorldEditor/CtrlEditFlags.h | 15 ++++- Sources/WorldEditor/CtrlEditFloat.cpp | 15 ++++- Sources/WorldEditor/CtrlEditFloat.h | 17 ++++- Sources/WorldEditor/CtrlEditString.cpp | 15 ++++- Sources/WorldEditor/CtrlEditString.h | 15 ++++- Sources/WorldEditor/CtrlEnumCombo.cpp | 15 ++++- Sources/WorldEditor/CtrlEnumCombo.h | 15 ++++- Sources/WorldEditor/CustomComboWnd.cpp | 15 ++++- Sources/WorldEditor/CustomComboWnd.h | 15 ++++- Sources/WorldEditor/DlgAllignVertices.cpp | 15 ++++- Sources/WorldEditor/DlgAllignVertices.h | 15 ++++- Sources/WorldEditor/DlgAutTexturize.cpp | 15 ++++- Sources/WorldEditor/DlgAutTexturize.h | 15 ++++- Sources/WorldEditor/DlgAutoDeltaCSG.cpp | 15 ++++- Sources/WorldEditor/DlgAutoDeltaCSG.h | 15 ++++- Sources/WorldEditor/DlgBrowseByClass.cpp | 15 ++++- Sources/WorldEditor/DlgBrowseByClass.h | 15 ++++- Sources/WorldEditor/DlgComment.cpp | 15 ++++- Sources/WorldEditor/DlgComment.h | 15 ++++- .../WorldEditor/DlgCreateVirtualDirectory.cpp | 15 ++++- .../WorldEditor/DlgCreateVirtualDirectory.h | 15 ++++- Sources/WorldEditor/DlgDisplaceMapSize.cpp | 15 ++++- Sources/WorldEditor/DlgDisplaceMapSize.h | 15 ++++- Sources/WorldEditor/DlgEditFloat.cpp | 15 ++++- Sources/WorldEditor/DlgEditFloat.h | 15 ++++- Sources/WorldEditor/DlgEditTerrainBrush.cpp | 15 ++++- Sources/WorldEditor/DlgEditTerrainBrush.h | 15 ++++- Sources/WorldEditor/DlgEditTerrainLayer.cpp | 15 ++++- Sources/WorldEditor/DlgEditTerrainLayer.h | 15 ++++- .../WorldEditor/DlgFilterPolygonSelection.cpp | 15 ++++- .../WorldEditor/DlgFilterPolygonSelection.h | 15 ++++- .../WorldEditor/DlgFilterVertexSelection.cpp | 15 ++++- .../WorldEditor/DlgFilterVertexSelection.h | 15 ++++- Sources/WorldEditor/DlgGenerateFBM.cpp | 15 ++++- Sources/WorldEditor/DlgGenerateFBM.h | 15 ++++- .../WorldEditor/DlgLightAnimationEditor.cpp | 15 ++++- Sources/WorldEditor/DlgLightAnimationEditor.h | 15 ++++- Sources/WorldEditor/DlgLinkTree.cpp | 15 ++++- Sources/WorldEditor/DlgLinkTree.h | 15 ++++- Sources/WorldEditor/DlgMirrorAndStretch.cpp | 15 ++++- Sources/WorldEditor/DlgMirrorAndStretch.h | 15 ++++- Sources/WorldEditor/DlgNumericAlpha.cpp | 15 ++++- Sources/WorldEditor/DlgNumericAlpha.h | 15 ++++- Sources/WorldEditor/DlgPgGlobal.cpp | 15 ++++- Sources/WorldEditor/DlgPgGlobal.h | 15 ++++- Sources/WorldEditor/DlgPgPolygon.cpp | 15 ++++- Sources/WorldEditor/DlgPgPolygon.h | 15 ++++- Sources/WorldEditor/DlgPgPosition.cpp | 15 ++++- Sources/WorldEditor/DlgPgPosition.h | 15 ++++- Sources/WorldEditor/DlgPgPrimitive.cpp | 15 ++++- Sources/WorldEditor/DlgPgPrimitive.h | 15 ++++- .../WorldEditor/DlgPgRenderingStatistics.cpp | 15 ++++- .../WorldEditor/DlgPgRenderingStatistics.h | 15 ++++- Sources/WorldEditor/DlgPgSector.cpp | 15 ++++- Sources/WorldEditor/DlgPgSector.h | 15 ++++- Sources/WorldEditor/DlgPgShadow.cpp | 15 ++++- Sources/WorldEditor/DlgPgShadow.h | 15 ++++- Sources/WorldEditor/DlgPgTerrain.cpp | 15 ++++- Sources/WorldEditor/DlgPgTerrain.h | 15 ++++- Sources/WorldEditor/DlgPgTexture.cpp | 15 ++++- Sources/WorldEditor/DlgPgTexture.h | 15 ++++- Sources/WorldEditor/DlgPreferences.cpp | 15 ++++- Sources/WorldEditor/DlgPreferences.h | 15 ++++- Sources/WorldEditor/DlgProgress.cpp | 15 ++++- Sources/WorldEditor/DlgProgress.h | 15 ++++- .../WorldEditor/DlgRenderingPreferences.cpp | 15 ++++- Sources/WorldEditor/DlgRenderingPreferences.h | 15 ++++- Sources/WorldEditor/DlgSelectByName.cpp | 15 ++++- Sources/WorldEditor/DlgSelectByName.h | 15 ++++- Sources/WorldEditor/DlgSnapVertex.cpp | 15 ++++- Sources/WorldEditor/DlgSnapVertex.h | 15 ++++- Sources/WorldEditor/DlgStretchChildOffset.cpp | 15 ++++- Sources/WorldEditor/DlgStretchChildOffset.h | 15 ++++- .../WorldEditor/DlgTEOperationSettings.cpp | 15 ++++- Sources/WorldEditor/DlgTEOperationSettings.h | 15 ++++- Sources/WorldEditor/DlgTerrainProperties.cpp | 15 ++++- Sources/WorldEditor/DlgTerrainProperties.h | 15 ++++- Sources/WorldEditor/DlgTipOfTheDay.cpp | 15 ++++- Sources/WorldEditor/DlgTipOfTheDay.h | 15 ++++- Sources/WorldEditor/DlgTreeShortcuts.cpp | 15 ++++- Sources/WorldEditor/DlgTreeShortcuts.h | 15 ++++- Sources/WorldEditor/DlgWorldSettings.cpp | 15 ++++- Sources/WorldEditor/EditMipSwitchDistance.cpp | 15 ++++- Sources/WorldEditor/EditMipSwitchDistance.h | 15 ++++- .../WorldEditor/EntitySelectionListBox.cpp | 15 ++++- Sources/WorldEditor/EntitySelectionListBox.h | 15 ++++- Sources/WorldEditor/InfoFrame.cpp | 15 ++++- Sources/WorldEditor/InfoFrame.h | 15 ++++- Sources/WorldEditor/InfoSheet.cpp | 15 ++++- Sources/WorldEditor/InfoSheet.h | 15 ++++- Sources/WorldEditor/MainFrm.cpp | 15 ++++- Sources/WorldEditor/MainFrm.h | 15 ++++- Sources/WorldEditor/PrimitiveHistoryCombo.cpp | 15 ++++- Sources/WorldEditor/PrimitiveHistoryCombo.h | 15 ++++- Sources/WorldEditor/PropertyComboBar.cpp | 15 ++++- Sources/WorldEditor/PropertyComboBar.h | 15 ++++- Sources/WorldEditor/PropertyComboBox.cpp | 15 ++++- Sources/WorldEditor/PropertyComboBox.h | 15 ++++- Sources/WorldEditor/SkyFloat.cpp | 15 ++++- Sources/WorldEditor/SkyFloat.h | 15 ++++- Sources/WorldEditor/StdAfx.cpp | 15 ++++- Sources/WorldEditor/StdAfx.h | 17 ++++- Sources/WorldEditor/TerrainEditing.cpp | 15 ++++- Sources/WorldEditor/TerrainEditing.h | 17 ++++- Sources/WorldEditor/TerrainInterface.cpp | 15 ++++- Sources/WorldEditor/TerrainInterface.h | 15 ++++- Sources/WorldEditor/ToolTipWnd.cpp | 15 ++++- Sources/WorldEditor/ToolTipWnd.h | 15 ++++- .../WorldEditor/TriangularisationCombo.cpp | 15 ++++- Sources/WorldEditor/TriangularisationCombo.h | 15 ++++- Sources/WorldEditor/ViewTexture.cpp | 15 ++++- Sources/WorldEditor/ViewTexture.h | 15 ++++- Sources/WorldEditor/Viewers.cpp | 15 ++++- Sources/WorldEditor/Viewers.h | 15 ++++- Sources/WorldEditor/VirtualTreeCtrl.cpp | 15 ++++- Sources/WorldEditor/VirtualTreeCtrl.h | 15 ++++- Sources/WorldEditor/VirtualTreeNode.cpp | 15 ++++- Sources/WorldEditor/VirtualTreeNode.h | 15 ++++- Sources/WorldEditor/WndAnimationFrames.cpp | 15 ++++- Sources/WorldEditor/WndAnimationFrames.h | 15 ++++- Sources/WorldEditor/WndDisplayTexture.cpp | 15 ++++- Sources/WorldEditor/WndDisplayTexture.h | 15 ++++- Sources/WorldEditor/WndTerrainTilePalette.cpp | 15 ++++- Sources/WorldEditor/WndTerrainTilePalette.h | 15 ++++- Sources/WorldEditor/WndTestAnimation.cpp | 15 ++++- Sources/WorldEditor/WndTestAnimation.h | 15 ++++- Sources/WorldEditor/WorldEditor.cpp | 15 ++++- Sources/WorldEditor/WorldEditor.h | 15 ++++- Sources/WorldEditor/WorldEditorDoc.cpp | 15 ++++- Sources/WorldEditor/WorldEditorDoc.h | 15 ++++- Sources/WorldEditor/WorldEditorView.cpp | 15 ++++- Sources/WorldEditor/WorldEditorView.h | 15 ++++- Sources/WorldEditor/browsewindow.h | 15 ++++- Sources/WorldEditor/coloredbutton.h | 15 ++++- Sources/WorldEditor/ctrlaxisradio.h | 15 ++++- Sources/WorldEditor/dlgworldsettings.h | 15 ++++- Sources/WorldEditor/resource.h | 15 ++++- 2847 files changed, 39939 insertions(+), 2921 deletions(-) create mode 100644 Sources/Modeler/#DlgNumericAlpha.h# diff --git a/Sources/DecodeReport/DecodeReport.cpp b/Sources/DecodeReport/DecodeReport.cpp index 09e2569..4398dbe 100644 --- a/Sources/DecodeReport/DecodeReport.cpp +++ b/Sources/DecodeReport/DecodeReport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DecodeReport.cpp : Defines the entry point for the console application. // diff --git a/Sources/DecodeReport/StdAfx.cpp b/Sources/DecodeReport/StdAfx.cpp index 2f616ae..a1ddd41 100644 --- a/Sources/DecodeReport/StdAfx.cpp +++ b/Sources/DecodeReport/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // DecodeReport.pch will be the pre-compiled header diff --git a/Sources/DecodeReport/StdAfx.h b/Sources/DecodeReport/StdAfx.h index 9fcb04c..4fbe5c8 100644 --- a/Sources/DecodeReport/StdAfx.h +++ b/Sources/DecodeReport/StdAfx.h @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/Sources/DedicatedServer/DedicatedServer.cpp b/Sources/DedicatedServer/DedicatedServer.cpp index c651abb..00b898b 100644 --- a/Sources/DedicatedServer/DedicatedServer.cpp +++ b/Sources/DedicatedServer/DedicatedServer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include diff --git a/Sources/DedicatedServer/StdAfx.cpp b/Sources/DedicatedServer/StdAfx.cpp index 077800d..3308099 100644 --- a/Sources/DedicatedServer/StdAfx.cpp +++ b/Sources/DedicatedServer/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // DedicatedServer.pch will be the pre-compiled header diff --git a/Sources/DedicatedServer/StdAfx.h b/Sources/DedicatedServer/StdAfx.h index 6427857..742640b 100644 --- a/Sources/DedicatedServer/StdAfx.h +++ b/Sources/DedicatedServer/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/DedicatedServer/resource.h b/Sources/DedicatedServer/resource.h index 84da295..1bb6890 100644 --- a/Sources/DedicatedServer/resource.h +++ b/Sources/DedicatedServer/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/Depend/Dependency.cpp b/Sources/Depend/Dependency.cpp index 17f4e94..e8678ff 100644 --- a/Sources/Depend/Dependency.cpp +++ b/Sources/Depend/Dependency.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "Dependency.h" diff --git a/Sources/Depend/Dependency.h b/Sources/Depend/Dependency.h index 41d8ce0..865aec4 100644 --- a/Sources/Depend/Dependency.h +++ b/Sources/Depend/Dependency.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DEPENDENCY_H #define SE_INCL_DEPENDENCY_H diff --git a/Sources/Depend/StdH.cpp b/Sources/Depend/StdH.cpp index a0fb0be..322326e 100644 --- a/Sources/Depend/StdH.cpp +++ b/Sources/Depend/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -#include "StdH.h" \ No newline at end of file + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#include "StdH.h" diff --git a/Sources/Depend/StdH.h b/Sources/Depend/StdH.h index 218930b..26dadfc 100644 --- a/Sources/Depend/StdH.h +++ b/Sources/Depend/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/Depend/UtilityDepend.cpp b/Sources/Depend/UtilityDepend.cpp index 4d23cf8..fdc320f 100644 --- a/Sources/Depend/UtilityDepend.cpp +++ b/Sources/Depend/UtilityDepend.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "Dependency.h" diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index 596ab13..3cc2987 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "Main.h" @@ -330,4 +343,4 @@ int main(int argc, char *argv[]) remove(strTables ); return EXIT_FAILURE; } -} \ No newline at end of file +} diff --git a/Sources/Ecc/Main.h b/Sources/Ecc/Main.h index 6945373..d13e284 100644 --- a/Sources/Ecc/Main.h +++ b/Sources/Ecc/Main.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* rcg10042001 */ diff --git a/Sources/Ecc/StdH.h b/Sources/Ecc/StdH.h index 4ecb9f0..6def450 100644 --- a/Sources/Ecc/StdH.h +++ b/Sources/Ecc/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/Ecc/unistd.h b/Sources/Ecc/unistd.h index 80f9f8e..c9c1cb0 100644 --- a/Sources/Ecc/unistd.h +++ b/Sources/Ecc/unistd.h @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -#include \ No newline at end of file + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#include diff --git a/Sources/Engine/Base/Anim.cpp b/Sources/Engine/Base/Anim.cpp index 98c51f5..59ea84a 100644 --- a/Sources/Engine/Base/Anim.cpp +++ b/Sources/Engine/Base/Anim.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Anim.h b/Sources/Engine/Base/Anim.h index 849048d..4b4afaa 100644 --- a/Sources/Engine/Base/Anim.h +++ b/Sources/Engine/Base/Anim.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ANIM_H #define SE_INCL_ANIM_H diff --git a/Sources/Engine/Base/Assert.h b/Sources/Engine/Base/Assert.h index 189fde9..2f7e515 100644 --- a/Sources/Engine/Base/Assert.h +++ b/Sources/Engine/Base/Assert.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ASSERT_H #define SE_INCL_ASSERT_H diff --git a/Sources/Engine/Base/Base.h b/Sources/Engine/Base/Base.h index 8b3b763..1e17391 100644 --- a/Sources/Engine/Base/Base.h +++ b/Sources/Engine/Base/Base.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* diff --git a/Sources/Engine/Base/CRC.cpp b/Sources/Engine/Base/CRC.cpp index 7ad1488..c932da5 100644 --- a/Sources/Engine/Base/CRC.cpp +++ b/Sources/Engine/Base/CRC.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/CRC.h b/Sources/Engine/Base/CRC.h index b1e1ae0..fefe3cd 100644 --- a/Sources/Engine/Base/CRC.h +++ b/Sources/Engine/Base/CRC.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CRC_H #define SE_INCL_CRC_H diff --git a/Sources/Engine/Base/CRCTable.cpp b/Sources/Engine/Base/CRCTable.cpp index 460d451..8366cec 100644 --- a/Sources/Engine/Base/CRCTable.cpp +++ b/Sources/Engine/Base/CRCTable.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/Base/CRCTable.h b/Sources/Engine/Base/CRCTable.h index e5dbcad..27fb634 100644 --- a/Sources/Engine/Base/CRCTable.h +++ b/Sources/Engine/Base/CRCTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CRCTABLE_H #define SE_INCL_CRCTABLE_H diff --git a/Sources/Engine/Base/CTString.cpp b/Sources/Engine/Base/CTString.cpp index d7c4a70..b7ef9c9 100644 --- a/Sources/Engine/Base/CTString.cpp +++ b/Sources/Engine/Base/CTString.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/CTString.h b/Sources/Engine/Base/CTString.h index 06faab1..5dd6903 100644 --- a/Sources/Engine/Base/CTString.h +++ b/Sources/Engine/Base/CTString.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CTSTRING_H #define SE_INCL_CTSTRING_H diff --git a/Sources/Engine/Base/Changeable.cpp b/Sources/Engine/Base/Changeable.cpp index ef48385..0851521 100644 --- a/Sources/Engine/Base/Changeable.cpp +++ b/Sources/Engine/Base/Changeable.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Changeable.h b/Sources/Engine/Base/Changeable.h index f7f6960..56b5c25 100644 --- a/Sources/Engine/Base/Changeable.h +++ b/Sources/Engine/Base/Changeable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CHANGEABLE_H #define SE_INCL_CHANGEABLE_H diff --git a/Sources/Engine/Base/ChangeableRT.h b/Sources/Engine/Base/ChangeableRT.h index 6e2ad60..cf28d06 100644 --- a/Sources/Engine/Base/ChangeableRT.h +++ b/Sources/Engine/Base/ChangeableRT.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CHANGEABLERT_H #define SE_INCL_CHANGEABLERT_H diff --git a/Sources/Engine/Base/Console.cpp b/Sources/Engine/Base/Console.cpp index 71f0b00..8365b0f 100644 --- a/Sources/Engine/Base/Console.cpp +++ b/Sources/Engine/Base/Console.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Console.h b/Sources/Engine/Base/Console.h index 984cfdd..2454825 100644 --- a/Sources/Engine/Base/Console.h +++ b/Sources/Engine/Base/Console.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CONSOLE_H #define SE_INCL_CONSOLE_H diff --git a/Sources/Engine/Base/Console_internal.h b/Sources/Engine/Base/Console_internal.h index 0e190e5..fe25fdd 100644 --- a/Sources/Engine/Base/Console_internal.h +++ b/Sources/Engine/Base/Console_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CONSOLE_INTERNAL_H #define SE_INCL_CONSOLE_INTERNAL_H diff --git a/Sources/Engine/Base/Directory.cpp b/Sources/Engine/Base/Directory.cpp index dfe87d2..ccfecc1 100644 --- a/Sources/Engine/Base/Directory.cpp +++ b/Sources/Engine/Base/Directory.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Base/ErrorReporting.cpp b/Sources/Engine/Base/ErrorReporting.cpp index 99db6de..624e466 100644 --- a/Sources/Engine/Base/ErrorReporting.cpp +++ b/Sources/Engine/Base/ErrorReporting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/ErrorReporting.h b/Sources/Engine/Base/ErrorReporting.h index f78d7b6..b59c567 100644 --- a/Sources/Engine/Base/ErrorReporting.h +++ b/Sources/Engine/Base/ErrorReporting.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ERRORREPORTING_H #define SE_INCL_ERRORREPORTING_H diff --git a/Sources/Engine/Base/ErrorTable.h b/Sources/Engine/Base/ErrorTable.h index e104352..45729ef 100644 --- a/Sources/Engine/Base/ErrorTable.h +++ b/Sources/Engine/Base/ErrorTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ERRORTABLE_H #define SE_INCL_ERRORTABLE_H diff --git a/Sources/Engine/Base/FileName.cpp b/Sources/Engine/Base/FileName.cpp index 13cdef5..83971fe 100644 --- a/Sources/Engine/Base/FileName.cpp +++ b/Sources/Engine/Base/FileName.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/FileName.h b/Sources/Engine/Base/FileName.h index 27874af..43b67b5 100644 --- a/Sources/Engine/Base/FileName.h +++ b/Sources/Engine/Base/FileName.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FILENAME_H #define SE_INCL_FILENAME_H diff --git a/Sources/Engine/Base/GroupFile.h b/Sources/Engine/Base/GroupFile.h index d788207..3f41f25 100644 --- a/Sources/Engine/Base/GroupFile.h +++ b/Sources/Engine/Base/GroupFile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GROUPFILE_H #define SE_INCL_GROUPFILE_H diff --git a/Sources/Engine/Base/IFeel.cpp b/Sources/Engine/Base/IFeel.cpp index a1e5fb7..da20b4e 100644 --- a/Sources/Engine/Base/IFeel.cpp +++ b/Sources/Engine/Base/IFeel.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Base/IFeel.h b/Sources/Engine/Base/IFeel.h index 56a01d6..1bd1464 100644 --- a/Sources/Engine/Base/IFeel.h +++ b/Sources/Engine/Base/IFeel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_IFEEL_H #define SE_INCL_IFEEL_H diff --git a/Sources/Engine/Base/Input.cpp b/Sources/Engine/Base/Input.cpp index 2e7597a..4411b6a 100644 --- a/Sources/Engine/Base/Input.cpp +++ b/Sources/Engine/Base/Input.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Input.h b/Sources/Engine/Base/Input.h index 878c636..2cd5770 100644 --- a/Sources/Engine/Base/Input.h +++ b/Sources/Engine/Base/Input.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_INPUT_H #define SE_INCL_INPUT_H diff --git a/Sources/Engine/Base/KeyNames.h b/Sources/Engine/Base/KeyNames.h index 1423e6e..bc2ae9e 100644 --- a/Sources/Engine/Base/KeyNames.h +++ b/Sources/Engine/Base/KeyNames.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_KEYNAMES_H #define SE_INCL_KEYNAMES_H diff --git a/Sources/Engine/Base/Lists.cpp b/Sources/Engine/Base/Lists.cpp index 6061051..aa28e6a 100644 --- a/Sources/Engine/Base/Lists.cpp +++ b/Sources/Engine/Base/Lists.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Lists.h b/Sources/Engine/Base/Lists.h index a816c99..34c7a73 100644 --- a/Sources/Engine/Base/Lists.h +++ b/Sources/Engine/Base/Lists.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LISTS_H diff --git a/Sources/Engine/Base/Memory.cpp b/Sources/Engine/Base/Memory.cpp index cbb0678..84414f2 100644 --- a/Sources/Engine/Base/Memory.cpp +++ b/Sources/Engine/Base/Memory.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Memory.h b/Sources/Engine/Base/Memory.h index 6f1a45a..0fdfa8d 100644 --- a/Sources/Engine/Base/Memory.h +++ b/Sources/Engine/Base/Memory.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MEMORY_H #define SE_INCL_MEMORY_H diff --git a/Sources/Engine/Base/ParsingSymbols.h b/Sources/Engine/Base/ParsingSymbols.h index f9ec8a2..f25678d 100644 --- a/Sources/Engine/Base/ParsingSymbols.h +++ b/Sources/Engine/Base/ParsingSymbols.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/Engine/Base/Profiling.cpp b/Sources/Engine/Base/Profiling.cpp index f2ef4ac..faf27fe 100644 --- a/Sources/Engine/Base/Profiling.cpp +++ b/Sources/Engine/Base/Profiling.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Profiling.h b/Sources/Engine/Base/Profiling.h index 4318d22..2d0c0fd 100644 --- a/Sources/Engine/Base/Profiling.h +++ b/Sources/Engine/Base/Profiling.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PROFILING_H #define SE_INCL_PROFILING_H diff --git a/Sources/Engine/Base/ProfilingEnabled.h b/Sources/Engine/Base/ProfilingEnabled.h index 72ce493..08f7dfc 100644 --- a/Sources/Engine/Base/ProfilingEnabled.h +++ b/Sources/Engine/Base/ProfilingEnabled.h @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define TIMER_PROFILING 0 diff --git a/Sources/Engine/Base/ProgressHook.cpp b/Sources/Engine/Base/ProgressHook.cpp index 75b3f43..8f2ff18 100644 --- a/Sources/Engine/Base/ProgressHook.cpp +++ b/Sources/Engine/Base/ProgressHook.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/Engine/Base/ProgressHook.h b/Sources/Engine/Base/ProgressHook.h index ca47664..c61b10e 100644 --- a/Sources/Engine/Base/ProgressHook.h +++ b/Sources/Engine/Base/ProgressHook.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PROGRESSHOOK_H #define SE_INCL_PROGRESSHOOK_H diff --git a/Sources/Engine/Base/Protection.cpp b/Sources/Engine/Base/Protection.cpp index ffe5d20..e6533a6 100644 --- a/Sources/Engine/Base/Protection.cpp +++ b/Sources/Engine/Base/Protection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/Sources/Engine/Base/Protection.h b/Sources/Engine/Base/Protection.h index 276baf2..3e1c29a 100644 --- a/Sources/Engine/Base/Protection.h +++ b/Sources/Engine/Base/Protection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PROTECTION_H #define SE_INCL_PROTECTION_H diff --git a/Sources/Engine/Base/Registry.cpp b/Sources/Engine/Base/Registry.cpp index 67536eb..da3aa4d 100644 --- a/Sources/Engine/Base/Registry.cpp +++ b/Sources/Engine/Base/Registry.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Base/Registry.h b/Sources/Engine/Base/Registry.h index 155eab7..8dbcf3b 100644 --- a/Sources/Engine/Base/Registry.h +++ b/Sources/Engine/Base/Registry.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_REGISTRY_H #define SE_INCL_REGISTRY_H diff --git a/Sources/Engine/Base/Relations.cpp b/Sources/Engine/Base/Relations.cpp index 3de736b..8d916aa 100644 --- a/Sources/Engine/Base/Relations.cpp +++ b/Sources/Engine/Base/Relations.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Relations.h b/Sources/Engine/Base/Relations.h index 47c861a..7f5db2d 100644 --- a/Sources/Engine/Base/Relations.h +++ b/Sources/Engine/Base/Relations.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RELATIONS_H #define SE_INCL_RELATIONS_H diff --git a/Sources/Engine/Base/ReplaceFile.cpp b/Sources/Engine/Base/ReplaceFile.cpp index 97d6888..211114b 100644 --- a/Sources/Engine/Base/ReplaceFile.cpp +++ b/Sources/Engine/Base/ReplaceFile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/ReplaceFile.h b/Sources/Engine/Base/ReplaceFile.h index 3546870..5776dee 100644 --- a/Sources/Engine/Base/ReplaceFile.h +++ b/Sources/Engine/Base/ReplaceFile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_REPLACEFILE_H #define SE_INCL_REPLACEFILE_H diff --git a/Sources/Engine/Base/Serial.cpp b/Sources/Engine/Base/Serial.cpp index 378f7f7..6f74e2a 100644 --- a/Sources/Engine/Base/Serial.cpp +++ b/Sources/Engine/Base/Serial.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Serial.h b/Sources/Engine/Base/Serial.h index 80816bd..7c42e0c 100644 --- a/Sources/Engine/Base/Serial.h +++ b/Sources/Engine/Base/Serial.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SERIAL_H #define SE_INCL_SERIAL_H diff --git a/Sources/Engine/Base/Shell.cpp b/Sources/Engine/Base/Shell.cpp index b6c1ff3..49259ad 100644 --- a/Sources/Engine/Base/Shell.cpp +++ b/Sources/Engine/Base/Shell.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Shell.h b/Sources/Engine/Base/Shell.h index 3aba2a6..ce92f4d 100644 --- a/Sources/Engine/Base/Shell.h +++ b/Sources/Engine/Base/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHELL_H #define SE_INCL_SHELL_H diff --git a/Sources/Engine/Base/ShellTypes.cpp b/Sources/Engine/Base/ShellTypes.cpp index 03b1207..66ea7e3 100644 --- a/Sources/Engine/Base/ShellTypes.cpp +++ b/Sources/Engine/Base/ShellTypes.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Shell_internal.h b/Sources/Engine/Base/Shell_internal.h index 7989de4..57559bc 100644 --- a/Sources/Engine/Base/Shell_internal.h +++ b/Sources/Engine/Base/Shell_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHELL_INTERNAL_H #define SE_INCL_SHELL_INTERNAL_H diff --git a/Sources/Engine/Base/StackDump.cpp b/Sources/Engine/Base/StackDump.cpp index 915fc92..bfe631a 100644 --- a/Sources/Engine/Base/StackDump.cpp +++ b/Sources/Engine/Base/StackDump.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Statistics.cpp b/Sources/Engine/Base/Statistics.cpp index 927897d..92d6105 100644 --- a/Sources/Engine/Base/Statistics.cpp +++ b/Sources/Engine/Base/Statistics.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Statistics.h b/Sources/Engine/Base/Statistics.h index 4971e1d..121b77d 100644 --- a/Sources/Engine/Base/Statistics.h +++ b/Sources/Engine/Base/Statistics.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATISTICS_H #define SE_INCL_STATISTICS_H diff --git a/Sources/Engine/Base/Statistics_Internal.h b/Sources/Engine/Base/Statistics_Internal.h index be229aa..3ba689f 100644 --- a/Sources/Engine/Base/Statistics_Internal.h +++ b/Sources/Engine/Base/Statistics_Internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATISTICS_INTERNAL_H #define SE_INCL_STATISTICS_INTERNAL_H diff --git a/Sources/Engine/Base/Stream.cpp b/Sources/Engine/Base/Stream.cpp index dd68da9..18f1650 100644 --- a/Sources/Engine/Base/Stream.cpp +++ b/Sources/Engine/Base/Stream.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Stream.h b/Sources/Engine/Base/Stream.h index 1f0a584..e7e3866 100644 --- a/Sources/Engine/Base/Stream.h +++ b/Sources/Engine/Base/Stream.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STREAM_H diff --git a/Sources/Engine/Base/Synchronization.cpp b/Sources/Engine/Base/Synchronization.cpp index 681415c..9d83719 100644 --- a/Sources/Engine/Base/Synchronization.cpp +++ b/Sources/Engine/Base/Synchronization.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/Base/Synchronization.h b/Sources/Engine/Base/Synchronization.h index 0a8f668..a3f549d 100644 --- a/Sources/Engine/Base/Synchronization.h +++ b/Sources/Engine/Base/Synchronization.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SYNCHRONIZATION_H #define SE_INCL_SYNCHRONIZATION_H diff --git a/Sources/Engine/Base/Timer.cpp b/Sources/Engine/Base/Timer.cpp index 7ebde07..c221f69 100644 --- a/Sources/Engine/Base/Timer.cpp +++ b/Sources/Engine/Base/Timer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Timer.h b/Sources/Engine/Base/Timer.h index 396af8f..b33ede3 100644 --- a/Sources/Engine/Base/Timer.h +++ b/Sources/Engine/Base/Timer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TIMER_H #define SE_INCL_TIMER_H diff --git a/Sources/Engine/Base/Translation.cpp b/Sources/Engine/Base/Translation.cpp index 1bbb88a..2f7743b 100644 --- a/Sources/Engine/Base/Translation.cpp +++ b/Sources/Engine/Base/Translation.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Translation.h b/Sources/Engine/Base/Translation.h index 0fbc2f8..b10c145 100644 --- a/Sources/Engine/Base/Translation.h +++ b/Sources/Engine/Base/Translation.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TRANSLATION_H #define SE_INCL_TRANSLATION_H diff --git a/Sources/Engine/Base/TranslationPair.h b/Sources/Engine/Base/TranslationPair.h index 788914f..8be023e 100644 --- a/Sources/Engine/Base/TranslationPair.h +++ b/Sources/Engine/Base/TranslationPair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TRANSLATIONPAIR_H #define SE_INCL_TRANSLATIONPAIR_H diff --git a/Sources/Engine/Base/Types.h b/Sources/Engine/Base/Types.h index bdc196c..eefbf67 100644 --- a/Sources/Engine/Base/Types.h +++ b/Sources/Engine/Base/Types.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TYPES_H #define SE_INCL_TYPES_H diff --git a/Sources/Engine/Base/Unzip.cpp b/Sources/Engine/Base/Unzip.cpp index a985fc5..cb4d512 100644 --- a/Sources/Engine/Base/Unzip.cpp +++ b/Sources/Engine/Base/Unzip.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // unzip.cpp : Defines the entry point for the console application. // diff --git a/Sources/Engine/Base/Unzip.h b/Sources/Engine/Base/Unzip.h index 7d91ad8..46bf3cb 100644 --- a/Sources/Engine/Base/Unzip.h +++ b/Sources/Engine/Base/Unzip.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_UNZIP_H #define SE_INCL_UNZIP_H diff --git a/Sources/Engine/Base/Updateable.cpp b/Sources/Engine/Base/Updateable.cpp index 6795c89..36405d1 100644 --- a/Sources/Engine/Base/Updateable.cpp +++ b/Sources/Engine/Base/Updateable.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Base/Updateable.h b/Sources/Engine/Base/Updateable.h index 90b7601..aac3c88 100644 --- a/Sources/Engine/Base/Updateable.h +++ b/Sources/Engine/Base/Updateable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_UPDATEABLE_H #define SE_INCL_UPDATEABLE_H diff --git a/Sources/Engine/Base/UpdateableRT.h b/Sources/Engine/Base/UpdateableRT.h index af75477..5996488 100644 --- a/Sources/Engine/Base/UpdateableRT.h +++ b/Sources/Engine/Base/UpdateableRT.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_UPDATEABLERT_H #define SE_INCL_UPDATEABLERT_H diff --git a/Sources/Engine/Brushes/Brush.cpp b/Sources/Engine/Brushes/Brush.cpp index 7c60c31..e9a5f27 100644 --- a/Sources/Engine/Brushes/Brush.cpp +++ b/Sources/Engine/Brushes/Brush.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/Brush.h b/Sources/Engine/Brushes/Brush.h index 252e658..c2f17a6 100644 --- a/Sources/Engine/Brushes/Brush.h +++ b/Sources/Engine/Brushes/Brush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BRUSH_H #define SE_INCL_BRUSH_H diff --git a/Sources/Engine/Brushes/BrushArchive.cpp b/Sources/Engine/Brushes/BrushArchive.cpp index b7cabc3..d78b012 100644 --- a/Sources/Engine/Brushes/BrushArchive.cpp +++ b/Sources/Engine/Brushes/BrushArchive.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushArchive.h b/Sources/Engine/Brushes/BrushArchive.h index 5f22064..332939b 100644 --- a/Sources/Engine/Brushes/BrushArchive.h +++ b/Sources/Engine/Brushes/BrushArchive.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BRUSHARCHIVE_H #define SE_INCL_BRUSHARCHIVE_H diff --git a/Sources/Engine/Brushes/BrushBase.h b/Sources/Engine/Brushes/BrushBase.h index d18d5e8..01794e5 100644 --- a/Sources/Engine/Brushes/BrushBase.h +++ b/Sources/Engine/Brushes/BrushBase.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BRUSH_BASE_H #define SE_INCL_BRUSH_BASE_H @@ -21,4 +34,4 @@ public: }; }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Brushes/BrushExport.cpp b/Sources/Engine/Brushes/BrushExport.cpp index 1c0139f..32f3504 100644 --- a/Sources/Engine/Brushes/BrushExport.cpp +++ b/Sources/Engine/Brushes/BrushExport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushIO.cpp b/Sources/Engine/Brushes/BrushIO.cpp index a77bdd9..139e473 100644 --- a/Sources/Engine/Brushes/BrushIO.cpp +++ b/Sources/Engine/Brushes/BrushIO.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushImport.cpp b/Sources/Engine/Brushes/BrushImport.cpp index 897dd6f..bc310da 100644 --- a/Sources/Engine/Brushes/BrushImport.cpp +++ b/Sources/Engine/Brushes/BrushImport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushMip.cpp b/Sources/Engine/Brushes/BrushMip.cpp index d20ea14..1fc5f6e 100644 --- a/Sources/Engine/Brushes/BrushMip.cpp +++ b/Sources/Engine/Brushes/BrushMip.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushPolygon.cpp b/Sources/Engine/Brushes/BrushPolygon.cpp index c1975a9..cb966b3 100644 --- a/Sources/Engine/Brushes/BrushPolygon.cpp +++ b/Sources/Engine/Brushes/BrushPolygon.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushSector.cpp b/Sources/Engine/Brushes/BrushSector.cpp index a01d261..35d302b 100644 --- a/Sources/Engine/Brushes/BrushSector.cpp +++ b/Sources/Engine/Brushes/BrushSector.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushShadows.cpp b/Sources/Engine/Brushes/BrushShadows.cpp index 5cb9e98..2858f3b 100644 --- a/Sources/Engine/Brushes/BrushShadows.cpp +++ b/Sources/Engine/Brushes/BrushShadows.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Brushes/BrushTransformed.h b/Sources/Engine/Brushes/BrushTransformed.h index b9316ea..b91d72e 100644 --- a/Sources/Engine/Brushes/BrushTransformed.h +++ b/Sources/Engine/Brushes/BrushTransformed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BRUSHTRANSFORMED_H #define SE_INCL_BRUSHTRANSFORMED_H diff --git a/Sources/Engine/Brushes/BrushTriangularize.cpp b/Sources/Engine/Brushes/BrushTriangularize.cpp index 1f74d78..5398b33 100644 --- a/Sources/Engine/Brushes/BrushTriangularize.cpp +++ b/Sources/Engine/Brushes/BrushTriangularize.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Build.h b/Sources/Engine/Build.h index 70668f5..98e5092 100644 --- a/Sources/Engine/Build.h +++ b/Sources/Engine/Build.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BUILD_H #define SE_INCL_BUILD_H diff --git a/Sources/Engine/Classes/BaseEvents.es b/Sources/Engine/Classes/BaseEvents.es index 930b46c..2f6ac69 100644 --- a/Sources/Engine/Classes/BaseEvents.es +++ b/Sources/Engine/Classes/BaseEvents.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 5 %{ diff --git a/Sources/Engine/Classes/MovableBrushEntity.es b/Sources/Engine/Classes/MovableBrushEntity.es index 366b9bc..af286d7 100644 --- a/Sources/Engine/Classes/MovableBrushEntity.es +++ b/Sources/Engine/Classes/MovableBrushEntity.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Brush entity that can move. diff --git a/Sources/Engine/Classes/MovableEntity.es b/Sources/Engine/Classes/MovableEntity.es index 8166394..4ec562b 100644 --- a/Sources/Engine/Classes/MovableEntity.es +++ b/Sources/Engine/Classes/MovableEntity.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Entity that can move and obey physics. diff --git a/Sources/Engine/Classes/MovableModelEntity.es b/Sources/Engine/Classes/MovableModelEntity.es index 584287e..b5d1000 100644 --- a/Sources/Engine/Classes/MovableModelEntity.es +++ b/Sources/Engine/Classes/MovableModelEntity.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Model entity that can move. diff --git a/Sources/Engine/Classes/PlayerEntity.es b/Sources/Engine/Classes/PlayerEntity.es index 49ed97a..ef534b7 100644 --- a/Sources/Engine/Classes/PlayerEntity.es +++ b/Sources/Engine/Classes/PlayerEntity.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Player entity. diff --git a/Sources/Engine/CurrentVersion.h b/Sources/Engine/CurrentVersion.h index 2cd32be..246dc4e 100644 --- a/Sources/Engine/CurrentVersion.h +++ b/Sources/Engine/CurrentVersion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _SE_DEMO 0 // set for demo versions #define _SE_BUILD_MAJOR 10000 // use new number for each released version diff --git a/Sources/Engine/Engine.cpp b/Sources/Engine/Engine.cpp index b31534e..e0736f7 100644 --- a/Sources/Engine/Engine.cpp +++ b/Sources/Engine/Engine.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -714,4 +727,4 @@ nextRegion: } CPrintF("State/Type: %s / %s\n", strTmp1, strTmp2); -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Engine.h b/Sources/Engine/Engine.h index a9cac2e..74a2761 100644 --- a/Sources/Engine/Engine.h +++ b/Sources/Engine/Engine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // set this to 1 to enable checks whether somethig is deleted while iterating some array/container #define CHECKARRAYLOCKING 0 diff --git a/Sources/Engine/Entities/Entity.cpp b/Sources/Engine/Entities/Entity.cpp index ce8e4f1..336b5ac 100644 --- a/Sources/Engine/Entities/Entity.cpp +++ b/Sources/Engine/Entities/Entity.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/Entity.h b/Sources/Engine/Entities/Entity.h index d1d05c8..b2bd944 100644 --- a/Sources/Engine/Entities/Entity.h +++ b/Sources/Engine/Entities/Entity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITY_H #define SE_INCL_ENTITY_H diff --git a/Sources/Engine/Entities/EntityClass.cpp b/Sources/Engine/Entities/EntityClass.cpp index 121a95c..1b90ee9 100644 --- a/Sources/Engine/Entities/EntityClass.cpp +++ b/Sources/Engine/Entities/EntityClass.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/EntityClass.h b/Sources/Engine/Entities/EntityClass.h index 5084d3a..9afcff5 100644 --- a/Sources/Engine/Entities/EntityClass.h +++ b/Sources/Engine/Entities/EntityClass.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYCLASS_H #define SE_INCL_ENTITYCLASS_H diff --git a/Sources/Engine/Entities/EntityCollision.cpp b/Sources/Engine/Entities/EntityCollision.cpp index b9a1e2b..bec058f 100644 --- a/Sources/Engine/Entities/EntityCollision.cpp +++ b/Sources/Engine/Entities/EntityCollision.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/EntityCollision.h b/Sources/Engine/Entities/EntityCollision.h index a28352d..2b3729b 100644 --- a/Sources/Engine/Entities/EntityCollision.h +++ b/Sources/Engine/Entities/EntityCollision.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYCOLLISION_H #define SE_INCL_ENTITYCOLLISION_H diff --git a/Sources/Engine/Entities/EntityCopying.cpp b/Sources/Engine/Entities/EntityCopying.cpp index b9e6a22..bd502f2 100644 --- a/Sources/Engine/Entities/EntityCopying.cpp +++ b/Sources/Engine/Entities/EntityCopying.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -731,4 +744,4 @@ void CWorld::CopyEntitiesToPredictors(CDynamicContainer &cenToCopy) // return current tick _pTimer->SetCurrentTick(tmCurrentTickOld); -} \ No newline at end of file +} diff --git a/Sources/Engine/Entities/EntityEvent.h b/Sources/Engine/Entities/EntityEvent.h index 901fb88..82e7fe7 100644 --- a/Sources/Engine/Entities/EntityEvent.h +++ b/Sources/Engine/Entities/EntityEvent.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYEVENT_H #define SE_INCL_ENTITYEVENT_H diff --git a/Sources/Engine/Entities/EntityPointer.h b/Sources/Engine/Entities/EntityPointer.h index c14e175..349982a 100644 --- a/Sources/Engine/Entities/EntityPointer.h +++ b/Sources/Engine/Entities/EntityPointer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYPOINTER_H #define SE_INCL_ENTITYPOINTER_H diff --git a/Sources/Engine/Entities/EntityProperties.cpp b/Sources/Engine/Entities/EntityProperties.cpp index 21510a8..fce5be1 100644 --- a/Sources/Engine/Entities/EntityProperties.cpp +++ b/Sources/Engine/Entities/EntityProperties.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/EntityProperties.h b/Sources/Engine/Entities/EntityProperties.h index 53b1472..0ea4c08 100644 --- a/Sources/Engine/Entities/EntityProperties.h +++ b/Sources/Engine/Entities/EntityProperties.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYPROPERTIES_H #define SE_INCL_ENTITYPROPERTIES_H diff --git a/Sources/Engine/Entities/FieldBSPTesting.cpp b/Sources/Engine/Entities/FieldBSPTesting.cpp index f1787bd..a2ffbef 100644 --- a/Sources/Engine/Entities/FieldBSPTesting.cpp +++ b/Sources/Engine/Entities/FieldBSPTesting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/FieldSettings.h b/Sources/Engine/Entities/FieldSettings.h index 2b95515..ec8f80b 100644 --- a/Sources/Engine/Entities/FieldSettings.h +++ b/Sources/Engine/Entities/FieldSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FIELDSETTINGS_H #define SE_INCL_FIELDSETTINGS_H diff --git a/Sources/Engine/Entities/InternalClasses.h b/Sources/Engine/Entities/InternalClasses.h index 6372703..3eb92d1 100644 --- a/Sources/Engine/Entities/InternalClasses.h +++ b/Sources/Engine/Entities/InternalClasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_INTERNALCLASSES_H #define SE_INCL_INTERNALCLASSES_H diff --git a/Sources/Engine/Entities/LastPositions.cpp b/Sources/Engine/Entities/LastPositions.cpp index 84788a4..e50d8c0 100644 --- a/Sources/Engine/Entities/LastPositions.cpp +++ b/Sources/Engine/Entities/LastPositions.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/Entities/LastPositions.h b/Sources/Engine/Entities/LastPositions.h index 413dd53..850e31e 100644 --- a/Sources/Engine/Entities/LastPositions.h +++ b/Sources/Engine/Entities/LastPositions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LASTPOSITIONS_H #define SE_INCL_LASTPOSITIONS_H diff --git a/Sources/Engine/Entities/NearestPolygon.cpp b/Sources/Engine/Entities/NearestPolygon.cpp index c61ea37..1930f19 100644 --- a/Sources/Engine/Entities/NearestPolygon.cpp +++ b/Sources/Engine/Entities/NearestPolygon.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/PlayerCharacter.cpp b/Sources/Engine/Entities/PlayerCharacter.cpp index da824e3..4d0174d 100644 --- a/Sources/Engine/Entities/PlayerCharacter.cpp +++ b/Sources/Engine/Entities/PlayerCharacter.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Entities/PlayerCharacter.h b/Sources/Engine/Entities/PlayerCharacter.h index 103f0f8..09bdf85 100644 --- a/Sources/Engine/Entities/PlayerCharacter.h +++ b/Sources/Engine/Entities/PlayerCharacter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLAYERCHARACTER_H #define SE_INCL_PLAYERCHARACTER_H diff --git a/Sources/Engine/Entities/Precaching.h b/Sources/Engine/Entities/Precaching.h index 3f445b9..8d4c0c8 100644 --- a/Sources/Engine/Entities/Precaching.h +++ b/Sources/Engine/Entities/Precaching.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PRECACHING_H #define SE_INCL_PRECACHING_H diff --git a/Sources/Engine/Entities/ShadingInfo.h b/Sources/Engine/Entities/ShadingInfo.h index 3571bc9..53c19f4 100644 --- a/Sources/Engine/Entities/ShadingInfo.h +++ b/Sources/Engine/Entities/ShadingInfo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHADINGINFO_H #define SE_INCL_SHADINGINFO_H diff --git a/Sources/Engine/GameAgent/GameAgent.cpp b/Sources/Engine/GameAgent/GameAgent.cpp index 8626253..156c289 100644 --- a/Sources/Engine/GameAgent/GameAgent.cpp +++ b/Sources/Engine/GameAgent/GameAgent.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/GameAgent/GameAgent.h b/Sources/Engine/GameAgent/GameAgent.h index 1e8ecb7..0b79030 100644 --- a/Sources/Engine/GameAgent/GameAgent.h +++ b/Sources/Engine/GameAgent/GameAgent.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAMEAGENT_H #define SE_INCL_GAMEAGENT_H diff --git a/Sources/Engine/GameShell.h b/Sources/Engine/GameShell.h index cbd114a..7a2669f 100644 --- a/Sources/Engine/GameShell.h +++ b/Sources/Engine/GameShell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAMESHELL_H #define SE_INCL_GAMESHELL_H diff --git a/Sources/Engine/Graphics/Adapter.cpp b/Sources/Engine/Graphics/Adapter.cpp index 268a37a..c676528 100644 --- a/Sources/Engine/Graphics/Adapter.cpp +++ b/Sources/Engine/Graphics/Adapter.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Adapter.h b/Sources/Engine/Graphics/Adapter.h index 364db82..543bcd8 100644 --- a/Sources/Engine/Graphics/Adapter.h +++ b/Sources/Engine/Graphics/Adapter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ADAPTER_H #define SE_INCL_ADAPTER_H diff --git a/Sources/Engine/Graphics/Benchmark.cpp b/Sources/Engine/Graphics/Benchmark.cpp index 40afa2f..2783da2 100644 --- a/Sources/Engine/Graphics/Benchmark.cpp +++ b/Sources/Engine/Graphics/Benchmark.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Color.cpp b/Sources/Engine/Graphics/Color.cpp index 6a7f466..d6aba81 100644 --- a/Sources/Engine/Graphics/Color.cpp +++ b/Sources/Engine/Graphics/Color.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Color.h b/Sources/Engine/Graphics/Color.h index 9dc94b4..065e7bf 100644 --- a/Sources/Engine/Graphics/Color.h +++ b/Sources/Engine/Graphics/Color.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_COLOR_H #define SE_INCL_COLOR_H diff --git a/Sources/Engine/Graphics/DepthCheck.cpp b/Sources/Engine/Graphics/DepthCheck.cpp index 87191c1..85d44e2 100644 --- a/Sources/Engine/Graphics/DepthCheck.cpp +++ b/Sources/Engine/Graphics/DepthCheck.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/DisplayMode.cpp b/Sources/Engine/Graphics/DisplayMode.cpp index f453ae2..f52f795 100644 --- a/Sources/Engine/Graphics/DisplayMode.cpp +++ b/Sources/Engine/Graphics/DisplayMode.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/DisplayMode.h b/Sources/Engine/Graphics/DisplayMode.h index e0c8004..a341149 100644 --- a/Sources/Engine/Graphics/DisplayMode.h +++ b/Sources/Engine/Graphics/DisplayMode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DISPLAYMODE_H #define SE_INCL_DISPLAYMODE_H diff --git a/Sources/Engine/Graphics/DrawPort.cpp b/Sources/Engine/Graphics/DrawPort.cpp index 3ec4e57..e08c41b 100644 --- a/Sources/Engine/Graphics/DrawPort.cpp +++ b/Sources/Engine/Graphics/DrawPort.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/DrawPort.h b/Sources/Engine/Graphics/DrawPort.h index 09dfe39..998737c 100644 --- a/Sources/Engine/Graphics/DrawPort.h +++ b/Sources/Engine/Graphics/DrawPort.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DRAWPORT_H #define SE_INCL_DRAWPORT_H diff --git a/Sources/Engine/Graphics/DrawPort_Particles.cpp b/Sources/Engine/Graphics/DrawPort_Particles.cpp index 5166682..ea85f4e 100644 --- a/Sources/Engine/Graphics/DrawPort_Particles.cpp +++ b/Sources/Engine/Graphics/DrawPort_Particles.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/DrawPort_RenderScene.cpp b/Sources/Engine/Graphics/DrawPort_RenderScene.cpp index b4ec5e9..39051b6 100644 --- a/Sources/Engine/Graphics/DrawPort_RenderScene.cpp +++ b/Sources/Engine/Graphics/DrawPort_RenderScene.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Fog.cpp b/Sources/Engine/Graphics/Fog.cpp index f73ae71..96a5061 100644 --- a/Sources/Engine/Graphics/Fog.cpp +++ b/Sources/Engine/Graphics/Fog.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/Graphics/Fog.h b/Sources/Engine/Graphics/Fog.h index c26d41b..12f5150 100644 --- a/Sources/Engine/Graphics/Fog.h +++ b/Sources/Engine/Graphics/Fog.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FOG_H #define SE_INCL_FOG_H diff --git a/Sources/Engine/Graphics/Fog_internal.h b/Sources/Engine/Graphics/Fog_internal.h index 694d1d6..8dabd32 100644 --- a/Sources/Engine/Graphics/Fog_internal.h +++ b/Sources/Engine/Graphics/Fog_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FOG_INTERNAL_H #define SE_INCL_FOG_INTERNAL_H diff --git a/Sources/Engine/Graphics/Font.cpp b/Sources/Engine/Graphics/Font.cpp index 2a8affc..629cbc9 100644 --- a/Sources/Engine/Graphics/Font.cpp +++ b/Sources/Engine/Graphics/Font.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Font.h b/Sources/Engine/Graphics/Font.h index 26c3fd5..cacb307 100644 --- a/Sources/Engine/Graphics/Font.h +++ b/Sources/Engine/Graphics/Font.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FONT_H #define SE_INCL_FONT_H diff --git a/Sources/Engine/Graphics/GfxLibrary.cpp b/Sources/Engine/Graphics/GfxLibrary.cpp index 59e6dff..1b7625e 100644 --- a/Sources/Engine/Graphics/GfxLibrary.cpp +++ b/Sources/Engine/Graphics/GfxLibrary.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/GfxLibrary.h b/Sources/Engine/Graphics/GfxLibrary.h index 9cf9c7f..7aaf511 100644 --- a/Sources/Engine/Graphics/GfxLibrary.h +++ b/Sources/Engine/Graphics/GfxLibrary.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GFXLIBRARY_H #define SE_INCL_GFXLIBRARY_H diff --git a/Sources/Engine/Graphics/GfxProfile.cpp b/Sources/Engine/Graphics/GfxProfile.cpp index 3ba5370..ec1c190 100644 --- a/Sources/Engine/Graphics/GfxProfile.cpp +++ b/Sources/Engine/Graphics/GfxProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/GfxProfile.h b/Sources/Engine/Graphics/GfxProfile.h index 1a7fa26..29efcd2 100644 --- a/Sources/Engine/Graphics/GfxProfile.h +++ b/Sources/Engine/Graphics/GfxProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GFXPROFILE_H #define SE_INCL_GFXPROFILE_H diff --git a/Sources/Engine/Graphics/Gfx_Direct3D.cpp b/Sources/Engine/Graphics/Gfx_Direct3D.cpp index 8ccf6d3..32107f6 100644 --- a/Sources/Engine/Graphics/Gfx_Direct3D.cpp +++ b/Sources/Engine/Graphics/Gfx_Direct3D.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -1352,4 +1365,4 @@ elemEnd: _iIdxOffset += ctIndices; } -#endif // SE1_D3D \ No newline at end of file +#endif // SE1_D3D diff --git a/Sources/Engine/Graphics/Gfx_Direct3D_Colors.cpp b/Sources/Engine/Graphics/Gfx_Direct3D_Colors.cpp index a81643b..6fa6c11 100644 --- a/Sources/Engine/Graphics/Gfx_Direct3D_Colors.cpp +++ b/Sources/Engine/Graphics/Gfx_Direct3D_Colors.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -341,4 +354,4 @@ extern COLOR UnpackColor_D3D( UBYTE *pd3dColor, D3DFORMAT d3dFormat, SLONG &slCo return RGBToColor(ubR,ubG,ubB); } -#endif // SE1_D3D \ No newline at end of file +#endif // SE1_D3D diff --git a/Sources/Engine/Graphics/Gfx_Direct3D_Textures.cpp b/Sources/Engine/Graphics/Gfx_Direct3D_Textures.cpp index 0c3dbb4..e845c20 100644 --- a/Sources/Engine/Graphics/Gfx_Direct3D_Textures.cpp +++ b/Sources/Engine/Graphics/Gfx_Direct3D_Textures.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -269,4 +282,4 @@ extern INDEX AdjustDitheringType_D3D( D3DFORMAT eFormat, INDEX iDitheringType) } } -#endif // SE1_D3D \ No newline at end of file +#endif // SE1_D3D diff --git a/Sources/Engine/Graphics/Gfx_OpenGL.cpp b/Sources/Engine/Graphics/Gfx_OpenGL.cpp index 1af0f1b..de4f1b3 100644 --- a/Sources/Engine/Graphics/Gfx_OpenGL.cpp +++ b/Sources/Engine/Graphics/Gfx_OpenGL.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Gfx_OpenGL_Textures.cpp b/Sources/Engine/Graphics/Gfx_OpenGL_Textures.cpp index b22d2ee..2b8368a 100644 --- a/Sources/Engine/Graphics/Gfx_OpenGL_Textures.cpp +++ b/Sources/Engine/Graphics/Gfx_OpenGL_Textures.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Gfx_wrapper.cpp b/Sources/Engine/Graphics/Gfx_wrapper.cpp index 0cd6cfa..1f73160 100644 --- a/Sources/Engine/Graphics/Gfx_wrapper.cpp +++ b/Sources/Engine/Graphics/Gfx_wrapper.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Gfx_wrapper.h b/Sources/Engine/Graphics/Gfx_wrapper.h index 4bbce12..065377d 100644 --- a/Sources/Engine/Graphics/Gfx_wrapper.h +++ b/Sources/Engine/Graphics/Gfx_wrapper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once diff --git a/Sources/Engine/Graphics/Gfx_wrapper_Direct3D.cpp b/Sources/Engine/Graphics/Gfx_wrapper_Direct3D.cpp index 33b17ad..57ea523 100644 --- a/Sources/Engine/Graphics/Gfx_wrapper_Direct3D.cpp +++ b/Sources/Engine/Graphics/Gfx_wrapper_Direct3D.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifdef SE1_D3D @@ -1300,4 +1313,4 @@ extern void d3dSetVertexShader( DWORD dwHandle) _pGfx->gl_dwVertexShader = dwHandle; } -#endif // SE1_D3D \ No newline at end of file +#endif // SE1_D3D diff --git a/Sources/Engine/Graphics/Gfx_wrapper_OpenGL.cpp b/Sources/Engine/Graphics/Gfx_wrapper_OpenGL.cpp index cb4e2ec..12422dc 100644 --- a/Sources/Engine/Graphics/Gfx_wrapper_OpenGL.cpp +++ b/Sources/Engine/Graphics/Gfx_wrapper_OpenGL.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/Engine/Graphics/Graphics.cpp b/Sources/Engine/Graphics/Graphics.cpp index f4c2cf5..e8d39a3 100644 --- a/Sources/Engine/Graphics/Graphics.cpp +++ b/Sources/Engine/Graphics/Graphics.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/ImageInfo.cpp b/Sources/Engine/Graphics/ImageInfo.cpp index 0a91c49..845de53 100644 --- a/Sources/Engine/Graphics/ImageInfo.cpp +++ b/Sources/Engine/Graphics/ImageInfo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/ImageInfo.h b/Sources/Engine/Graphics/ImageInfo.h index 85641e9..2fe778b 100644 --- a/Sources/Engine/Graphics/ImageInfo.h +++ b/Sources/Engine/Graphics/ImageInfo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_IMAGEINFO_H #define SE_INCL_IMAGEINFO_H diff --git a/Sources/Engine/Graphics/MultiMonitor.cpp b/Sources/Engine/Graphics/MultiMonitor.cpp index bfbd797..25f71a9 100644 --- a/Sources/Engine/Graphics/MultiMonitor.cpp +++ b/Sources/Engine/Graphics/MultiMonitor.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Graphics/MultiMonitor.h b/Sources/Engine/Graphics/MultiMonitor.h index accfb9b..3ac3617 100644 --- a/Sources/Engine/Graphics/MultiMonitor.h +++ b/Sources/Engine/Graphics/MultiMonitor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MULTIMONITOR_H #define SE_INCL_MULTIMONITOR_H diff --git a/Sources/Engine/Graphics/OpenGL.h b/Sources/Engine/Graphics/OpenGL.h index 7b5f88c..d088c37 100644 --- a/Sources/Engine/Graphics/OpenGL.h +++ b/Sources/Engine/Graphics/OpenGL.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_OPENGL_H #define SE_INCL_OPENGL_H diff --git a/Sources/Engine/Graphics/Raster.cpp b/Sources/Engine/Graphics/Raster.cpp index 6b37b2b..822f394 100644 --- a/Sources/Engine/Graphics/Raster.cpp +++ b/Sources/Engine/Graphics/Raster.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Raster.h b/Sources/Engine/Graphics/Raster.h index 86810ec..67f58bf 100644 --- a/Sources/Engine/Graphics/Raster.h +++ b/Sources/Engine/Graphics/Raster.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RASTER_H #define SE_INCL_RASTER_H diff --git a/Sources/Engine/Graphics/RenderPoly.h b/Sources/Engine/Graphics/RenderPoly.h index b143f30..d2b42f8 100644 --- a/Sources/Engine/Graphics/RenderPoly.h +++ b/Sources/Engine/Graphics/RenderPoly.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDERPOLY_H #define SE_INCL_RENDERPOLY_H diff --git a/Sources/Engine/Graphics/RenderScene.h b/Sources/Engine/Graphics/RenderScene.h index 4d60606..db97cc2 100644 --- a/Sources/Engine/Graphics/RenderScene.h +++ b/Sources/Engine/Graphics/RenderScene.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDERSCENE_H #define SE_INCL_RENDERSCENE_H diff --git a/Sources/Engine/Graphics/Shader.cpp b/Sources/Engine/Graphics/Shader.cpp index e728d98..f715d7a 100644 --- a/Sources/Engine/Graphics/Shader.cpp +++ b/Sources/Engine/Graphics/Shader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Graphics/Shader.h b/Sources/Engine/Graphics/Shader.h index c3a4a0a..c896cfb 100644 --- a/Sources/Engine/Graphics/Shader.h +++ b/Sources/Engine/Graphics/Shader.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHADER_H #define SE_INCL_SHADER_H diff --git a/Sources/Engine/Graphics/ShadowMap.cpp b/Sources/Engine/Graphics/ShadowMap.cpp index 0400f27..f3a6bb0 100644 --- a/Sources/Engine/Graphics/ShadowMap.cpp +++ b/Sources/Engine/Graphics/ShadowMap.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/ShadowMap.h b/Sources/Engine/Graphics/ShadowMap.h index 27d18e8..79fddc4 100644 --- a/Sources/Engine/Graphics/ShadowMap.h +++ b/Sources/Engine/Graphics/ShadowMap.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHADOWMAP_H #define SE_INCL_SHADOWMAP_H diff --git a/Sources/Engine/Graphics/Stereo.cpp b/Sources/Engine/Graphics/Stereo.cpp index 3a6a27c..a0acf83 100644 --- a/Sources/Engine/Graphics/Stereo.cpp +++ b/Sources/Engine/Graphics/Stereo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Stereo.h b/Sources/Engine/Graphics/Stereo.h index b0a3a81..cdf499c 100644 --- a/Sources/Engine/Graphics/Stereo.h +++ b/Sources/Engine/Graphics/Stereo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GFXSTEREO_H #define SE_INCL_GFXSTEREO_H diff --git a/Sources/Engine/Graphics/Texture.cpp b/Sources/Engine/Graphics/Texture.cpp index ffb8554..4a4cafc 100644 --- a/Sources/Engine/Graphics/Texture.cpp +++ b/Sources/Engine/Graphics/Texture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Texture.h b/Sources/Engine/Graphics/Texture.h index 6c5c3f9..01daf30 100644 --- a/Sources/Engine/Graphics/Texture.h +++ b/Sources/Engine/Graphics/Texture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TEXTURE_H #define SE_INCL_TEXTURE_H diff --git a/Sources/Engine/Graphics/TextureEffects.cpp b/Sources/Engine/Graphics/TextureEffects.cpp index 3a60e74..4676cb0 100644 --- a/Sources/Engine/Graphics/TextureEffects.cpp +++ b/Sources/Engine/Graphics/TextureEffects.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/TextureEffects.h b/Sources/Engine/Graphics/TextureEffects.h index 5674c7d..dc0234b 100644 --- a/Sources/Engine/Graphics/TextureEffects.h +++ b/Sources/Engine/Graphics/TextureEffects.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TEXTUREEFFECTS_H #define SE_INCL_TEXTUREEFFECTS_H diff --git a/Sources/Engine/Graphics/TextureRender.cpp b/Sources/Engine/Graphics/TextureRender.cpp index 852686b..ea53c69 100644 --- a/Sources/Engine/Graphics/TextureRender.cpp +++ b/Sources/Engine/Graphics/TextureRender.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/Vertex.h b/Sources/Engine/Graphics/Vertex.h index c460195..961cb8d 100644 --- a/Sources/Engine/Graphics/Vertex.h +++ b/Sources/Engine/Graphics/Vertex.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_VERTEX_H #define SE_INCL_VERTEX_H diff --git a/Sources/Engine/Graphics/ViewPort.cpp b/Sources/Engine/Graphics/ViewPort.cpp index e83a011..ee07fd1 100644 --- a/Sources/Engine/Graphics/ViewPort.cpp +++ b/Sources/Engine/Graphics/ViewPort.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Graphics/ViewPort.h b/Sources/Engine/Graphics/ViewPort.h index 51abab0..d114dc1 100644 --- a/Sources/Engine/Graphics/ViewPort.h +++ b/Sources/Engine/Graphics/ViewPort.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_VIEWPORT_H #define SE_INCL_VIEWPORT_H diff --git a/Sources/Engine/Graphics/gl_functions.h b/Sources/Engine/Graphics/gl_functions.h index cd9b9d5..4966597 100644 --- a/Sources/Engine/Graphics/gl_functions.h +++ b/Sources/Engine/Graphics/gl_functions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/Engine/Graphics/gl_types.h b/Sources/Engine/Graphics/gl_types.h index 0099ac8..bb6c5d1 100644 --- a/Sources/Engine/Graphics/gl_types.h +++ b/Sources/Engine/Graphics/gl_types.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GL_TYPES_H #define SE_INCL_GL_TYPES_H diff --git a/Sources/Engine/Light/Gradient.h b/Sources/Engine/Light/Gradient.h index 1f4e95b..0ef6e0e 100644 --- a/Sources/Engine/Light/Gradient.h +++ b/Sources/Engine/Light/Gradient.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GRADIENT_H #define SE_INCL_GRADIENT_H diff --git a/Sources/Engine/Light/LayerMaker.cpp b/Sources/Engine/Light/LayerMaker.cpp index 54ff3bb..6d55960 100644 --- a/Sources/Engine/Light/LayerMaker.cpp +++ b/Sources/Engine/Light/LayerMaker.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Light/LayerMixer.cpp b/Sources/Engine/Light/LayerMixer.cpp index 4898cf2..71341a9 100644 --- a/Sources/Engine/Light/LayerMixer.cpp +++ b/Sources/Engine/Light/LayerMixer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Light/LensFlares.h b/Sources/Engine/Light/LensFlares.h index 0d7c8f6..7153451 100644 --- a/Sources/Engine/Light/LensFlares.h +++ b/Sources/Engine/Light/LensFlares.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LENSFLARES_H #define SE_INCL_LENSFLARES_H diff --git a/Sources/Engine/Light/LightSource.cpp b/Sources/Engine/Light/LightSource.cpp index e1af931..a31f2cf 100644 --- a/Sources/Engine/Light/LightSource.cpp +++ b/Sources/Engine/Light/LightSource.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Light/LightSource.h b/Sources/Engine/Light/LightSource.h index 1dc91f4..b68502e 100644 --- a/Sources/Engine/Light/LightSource.h +++ b/Sources/Engine/Light/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LIGHTSOURCE_H #define SE_INCL_LIGHTSOURCE_H diff --git a/Sources/Engine/Light/Shadows_internal.h b/Sources/Engine/Light/Shadows_internal.h index 90d18cc..c470ce7 100644 --- a/Sources/Engine/Light/Shadows_internal.h +++ b/Sources/Engine/Light/Shadows_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ class CLightRectangle { public: @@ -11,4 +24,4 @@ public: FLOAT lr_fpixHotU; FLOAT lr_fpixHotV; FLOAT lr_fLightPlaneDistance; -}; \ No newline at end of file +}; diff --git a/Sources/Engine/Math/AABBox.h b/Sources/Engine/Math/AABBox.h index 6e0c6c4..9ac9940 100644 --- a/Sources/Engine/Math/AABBox.h +++ b/Sources/Engine/Math/AABBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_AABBOX_H #define SE_INCL_AABBOX_H diff --git a/Sources/Engine/Math/FixInt.h b/Sources/Engine/Math/FixInt.h index 0d2209c..6343e9d 100644 --- a/Sources/Engine/Math/FixInt.h +++ b/Sources/Engine/Math/FixInt.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FIXINT_H #define SE_INCL_FIXINT_H diff --git a/Sources/Engine/Math/Float.cpp b/Sources/Engine/Math/Float.cpp index df17605..d838441 100644 --- a/Sources/Engine/Math/Float.cpp +++ b/Sources/Engine/Math/Float.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Float.h b/Sources/Engine/Math/Float.h index 057a4c4..86f9b8a 100644 --- a/Sources/Engine/Math/Float.h +++ b/Sources/Engine/Math/Float.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FLOAT_H #define SE_INCL_FLOAT_H diff --git a/Sources/Engine/Math/Functions.cpp b/Sources/Engine/Math/Functions.cpp index 00848f4..c5b100d 100644 --- a/Sources/Engine/Math/Functions.cpp +++ b/Sources/Engine/Math/Functions.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Functions.h b/Sources/Engine/Math/Functions.h index 0919bd1..863ee79 100644 --- a/Sources/Engine/Math/Functions.h +++ b/Sources/Engine/Math/Functions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FUNCTIONS_H #define SE_INCL_FUNCTIONS_H diff --git a/Sources/Engine/Math/Geometry.cpp b/Sources/Engine/Math/Geometry.cpp index c8ab137..42645ee 100644 --- a/Sources/Engine/Math/Geometry.cpp +++ b/Sources/Engine/Math/Geometry.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Geometry.h b/Sources/Engine/Math/Geometry.h index bf6788c..be870f3 100644 --- a/Sources/Engine/Math/Geometry.h +++ b/Sources/Engine/Math/Geometry.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GEOMETRY_H #define SE_INCL_GEOMETRY_H diff --git a/Sources/Engine/Math/Geometry_DOUBLE.cpp b/Sources/Engine/Math/Geometry_DOUBLE.cpp index bd6f011..68d1c9b 100644 --- a/Sources/Engine/Math/Geometry_DOUBLE.cpp +++ b/Sources/Engine/Math/Geometry_DOUBLE.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Matrix.h b/Sources/Engine/Math/Matrix.h index 9d5626b..1e33a0a 100644 --- a/Sources/Engine/Math/Matrix.h +++ b/Sources/Engine/Math/Matrix.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MATRIX_H #define SE_INCL_MATRIX_H diff --git a/Sources/Engine/Math/OBBox.h b/Sources/Engine/Math/OBBox.h index d2037fd..caa0eb5 100644 --- a/Sources/Engine/Math/OBBox.h +++ b/Sources/Engine/Math/OBBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_OBBOX_H #define SE_INCL_OBBOX_H diff --git a/Sources/Engine/Math/Object3D.cpp b/Sources/Engine/Math/Object3D.cpp index 55f41db..a5e3ef7 100644 --- a/Sources/Engine/Math/Object3D.cpp +++ b/Sources/Engine/Math/Object3D.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Object3D.h b/Sources/Engine/Math/Object3D.h index 2351ed5..e62fdf3 100644 --- a/Sources/Engine/Math/Object3D.h +++ b/Sources/Engine/Math/Object3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_OBJECT3D_H #define SE_INCL_OBJECT3D_H diff --git a/Sources/Engine/Math/Object3D_CSG.cpp b/Sources/Engine/Math/Object3D_CSG.cpp index 9464b92..21a6d93 100644 --- a/Sources/Engine/Math/Object3D_CSG.cpp +++ b/Sources/Engine/Math/Object3D_CSG.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Object3D_IO.cpp b/Sources/Engine/Math/Object3D_IO.cpp index 2fb0311..581cc1b 100644 --- a/Sources/Engine/Math/Object3D_IO.cpp +++ b/Sources/Engine/Math/Object3D_IO.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // If you happen to have the Exploration 3D library (in Engine/exploration3d/), you can enable its features here. #define USE_E3D 0 diff --git a/Sources/Engine/Math/ObjectSector.cpp b/Sources/Engine/Math/ObjectSector.cpp index 08cee72..7798ade 100644 --- a/Sources/Engine/Math/ObjectSector.cpp +++ b/Sources/Engine/Math/ObjectSector.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Placement.cpp b/Sources/Engine/Math/Placement.cpp index 13b9309..9f6c901 100644 --- a/Sources/Engine/Math/Placement.cpp +++ b/Sources/Engine/Math/Placement.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Placement.h b/Sources/Engine/Math/Placement.h index 0472e2b..1db0c7b 100644 --- a/Sources/Engine/Math/Placement.h +++ b/Sources/Engine/Math/Placement.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLACEMENT_H #define SE_INCL_PLACEMENT_H diff --git a/Sources/Engine/Math/Plane.h b/Sources/Engine/Math/Plane.h index d9f309a..277b847 100644 --- a/Sources/Engine/Math/Plane.h +++ b/Sources/Engine/Math/Plane.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLANE_H #define SE_INCL_PLANE_H diff --git a/Sources/Engine/Math/Projection.cpp b/Sources/Engine/Math/Projection.cpp index eca0725..feeca28 100644 --- a/Sources/Engine/Math/Projection.cpp +++ b/Sources/Engine/Math/Projection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Projection.h b/Sources/Engine/Math/Projection.h index 5cd8392..5cbe90d 100644 --- a/Sources/Engine/Math/Projection.h +++ b/Sources/Engine/Math/Projection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PROJECTION_H #define SE_INCL_PROJECTION_H diff --git a/Sources/Engine/Math/Projection_DOUBLE.h b/Sources/Engine/Math/Projection_DOUBLE.h index 5ab31cf..4549665 100644 --- a/Sources/Engine/Math/Projection_DOUBLE.h +++ b/Sources/Engine/Math/Projection_DOUBLE.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PROJECTION_DOUBLE_H #define SE_INCL_PROJECTION_DOUBLE_H diff --git a/Sources/Engine/Math/Projection_Isometric.cpp b/Sources/Engine/Math/Projection_Isometric.cpp index a6a7117..f2553a6 100644 --- a/Sources/Engine/Math/Projection_Isometric.cpp +++ b/Sources/Engine/Math/Projection_Isometric.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Projection_Parallel.cpp b/Sources/Engine/Math/Projection_Parallel.cpp index 3d51a3b..8c67ee1 100644 --- a/Sources/Engine/Math/Projection_Parallel.cpp +++ b/Sources/Engine/Math/Projection_Parallel.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Projection_Perspective.cpp b/Sources/Engine/Math/Projection_Perspective.cpp index 3d7528c..2c33cc9 100644 --- a/Sources/Engine/Math/Projection_Perspective.cpp +++ b/Sources/Engine/Math/Projection_Perspective.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Projection_Simple.cpp b/Sources/Engine/Math/Projection_Simple.cpp index 442e162..c54bd45 100644 --- a/Sources/Engine/Math/Projection_Simple.cpp +++ b/Sources/Engine/Math/Projection_Simple.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Projection_Simple_DOUBLE.cpp b/Sources/Engine/Math/Projection_Simple_DOUBLE.cpp index 74be9c3..d926732 100644 --- a/Sources/Engine/Math/Projection_Simple_DOUBLE.cpp +++ b/Sources/Engine/Math/Projection_Simple_DOUBLE.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/Quaternion.h b/Sources/Engine/Math/Quaternion.h index d586bcc..14b14d0 100644 --- a/Sources/Engine/Math/Quaternion.h +++ b/Sources/Engine/Math/Quaternion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_QUATERNION_H #define SE_INCL_QUATERNION_H diff --git a/Sources/Engine/Math/TextureMapping.cpp b/Sources/Engine/Math/TextureMapping.cpp index b9c38a9..aac1832 100644 --- a/Sources/Engine/Math/TextureMapping.cpp +++ b/Sources/Engine/Math/TextureMapping.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Math/TextureMapping.h b/Sources/Engine/Math/TextureMapping.h index 51a2127..fb6e777 100644 --- a/Sources/Engine/Math/TextureMapping.h +++ b/Sources/Engine/Math/TextureMapping.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TEXTUREMAPPING_H #define SE_INCL_TEXTUREMAPPING_H diff --git a/Sources/Engine/Math/Vector.h b/Sources/Engine/Math/Vector.h index 6004008..1e0f586 100644 --- a/Sources/Engine/Math/Vector.h +++ b/Sources/Engine/Math/Vector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_VECTOR_H #define SE_INCL_VECTOR_H diff --git a/Sources/Engine/Models/EditModel.cpp b/Sources/Engine/Models/EditModel.cpp index 8fb0a06..fe7db39 100644 --- a/Sources/Engine/Models/EditModel.cpp +++ b/Sources/Engine/Models/EditModel.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/EditModel.h b/Sources/Engine/Models/EditModel.h index 46eb9e5..cc8533a 100644 --- a/Sources/Engine/Models/EditModel.h +++ b/Sources/Engine/Models/EditModel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_EDITMODEL_H #define SE_INCL_EDITMODEL_H diff --git a/Sources/Engine/Models/MipMaker.cpp b/Sources/Engine/Models/MipMaker.cpp index 3a9ba1b..e02d1e6 100644 --- a/Sources/Engine/Models/MipMaker.cpp +++ b/Sources/Engine/Models/MipMaker.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/MipMaker.h b/Sources/Engine/Models/MipMaker.h index 37c16a0..c8ddf50 100644 --- a/Sources/Engine/Models/MipMaker.h +++ b/Sources/Engine/Models/MipMaker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MIPMAKER_H #define SE_INCL_MIPMAKER_H diff --git a/Sources/Engine/Models/Model.cpp b/Sources/Engine/Models/Model.cpp index b958d99..22e2bbf 100644 --- a/Sources/Engine/Models/Model.cpp +++ b/Sources/Engine/Models/Model.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/Model.h b/Sources/Engine/Models/Model.h index 72a4be8..b948f23 100644 --- a/Sources/Engine/Models/Model.h +++ b/Sources/Engine/Models/Model.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // collision box dimension equality names #define HEIGHT_EQ_WIDTH 0 diff --git a/Sources/Engine/Models/ModelData.h b/Sources/Engine/Models/ModelData.h index 1be1d0f..41aa6c2 100644 --- a/Sources/Engine/Models/ModelData.h +++ b/Sources/Engine/Models/ModelData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MODELDATA_H #define SE_INCL_MODELDATA_H diff --git a/Sources/Engine/Models/ModelObject.h b/Sources/Engine/Models/ModelObject.h index f609065..0fdc672 100644 --- a/Sources/Engine/Models/ModelObject.h +++ b/Sources/Engine/Models/ModelObject.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MODELOBJECT_H #define SE_INCL_MODELOBJECT_H diff --git a/Sources/Engine/Models/ModelProfile.cpp b/Sources/Engine/Models/ModelProfile.cpp index 4140f74..a216092 100644 --- a/Sources/Engine/Models/ModelProfile.cpp +++ b/Sources/Engine/Models/ModelProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/ModelProfile.h b/Sources/Engine/Models/ModelProfile.h index 3ad0ca1..3642a46 100644 --- a/Sources/Engine/Models/ModelProfile.h +++ b/Sources/Engine/Models/ModelProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MODELPROFILE_H #define SE_INCL_MODELPROFILE_H diff --git a/Sources/Engine/Models/Model_internal.h b/Sources/Engine/Models/Model_internal.h index 0954f07..0521b65 100644 --- a/Sources/Engine/Models/Model_internal.h +++ b/Sources/Engine/Models/Model_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MODEL_INTERNAL_H #define SE_INCL_MODEL_INTERNAL_H diff --git a/Sources/Engine/Models/Normals.cpp b/Sources/Engine/Models/Normals.cpp index 71d833a..f5e3e66 100644 --- a/Sources/Engine/Models/Normals.cpp +++ b/Sources/Engine/Models/Normals.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/Normals.h b/Sources/Engine/Models/Normals.h index 58a362b..8ac341c 100644 --- a/Sources/Engine/Models/Normals.h +++ b/Sources/Engine/Models/Normals.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_NORMALS_H #define SE_INCL_NORMALS_H diff --git a/Sources/Engine/Models/RenderModel.cpp b/Sources/Engine/Models/RenderModel.cpp index f5fc0ea..c3b7ebf 100644 --- a/Sources/Engine/Models/RenderModel.cpp +++ b/Sources/Engine/Models/RenderModel.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/RenderModel.h b/Sources/Engine/Models/RenderModel.h index 778fb83..cfa9691 100644 --- a/Sources/Engine/Models/RenderModel.h +++ b/Sources/Engine/Models/RenderModel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDERMODEL_H #define SE_INCL_RENDERMODEL_H diff --git a/Sources/Engine/Models/RenderModel_Mask.cpp b/Sources/Engine/Models/RenderModel_Mask.cpp index 20310a1..0dd7d24 100644 --- a/Sources/Engine/Models/RenderModel_Mask.cpp +++ b/Sources/Engine/Models/RenderModel_Mask.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/RenderModel_View.cpp b/Sources/Engine/Models/RenderModel_View.cpp index c6fec77..1164f53 100644 --- a/Sources/Engine/Models/RenderModel_View.cpp +++ b/Sources/Engine/Models/RenderModel_View.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Models/RenderModel_internal.h b/Sources/Engine/Models/RenderModel_internal.h index 723ec7d..b391baf 100644 --- a/Sources/Engine/Models/RenderModel_internal.h +++ b/Sources/Engine/Models/RenderModel_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDERMODEL_INTERNAL_H #define SE_INCL_RENDERMODEL_INTERNAL_H diff --git a/Sources/Engine/Models/VertexGetting.cpp b/Sources/Engine/Models/VertexGetting.cpp index c12ddca..88e6830 100644 --- a/Sources/Engine/Models/VertexGetting.cpp +++ b/Sources/Engine/Models/VertexGetting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/ActionBuffer.cpp b/Sources/Engine/Network/ActionBuffer.cpp index aef0917..6b7aad6 100644 --- a/Sources/Engine/Network/ActionBuffer.cpp +++ b/Sources/Engine/Network/ActionBuffer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/ActionBuffer.h b/Sources/Engine/Network/ActionBuffer.h index 64fac99..b515861 100644 --- a/Sources/Engine/Network/ActionBuffer.h +++ b/Sources/Engine/Network/ActionBuffer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ACTIONBUFFER_H #define SE_INCL_ACTIONBUFFER_H diff --git a/Sources/Engine/Network/Buffer.cpp b/Sources/Engine/Network/Buffer.cpp index 91caba2..2025141 100644 --- a/Sources/Engine/Network/Buffer.cpp +++ b/Sources/Engine/Network/Buffer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/Buffer.h b/Sources/Engine/Network/Buffer.h index c5e6e9f..dad7af5 100644 --- a/Sources/Engine/Network/Buffer.h +++ b/Sources/Engine/Network/Buffer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BUFFER_H #define SE_INCL_BUFFER_H diff --git a/Sources/Engine/Network/CPacket.cpp b/Sources/Engine/Network/CPacket.cpp index e7acbaf..7670ff8 100644 --- a/Sources/Engine/Network/CPacket.cpp +++ b/Sources/Engine/Network/CPacket.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/CPacket.h b/Sources/Engine/Network/CPacket.h index ce4ece8..9158630 100644 --- a/Sources/Engine/Network/CPacket.h +++ b/Sources/Engine/Network/CPacket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PACKET_H #define SE_INCL_PACKET_H @@ -179,4 +192,4 @@ public: }; -#endif /* include-once check. */ \ No newline at end of file +#endif /* include-once check. */ diff --git a/Sources/Engine/Network/ClientInterface.cpp b/Sources/Engine/Network/ClientInterface.cpp index 977485e..3057e34 100644 --- a/Sources/Engine/Network/ClientInterface.cpp +++ b/Sources/Engine/Network/ClientInterface.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -688,4 +701,4 @@ SLONG CClientInterface::GetCurrentReliableSize(void) SLONG slSize; ci_pbReliableInputBuffer.CheckSequence(slSize); return slSize; -}; \ No newline at end of file +}; diff --git a/Sources/Engine/Network/ClientInterface.h b/Sources/Engine/Network/ClientInterface.h index 9e3703b..5077b7b 100644 --- a/Sources/Engine/Network/ClientInterface.h +++ b/Sources/Engine/Network/ClientInterface.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CLIENTINTERFACE_H #define SE_INCL_CLIENTINTERFACE_H @@ -63,4 +76,4 @@ public: }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Network/Common.h b/Sources/Engine/Network/Common.h index 1a53b22..d70515e 100644 --- a/Sources/Engine/Network/Common.h +++ b/Sources/Engine/Network/Common.h @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/Engine/Network/CommunicationInterface.cpp b/Sources/Engine/Network/CommunicationInterface.cpp index c5bddf2..420036b 100644 --- a/Sources/Engine/Network/CommunicationInterface.cpp +++ b/Sources/Engine/Network/CommunicationInterface.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/CommunicationInterface.h b/Sources/Engine/Network/CommunicationInterface.h index d95c306..6cb334a 100644 --- a/Sources/Engine/Network/CommunicationInterface.h +++ b/Sources/Engine/Network/CommunicationInterface.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_COMMUNICATIONINTERFACE_H #define SE_INCL_COMMUNICATIONINTERFACE_H @@ -110,4 +123,4 @@ extern ENGINE_API CCommunicationInterface _cmiComm; extern CPacketBufferStats _pbsSend; extern CPacketBufferStats _pbsRecv; -#endif /* include-once check. */ \ No newline at end of file +#endif /* include-once check. */ diff --git a/Sources/Engine/Network/Compression.cpp b/Sources/Engine/Network/Compression.cpp index 10ba359..56be629 100644 --- a/Sources/Engine/Network/Compression.cpp +++ b/Sources/Engine/Network/Compression.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/Compression.h b/Sources/Engine/Network/Compression.h index 020e406..e541b48 100644 --- a/Sources/Engine/Network/Compression.h +++ b/Sources/Engine/Network/Compression.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_COMPRESSION_H #define SE_INCL_COMPRESSION_H diff --git a/Sources/Engine/Network/Diff.cpp b/Sources/Engine/Network/Diff.cpp index 3f5bb08..45e575f 100644 --- a/Sources/Engine/Network/Diff.cpp +++ b/Sources/Engine/Network/Diff.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/Diff.h b/Sources/Engine/Network/Diff.h index 446172c..c720307 100644 --- a/Sources/Engine/Network/Diff.h +++ b/Sources/Engine/Network/Diff.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DIFF_H #define SE_INCL_DIFF_H diff --git a/Sources/Engine/Network/EMsgBuffer.cpp b/Sources/Engine/Network/EMsgBuffer.cpp index a57852d..befe836 100644 --- a/Sources/Engine/Network/EMsgBuffer.cpp +++ b/Sources/Engine/Network/EMsgBuffer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "EMsgBuffer.h" diff --git a/Sources/Engine/Network/EMsgBuffer.h b/Sources/Engine/Network/EMsgBuffer.h index 692ec3e..1c33c90 100644 --- a/Sources/Engine/Network/EMsgBuffer.h +++ b/Sources/Engine/Network/EMsgBuffer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_EMSGBUFFER_H #define SE_INCL_EMSGBUFFER_H @@ -121,4 +134,4 @@ public: }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Network/EntityHashing.cpp b/Sources/Engine/Network/EntityHashing.cpp index 8cb64f1..15298ba 100644 --- a/Sources/Engine/Network/EntityHashing.cpp +++ b/Sources/Engine/Network/EntityHashing.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "EntityHashing.h" #include @@ -45,4 +58,4 @@ void CEntityHashItem::WritePackedPlacement(CClientEntry &ceEntry,CNetworkMessage -}; \ No newline at end of file +}; diff --git a/Sources/Engine/Network/EntityHashing.h b/Sources/Engine/Network/EntityHashing.h index ef61940..f515851 100644 --- a/Sources/Engine/Network/EntityHashing.h +++ b/Sources/Engine/Network/EntityHashing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ENTITYHASHING_H #define SE_INCL_ENTITYHASHING_H @@ -76,4 +89,4 @@ public: } -#endif // include \ No newline at end of file +#endif // include diff --git a/Sources/Engine/Network/LevelChange.h b/Sources/Engine/Network/LevelChange.h index c38b60f..b2ae9b3 100644 --- a/Sources/Engine/Network/LevelChange.h +++ b/Sources/Engine/Network/LevelChange.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LEVELCHANGE_H #define SE_INCL_LEVELCHANGE_H diff --git a/Sources/Engine/Network/MessageDispatcher.cpp b/Sources/Engine/Network/MessageDispatcher.cpp index 7ffdfcd..507d2d1 100644 --- a/Sources/Engine/Network/MessageDispatcher.cpp +++ b/Sources/Engine/Network/MessageDispatcher.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/MessageDispatcher.h b/Sources/Engine/Network/MessageDispatcher.h index 84b8203..07fea5e 100644 --- a/Sources/Engine/Network/MessageDispatcher.h +++ b/Sources/Engine/Network/MessageDispatcher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MESSAGEDISPATCHER_H #define SE_INCL_MESSAGEDISPATCHER_H diff --git a/Sources/Engine/Network/Network.cpp b/Sources/Engine/Network/Network.cpp index 82effb0..8b29797 100644 --- a/Sources/Engine/Network/Network.cpp +++ b/Sources/Engine/Network/Network.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/Network/Network.h b/Sources/Engine/Network/Network.h index fe781d8..db99d68 100644 --- a/Sources/Engine/Network/Network.h +++ b/Sources/Engine/Network/Network.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_NETWORK_H #define SE_INCL_NETWORK_H diff --git a/Sources/Engine/Network/NetworkMessage.cpp b/Sources/Engine/Network/NetworkMessage.cpp index 25a5c76..aff812b 100644 --- a/Sources/Engine/Network/NetworkMessage.cpp +++ b/Sources/Engine/Network/NetworkMessage.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/NetworkMessage.h b/Sources/Engine/Network/NetworkMessage.h index 71a166d..3dc0427 100644 --- a/Sources/Engine/Network/NetworkMessage.h +++ b/Sources/Engine/Network/NetworkMessage.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_NETWORKMESSAGE_H #define SE_INCL_NETWORKMESSAGE_H diff --git a/Sources/Engine/Network/NetworkProfile.cpp b/Sources/Engine/Network/NetworkProfile.cpp index 39bae3d..91d3b84 100644 --- a/Sources/Engine/Network/NetworkProfile.cpp +++ b/Sources/Engine/Network/NetworkProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/NetworkProfile.h b/Sources/Engine/Network/NetworkProfile.h index 8fab5ad..e94a977 100644 --- a/Sources/Engine/Network/NetworkProfile.h +++ b/Sources/Engine/Network/NetworkProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __ENGINE_BASE_PROFILING_H__ #include diff --git a/Sources/Engine/Network/Packet.cpp b/Sources/Engine/Network/Packet.cpp index fe22ce8..7b63647 100644 --- a/Sources/Engine/Network/Packet.cpp +++ b/Sources/Engine/Network/Packet.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/Packet.h b/Sources/Engine/Network/Packet.h index ce4ece8..9158630 100644 --- a/Sources/Engine/Network/Packet.h +++ b/Sources/Engine/Network/Packet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PACKET_H #define SE_INCL_PACKET_H @@ -179,4 +192,4 @@ public: }; -#endif /* include-once check. */ \ No newline at end of file +#endif /* include-once check. */ diff --git a/Sources/Engine/Network/PlayerBuffer.cpp b/Sources/Engine/Network/PlayerBuffer.cpp index 2ec0290..5745110 100644 --- a/Sources/Engine/Network/PlayerBuffer.cpp +++ b/Sources/Engine/Network/PlayerBuffer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/PlayerBuffer.h b/Sources/Engine/Network/PlayerBuffer.h index bbb6a10..a44c254 100644 --- a/Sources/Engine/Network/PlayerBuffer.h +++ b/Sources/Engine/Network/PlayerBuffer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLAYERBUFFER_H #define SE_INCL_PLAYERBUFFER_H diff --git a/Sources/Engine/Network/PlayerSource.cpp b/Sources/Engine/Network/PlayerSource.cpp index 6f64295..22509ea 100644 --- a/Sources/Engine/Network/PlayerSource.cpp +++ b/Sources/Engine/Network/PlayerSource.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/PlayerSource.h b/Sources/Engine/Network/PlayerSource.h index f395d90..6a816cf 100644 --- a/Sources/Engine/Network/PlayerSource.h +++ b/Sources/Engine/Network/PlayerSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLAYERSOURCE_H #define SE_INCL_PLAYERSOURCE_H diff --git a/Sources/Engine/Network/PlayerTarget.cpp b/Sources/Engine/Network/PlayerTarget.cpp index f2514a1..82a6a17 100644 --- a/Sources/Engine/Network/PlayerTarget.cpp +++ b/Sources/Engine/Network/PlayerTarget.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/PlayerTarget.h b/Sources/Engine/Network/PlayerTarget.h index 1eeb55e..bb8622f 100644 --- a/Sources/Engine/Network/PlayerTarget.h +++ b/Sources/Engine/Network/PlayerTarget.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLAYERTARGET_H #define SE_INCL_PLAYERTARGET_H diff --git a/Sources/Engine/Network/Server.cpp b/Sources/Engine/Network/Server.cpp index b75d700..5685ba9 100644 --- a/Sources/Engine/Network/Server.cpp +++ b/Sources/Engine/Network/Server.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/Server.h b/Sources/Engine/Network/Server.h index e6bb039..abf9557 100644 --- a/Sources/Engine/Network/Server.h +++ b/Sources/Engine/Network/Server.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SERVER_H #define SE_INCL_SERVER_H diff --git a/Sources/Engine/Network/SessionSocket.h b/Sources/Engine/Network/SessionSocket.h index e8c7f11..bbd0570 100644 --- a/Sources/Engine/Network/SessionSocket.h +++ b/Sources/Engine/Network/SessionSocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SESSIONSOCKET_H #define SE_INCL_SESSIONSOCKET_H diff --git a/Sources/Engine/Network/SessionState.cpp b/Sources/Engine/Network/SessionState.cpp index 4be6556..4a2fe44 100644 --- a/Sources/Engine/Network/SessionState.cpp +++ b/Sources/Engine/Network/SessionState.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Network/SessionState.h b/Sources/Engine/Network/SessionState.h index 076133d..dc10c16 100644 --- a/Sources/Engine/Network/SessionState.h +++ b/Sources/Engine/Network/SessionState.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SESSIONSTATE_H #define SE_INCL_SESSIONSTATE_H diff --git a/Sources/Engine/Rendering/RenCache.cpp b/Sources/Engine/Rendering/RenCache.cpp index e419d82..ea4f6ce 100644 --- a/Sources/Engine/Rendering/RenCache.cpp +++ b/Sources/Engine/Rendering/RenCache.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define OFFSET_DN (0.0625f) diff --git a/Sources/Engine/Rendering/RendASER.cpp b/Sources/Engine/Rendering/RendASER.cpp index 7e9aff5..ac122af 100644 --- a/Sources/Engine/Rendering/RendASER.cpp +++ b/Sources/Engine/Rendering/RendASER.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Add all edges in add list to active list. diff --git a/Sources/Engine/Rendering/RendClip.cpp b/Sources/Engine/Rendering/RendClip.cpp index 79c8fe6..793a2b0 100644 --- a/Sources/Engine/Rendering/RendClip.cpp +++ b/Sources/Engine/Rendering/RendClip.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ ///////////////////////////////////////////////////////////////////// // Clipping functions diff --git a/Sources/Engine/Rendering/RendMisc.cpp b/Sources/Engine/Rendering/RendMisc.cpp index 425ef9d..14a23a0 100644 --- a/Sources/Engine/Rendering/RendMisc.cpp +++ b/Sources/Engine/Rendering/RendMisc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ ///////////////////////////////////////////////////////////////////// // CWorldRenderPrefs diff --git a/Sources/Engine/Rendering/Render.cpp b/Sources/Engine/Rendering/Render.cpp index f952cae..c6b35ac 100644 --- a/Sources/Engine/Rendering/Render.cpp +++ b/Sources/Engine/Rendering/Render.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Rendering/Render.h b/Sources/Engine/Rendering/Render.h index bc26422..61364b2 100644 --- a/Sources/Engine/Rendering/Render.h +++ b/Sources/Engine/Rendering/Render.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/Engine/Rendering/RenderAdding.cpp b/Sources/Engine/Rendering/RenderAdding.cpp index 8f4a099..bb67046 100644 --- a/Sources/Engine/Rendering/RenderAdding.cpp +++ b/Sources/Engine/Rendering/RenderAdding.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // for generating unique IDs for lens flares diff --git a/Sources/Engine/Rendering/RenderBrushes.cpp b/Sources/Engine/Rendering/RenderBrushes.cpp index 386a8d8..e810f9d 100644 --- a/Sources/Engine/Rendering/RenderBrushes.cpp +++ b/Sources/Engine/Rendering/RenderBrushes.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ void CRenderer::DrawBrushPolygonVerticesAndEdges(CBrushPolygon &bpo) { diff --git a/Sources/Engine/Rendering/RenderModels.cpp b/Sources/Engine/Rendering/RenderModels.cpp index ca638c4..56358fe 100644 --- a/Sources/Engine/Rendering/RenderModels.cpp +++ b/Sources/Engine/Rendering/RenderModels.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern INDEX mdl_iShadowQuality; diff --git a/Sources/Engine/Rendering/RenderProfile.cpp b/Sources/Engine/Rendering/RenderProfile.cpp index d2d9913..de53517 100644 --- a/Sources/Engine/Rendering/RenderProfile.cpp +++ b/Sources/Engine/Rendering/RenderProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Rendering/RenderProfile.h b/Sources/Engine/Rendering/RenderProfile.h index 24c52f7..820c386 100644 --- a/Sources/Engine/Rendering/RenderProfile.h +++ b/Sources/Engine/Rendering/RenderProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __ENGINE_BASE_PROFILING_H__ #include diff --git a/Sources/Engine/Rendering/Render_internal.h b/Sources/Engine/Rendering/Render_internal.h index 94d0c0b..6fd9b9a 100644 --- a/Sources/Engine/Rendering/Render_internal.h +++ b/Sources/Engine/Rendering/Render_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDER_INTERNAL_H #define SE_INCL_RENDER_INTERNAL_H diff --git a/Sources/Engine/Rendering/SelectOnRender.cpp b/Sources/Engine/Rendering/SelectOnRender.cpp index 1733784..0577e65 100644 --- a/Sources/Engine/Rendering/SelectOnRender.cpp +++ b/Sources/Engine/Rendering/SelectOnRender.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Ska/AnimSet.cpp b/Sources/Engine/Ska/AnimSet.cpp index af15cfc..05d4c41 100644 --- a/Sources/Engine/Ska/AnimSet.cpp +++ b/Sources/Engine/Ska/AnimSet.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/Engine/Ska/AnimSet.h b/Sources/Engine/Ska/AnimSet.h index 09f1059..636cdd6 100644 --- a/Sources/Engine/Ska/AnimSet.h +++ b/Sources/Engine/Ska/AnimSet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ANIMSET_H #define SE_INCL_ANIMSET_H diff --git a/Sources/Engine/Ska/Mesh.cpp b/Sources/Engine/Ska/Mesh.cpp index b9d2afd..dfe5629 100644 --- a/Sources/Engine/Ska/Mesh.cpp +++ b/Sources/Engine/Ska/Mesh.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include "Mesh.h" diff --git a/Sources/Engine/Ska/Mesh.h b/Sources/Engine/Ska/Mesh.h index 37a0590..ba772e2 100644 --- a/Sources/Engine/Ska/Mesh.h +++ b/Sources/Engine/Ska/Mesh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MESH_H #define SE_INCL_MESH_H diff --git a/Sources/Engine/Ska/ModelInstance.cpp b/Sources/Engine/Ska/ModelInstance.cpp index ce83e49..81f34ce 100644 --- a/Sources/Engine/Ska/ModelInstance.cpp +++ b/Sources/Engine/Ska/ModelInstance.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Ska/ModelInstance.h b/Sources/Engine/Ska/ModelInstance.h index 544d93d..e396feb 100644 --- a/Sources/Engine/Ska/ModelInstance.h +++ b/Sources/Engine/Ska/ModelInstance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MODELINSTANCE_H #define SE_INCL_MODELINSTANCE_H diff --git a/Sources/Engine/Ska/ParsingSmbs.h b/Sources/Engine/Ska/ParsingSmbs.h index a8ab588..0bbe337 100644 --- a/Sources/Engine/Ska/ParsingSmbs.h +++ b/Sources/Engine/Ska/ParsingSmbs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // needed for parser and scanner extern int yylex(void); diff --git a/Sources/Engine/Ska/RMRender.cpp b/Sources/Engine/Ska/RMRender.cpp index 7d40325..edc3ecb 100644 --- a/Sources/Engine/Ska/RMRender.cpp +++ b/Sources/Engine/Ska/RMRender.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/Engine/Ska/RMRenderMask.cpp b/Sources/Engine/Ska/RMRenderMask.cpp index 35b0479..d737131 100644 --- a/Sources/Engine/Ska/RMRenderMask.cpp +++ b/Sources/Engine/Ska/RMRenderMask.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -385,4 +398,4 @@ extern void InternalShaderDesc_Mask(ShaderDesc &shDesc) shDesc.sd_astrTextureNames[0] = "Mask texture"; shDesc.sd_astrTexCoordNames[0] = "Mask uvmap"; shDesc.sd_strShaderInfo = "Mask shader for shadowmaps"; -} \ No newline at end of file +} diff --git a/Sources/Engine/Ska/Render.h b/Sources/Engine/Ska/Render.h index 04b7d1b..5087e51 100644 --- a/Sources/Engine/Ska/Render.h +++ b/Sources/Engine/Ska/Render.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_RENDER_H #define SE_INCL_RENDER_H diff --git a/Sources/Engine/Ska/Skeleton.cpp b/Sources/Engine/Ska/Skeleton.cpp index 5a66219..22d06c2 100644 --- a/Sources/Engine/Ska/Skeleton.cpp +++ b/Sources/Engine/Ska/Skeleton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include "Skeleton.h" diff --git a/Sources/Engine/Ska/Skeleton.h b/Sources/Engine/Ska/Skeleton.h index 22a42f3..3f022b1 100644 --- a/Sources/Engine/Ska/Skeleton.h +++ b/Sources/Engine/Ska/Skeleton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SKELETON_H #define SE_INCL_SKELETON_H diff --git a/Sources/Engine/Ska/StringTable.cpp b/Sources/Engine/Ska/StringTable.cpp index 712ef26..50c2e79 100644 --- a/Sources/Engine/Ska/StringTable.cpp +++ b/Sources/Engine/Ska/StringTable.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/Engine/Ska/StringTable.h b/Sources/Engine/Ska/StringTable.h index a34c8f1..7d8de41 100644 --- a/Sources/Engine/Ska/StringTable.h +++ b/Sources/Engine/Ska/StringTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ ENGINE_API INDEX ska_GetIDFromStringTable(CTString strName); ENGINE_API CTString ska_GetStringFromTable(INDEX iIndex); diff --git a/Sources/Engine/Sound/SoundData.cpp b/Sources/Engine/Sound/SoundData.cpp index 2140477..8ddaa84 100644 --- a/Sources/Engine/Sound/SoundData.cpp +++ b/Sources/Engine/Sound/SoundData.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/SoundData.h b/Sources/Engine/Sound/SoundData.h index 46f14db..98d7918 100644 --- a/Sources/Engine/Sound/SoundData.h +++ b/Sources/Engine/Sound/SoundData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SOUNDDATA_H #define SE_INCL_SOUNDDATA_H diff --git a/Sources/Engine/Sound/SoundDecoder.cpp b/Sources/Engine/Sound/SoundDecoder.cpp index 6037d8b..d2c4458 100644 --- a/Sources/Engine/Sound/SoundDecoder.cpp +++ b/Sources/Engine/Sound/SoundDecoder.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/SoundDecoder.h b/Sources/Engine/Sound/SoundDecoder.h index 4e03790..49200a4 100644 --- a/Sources/Engine/Sound/SoundDecoder.h +++ b/Sources/Engine/Sound/SoundDecoder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once @@ -25,4 +38,4 @@ public: INDEX Decode(void *pvDestBuffer, INDEX ctBytesToDecode); // reset decoder to start of sample void Reset(void); -}; \ No newline at end of file +}; diff --git a/Sources/Engine/Sound/SoundLibrary.cpp b/Sources/Engine/Sound/SoundLibrary.cpp index d003247..13673a9 100644 --- a/Sources/Engine/Sound/SoundLibrary.cpp +++ b/Sources/Engine/Sound/SoundLibrary.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include "initguid.h" diff --git a/Sources/Engine/Sound/SoundLibrary.h b/Sources/Engine/Sound/SoundLibrary.h index 08e4043..e113056 100644 --- a/Sources/Engine/Sound/SoundLibrary.h +++ b/Sources/Engine/Sound/SoundLibrary.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SOUNDLIBRARY_H #define SE_INCL_SOUNDLIBRARY_H diff --git a/Sources/Engine/Sound/SoundListener.h b/Sources/Engine/Sound/SoundListener.h index f922390..513d95b 100644 --- a/Sources/Engine/Sound/SoundListener.h +++ b/Sources/Engine/Sound/SoundListener.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SOUNDLISTENER_H #define SE_INCL_SOUNDLISTENER_H diff --git a/Sources/Engine/Sound/SoundMixer.cpp b/Sources/Engine/Sound/SoundMixer.cpp index 88a161f..ed883eb 100644 --- a/Sources/Engine/Sound/SoundMixer.cpp +++ b/Sources/Engine/Sound/SoundMixer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/SoundObject.cpp b/Sources/Engine/Sound/SoundObject.cpp index 82d6e2f..3503a92 100644 --- a/Sources/Engine/Sound/SoundObject.cpp +++ b/Sources/Engine/Sound/SoundObject.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/SoundObject.h b/Sources/Engine/Sound/SoundObject.h index 9b74dc7..6fcf60d 100644 --- a/Sources/Engine/Sound/SoundObject.h +++ b/Sources/Engine/Sound/SoundObject.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SOUNDOBJECT_H #define SE_INCL_SOUNDOBJECT_H diff --git a/Sources/Engine/Sound/SoundProfile.cpp b/Sources/Engine/Sound/SoundProfile.cpp index a00a2de..1f93655 100644 --- a/Sources/Engine/Sound/SoundProfile.cpp +++ b/Sources/Engine/Sound/SoundProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/SoundProfile.h b/Sources/Engine/Sound/SoundProfile.h index 7450cc3..3520a33 100644 --- a/Sources/Engine/Sound/SoundProfile.h +++ b/Sources/Engine/Sound/SoundProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SOUNDPROFILE_H #define SE_INCL_SOUNDPROFILE_H diff --git a/Sources/Engine/Sound/Wave.cpp b/Sources/Engine/Sound/Wave.cpp index 82dc9e9..ba2b6f3 100644 --- a/Sources/Engine/Sound/Wave.cpp +++ b/Sources/Engine/Sound/Wave.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Sound/Wave.h b/Sources/Engine/Sound/Wave.h index aedd838..4a52cff 100644 --- a/Sources/Engine/Sound/Wave.h +++ b/Sources/Engine/Sound/Wave.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WAVE_H #define SE_INCL_WAVE_H diff --git a/Sources/Engine/Sound/al_functions.h b/Sources/Engine/Sound/al_functions.h index f4fb483..96322e2 100644 --- a/Sources/Engine/Sound/al_functions.h +++ b/Sources/Engine/Sound/al_functions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DLLFUNCTION(dll, output, name, inputs, params, required) diff --git a/Sources/Engine/Sound/eax.h b/Sources/Engine/Sound/eax.h index 578d22c..b7c0fc9 100644 --- a/Sources/Engine/Sound/eax.h +++ b/Sources/Engine/Sound/eax.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /****************************************************************** * diff --git a/Sources/Engine/Sound/ov_functions.h b/Sources/Engine/Sound/ov_functions.h index 9bc81ca..d2ca4d6 100644 --- a/Sources/Engine/Sound/ov_functions.h +++ b/Sources/Engine/Sound/ov_functions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DLLFUNCTION(dll, output, name, inputs, params, required) diff --git a/Sources/Engine/StdH.cpp b/Sources/Engine/StdH.cpp index 95c0896..322326e 100644 --- a/Sources/Engine/StdH.cpp +++ b/Sources/Engine/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Engine/StdH.h b/Sources/Engine/StdH.h index 7a2d829..4de255c 100644 --- a/Sources/Engine/StdH.h +++ b/Sources/Engine/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define ENGINE_INTERNAL 1 @@ -23,4 +36,4 @@ #include // for timers #include -#include \ No newline at end of file +#include diff --git a/Sources/Engine/Templates/AllocationArray.cpp b/Sources/Engine/Templates/AllocationArray.cpp index 8a100ce..51d9fc8 100644 --- a/Sources/Engine/Templates/AllocationArray.cpp +++ b/Sources/Engine/Templates/AllocationArray.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ALLOCATIONARRAY_CPP diff --git a/Sources/Engine/Templates/AllocationArray.h b/Sources/Engine/Templates/AllocationArray.h index 9a159bd..f9f36af 100644 --- a/Sources/Engine/Templates/AllocationArray.h +++ b/Sources/Engine/Templates/AllocationArray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ALLOCATIONARRAY_H #define SE_INCL_ALLOCATIONARRAY_H diff --git a/Sources/Engine/Templates/BSP.cpp b/Sources/Engine/Templates/BSP.cpp index 00a618f..5051722 100644 --- a/Sources/Engine/Templates/BSP.cpp +++ b/Sources/Engine/Templates/BSP.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/BSP.h b/Sources/Engine/Templates/BSP.h index 6f8a2b1..5d390ca 100644 --- a/Sources/Engine/Templates/BSP.h +++ b/Sources/Engine/Templates/BSP.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BSP_H #define SE_INCL_BSP_H diff --git a/Sources/Engine/Templates/BSP_internal.h b/Sources/Engine/Templates/BSP_internal.h index 36a20bd..fce0c37 100644 --- a/Sources/Engine/Templates/BSP_internal.h +++ b/Sources/Engine/Templates/BSP_internal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_BSP_INTERNAL_H #define SE_INCL_BSP_INTERNAL_H diff --git a/Sources/Engine/Templates/DynamicArray.cpp b/Sources/Engine/Templates/DynamicArray.cpp index 2c18527..3a04833 100644 --- a/Sources/Engine/Templates/DynamicArray.cpp +++ b/Sources/Engine/Templates/DynamicArray.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICARRAY_CPP #define SE_INCL_DYNAMICARRAY_CPP diff --git a/Sources/Engine/Templates/DynamicArray.h b/Sources/Engine/Templates/DynamicArray.h index 2b0f106..8606bb7 100644 --- a/Sources/Engine/Templates/DynamicArray.h +++ b/Sources/Engine/Templates/DynamicArray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICARRAY_H #define SE_INCL_DYNAMICARRAY_H diff --git a/Sources/Engine/Templates/DynamicContainer.cpp b/Sources/Engine/Templates/DynamicContainer.cpp index 3dcd2eb..bc89593 100644 --- a/Sources/Engine/Templates/DynamicContainer.cpp +++ b/Sources/Engine/Templates/DynamicContainer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICCONTAINER_CPP #define SE_INCL_DYNAMICCONTAINER_CPP diff --git a/Sources/Engine/Templates/DynamicContainer.h b/Sources/Engine/Templates/DynamicContainer.h index 9c1defa..ff58b8b 100644 --- a/Sources/Engine/Templates/DynamicContainer.h +++ b/Sources/Engine/Templates/DynamicContainer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICCONTAINER_H #define SE_INCL_DYNAMICCONTAINER_H diff --git a/Sources/Engine/Templates/DynamicStackArray.cpp b/Sources/Engine/Templates/DynamicStackArray.cpp index 65f2367..19e3916 100644 --- a/Sources/Engine/Templates/DynamicStackArray.cpp +++ b/Sources/Engine/Templates/DynamicStackArray.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICSTACKARRAY_CPP #define SE_INCL_DYNAMICSTACKARRAY_CPP diff --git a/Sources/Engine/Templates/DynamicStackArray.h b/Sources/Engine/Templates/DynamicStackArray.h index 5f5e620..7d2d2fb 100644 --- a/Sources/Engine/Templates/DynamicStackArray.h +++ b/Sources/Engine/Templates/DynamicStackArray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_DYNAMICSTACKARRAY_H #define SE_INCL_DYNAMICSTACKARRAY_H diff --git a/Sources/Engine/Templates/HashTableTemplate.cpp b/Sources/Engine/Templates/HashTableTemplate.cpp index ce1f57e..9f63576 100644 --- a/Sources/Engine/Templates/HashTableTemplate.cpp +++ b/Sources/Engine/Templates/HashTableTemplate.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include @@ -295,4 +308,4 @@ void CHashTable_TYPE::ReportEfficiency() CPrintF(TRANS(" Compartements: %ld, Slots per compartement: %ld, Full slots: %ld\n"),ht_ctCompartments,ht_ctSlotsPerComp,ulCount); CPrintF(TRANS(" Percentage of full slots: %5.2f%%, Average full slots per compartement: %5.2f \n"),dFullPercent*100,dAvg); CPrintF(TRANS(" Standard deviation is: %5.2f\n"),dStDev); -} \ No newline at end of file +} diff --git a/Sources/Engine/Templates/HashTableTemplate.h b/Sources/Engine/Templates/HashTableTemplate.h index f47624c..4105a9f 100644 --- a/Sources/Engine/Templates/HashTableTemplate.h +++ b/Sources/Engine/Templates/HashTableTemplate.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(TYPE) || !defined(VALUE_TYPE) || !defined(CHashTableSlot_TYPE) || !defined(CHashTable_TYPE) #error diff --git a/Sources/Engine/Templates/LinearAllocator.cpp b/Sources/Engine/Templates/LinearAllocator.cpp index 815a61b..418f53b 100644 --- a/Sources/Engine/Templates/LinearAllocator.cpp +++ b/Sources/Engine/Templates/LinearAllocator.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LINEARALLOCATOR_CPP #define SE_INCL_LINEARALLOCATOR_CPP diff --git a/Sources/Engine/Templates/LinearAllocator.h b/Sources/Engine/Templates/LinearAllocator.h index 6e5335a..9c9dcdc 100644 --- a/Sources/Engine/Templates/LinearAllocator.h +++ b/Sources/Engine/Templates/LinearAllocator.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LINEARALLOCATOR_H #define SE_INCL_LINEARALLOCATOR_H diff --git a/Sources/Engine/Templates/NameTable.cpp b/Sources/Engine/Templates/NameTable.cpp index 019322b..b8bcf80 100644 --- a/Sources/Engine/Templates/NameTable.cpp +++ b/Sources/Engine/Templates/NameTable.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -183,4 +196,4 @@ void CNameTable_TYPE::Reset(void) } } -#undef NAMETABLE_CASESENSITIVE \ No newline at end of file +#undef NAMETABLE_CASESENSITIVE diff --git a/Sources/Engine/Templates/NameTable.h b/Sources/Engine/Templates/NameTable.h index 9241f71..82ca149 100644 --- a/Sources/Engine/Templates/NameTable.h +++ b/Sources/Engine/Templates/NameTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(TYPE) || !defined(CNameTableSlot_TYPE) || !defined(CNameTable_TYPE) diff --git a/Sources/Engine/Templates/NameTable_CTFileName.cpp b/Sources/Engine/Templates/NameTable_CTFileName.cpp index aa01a1a..f357de0 100644 --- a/Sources/Engine/Templates/NameTable_CTFileName.cpp +++ b/Sources/Engine/Templates/NameTable_CTFileName.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/NameTable_CTFileName.h b/Sources/Engine/Templates/NameTable_CTFileName.h index 2b8c00d..36e5659 100644 --- a/Sources/Engine/Templates/NameTable_CTFileName.h +++ b/Sources/Engine/Templates/NameTable_CTFileName.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_NAMETABLE_CTFILENAME_H #define SE_INCL_NAMETABLE_CTFILENAME_H diff --git a/Sources/Engine/Templates/NameTable_CTranslationPair.cpp b/Sources/Engine/Templates/NameTable_CTranslationPair.cpp index baf5562..38c434f 100644 --- a/Sources/Engine/Templates/NameTable_CTranslationPair.cpp +++ b/Sources/Engine/Templates/NameTable_CTranslationPair.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/NameTable_CTranslationPair.h b/Sources/Engine/Templates/NameTable_CTranslationPair.h index cbf502a..14afb68 100644 --- a/Sources/Engine/Templates/NameTable_CTranslationPair.h +++ b/Sources/Engine/Templates/NameTable_CTranslationPair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_NAMETABLE_CTRANSLATIONPAIR_H #define SE_INCL_NAMETABLE_CTRANSLATIONPAIR_H diff --git a/Sources/Engine/Templates/Selection.cpp b/Sources/Engine/Templates/Selection.cpp index 597135c..d12f54a 100644 --- a/Sources/Engine/Templates/Selection.cpp +++ b/Sources/Engine/Templates/Selection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SELECTION_CPP #define SE_INCL_SELECTION_CPP diff --git a/Sources/Engine/Templates/Selection.h b/Sources/Engine/Templates/Selection.h index f1c64f4..1a089ac 100644 --- a/Sources/Engine/Templates/Selection.h +++ b/Sources/Engine/Templates/Selection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SELECTION_H #define SE_INCL_SELECTION_H diff --git a/Sources/Engine/Templates/StaticArray.cpp b/Sources/Engine/Templates/StaticArray.cpp index ff62e8d..40fe902 100644 --- a/Sources/Engine/Templates/StaticArray.cpp +++ b/Sources/Engine/Templates/StaticArray.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATICARRAY_CPP #define SE_INCL_STATICARRAY_CPP diff --git a/Sources/Engine/Templates/StaticArray.h b/Sources/Engine/Templates/StaticArray.h index 390069c..f73ef2c 100644 --- a/Sources/Engine/Templates/StaticArray.h +++ b/Sources/Engine/Templates/StaticArray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATICARRAY_H #define SE_INCL_STATICARRAY_H diff --git a/Sources/Engine/Templates/StaticStackArray.cpp b/Sources/Engine/Templates/StaticStackArray.cpp index db79054..77b98d7 100644 --- a/Sources/Engine/Templates/StaticStackArray.cpp +++ b/Sources/Engine/Templates/StaticStackArray.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATICSTACKARRAY_CPP diff --git a/Sources/Engine/Templates/StaticStackArray.h b/Sources/Engine/Templates/StaticStackArray.h index e588e94..72264f6 100644 --- a/Sources/Engine/Templates/StaticStackArray.h +++ b/Sources/Engine/Templates/StaticStackArray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STATICSTACKARRAY_H #define SE_INCL_STATICSTACKARRAY_H diff --git a/Sources/Engine/Templates/Stock.cpp b/Sources/Engine/Templates/Stock.cpp index 2aec30b..c94068a 100644 --- a/Sources/Engine/Templates/Stock.cpp +++ b/Sources/Engine/Templates/Stock.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/Sources/Engine/Templates/Stock.h b/Sources/Engine/Templates/Stock.h index 1014ae2..13e7e35 100644 --- a/Sources/Engine/Templates/Stock.h +++ b/Sources/Engine/Templates/Stock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(TYPE) || !defined(CStock_TYPE) || !defined(CNameTable_TYPE) diff --git a/Sources/Engine/Templates/Stock_CAnimData.cpp b/Sources/Engine/Templates/Stock_CAnimData.cpp index 4a16e16..a711714 100644 --- a/Sources/Engine/Templates/Stock_CAnimData.cpp +++ b/Sources/Engine/Templates/Stock_CAnimData.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CAnimData.h b/Sources/Engine/Templates/Stock_CAnimData.h index 6bb9ea5..420f20f 100644 --- a/Sources/Engine/Templates/Stock_CAnimData.h +++ b/Sources/Engine/Templates/Stock_CAnimData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CANIMDATA_H #define SE_INCL_STOCK_CANIMDATA_H diff --git a/Sources/Engine/Templates/Stock_CAnimSet.cpp b/Sources/Engine/Templates/Stock_CAnimSet.cpp index b415122..aeeb16f 100644 --- a/Sources/Engine/Templates/Stock_CAnimSet.cpp +++ b/Sources/Engine/Templates/Stock_CAnimSet.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CAnimSet.h b/Sources/Engine/Templates/Stock_CAnimSet.h index 2ddf426..002c746 100644 --- a/Sources/Engine/Templates/Stock_CAnimSet.h +++ b/Sources/Engine/Templates/Stock_CAnimSet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CANIMSET_H #define SE_INCL_STOCK_CANIMSET_H diff --git a/Sources/Engine/Templates/Stock_CEntityClass.cpp b/Sources/Engine/Templates/Stock_CEntityClass.cpp index 3011b35..335d2ce 100644 --- a/Sources/Engine/Templates/Stock_CEntityClass.cpp +++ b/Sources/Engine/Templates/Stock_CEntityClass.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CEntityClass.h b/Sources/Engine/Templates/Stock_CEntityClass.h index 1404e4d..b63e69c 100644 --- a/Sources/Engine/Templates/Stock_CEntityClass.h +++ b/Sources/Engine/Templates/Stock_CEntityClass.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CENTITYCLASS_H #define SE_INCL_STOCK_CENTITYCLASS_H diff --git a/Sources/Engine/Templates/Stock_CMesh.cpp b/Sources/Engine/Templates/Stock_CMesh.cpp index 9e9e367..df42140 100644 --- a/Sources/Engine/Templates/Stock_CMesh.cpp +++ b/Sources/Engine/Templates/Stock_CMesh.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CMesh.h b/Sources/Engine/Templates/Stock_CMesh.h index 92489c2..ae7ee91 100644 --- a/Sources/Engine/Templates/Stock_CMesh.h +++ b/Sources/Engine/Templates/Stock_CMesh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CMESH_H #define SE_INCL_STOCK_CMESH_H diff --git a/Sources/Engine/Templates/Stock_CModelData.cpp b/Sources/Engine/Templates/Stock_CModelData.cpp index e26e4ea..811d578 100644 --- a/Sources/Engine/Templates/Stock_CModelData.cpp +++ b/Sources/Engine/Templates/Stock_CModelData.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CModelData.h b/Sources/Engine/Templates/Stock_CModelData.h index 848aec8..6ad0899 100644 --- a/Sources/Engine/Templates/Stock_CModelData.h +++ b/Sources/Engine/Templates/Stock_CModelData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CMODELDATA_H #define SE_INCL_STOCK_CMODELDATA_H diff --git a/Sources/Engine/Templates/Stock_CShader.cpp b/Sources/Engine/Templates/Stock_CShader.cpp index 60eca3a..215ae1e 100644 --- a/Sources/Engine/Templates/Stock_CShader.cpp +++ b/Sources/Engine/Templates/Stock_CShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CShader.h b/Sources/Engine/Templates/Stock_CShader.h index 81ca9f5..5e177f0 100644 --- a/Sources/Engine/Templates/Stock_CShader.h +++ b/Sources/Engine/Templates/Stock_CShader.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CSHADER_H #define SE_INCL_STOCK_CSHADER_H diff --git a/Sources/Engine/Templates/Stock_CSkeleton.cpp b/Sources/Engine/Templates/Stock_CSkeleton.cpp index 3435386..5dec0a9 100644 --- a/Sources/Engine/Templates/Stock_CSkeleton.cpp +++ b/Sources/Engine/Templates/Stock_CSkeleton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CSkeleton.h b/Sources/Engine/Templates/Stock_CSkeleton.h index 0338277..4964f3b 100644 --- a/Sources/Engine/Templates/Stock_CSkeleton.h +++ b/Sources/Engine/Templates/Stock_CSkeleton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CSKELETON_H #define SE_INCL_STOCK_CSKELETON_H diff --git a/Sources/Engine/Templates/Stock_CSoundData.cpp b/Sources/Engine/Templates/Stock_CSoundData.cpp index 73554b6..9eb22d1 100644 --- a/Sources/Engine/Templates/Stock_CSoundData.cpp +++ b/Sources/Engine/Templates/Stock_CSoundData.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CSoundData.h b/Sources/Engine/Templates/Stock_CSoundData.h index a090842..5417932 100644 --- a/Sources/Engine/Templates/Stock_CSoundData.h +++ b/Sources/Engine/Templates/Stock_CSoundData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CSOUNDDATA_H #define SE_INCL_STOCK_CSOUNDDATA_H diff --git a/Sources/Engine/Templates/Stock_CTextureData.cpp b/Sources/Engine/Templates/Stock_CTextureData.cpp index 208a00a..abbba76 100644 --- a/Sources/Engine/Templates/Stock_CTextureData.cpp +++ b/Sources/Engine/Templates/Stock_CTextureData.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Templates/Stock_CTextureData.h b/Sources/Engine/Templates/Stock_CTextureData.h index 6a3b756..f5045d6 100644 --- a/Sources/Engine/Templates/Stock_CTextureData.h +++ b/Sources/Engine/Templates/Stock_CTextureData.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_STOCK_CTEXTUREDATA_H #define SE_INCL_STOCK_CTEXTUREDATA_H diff --git a/Sources/Engine/Terrain/ArrayHolder.cpp b/Sources/Engine/Terrain/ArrayHolder.cpp index 7e1218d..883a941 100644 --- a/Sources/Engine/Terrain/ArrayHolder.cpp +++ b/Sources/Engine/Terrain/ArrayHolder.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/ArrayHolder.h b/Sources/Engine/Terrain/ArrayHolder.h index 5b03792..f89858e 100644 --- a/Sources/Engine/Terrain/ArrayHolder.h +++ b/Sources/Engine/Terrain/ArrayHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ARRAY_HOLDER_H #define SE_INCL_ARRAY_HOLDER_H @@ -65,4 +78,4 @@ public: INDEX ah_iLod; // this array holder works in this lod }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/Terrain.cpp b/Sources/Engine/Terrain/Terrain.cpp index 8e20278..0b03022 100644 --- a/Sources/Engine/Terrain/Terrain.cpp +++ b/Sources/Engine/Terrain/Terrain.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/Terrain.h b/Sources/Engine/Terrain/Terrain.h index 8abe55c..724aaf1 100644 --- a/Sources/Engine/Terrain/Terrain.h +++ b/Sources/Engine/Terrain/Terrain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_H #define SE_INCL_TERRAIN_H @@ -266,4 +279,4 @@ private: -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/TerrainArchive.cpp b/Sources/Engine/Terrain/TerrainArchive.cpp index 1c924ad..143e80b 100644 --- a/Sources/Engine/Terrain/TerrainArchive.cpp +++ b/Sources/Engine/Terrain/TerrainArchive.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/Terrain/TerrainArchive.h b/Sources/Engine/Terrain/TerrainArchive.h index 80895b0..b436177 100644 --- a/Sources/Engine/Terrain/TerrainArchive.h +++ b/Sources/Engine/Terrain/TerrainArchive.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_ARCHIVE_H #define SE_INCL_TERRAIN_ARCHIVE_H diff --git a/Sources/Engine/Terrain/TerrainEditing.cpp b/Sources/Engine/Terrain/TerrainEditing.cpp index 0103552..7d120b7 100644 --- a/Sources/Engine/Terrain/TerrainEditing.cpp +++ b/Sources/Engine/Terrain/TerrainEditing.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/TerrainEditing.h b/Sources/Engine/Terrain/TerrainEditing.h index 71acc50..2717671 100644 --- a/Sources/Engine/Terrain/TerrainEditing.h +++ b/Sources/Engine/Terrain/TerrainEditing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_EDITING_H #define SE_INCL_TERRAIN_EDITING_H diff --git a/Sources/Engine/Terrain/TerrainLayer.cpp b/Sources/Engine/Terrain/TerrainLayer.cpp index d50a1f1..f1e009a 100644 --- a/Sources/Engine/Terrain/TerrainLayer.cpp +++ b/Sources/Engine/Terrain/TerrainLayer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/TerrainLayer.h b/Sources/Engine/Terrain/TerrainLayer.h index eb27788..357144a 100644 --- a/Sources/Engine/Terrain/TerrainLayer.h +++ b/Sources/Engine/Terrain/TerrainLayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_LAYER_H #define SE_INCL_TERRAIN_LAYER_H @@ -118,4 +131,4 @@ public: FLOAT tl_fTileV; }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/TerrainMisc.cpp b/Sources/Engine/Terrain/TerrainMisc.cpp index f1d5aa4..2688e22 100644 --- a/Sources/Engine/Terrain/TerrainMisc.cpp +++ b/Sources/Engine/Terrain/TerrainMisc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/TerrainMisc.h b/Sources/Engine/Terrain/TerrainMisc.h index 232aa30..717a1c8 100644 --- a/Sources/Engine/Terrain/TerrainMisc.h +++ b/Sources/Engine/Terrain/TerrainMisc.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_MISC_H #define SE_INCL_TERRAIN_MISC_H @@ -45,4 +58,4 @@ FLOAT2D CalculateShadingTexCoords(CTerrain *ptrTerrain, FLOAT3D &vPoint); -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/TerrainRayCasting.cpp b/Sources/Engine/Terrain/TerrainRayCasting.cpp index c846f74..a11d475 100644 --- a/Sources/Engine/Terrain/TerrainRayCasting.cpp +++ b/Sources/Engine/Terrain/TerrainRayCasting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include @@ -532,4 +545,4 @@ void ShowRayPath(CDrawPort *pdp) pdp->SetOrtho(); pdp->PutText(CTString(0,"%g",_fDistance),0,0,0xFFFFFFFF); */ -} \ No newline at end of file +} diff --git a/Sources/Engine/Terrain/TerrainRayCasting.h b/Sources/Engine/Terrain/TerrainRayCasting.h index 9f8dca1..c83550a 100644 --- a/Sources/Engine/Terrain/TerrainRayCasting.h +++ b/Sources/Engine/Terrain/TerrainRayCasting.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_RAY_CASTING_H #define SE_INCL_TERRAIN_RAY_CASTING_H @@ -13,4 +26,4 @@ FLOAT TestRayCastHit(CTerrain *ptrTerrain, const FLOATmatrix3D &mRotation, const FLOAT TestRayCastHit(CTerrain *ptrTerrain, const FLOATmatrix3D &mRotation, const FLOAT3D &vPosition, const FLOAT3D &vOrigin, const FLOAT3D &vTarget,const FLOAT fOldDistance, const BOOL bHitInvisibleTris, FLOATplane3D &plHitPlane, FLOAT3D &vHitPoint); -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/TerrainRender.cpp b/Sources/Engine/Terrain/TerrainRender.cpp index a9cd5f8..e1ba46b 100644 --- a/Sources/Engine/Terrain/TerrainRender.cpp +++ b/Sources/Engine/Terrain/TerrainRender.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/TerrainRender.h b/Sources/Engine/Terrain/TerrainRender.h index 94b313d..9aa407d 100644 --- a/Sources/Engine/Terrain/TerrainRender.h +++ b/Sources/Engine/Terrain/TerrainRender.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_RENDER_H #define SE_INCL_TERRAIN_RENDER_H @@ -23,4 +36,4 @@ void DrawSelectedVertices(GFXVertex *pavVertices, GFXColor *pacolColors, INDEX c SLONG GetUsedMemoryForTileBatching(void); -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/Terrain/TerrainTile.cpp b/Sources/Engine/Terrain/TerrainTile.cpp index d0bb2b1..030da3b 100644 --- a/Sources/Engine/Terrain/TerrainTile.cpp +++ b/Sources/Engine/Terrain/TerrainTile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/Engine/Terrain/TerrainTile.h b/Sources/Engine/Terrain/TerrainTile.h index 2c2fc74..9edb694 100644 --- a/Sources/Engine/Terrain/TerrainTile.h +++ b/Sources/Engine/Terrain/TerrainTile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_TERRAIN_TILE_H #define SE_INCL_TERRAIN_TILE_H @@ -103,4 +116,4 @@ private: }; -#endif \ No newline at end of file +#endif diff --git a/Sources/Engine/World/PhysicsProfile.cpp b/Sources/Engine/World/PhysicsProfile.cpp index adb34cd..3a41d2c 100644 --- a/Sources/Engine/World/PhysicsProfile.cpp +++ b/Sources/Engine/World/PhysicsProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/World/PhysicsProfile.h b/Sources/Engine/World/PhysicsProfile.h index 10698fe..5b7aa11 100644 --- a/Sources/Engine/World/PhysicsProfile.h +++ b/Sources/Engine/World/PhysicsProfile.h @@ -1,9 +1,20 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -/* - * S-Cape3D 3D game engine library - * Copyright (c) 1997-1998, CroTeam. All rights reserved. - */ + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +S-Cape3D 3D game engine library +Copyright (c) 1997-1998, CroTeam. */ #ifndef __ENGINE_BASE_PROFILING_H__ #include diff --git a/Sources/Engine/World/World.cpp b/Sources/Engine/World/World.cpp index 00fb6f1..48a043c 100644 --- a/Sources/Engine/World/World.cpp +++ b/Sources/Engine/World/World.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" @@ -1143,4 +1156,4 @@ void CWorld::ClearMarkedForUseFlag(void) } } } -} \ No newline at end of file +} diff --git a/Sources/Engine/World/World.h b/Sources/Engine/World/World.h index f41c7c0..8dc9990 100644 --- a/Sources/Engine/World/World.h +++ b/Sources/Engine/World/World.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WORLD_H #define SE_INCL_WORLD_H diff --git a/Sources/Engine/World/WorldCSG.cpp b/Sources/Engine/World/WorldCSG.cpp index 46601b1..1e6b1a9 100644 --- a/Sources/Engine/World/WorldCSG.cpp +++ b/Sources/Engine/World/WorldCSG.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/World/WorldCollision.cpp b/Sources/Engine/World/WorldCollision.cpp index d8475e2..8955aae 100644 --- a/Sources/Engine/World/WorldCollision.cpp +++ b/Sources/Engine/World/WorldCollision.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.H" diff --git a/Sources/Engine/World/WorldCollision.h b/Sources/Engine/World/WorldCollision.h index c527b0d..042e587 100644 --- a/Sources/Engine/World/WorldCollision.h +++ b/Sources/Engine/World/WorldCollision.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WORLDCOLLISION_H #define SE_INCL_WORLDCOLLISION_H diff --git a/Sources/Engine/World/WorldCollisionGrid.cpp b/Sources/Engine/World/WorldCollisionGrid.cpp index d12fd8f..388c724 100644 --- a/Sources/Engine/World/WorldCollisionGrid.cpp +++ b/Sources/Engine/World/WorldCollisionGrid.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.H" @@ -442,4 +455,4 @@ extern SLONG GetCollisionGridMemory( CCollisionGrid *pcg) slUsedMemory += pcg->cg_agcCells.aa_aiFreeElements.sa_Count * sizeof(INDEX); slUsedMemory += pcg->cg_ageEntries.aa_aiFreeElements.sa_Count * sizeof(INDEX); return slUsedMemory; -} \ No newline at end of file +} diff --git a/Sources/Engine/World/WorldEditingProfile.cpp b/Sources/Engine/World/WorldEditingProfile.cpp index c31f2e3..1653caa 100644 --- a/Sources/Engine/World/WorldEditingProfile.cpp +++ b/Sources/Engine/World/WorldEditingProfile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/World/WorldEditingProfile.h b/Sources/Engine/World/WorldEditingProfile.h index c4bca67..7658f21 100644 --- a/Sources/Engine/World/WorldEditingProfile.h +++ b/Sources/Engine/World/WorldEditingProfile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WORLDEDITINGPROFILE_H #define SE_INCL_WORLDEDITINGPROFILE_H diff --git a/Sources/Engine/World/WorldIO.cpp b/Sources/Engine/World/WorldIO.cpp index f97e53a..8819771 100644 --- a/Sources/Engine/World/WorldIO.cpp +++ b/Sources/Engine/World/WorldIO.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/World/WorldRayCasting.cpp b/Sources/Engine/World/WorldRayCasting.cpp index c0787c3..eb85e5c 100644 --- a/Sources/Engine/World/WorldRayCasting.cpp +++ b/Sources/Engine/World/WorldRayCasting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/Engine/World/WorldRayCasting.h b/Sources/Engine/World/WorldRayCasting.h index 2bffad7..941eb40 100644 --- a/Sources/Engine/World/WorldRayCasting.h +++ b/Sources/Engine/World/WorldRayCasting.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WORLDRAYCASTING_H #define SE_INCL_WORLDRAYCASTING_H diff --git a/Sources/Engine/World/WorldSettings.h b/Sources/Engine/World/WorldSettings.h index 35c5b73..b195449 100644 --- a/Sources/Engine/World/WorldSettings.h +++ b/Sources/Engine/World/WorldSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_WORLDSETTINGS_H #define SE_INCL_WORLDSETTINGS_H diff --git a/Sources/Engine/temp.h b/Sources/Engine/temp.h index 1a53b22..d70515e 100644 --- a/Sources/Engine/temp.h +++ b/Sources/Engine/temp.h @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/EngineGui/DlgChooseTextureType.cpp b/Sources/EngineGui/DlgChooseTextureType.cpp index 16a322e..ee39fe6 100644 --- a/Sources/EngineGui/DlgChooseTextureType.cpp +++ b/Sources/EngineGui/DlgChooseTextureType.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgChooseTextureType.cpp : implementation file // diff --git a/Sources/EngineGui/DlgChooseTextureType.h b/Sources/EngineGui/DlgChooseTextureType.h index 0a19b95..5baac65 100644 --- a/Sources/EngineGui/DlgChooseTextureType.h +++ b/Sources/EngineGui/DlgChooseTextureType.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCHOOSETEXTURETYPE_H__C517CED1_FA6C_11D1_82E9_000000000000__INCLUDED_) #define AFX_DLGCHOOSETEXTURETYPE_H__C517CED1_FA6C_11D1_82E9_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/DlgCreateAnimatedTexture.cpp b/Sources/EngineGui/DlgCreateAnimatedTexture.cpp index 6c87607..ab82428 100644 --- a/Sources/EngineGui/DlgCreateAnimatedTexture.cpp +++ b/Sources/EngineGui/DlgCreateAnimatedTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateAnimatedTexture.cpp : implementation file // diff --git a/Sources/EngineGui/DlgCreateAnimatedTexture.h b/Sources/EngineGui/DlgCreateAnimatedTexture.h index 41cd2f1..f248a90 100644 --- a/Sources/EngineGui/DlgCreateAnimatedTexture.h +++ b/Sources/EngineGui/DlgCreateAnimatedTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCREATEANIMATEDTEXTURE_H__C517CED3_FA6C_11D1_82E9_000000000000__INCLUDED_) #define AFX_DLGCREATEANIMATEDTEXTURE_H__C517CED3_FA6C_11D1_82E9_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/DlgCreateEffectTexture.cpp b/Sources/EngineGui/DlgCreateEffectTexture.cpp index 0b98b3c..d81968d 100644 --- a/Sources/EngineGui/DlgCreateEffectTexture.cpp +++ b/Sources/EngineGui/DlgCreateEffectTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateEffectTexture.cpp : implementation file // diff --git a/Sources/EngineGui/DlgCreateEffectTexture.h b/Sources/EngineGui/DlgCreateEffectTexture.h index eeae4aa..b680a45 100644 --- a/Sources/EngineGui/DlgCreateEffectTexture.h +++ b/Sources/EngineGui/DlgCreateEffectTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCREATEEFFECTTEXTURE_H__C517CED4_FA6C_11D1_82E9_000000000000__INCLUDED_) #define AFX_DLGCREATEEFFECTTEXTURE_H__C517CED4_FA6C_11D1_82E9_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/DlgCreateNormalTexture.cpp b/Sources/EngineGui/DlgCreateNormalTexture.cpp index 5efa23f..f15c2bb 100644 --- a/Sources/EngineGui/DlgCreateNormalTexture.cpp +++ b/Sources/EngineGui/DlgCreateNormalTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateNormalTexture.cpp : implementation file // diff --git a/Sources/EngineGui/DlgCreateNormalTexture.h b/Sources/EngineGui/DlgCreateNormalTexture.h index 50ea5e8..eec7109 100644 --- a/Sources/EngineGui/DlgCreateNormalTexture.h +++ b/Sources/EngineGui/DlgCreateNormalTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCREATENORMALTEXTURE_H__C517CED2_FA6C_11D1_82E9_000000000000__INCLUDED_) #define AFX_DLGCREATENORMALTEXTURE_H__C517CED2_FA6C_11D1_82E9_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/DlgSelectMode.cpp b/Sources/EngineGui/DlgSelectMode.cpp index 2044e7c..02b0340 100644 --- a/Sources/EngineGui/DlgSelectMode.cpp +++ b/Sources/EngineGui/DlgSelectMode.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgSelectMode.cpp : implementation file // diff --git a/Sources/EngineGui/DlgSelectMode.h b/Sources/EngineGui/DlgSelectMode.h index e0bc832..18f85dc 100644 --- a/Sources/EngineGui/DlgSelectMode.h +++ b/Sources/EngineGui/DlgSelectMode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGSELECTMODE_H__F71966B3_C31A_11D1_8231_000000000000__INCLUDED_) #define AFX_DLGSELECTMODE_H__F71966B3_C31A_11D1_8231_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/EngineGUI.cpp b/Sources/EngineGui/EngineGUI.cpp index 1017308..0898493 100644 --- a/Sources/EngineGui/EngineGUI.cpp +++ b/Sources/EngineGui/EngineGUI.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/EngineGui/EngineGUI.h b/Sources/EngineGui/EngineGUI.h index 1e3bb52..320faaf 100644 --- a/Sources/EngineGui/EngineGUI.h +++ b/Sources/EngineGui/EngineGUI.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/Sources/EngineGui/FileRequester.cpp b/Sources/EngineGui/FileRequester.cpp index 59c551e..3cd3685 100644 --- a/Sources/EngineGui/FileRequester.cpp +++ b/Sources/EngineGui/FileRequester.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/EngineGui/StdH.cpp b/Sources/EngineGui/StdH.cpp index 95c0896..322326e 100644 --- a/Sources/EngineGui/StdH.cpp +++ b/Sources/EngineGui/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/EngineGui/StdH.h b/Sources/EngineGui/StdH.h index af830d7..8932afc 100644 --- a/Sources/EngineGui/StdH.h +++ b/Sources/EngineGui/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include // MFC support for Windows Common Controls #include diff --git a/Sources/EngineGui/WndDisplayTexture.cpp b/Sources/EngineGui/WndDisplayTexture.cpp index e3f0aac..2f45c6c 100644 --- a/Sources/EngineGui/WndDisplayTexture.cpp +++ b/Sources/EngineGui/WndDisplayTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndDisplayTexture.cpp : implementation file // @@ -296,4 +309,4 @@ void CWndDisplayTexture::OnMouseMove(UINT nFlags, CPoint point) } CWnd::OnMouseMove(nFlags, point); -} \ No newline at end of file +} diff --git a/Sources/EngineGui/WndDisplayTexture.h b/Sources/EngineGui/WndDisplayTexture.h index 1b78e79..a8bd574 100644 --- a/Sources/EngineGui/WndDisplayTexture.h +++ b/Sources/EngineGui/WndDisplayTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_WNDDISPLAYTEXTURE_H__4B489BC1_FAD9_11D1_82EA_000000000000__INCLUDED_) #define AFX_WNDDISPLAYTEXTURE_H__4B489BC1_FAD9_11D1_82EA_000000000000__INCLUDED_ diff --git a/Sources/EngineGui/resource.h b/Sources/EngineGui/resource.h index 53f7b44..1a53552 100644 --- a/Sources/EngineGui/resource.h +++ b/Sources/EngineGui/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/EntitiesMP/AirElemental.es b/Sources/EntitiesMP/AirElemental.es index 8c38102..1f9cd40 100644 --- a/Sources/EntitiesMP/AirElemental.es +++ b/Sources/EntitiesMP/AirElemental.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 347 %{ diff --git a/Sources/EntitiesMP/AirShockwave.es b/Sources/EntitiesMP/AirShockwave.es index fc23fad..bc393d1 100644 --- a/Sources/EntitiesMP/AirShockwave.es +++ b/Sources/EntitiesMP/AirShockwave.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WARNING: probable sync bads, doesn't work right diff --git a/Sources/EntitiesMP/AmmoItem.es b/Sources/EntitiesMP/AmmoItem.es index 27e539b..3dcd522 100644 --- a/Sources/EntitiesMP/AmmoItem.es +++ b/Sources/EntitiesMP/AmmoItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 803 %{ diff --git a/Sources/EntitiesMP/AmmoPack.es b/Sources/EntitiesMP/AmmoPack.es index 7433a23..044e5a8 100644 --- a/Sources/EntitiesMP/AmmoPack.es +++ b/Sources/EntitiesMP/AmmoPack.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 806 %{ diff --git a/Sources/EntitiesMP/AnimationChanger.es b/Sources/EntitiesMP/AnimationChanger.es index c9ce1d1..096a124 100644 --- a/Sources/EntitiesMP/AnimationChanger.es +++ b/Sources/EntitiesMP/AnimationChanger.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 218 %{ diff --git a/Sources/EntitiesMP/AnimationHub.es b/Sources/EntitiesMP/AnimationHub.es index 577976e..3aee508 100644 --- a/Sources/EntitiesMP/AnimationHub.es +++ b/Sources/EntitiesMP/AnimationHub.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 228 %{ diff --git a/Sources/EntitiesMP/AreaMarker.es b/Sources/EntitiesMP/AreaMarker.es index 076898a..80adf04 100644 --- a/Sources/EntitiesMP/AreaMarker.es +++ b/Sources/EntitiesMP/AreaMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 202 %{ diff --git a/Sources/EntitiesMP/ArmorItem.es b/Sources/EntitiesMP/ArmorItem.es index b0c1db0..19225e1 100644 --- a/Sources/EntitiesMP/ArmorItem.es +++ b/Sources/EntitiesMP/ArmorItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 804 %{ diff --git a/Sources/EntitiesMP/BackgroundViewer.es b/Sources/EntitiesMP/BackgroundViewer.es index 7d3b9f5..e8fb9a2 100644 --- a/Sources/EntitiesMP/BackgroundViewer.es +++ b/Sources/EntitiesMP/BackgroundViewer.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 211 %{ diff --git a/Sources/EntitiesMP/BasicEffects.es b/Sources/EntitiesMP/BasicEffects.es index 27d247c..475d6ab 100644 --- a/Sources/EntitiesMP/BasicEffects.es +++ b/Sources/EntitiesMP/BasicEffects.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 601 %{ diff --git a/Sources/EntitiesMP/Beast.es b/Sources/EntitiesMP/Beast.es index 478afd1..8227d85 100644 --- a/Sources/EntitiesMP/Beast.es +++ b/Sources/EntitiesMP/Beast.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 336 diff --git a/Sources/EntitiesMP/BigHead.es b/Sources/EntitiesMP/BigHead.es index 2583066..e737557 100644 --- a/Sources/EntitiesMP/BigHead.es +++ b/Sources/EntitiesMP/BigHead.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 340 %{ diff --git a/Sources/EntitiesMP/BlendController.es b/Sources/EntitiesMP/BlendController.es index 1eff42e..48e2316 100644 --- a/Sources/EntitiesMP/BlendController.es +++ b/Sources/EntitiesMP/BlendController.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 612 %{ diff --git a/Sources/EntitiesMP/BloodSpray.es b/Sources/EntitiesMP/BloodSpray.es index 8d48e09..9e46aca 100644 --- a/Sources/EntitiesMP/BloodSpray.es +++ b/Sources/EntitiesMP/BloodSpray.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 603 %{ diff --git a/Sources/EntitiesMP/Boneman.es b/Sources/EntitiesMP/Boneman.es index 5379529..47bd053 100644 --- a/Sources/EntitiesMP/Boneman.es +++ b/Sources/EntitiesMP/Boneman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 305 %{ diff --git a/Sources/EntitiesMP/Bouncer.es b/Sources/EntitiesMP/Bouncer.es index e448d2b..b3f19ff 100644 --- a/Sources/EntitiesMP/Bouncer.es +++ b/Sources/EntitiesMP/Bouncer.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 105 %{ diff --git a/Sources/EntitiesMP/Bullet.es b/Sources/EntitiesMP/Bullet.es index 9dd2218..1e4bf57 100644 --- a/Sources/EntitiesMP/Bullet.es +++ b/Sources/EntitiesMP/Bullet.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 502 %{ diff --git a/Sources/EntitiesMP/Camera.es b/Sources/EntitiesMP/Camera.es index bf61ea2..b01ab3b 100644 --- a/Sources/EntitiesMP/Camera.es +++ b/Sources/EntitiesMP/Camera.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 220 %{ diff --git a/Sources/EntitiesMP/CameraMarker.es b/Sources/EntitiesMP/CameraMarker.es index b7ed4dc..a24c1d0 100644 --- a/Sources/EntitiesMP/CameraMarker.es +++ b/Sources/EntitiesMP/CameraMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 224 %{ diff --git a/Sources/EntitiesMP/CannonBall.es b/Sources/EntitiesMP/CannonBall.es index 408ce8f..cb17023 100644 --- a/Sources/EntitiesMP/CannonBall.es +++ b/Sources/EntitiesMP/CannonBall.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 506 %{ diff --git a/Sources/EntitiesMP/CannonRotating.es b/Sources/EntitiesMP/CannonRotating.es index 04a95e6..dfd6406 100644 --- a/Sources/EntitiesMP/CannonRotating.es +++ b/Sources/EntitiesMP/CannonRotating.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 345 %{ diff --git a/Sources/EntitiesMP/CannonStatic.es b/Sources/EntitiesMP/CannonStatic.es index af71f62..e38be96 100644 --- a/Sources/EntitiesMP/CannonStatic.es +++ b/Sources/EntitiesMP/CannonStatic.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 345 %{ diff --git a/Sources/EntitiesMP/ChainsawFreak.es b/Sources/EntitiesMP/ChainsawFreak.es index e7f2b29..c491a7f 100644 --- a/Sources/EntitiesMP/ChainsawFreak.es +++ b/Sources/EntitiesMP/ChainsawFreak.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 342 %{ diff --git a/Sources/EntitiesMP/Common/Common.cpp b/Sources/EntitiesMP/Common/Common.cpp index 9de8dbb..ad13aec 100644 --- a/Sources/EntitiesMP/Common/Common.cpp +++ b/Sources/EntitiesMP/Common/Common.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/EntitiesMP/Common/Common.h b/Sources/EntitiesMP/Common/Common.h index 7a1a030..0cbf88c 100644 --- a/Sources/EntitiesMP/Common/Common.h +++ b/Sources/EntitiesMP/Common/Common.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // common headers for flesh entity classes diff --git a/Sources/EntitiesMP/Common/EmanatingParticles.cpp b/Sources/EntitiesMP/Common/EmanatingParticles.cpp index 7de4cf4..25e430f 100644 --- a/Sources/EntitiesMP/Common/EmanatingParticles.cpp +++ b/Sources/EntitiesMP/Common/EmanatingParticles.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/EntitiesMP/Common/EmanatingParticles.h b/Sources/EntitiesMP/Common/EmanatingParticles.h index 5a24ce5..7caec56 100644 --- a/Sources/EntitiesMP/Common/EmanatingParticles.h +++ b/Sources/EntitiesMP/Common/EmanatingParticles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // type of emiters enum CEmiterType { diff --git a/Sources/EntitiesMP/Common/Flags.h b/Sources/EntitiesMP/Common/Flags.h index 4a81bcf..cdaacd4 100644 --- a/Sources/EntitiesMP/Common/Flags.h +++ b/Sources/EntitiesMP/Common/Flags.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FLAGS_H #define SE_INCL_FLAGS_H diff --git a/Sources/EntitiesMP/Common/GameInterface.h b/Sources/EntitiesMP/Common/GameInterface.h index 760643f..cb91c32 100644 --- a/Sources/EntitiesMP/Common/GameInterface.h +++ b/Sources/EntitiesMP/Common/GameInterface.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // interfacing between CGame and entities #ifndef SE_INCL_GAMEINTERFACE_H diff --git a/Sources/EntitiesMP/Common/HUD.cpp b/Sources/EntitiesMP/Common/HUD.cpp index ed99c06..f50a34e 100644 --- a/Sources/EntitiesMP/Common/HUD.cpp +++ b/Sources/EntitiesMP/Common/HUD.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/EntitiesMP/Common/Particles.cpp b/Sources/EntitiesMP/Common/Particles.cpp index 4edbf9d..083be8c 100644 --- a/Sources/EntitiesMP/Common/Particles.cpp +++ b/Sources/EntitiesMP/Common/Particles.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "EntitiesMP/BloodSpray.h" diff --git a/Sources/EntitiesMP/Common/Particles.h b/Sources/EntitiesMP/Common/Particles.h index 1c036cd..299d7a7 100644 --- a/Sources/EntitiesMP/Common/Particles.h +++ b/Sources/EntitiesMP/Common/Particles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // init particle effects void DECL_DLL InitParticles(void); diff --git a/Sources/EntitiesMP/Common/PathFinding.cpp b/Sources/EntitiesMP/Common/PathFinding.cpp index 014e0ef..82306a4 100644 --- a/Sources/EntitiesMP/Common/PathFinding.cpp +++ b/Sources/EntitiesMP/Common/PathFinding.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "EntitiesMP/Common/PathFinding.h" @@ -279,4 +292,4 @@ void PATH_FindNextMarker(CEntity *penThis, const FLOAT3D &vSrc, const FLOAT3D &v // clean up ClearPath(penThis); -} \ No newline at end of file +} diff --git a/Sources/EntitiesMP/Common/PathFinding.h b/Sources/EntitiesMP/Common/PathFinding.h index 5111e4c..85a4563 100644 --- a/Sources/EntitiesMP/Common/PathFinding.h +++ b/Sources/EntitiesMP/Common/PathFinding.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PATHFINDING_H #define SE_INCL_PATHFINDING_H diff --git a/Sources/EntitiesMP/Common/Stats.cpp b/Sources/EntitiesMP/Common/Stats.cpp index 1a53b22..d70515e 100644 --- a/Sources/EntitiesMP/Common/Stats.cpp +++ b/Sources/EntitiesMP/Common/Stats.cpp @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/EntitiesMP/Common/WeaponPositions.h b/Sources/EntitiesMP/Common/WeaponPositions.h index 936a235..1648948 100644 --- a/Sources/EntitiesMP/Common/WeaponPositions.h +++ b/Sources/EntitiesMP/Common/WeaponPositions.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if 0 // use this part when manually setting weapon positions diff --git a/Sources/EntitiesMP/Copier.es b/Sources/EntitiesMP/Copier.es index 938bcc2..a455b8f 100644 --- a/Sources/EntitiesMP/Copier.es +++ b/Sources/EntitiesMP/Copier.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 225 %{ diff --git a/Sources/EntitiesMP/Counter.es b/Sources/EntitiesMP/Counter.es index e495394..5fb0e2e 100644 --- a/Sources/EntitiesMP/Counter.es +++ b/Sources/EntitiesMP/Counter.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 232 %{ diff --git a/Sources/EntitiesMP/CrateBus.es b/Sources/EntitiesMP/CrateBus.es index 454b54f..d795355 100644 --- a/Sources/EntitiesMP/CrateBus.es +++ b/Sources/EntitiesMP/CrateBus.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 352 %{ diff --git a/Sources/EntitiesMP/CrateRider.es b/Sources/EntitiesMP/CrateRider.es index 8902626..d4f7192 100644 --- a/Sources/EntitiesMP/CrateRider.es +++ b/Sources/EntitiesMP/CrateRider.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 341 %{ diff --git a/Sources/EntitiesMP/CreditsHolder.es b/Sources/EntitiesMP/CreditsHolder.es index 98f6831..3c9e05b 100644 --- a/Sources/EntitiesMP/CreditsHolder.es +++ b/Sources/EntitiesMP/CreditsHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 240 %{ diff --git a/Sources/EntitiesMP/Damager.es b/Sources/EntitiesMP/Damager.es index 3a128a8..6593867 100644 --- a/Sources/EntitiesMP/Damager.es +++ b/Sources/EntitiesMP/Damager.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 229 %{ diff --git a/Sources/EntitiesMP/Debris.es b/Sources/EntitiesMP/Debris.es index 4fc7852..d694a8e 100644 --- a/Sources/EntitiesMP/Debris.es +++ b/Sources/EntitiesMP/Debris.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 602 %{ diff --git a/Sources/EntitiesMP/DebugEntityStatesDisplay.es b/Sources/EntitiesMP/DebugEntityStatesDisplay.es index 40bd4c3..a9d50a8 100644 --- a/Sources/EntitiesMP/DebugEntityStatesDisplay.es +++ b/Sources/EntitiesMP/DebugEntityStatesDisplay.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 233 %{ diff --git a/Sources/EntitiesMP/Demon.es b/Sources/EntitiesMP/Demon.es index d29f1d2..404015a 100644 --- a/Sources/EntitiesMP/Demon.es +++ b/Sources/EntitiesMP/Demon.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 336 diff --git a/Sources/EntitiesMP/DestroyableArchitecture.es b/Sources/EntitiesMP/DestroyableArchitecture.es index dfabe3a..619ddf9 100644 --- a/Sources/EntitiesMP/DestroyableArchitecture.es +++ b/Sources/EntitiesMP/DestroyableArchitecture.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 107 %{ diff --git a/Sources/EntitiesMP/Devil.es b/Sources/EntitiesMP/Devil.es index b6bef7b..4864dc5 100644 --- a/Sources/EntitiesMP/Devil.es +++ b/Sources/EntitiesMP/Devil.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 332 %{ diff --git a/Sources/EntitiesMP/DevilMarker.es b/Sources/EntitiesMP/DevilMarker.es index 5ad4086..185b874 100644 --- a/Sources/EntitiesMP/DevilMarker.es +++ b/Sources/EntitiesMP/DevilMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 338 %{ diff --git a/Sources/EntitiesMP/DevilProjectile.es b/Sources/EntitiesMP/DevilProjectile.es index 1ad487d..a5eb3aa 100644 --- a/Sources/EntitiesMP/DevilProjectile.es +++ b/Sources/EntitiesMP/DevilProjectile.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 511 %{ diff --git a/Sources/EntitiesMP/DoorController.es b/Sources/EntitiesMP/DoorController.es index be33e81..6655e68 100644 --- a/Sources/EntitiesMP/DoorController.es +++ b/Sources/EntitiesMP/DoorController.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 221 %{ diff --git a/Sources/EntitiesMP/Dragonman.es b/Sources/EntitiesMP/Dragonman.es index 14bd415..25e1f64 100644 --- a/Sources/EntitiesMP/Dragonman.es +++ b/Sources/EntitiesMP/Dragonman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 321 %{ diff --git a/Sources/EntitiesMP/EffectMarker.es b/Sources/EntitiesMP/EffectMarker.es index 6b117ba..55e6a0f 100644 --- a/Sources/EntitiesMP/EffectMarker.es +++ b/Sources/EntitiesMP/EffectMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 611 %{ diff --git a/Sources/EntitiesMP/Effector.es b/Sources/EntitiesMP/Effector.es index 5e86bed..800376f 100644 --- a/Sources/EntitiesMP/Effector.es +++ b/Sources/EntitiesMP/Effector.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 608 %{ diff --git a/Sources/EntitiesMP/Elemental.es b/Sources/EntitiesMP/Elemental.es index 83ef834..433687a 100644 --- a/Sources/EntitiesMP/Elemental.es +++ b/Sources/EntitiesMP/Elemental.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 322 %{ diff --git a/Sources/EntitiesMP/EnemyBase.es b/Sources/EntitiesMP/EnemyBase.es index f1bfda8..6605ec3 100644 --- a/Sources/EntitiesMP/EnemyBase.es +++ b/Sources/EntitiesMP/EnemyBase.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 310 %{ diff --git a/Sources/EntitiesMP/EnemyCounter.es b/Sources/EntitiesMP/EnemyCounter.es index 1e4b1d7..7517fc9 100644 --- a/Sources/EntitiesMP/EnemyCounter.es +++ b/Sources/EntitiesMP/EnemyCounter.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 339 %{ diff --git a/Sources/EntitiesMP/EnemyDive.es b/Sources/EntitiesMP/EnemyDive.es index dd2748a..db868ab 100644 --- a/Sources/EntitiesMP/EnemyDive.es +++ b/Sources/EntitiesMP/EnemyDive.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 313 %{ diff --git a/Sources/EntitiesMP/EnemyFly.es b/Sources/EntitiesMP/EnemyFly.es index 18ded8d..bfe9082 100644 --- a/Sources/EntitiesMP/EnemyFly.es +++ b/Sources/EntitiesMP/EnemyFly.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 311 %{ diff --git a/Sources/EntitiesMP/EnemyMarker.es b/Sources/EntitiesMP/EnemyMarker.es index 81ed961..6ba67fa 100644 --- a/Sources/EntitiesMP/EnemyMarker.es +++ b/Sources/EntitiesMP/EnemyMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 302 %{ diff --git a/Sources/EntitiesMP/EnemyRunInto.es b/Sources/EntitiesMP/EnemyRunInto.es index 0fada69..3e1f592 100644 --- a/Sources/EntitiesMP/EnemyRunInto.es +++ b/Sources/EntitiesMP/EnemyRunInto.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 312 %{ diff --git a/Sources/EntitiesMP/EnemySpawner.es b/Sources/EntitiesMP/EnemySpawner.es index 7c2dd3a..526763e 100644 --- a/Sources/EntitiesMP/EnemySpawner.es +++ b/Sources/EntitiesMP/EnemySpawner.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 304 %{ diff --git a/Sources/EntitiesMP/EnvironmentBase.es b/Sources/EntitiesMP/EnvironmentBase.es index 97add26..93d1b87 100644 --- a/Sources/EntitiesMP/EnvironmentBase.es +++ b/Sources/EntitiesMP/EnvironmentBase.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 900 %{ diff --git a/Sources/EntitiesMP/EnvironmentMarker.es b/Sources/EntitiesMP/EnvironmentMarker.es index 70f17b5..8ad669e 100644 --- a/Sources/EntitiesMP/EnvironmentMarker.es +++ b/Sources/EntitiesMP/EnvironmentMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 901 %{ diff --git a/Sources/EntitiesMP/EnvironmentParticlesHolder.es b/Sources/EntitiesMP/EnvironmentParticlesHolder.es index a884511..03a37d0 100644 --- a/Sources/EntitiesMP/EnvironmentParticlesHolder.es +++ b/Sources/EntitiesMP/EnvironmentParticlesHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 237 %{ diff --git a/Sources/EntitiesMP/Eruptor.es b/Sources/EntitiesMP/Eruptor.es index 75bd049..768f069 100644 --- a/Sources/EntitiesMP/Eruptor.es +++ b/Sources/EntitiesMP/Eruptor.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 213 %{ diff --git a/Sources/EntitiesMP/ExotechLarva.es b/Sources/EntitiesMP/ExotechLarva.es index 336aa47..354662d 100644 --- a/Sources/EntitiesMP/ExotechLarva.es +++ b/Sources/EntitiesMP/ExotechLarva.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 346 %{ diff --git a/Sources/EntitiesMP/ExotechLarvaBattery.es b/Sources/EntitiesMP/ExotechLarvaBattery.es index 34bb55a..458a099 100644 --- a/Sources/EntitiesMP/ExotechLarvaBattery.es +++ b/Sources/EntitiesMP/ExotechLarvaBattery.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 351 %{ diff --git a/Sources/EntitiesMP/ExotechLarvaCharger.es b/Sources/EntitiesMP/ExotechLarvaCharger.es index 3a0f3de..86d30f3 100644 --- a/Sources/EntitiesMP/ExotechLarvaCharger.es +++ b/Sources/EntitiesMP/ExotechLarvaCharger.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 351 %{ diff --git a/Sources/EntitiesMP/Eyeman.es b/Sources/EntitiesMP/Eyeman.es index 3c7cca4..5f1fc9b 100644 --- a/Sources/EntitiesMP/Eyeman.es +++ b/Sources/EntitiesMP/Eyeman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 323 %{ diff --git a/Sources/EntitiesMP/Fireworks.es b/Sources/EntitiesMP/Fireworks.es index 877ccf0..6505e0d 100644 --- a/Sources/EntitiesMP/Fireworks.es +++ b/Sources/EntitiesMP/Fireworks.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 616 %{ diff --git a/Sources/EntitiesMP/Fish.es b/Sources/EntitiesMP/Fish.es index 8500336..ebc679f 100644 --- a/Sources/EntitiesMP/Fish.es +++ b/Sources/EntitiesMP/Fish.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 337 %{ diff --git a/Sources/EntitiesMP/Flame.es b/Sources/EntitiesMP/Flame.es index c93a218..26c5bdd 100644 --- a/Sources/EntitiesMP/Flame.es +++ b/Sources/EntitiesMP/Flame.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 504 %{ diff --git a/Sources/EntitiesMP/FogMarker.es b/Sources/EntitiesMP/FogMarker.es index ad4f878..ad3c7bf 100644 --- a/Sources/EntitiesMP/FogMarker.es +++ b/Sources/EntitiesMP/FogMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 215 %{ diff --git a/Sources/EntitiesMP/Gizmo.es b/Sources/EntitiesMP/Gizmo.es index 2c6be11..3904eaa 100644 --- a/Sources/EntitiesMP/Gizmo.es +++ b/Sources/EntitiesMP/Gizmo.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 335 %{ diff --git a/Sources/EntitiesMP/Global.es b/Sources/EntitiesMP/Global.es index 90a7785..e70980a 100644 --- a/Sources/EntitiesMP/Global.es +++ b/Sources/EntitiesMP/Global.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 0 %{ diff --git a/Sources/EntitiesMP/GradientMarker.es b/Sources/EntitiesMP/GradientMarker.es index 8a86bac..b314355 100644 --- a/Sources/EntitiesMP/GradientMarker.es +++ b/Sources/EntitiesMP/GradientMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 230 %{ diff --git a/Sources/EntitiesMP/GravityMarker.es b/Sources/EntitiesMP/GravityMarker.es index 5880f97..f52c6a7 100644 --- a/Sources/EntitiesMP/GravityMarker.es +++ b/Sources/EntitiesMP/GravityMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 212 %{ diff --git a/Sources/EntitiesMP/GravityRouter.es b/Sources/EntitiesMP/GravityRouter.es index 5794885..0a311b2 100644 --- a/Sources/EntitiesMP/GravityRouter.es +++ b/Sources/EntitiesMP/GravityRouter.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 227 %{ diff --git a/Sources/EntitiesMP/Grunt.es b/Sources/EntitiesMP/Grunt.es index 16a1c28..f1c23cc 100644 --- a/Sources/EntitiesMP/Grunt.es +++ b/Sources/EntitiesMP/Grunt.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 343 %{ diff --git a/Sources/EntitiesMP/GruntSka.es b/Sources/EntitiesMP/GruntSka.es index ec2a1c7..34abf03 100644 --- a/Sources/EntitiesMP/GruntSka.es +++ b/Sources/EntitiesMP/GruntSka.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 343 %{ diff --git a/Sources/EntitiesMP/Guffy.es b/Sources/EntitiesMP/Guffy.es index aeb4f36..8988a71 100644 --- a/Sources/EntitiesMP/Guffy.es +++ b/Sources/EntitiesMP/Guffy.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 344 %{ diff --git a/Sources/EntitiesMP/HazeMarker.es b/Sources/EntitiesMP/HazeMarker.es index 53f4434..10dcaa8 100644 --- a/Sources/EntitiesMP/HazeMarker.es +++ b/Sources/EntitiesMP/HazeMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 216 %{ diff --git a/Sources/EntitiesMP/Headman.es b/Sources/EntitiesMP/Headman.es index d2458c1..187a88d 100644 --- a/Sources/EntitiesMP/Headman.es +++ b/Sources/EntitiesMP/Headman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 303 %{ diff --git a/Sources/EntitiesMP/HealthItem.es b/Sources/EntitiesMP/HealthItem.es index 4b89186..18f8f42 100644 --- a/Sources/EntitiesMP/HealthItem.es +++ b/Sources/EntitiesMP/HealthItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 801 %{ diff --git a/Sources/EntitiesMP/HudPicHolder.es b/Sources/EntitiesMP/HudPicHolder.es index bda91e1..2feef7a 100644 --- a/Sources/EntitiesMP/HudPicHolder.es +++ b/Sources/EntitiesMP/HudPicHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 241 %{ diff --git a/Sources/EntitiesMP/Item.es b/Sources/EntitiesMP/Item.es index ba954ba..d90ce7a 100644 --- a/Sources/EntitiesMP/Item.es +++ b/Sources/EntitiesMP/Item.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 800 %{ diff --git a/Sources/EntitiesMP/KeyItem.es b/Sources/EntitiesMP/KeyItem.es index 636e9bf..8e018a3 100644 --- a/Sources/EntitiesMP/KeyItem.es +++ b/Sources/EntitiesMP/KeyItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 805 %{ diff --git a/Sources/EntitiesMP/LarvaOffspring.es b/Sources/EntitiesMP/LarvaOffspring.es index 38d35bf..b0ceba2 100644 --- a/Sources/EntitiesMP/LarvaOffspring.es +++ b/Sources/EntitiesMP/LarvaOffspring.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 353 %{ diff --git a/Sources/EntitiesMP/Light.es b/Sources/EntitiesMP/Light.es index 2872526..7961245 100644 --- a/Sources/EntitiesMP/Light.es +++ b/Sources/EntitiesMP/Light.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 200 %{ diff --git a/Sources/EntitiesMP/Lightning.es b/Sources/EntitiesMP/Lightning.es index 31287c0..588de51 100644 --- a/Sources/EntitiesMP/Lightning.es +++ b/Sources/EntitiesMP/Lightning.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 607 %{ diff --git a/Sources/EntitiesMP/Marker.es b/Sources/EntitiesMP/Marker.es index bcc7cfc..f336cdb 100644 --- a/Sources/EntitiesMP/Marker.es +++ b/Sources/EntitiesMP/Marker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 202 %{ diff --git a/Sources/EntitiesMP/MessageHolder.es b/Sources/EntitiesMP/MessageHolder.es index 29ce68c..630b9cc 100644 --- a/Sources/EntitiesMP/MessageHolder.es +++ b/Sources/EntitiesMP/MessageHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 226 %{ diff --git a/Sources/EntitiesMP/MessageItem.es b/Sources/EntitiesMP/MessageItem.es index fcd8abf..2f2d41d 100644 --- a/Sources/EntitiesMP/MessageItem.es +++ b/Sources/EntitiesMP/MessageItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 807 %{ diff --git a/Sources/EntitiesMP/MeteorShower.es b/Sources/EntitiesMP/MeteorShower.es index 809c331..35e562f 100644 --- a/Sources/EntitiesMP/MeteorShower.es +++ b/Sources/EntitiesMP/MeteorShower.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 615 %{ diff --git a/Sources/EntitiesMP/MirrorMarker.es b/Sources/EntitiesMP/MirrorMarker.es index ff079f7..fffdd45 100644 --- a/Sources/EntitiesMP/MirrorMarker.es +++ b/Sources/EntitiesMP/MirrorMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 218 %{ diff --git a/Sources/EntitiesMP/ModelDestruction.es b/Sources/EntitiesMP/ModelDestruction.es index baea38c..4cb550e 100644 --- a/Sources/EntitiesMP/ModelDestruction.es +++ b/Sources/EntitiesMP/ModelDestruction.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 217 %{ diff --git a/Sources/EntitiesMP/ModelHolder.es b/Sources/EntitiesMP/ModelHolder.es index 7288954..a1e08ca 100644 --- a/Sources/EntitiesMP/ModelHolder.es +++ b/Sources/EntitiesMP/ModelHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 203 %{ diff --git a/Sources/EntitiesMP/ModelHolder2.es b/Sources/EntitiesMP/ModelHolder2.es index d85ef3b..c06364a 100644 --- a/Sources/EntitiesMP/ModelHolder2.es +++ b/Sources/EntitiesMP/ModelHolder2.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 210 %{ diff --git a/Sources/EntitiesMP/ModelHolder3.es b/Sources/EntitiesMP/ModelHolder3.es index 56ca2ed..e20e781 100644 --- a/Sources/EntitiesMP/ModelHolder3.es +++ b/Sources/EntitiesMP/ModelHolder3.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 242 %{ diff --git a/Sources/EntitiesMP/MovingBrush.es b/Sources/EntitiesMP/MovingBrush.es index fc13eff..9a1cc7e 100644 --- a/Sources/EntitiesMP/MovingBrush.es +++ b/Sources/EntitiesMP/MovingBrush.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 101 %{ diff --git a/Sources/EntitiesMP/MovingBrushMarker.es b/Sources/EntitiesMP/MovingBrushMarker.es index bf35049..5f9574b 100644 --- a/Sources/EntitiesMP/MovingBrushMarker.es +++ b/Sources/EntitiesMP/MovingBrushMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 102 %{ diff --git a/Sources/EntitiesMP/MusicChanger.es b/Sources/EntitiesMP/MusicChanger.es index 7a80fd4..606a755 100644 --- a/Sources/EntitiesMP/MusicChanger.es +++ b/Sources/EntitiesMP/MusicChanger.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 225 %{ diff --git a/Sources/EntitiesMP/MusicHolder.es b/Sources/EntitiesMP/MusicHolder.es index aabf5eb..fac611b 100644 --- a/Sources/EntitiesMP/MusicHolder.es +++ b/Sources/EntitiesMP/MusicHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 222 %{ diff --git a/Sources/EntitiesMP/NavigationMarker.es b/Sources/EntitiesMP/NavigationMarker.es index 44416cc..292f48c 100644 --- a/Sources/EntitiesMP/NavigationMarker.es +++ b/Sources/EntitiesMP/NavigationMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 704 %{ diff --git a/Sources/EntitiesMP/ParticleCloudsHolder.es b/Sources/EntitiesMP/ParticleCloudsHolder.es index 1a53b22..d70515e 100644 --- a/Sources/EntitiesMP/ParticleCloudsHolder.es +++ b/Sources/EntitiesMP/ParticleCloudsHolder.es @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/EntitiesMP/ParticleCloudsMarker.es b/Sources/EntitiesMP/ParticleCloudsMarker.es index 1a53b22..d70515e 100644 --- a/Sources/EntitiesMP/ParticleCloudsMarker.es +++ b/Sources/EntitiesMP/ParticleCloudsMarker.es @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/EntitiesMP/ParticlesHolder.es b/Sources/EntitiesMP/ParticlesHolder.es index 9774f22..2c57594 100644 --- a/Sources/EntitiesMP/ParticlesHolder.es +++ b/Sources/EntitiesMP/ParticlesHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 223 %{ diff --git a/Sources/EntitiesMP/Pendulum.es b/Sources/EntitiesMP/Pendulum.es index e3a833b..3c381f0 100644 --- a/Sources/EntitiesMP/Pendulum.es +++ b/Sources/EntitiesMP/Pendulum.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 106 %{ diff --git a/Sources/EntitiesMP/PhotoAlbum.es b/Sources/EntitiesMP/PhotoAlbum.es index 406fa8b..a289bfc 100644 --- a/Sources/EntitiesMP/PhotoAlbum.es +++ b/Sources/EntitiesMP/PhotoAlbum.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 614 %{ diff --git a/Sources/EntitiesMP/Pipebomb.es b/Sources/EntitiesMP/Pipebomb.es index 471709d..533db07 100644 --- a/Sources/EntitiesMP/Pipebomb.es +++ b/Sources/EntitiesMP/Pipebomb.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 503 %{ diff --git a/Sources/EntitiesMP/Player.es b/Sources/EntitiesMP/Player.es index 7707532..8ea3ed6 100644 --- a/Sources/EntitiesMP/Player.es +++ b/Sources/EntitiesMP/Player.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 401 %{ diff --git a/Sources/EntitiesMP/PlayerActionMarker.es b/Sources/EntitiesMP/PlayerActionMarker.es index ea1c960..1010460 100644 --- a/Sources/EntitiesMP/PlayerActionMarker.es +++ b/Sources/EntitiesMP/PlayerActionMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 407 %{ diff --git a/Sources/EntitiesMP/PlayerAnimator.es b/Sources/EntitiesMP/PlayerAnimator.es index 4088626..92bc37f 100644 --- a/Sources/EntitiesMP/PlayerAnimator.es +++ b/Sources/EntitiesMP/PlayerAnimator.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 406 %{ diff --git a/Sources/EntitiesMP/PlayerMarker.es b/Sources/EntitiesMP/PlayerMarker.es index 18defb0..3475b6f 100644 --- a/Sources/EntitiesMP/PlayerMarker.es +++ b/Sources/EntitiesMP/PlayerMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 404 %{ diff --git a/Sources/EntitiesMP/PlayerView.es b/Sources/EntitiesMP/PlayerView.es index f91e920..0b57303 100644 --- a/Sources/EntitiesMP/PlayerView.es +++ b/Sources/EntitiesMP/PlayerView.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 403 %{ diff --git a/Sources/EntitiesMP/PlayerWeapons.es b/Sources/EntitiesMP/PlayerWeapons.es index 9de5b2b..901ed80 100644 --- a/Sources/EntitiesMP/PlayerWeapons.es +++ b/Sources/EntitiesMP/PlayerWeapons.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 402 %{ diff --git a/Sources/EntitiesMP/PlayerWeaponsEffects.es b/Sources/EntitiesMP/PlayerWeaponsEffects.es index d18d17b..f7baf06 100644 --- a/Sources/EntitiesMP/PlayerWeaponsEffects.es +++ b/Sources/EntitiesMP/PlayerWeaponsEffects.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 405 %{ diff --git a/Sources/EntitiesMP/PowerUpItem.es b/Sources/EntitiesMP/PowerUpItem.es index 54595cd..8ec54ee 100644 --- a/Sources/EntitiesMP/PowerUpItem.es +++ b/Sources/EntitiesMP/PowerUpItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 808 %{ diff --git a/Sources/EntitiesMP/Projectile.es b/Sources/EntitiesMP/Projectile.es index 45dfecf..b9502a1 100644 --- a/Sources/EntitiesMP/Projectile.es +++ b/Sources/EntitiesMP/Projectile.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 501 %{ diff --git a/Sources/EntitiesMP/PyramidSpaceShip.es b/Sources/EntitiesMP/PyramidSpaceShip.es index 79834a3..f8d56c4 100644 --- a/Sources/EntitiesMP/PyramidSpaceShip.es +++ b/Sources/EntitiesMP/PyramidSpaceShip.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 609 %{ diff --git a/Sources/EntitiesMP/PyramidSpaceShipMarker.es b/Sources/EntitiesMP/PyramidSpaceShipMarker.es index 032abb3..73e1f57 100644 --- a/Sources/EntitiesMP/PyramidSpaceShipMarker.es +++ b/Sources/EntitiesMP/PyramidSpaceShipMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 610 %{ diff --git a/Sources/EntitiesMP/Reminder.es b/Sources/EntitiesMP/Reminder.es index 7fe6a50..a2e4e53 100644 --- a/Sources/EntitiesMP/Reminder.es +++ b/Sources/EntitiesMP/Reminder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 703 %{ diff --git a/Sources/EntitiesMP/RollingStone.es b/Sources/EntitiesMP/RollingStone.es index 0d65524..8eae93d 100644 --- a/Sources/EntitiesMP/RollingStone.es +++ b/Sources/EntitiesMP/RollingStone.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 604 %{ diff --git a/Sources/EntitiesMP/Santa.es b/Sources/EntitiesMP/Santa.es index fc1ee72..413470b 100644 --- a/Sources/EntitiesMP/Santa.es +++ b/Sources/EntitiesMP/Santa.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 355 %{ diff --git a/Sources/EntitiesMP/Scorpman.es b/Sources/EntitiesMP/Scorpman.es index b0ec978..fe44042 100644 --- a/Sources/EntitiesMP/Scorpman.es +++ b/Sources/EntitiesMP/Scorpman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 306 %{ diff --git a/Sources/EntitiesMP/ScrollHolder.es b/Sources/EntitiesMP/ScrollHolder.es index e2fe72e..184ba6f 100644 --- a/Sources/EntitiesMP/ScrollHolder.es +++ b/Sources/EntitiesMP/ScrollHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 238 %{ diff --git a/Sources/EntitiesMP/SeriousBomb.es b/Sources/EntitiesMP/SeriousBomb.es index a0d4bc4..f67acc2 100644 --- a/Sources/EntitiesMP/SeriousBomb.es +++ b/Sources/EntitiesMP/SeriousBomb.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 354 %{ diff --git a/Sources/EntitiesMP/Ship.es b/Sources/EntitiesMP/Ship.es index e49b0b0..987cfa8 100644 --- a/Sources/EntitiesMP/Ship.es +++ b/Sources/EntitiesMP/Ship.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 103 %{ diff --git a/Sources/EntitiesMP/ShipMarker.es b/Sources/EntitiesMP/ShipMarker.es index a62ce23..a964f2f 100644 --- a/Sources/EntitiesMP/ShipMarker.es +++ b/Sources/EntitiesMP/ShipMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 104 %{ diff --git a/Sources/EntitiesMP/Shooter.es b/Sources/EntitiesMP/Shooter.es index ba1e8cc..8c64c6f 100644 --- a/Sources/EntitiesMP/Shooter.es +++ b/Sources/EntitiesMP/Shooter.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 345 %{ diff --git a/Sources/EntitiesMP/SoundHolder.es b/Sources/EntitiesMP/SoundHolder.es index f9a2545..c01eb66 100644 --- a/Sources/EntitiesMP/SoundHolder.es +++ b/Sources/EntitiesMP/SoundHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Sound Holder. diff --git a/Sources/EntitiesMP/SpawnerProjectile.es b/Sources/EntitiesMP/SpawnerProjectile.es index 65bb86c..126b3bf 100644 --- a/Sources/EntitiesMP/SpawnerProjectile.es +++ b/Sources/EntitiesMP/SpawnerProjectile.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 507 %{ diff --git a/Sources/EntitiesMP/Spinner.es b/Sources/EntitiesMP/Spinner.es index 97bda65..b6010cf 100644 --- a/Sources/EntitiesMP/Spinner.es +++ b/Sources/EntitiesMP/Spinner.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 348 %{ diff --git a/Sources/EntitiesMP/StdH/StdH.cpp b/Sources/EntitiesMP/StdH/StdH.cpp index 95c0896..322326e 100644 --- a/Sources/EntitiesMP/StdH/StdH.cpp +++ b/Sources/EntitiesMP/StdH/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/EntitiesMP/StdH/StdH.h b/Sources/EntitiesMP/StdH/StdH.h index 9eabb5b..c68246b 100644 --- a/Sources/EntitiesMP/StdH/StdH.h +++ b/Sources/EntitiesMP/StdH/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/EntitiesMP/StormController.es b/Sources/EntitiesMP/StormController.es index 08f53e0..a108831 100644 --- a/Sources/EntitiesMP/StormController.es +++ b/Sources/EntitiesMP/StormController.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 606 %{ diff --git a/Sources/EntitiesMP/Summoner.es b/Sources/EntitiesMP/Summoner.es index 5273e76..27ae698 100644 --- a/Sources/EntitiesMP/Summoner.es +++ b/Sources/EntitiesMP/Summoner.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 347 %{ diff --git a/Sources/EntitiesMP/SummonerMarker.es b/Sources/EntitiesMP/SummonerMarker.es index 6ff1d50..131c9d3 100644 --- a/Sources/EntitiesMP/SummonerMarker.es +++ b/Sources/EntitiesMP/SummonerMarker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 350 %{ diff --git a/Sources/EntitiesMP/Switch.es b/Sources/EntitiesMP/Switch.es index 2a68f5d..8d5b0d4 100644 --- a/Sources/EntitiesMP/Switch.es +++ b/Sources/EntitiesMP/Switch.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 209 %{ diff --git a/Sources/EntitiesMP/TacticsChanger.es b/Sources/EntitiesMP/TacticsChanger.es index b262ff8..18b444b 100644 --- a/Sources/EntitiesMP/TacticsChanger.es +++ b/Sources/EntitiesMP/TacticsChanger.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 236 %{ diff --git a/Sources/EntitiesMP/TacticsHolder.es b/Sources/EntitiesMP/TacticsHolder.es index f50df19..90e57b3 100644 --- a/Sources/EntitiesMP/TacticsHolder.es +++ b/Sources/EntitiesMP/TacticsHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 235 %{ diff --git a/Sources/EntitiesMP/Teleport.es b/Sources/EntitiesMP/Teleport.es index 39f7219..3855fd8 100644 --- a/Sources/EntitiesMP/Teleport.es +++ b/Sources/EntitiesMP/Teleport.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 219 %{ diff --git a/Sources/EntitiesMP/Terrain.es b/Sources/EntitiesMP/Terrain.es index 23fb7ed..1e69521 100644 --- a/Sources/EntitiesMP/Terrain.es +++ b/Sources/EntitiesMP/Terrain.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 108 %{ diff --git a/Sources/EntitiesMP/TextFXHolder.es b/Sources/EntitiesMP/TextFXHolder.es index 70debaa..f17828d 100644 --- a/Sources/EntitiesMP/TextFXHolder.es +++ b/Sources/EntitiesMP/TextFXHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 239 %{ diff --git a/Sources/EntitiesMP/TimeController.es b/Sources/EntitiesMP/TimeController.es index 37de197..5f88427 100644 --- a/Sources/EntitiesMP/TimeController.es +++ b/Sources/EntitiesMP/TimeController.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 613 %{ diff --git a/Sources/EntitiesMP/TouchField.es b/Sources/EntitiesMP/TouchField.es index b1c219f..cfb0b54 100644 --- a/Sources/EntitiesMP/TouchField.es +++ b/Sources/EntitiesMP/TouchField.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 206 %{ diff --git a/Sources/EntitiesMP/Trigger.es b/Sources/EntitiesMP/Trigger.es index 69dce4c..24a548a 100644 --- a/Sources/EntitiesMP/Trigger.es +++ b/Sources/EntitiesMP/Trigger.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 205 %{ diff --git a/Sources/EntitiesMP/Twister.es b/Sources/EntitiesMP/Twister.es index 2e8c4a6..84efab2 100644 --- a/Sources/EntitiesMP/Twister.es +++ b/Sources/EntitiesMP/Twister.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 507 %{ diff --git a/Sources/EntitiesMP/VoiceHolder.es b/Sources/EntitiesMP/VoiceHolder.es index 8845661..0fb73a2 100644 --- a/Sources/EntitiesMP/VoiceHolder.es +++ b/Sources/EntitiesMP/VoiceHolder.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 231 %{ diff --git a/Sources/EntitiesMP/Walker.es b/Sources/EntitiesMP/Walker.es index c31c94d..4ea7f1f 100644 --- a/Sources/EntitiesMP/Walker.es +++ b/Sources/EntitiesMP/Walker.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 324 %{ diff --git a/Sources/EntitiesMP/WatchPlayers.es b/Sources/EntitiesMP/WatchPlayers.es index d6faa52..7feace1 100644 --- a/Sources/EntitiesMP/WatchPlayers.es +++ b/Sources/EntitiesMP/WatchPlayers.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 702 %{ diff --git a/Sources/EntitiesMP/Watcher.es b/Sources/EntitiesMP/Watcher.es index dea8a42..8b202f6 100644 --- a/Sources/EntitiesMP/Watcher.es +++ b/Sources/EntitiesMP/Watcher.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 700 %{ diff --git a/Sources/EntitiesMP/Water.es b/Sources/EntitiesMP/Water.es index 21a7099..1bc3c31 100644 --- a/Sources/EntitiesMP/Water.es +++ b/Sources/EntitiesMP/Water.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 508 %{ diff --git a/Sources/EntitiesMP/WeaponItem.es b/Sources/EntitiesMP/WeaponItem.es index 21aba69..1ae20a2 100644 --- a/Sources/EntitiesMP/WeaponItem.es +++ b/Sources/EntitiesMP/WeaponItem.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 802 %{ diff --git a/Sources/EntitiesMP/Werebull.es b/Sources/EntitiesMP/Werebull.es index ad764cf..bfbd7bf 100644 --- a/Sources/EntitiesMP/Werebull.es +++ b/Sources/EntitiesMP/Werebull.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 307 %{ diff --git a/Sources/EntitiesMP/Woman.es b/Sources/EntitiesMP/Woman.es index 26221ca..804d83c 100644 --- a/Sources/EntitiesMP/Woman.es +++ b/Sources/EntitiesMP/Woman.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 320 %{ diff --git a/Sources/EntitiesMP/WorldBase.es b/Sources/EntitiesMP/WorldBase.es index 5bc20d1..dcbf994 100644 --- a/Sources/EntitiesMP/WorldBase.es +++ b/Sources/EntitiesMP/WorldBase.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 100 %{ diff --git a/Sources/EntitiesMP/WorldLink.es b/Sources/EntitiesMP/WorldLink.es index d0ca120..6211d5b 100644 --- a/Sources/EntitiesMP/WorldLink.es +++ b/Sources/EntitiesMP/WorldLink.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 214 %{ diff --git a/Sources/EntitiesMP/WorldSettingsController.es b/Sources/EntitiesMP/WorldSettingsController.es index deceb30..c067db7 100644 --- a/Sources/EntitiesMP/WorldSettingsController.es +++ b/Sources/EntitiesMP/WorldSettingsController.es @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ 605 %{ diff --git a/Sources/GameGUIMP/ActionsListControl.cpp b/Sources/GameGUIMP/ActionsListControl.cpp index 51abc1e..0168497 100644 --- a/Sources/GameGUIMP/ActionsListControl.cpp +++ b/Sources/GameGUIMP/ActionsListControl.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ActionsListControl.cpp : implementation file // diff --git a/Sources/GameGUIMP/ActionsListControl.h b/Sources/GameGUIMP/ActionsListControl.h index 7285bfe..0264f05 100644 --- a/Sources/GameGUIMP/ActionsListControl.h +++ b/Sources/GameGUIMP/ActionsListControl.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ActionsListControl.h : header file // diff --git a/Sources/GameGUIMP/AxisListCtrl.cpp b/Sources/GameGUIMP/AxisListCtrl.cpp index be96b7f..c60bb20 100644 --- a/Sources/GameGUIMP/AxisListCtrl.cpp +++ b/Sources/GameGUIMP/AxisListCtrl.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // AxisListCtrl.cpp : implementation file // diff --git a/Sources/GameGUIMP/AxisListCtrl.h b/Sources/GameGUIMP/AxisListCtrl.h index 7dc3a71..e12cbbb 100644 --- a/Sources/GameGUIMP/AxisListCtrl.h +++ b/Sources/GameGUIMP/AxisListCtrl.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // AxisListCtrl.h : header file // @@ -46,4 +59,4 @@ protected: }; ///////////////////////////////////////////////////////////////////////////// -#endif // AXISLISTCTRL_H \ No newline at end of file +#endif // AXISLISTCTRL_H diff --git a/Sources/GameGUIMP/ConsoleSymbolsCombo.cpp b/Sources/GameGUIMP/ConsoleSymbolsCombo.cpp index dcb93d3..f361d5b 100644 --- a/Sources/GameGUIMP/ConsoleSymbolsCombo.cpp +++ b/Sources/GameGUIMP/ConsoleSymbolsCombo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ConsoleSymbolsCombo.cpp : implementation file // diff --git a/Sources/GameGUIMP/ConsoleSymbolsCombo.h b/Sources/GameGUIMP/ConsoleSymbolsCombo.h index ea10bca..fdd3905 100644 --- a/Sources/GameGUIMP/ConsoleSymbolsCombo.h +++ b/Sources/GameGUIMP/ConsoleSymbolsCombo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CONSOLESYMBOLSCOMBO_H__E417EA91_1B23_11D2_834D_004095812ACC__INCLUDED_) #define AFX_CONSOLESYMBOLSCOMBO_H__E417EA91_1B23_11D2_834D_004095812ACC__INCLUDED_ diff --git a/Sources/GameGUIMP/DlgAudioQuality.cpp b/Sources/GameGUIMP/DlgAudioQuality.cpp index a3e2f2a..d3b2971 100644 --- a/Sources/GameGUIMP/DlgAudioQuality.cpp +++ b/Sources/GameGUIMP/DlgAudioQuality.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAudioQuality.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgAudioQuality.h b/Sources/GameGUIMP/DlgAudioQuality.h index dd7e59b..0c15ba8 100644 --- a/Sources/GameGUIMP/DlgAudioQuality.h +++ b/Sources/GameGUIMP/DlgAudioQuality.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAudioQuality.h : header file // @@ -38,4 +51,4 @@ protected: //}}AFX_MSG DECLARE_MESSAGE_MAP() }; -#endif // DLGAUDIOQUALITY_H \ No newline at end of file +#endif // DLGAUDIOQUALITY_H diff --git a/Sources/GameGUIMP/DlgConsole.cpp b/Sources/GameGUIMP/DlgConsole.cpp index 63390e0..d5a8865 100644 --- a/Sources/GameGUIMP/DlgConsole.cpp +++ b/Sources/GameGUIMP/DlgConsole.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgConsole.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgConsole.h b/Sources/GameGUIMP/DlgConsole.h index 7653b05..58b0193 100644 --- a/Sources/GameGUIMP/DlgConsole.h +++ b/Sources/GameGUIMP/DlgConsole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCONSOLE_H__833B8175_E923_11D1_82A7_000000000000__INCLUDED_) #define AFX_DLGCONSOLE_H__833B8175_E923_11D1_82A7_000000000000__INCLUDED_ diff --git a/Sources/GameGUIMP/DlgEditButtonAction.cpp b/Sources/GameGUIMP/DlgEditButtonAction.cpp index f01925e..1899ef3 100644 --- a/Sources/GameGUIMP/DlgEditButtonAction.cpp +++ b/Sources/GameGUIMP/DlgEditButtonAction.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgEditButtonAction.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgEditButtonAction.h b/Sources/GameGUIMP/DlgEditButtonAction.h index ac89302..b9ed443 100644 --- a/Sources/GameGUIMP/DlgEditButtonAction.h +++ b/Sources/GameGUIMP/DlgEditButtonAction.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGEDITBUTTONACTION_H__3BD6B3E1_EE74_11D1_9AC2_00409580357B__INCLUDED_) #define AFX_DLGEDITBUTTONACTION_H__3BD6B3E1_EE74_11D1_9AC2_00409580357B__INCLUDED_ diff --git a/Sources/GameGUIMP/DlgPlayerAppearance.cpp b/Sources/GameGUIMP/DlgPlayerAppearance.cpp index 6495206..92d3eaf 100644 --- a/Sources/GameGUIMP/DlgPlayerAppearance.cpp +++ b/Sources/GameGUIMP/DlgPlayerAppearance.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerAppearance.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgPlayerAppearance.h b/Sources/GameGUIMP/DlgPlayerAppearance.h index ac49b4a..808e562 100644 --- a/Sources/GameGUIMP/DlgPlayerAppearance.h +++ b/Sources/GameGUIMP/DlgPlayerAppearance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerAppearance.h : header file // @@ -38,4 +51,4 @@ protected: //}}AFX_MSG DECLARE_MESSAGE_MAP() }; -#endif // DLGPLAYERAPPEARANCE_H \ No newline at end of file +#endif // DLGPLAYERAPPEARANCE_H diff --git a/Sources/GameGUIMP/DlgPlayerControls.cpp b/Sources/GameGUIMP/DlgPlayerControls.cpp index c165f89..68c405f 100644 --- a/Sources/GameGUIMP/DlgPlayerControls.cpp +++ b/Sources/GameGUIMP/DlgPlayerControls.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerControls.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgPlayerControls.h b/Sources/GameGUIMP/DlgPlayerControls.h index e8a733a..721bf5a 100644 --- a/Sources/GameGUIMP/DlgPlayerControls.h +++ b/Sources/GameGUIMP/DlgPlayerControls.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerControls.h : header file // diff --git a/Sources/GameGUIMP/DlgPlayerSettings.cpp b/Sources/GameGUIMP/DlgPlayerSettings.cpp index 88617c5..c7d1976 100644 --- a/Sources/GameGUIMP/DlgPlayerSettings.cpp +++ b/Sources/GameGUIMP/DlgPlayerSettings.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerSettings.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgPlayerSettings.h b/Sources/GameGUIMP/DlgPlayerSettings.h index 543c55e..1086c81 100644 --- a/Sources/GameGUIMP/DlgPlayerSettings.h +++ b/Sources/GameGUIMP/DlgPlayerSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPlayerSettings.h : header file // diff --git a/Sources/GameGUIMP/DlgRenameControls.cpp b/Sources/GameGUIMP/DlgRenameControls.cpp index 7fd5b79..65dbf25 100644 --- a/Sources/GameGUIMP/DlgRenameControls.cpp +++ b/Sources/GameGUIMP/DlgRenameControls.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgRenameControls.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgRenameControls.h b/Sources/GameGUIMP/DlgRenameControls.h index be8be93..e6d2b6c 100644 --- a/Sources/GameGUIMP/DlgRenameControls.h +++ b/Sources/GameGUIMP/DlgRenameControls.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGRENAMECONTROLS_H__3F147D64_39B2_11D2_8383_004095812ACC__INCLUDED_) #define AFX_DLGRENAMECONTROLS_H__3F147D64_39B2_11D2_8383_004095812ACC__INCLUDED_ diff --git a/Sources/GameGUIMP/DlgSelectPlayer.cpp b/Sources/GameGUIMP/DlgSelectPlayer.cpp index e53017e..cdeba51 100644 --- a/Sources/GameGUIMP/DlgSelectPlayer.cpp +++ b/Sources/GameGUIMP/DlgSelectPlayer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgSelectPlayer.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgSelectPlayer.h b/Sources/GameGUIMP/DlgSelectPlayer.h index 38645d4..3dbca8a 100644 --- a/Sources/GameGUIMP/DlgSelectPlayer.h +++ b/Sources/GameGUIMP/DlgSelectPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGSELECTPLAYER_H__FCDE2F73_3A65_11D2_8384_004095812ACC__INCLUDED_) #define AFX_DLGSELECTPLAYER_H__FCDE2F73_3A65_11D2_8384_004095812ACC__INCLUDED_ diff --git a/Sources/GameGUIMP/DlgVideoQuality.cpp b/Sources/GameGUIMP/DlgVideoQuality.cpp index 1806710..c22fa90 100644 --- a/Sources/GameGUIMP/DlgVideoQuality.cpp +++ b/Sources/GameGUIMP/DlgVideoQuality.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgVideoQuality.cpp : implementation file // diff --git a/Sources/GameGUIMP/DlgVideoQuality.h b/Sources/GameGUIMP/DlgVideoQuality.h index c5f61ea..91bb5e7 100644 --- a/Sources/GameGUIMP/DlgVideoQuality.h +++ b/Sources/GameGUIMP/DlgVideoQuality.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgVideoQuality.h : header file // @@ -39,4 +52,4 @@ protected: //}}AFX_MSG DECLARE_MESSAGE_MAP() }; -#endif // DLGVIDEOQUALITY_H \ No newline at end of file +#endif // DLGVIDEOQUALITY_H diff --git a/Sources/GameGUIMP/EditConsole.cpp b/Sources/GameGUIMP/EditConsole.cpp index d022667..fb271ea 100644 --- a/Sources/GameGUIMP/EditConsole.cpp +++ b/Sources/GameGUIMP/EditConsole.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // EditConsole.cpp : implementation file // diff --git a/Sources/GameGUIMP/EditConsole.h b/Sources/GameGUIMP/EditConsole.h index cf0b111..aa61b79 100644 --- a/Sources/GameGUIMP/EditConsole.h +++ b/Sources/GameGUIMP/EditConsole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_EDITCONSOLE_H__833B8174_E923_11D1_82A7_000000000000__INCLUDED_) #define AFX_EDITCONSOLE_H__833B8174_E923_11D1_82A7_000000000000__INCLUDED_ diff --git a/Sources/GameGUIMP/GameGUI.cpp b/Sources/GameGUIMP/GameGUI.cpp index 9976eae..13cd6e2 100644 --- a/Sources/GameGUIMP/GameGUI.cpp +++ b/Sources/GameGUIMP/GameGUI.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // GameGUI.cpp : Defines the entry point for the DLL application. // diff --git a/Sources/GameGUIMP/GameGUI.h b/Sources/GameGUIMP/GameGUI.h index fcab869..bc1bf4f 100644 --- a/Sources/GameGUIMP/GameGUI.h +++ b/Sources/GameGUIMP/GameGUI.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/Sources/GameGUIMP/LocalPlayersList.cpp b/Sources/GameGUIMP/LocalPlayersList.cpp index fc7f57b..a19c35e 100644 --- a/Sources/GameGUIMP/LocalPlayersList.cpp +++ b/Sources/GameGUIMP/LocalPlayersList.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // LocalPlayersList.cpp : implementation file // diff --git a/Sources/GameGUIMP/LocalPlayersList.h b/Sources/GameGUIMP/LocalPlayersList.h index 7073c2c..c1d6bad 100644 --- a/Sources/GameGUIMP/LocalPlayersList.h +++ b/Sources/GameGUIMP/LocalPlayersList.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // LocalPlayersList.h : header file // @@ -39,4 +52,4 @@ protected: }; ///////////////////////////////////////////////////////////////////////////// -#endif // LOCALPLAYERSLIST_H \ No newline at end of file +#endif // LOCALPLAYERSLIST_H diff --git a/Sources/GameGUIMP/PressKeyEditControl.cpp b/Sources/GameGUIMP/PressKeyEditControl.cpp index c10a369..277a1bc 100644 --- a/Sources/GameGUIMP/PressKeyEditControl.cpp +++ b/Sources/GameGUIMP/PressKeyEditControl.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PressKeyEditControl.cpp : implementation file // diff --git a/Sources/GameGUIMP/PressKeyEditControl.h b/Sources/GameGUIMP/PressKeyEditControl.h index 2f769b8..97980f9 100644 --- a/Sources/GameGUIMP/PressKeyEditControl.h +++ b/Sources/GameGUIMP/PressKeyEditControl.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PressKeyEditControl.h : header file // diff --git a/Sources/GameGUIMP/StdAfx.cpp b/Sources/GameGUIMP/StdAfx.cpp index f7a7b80..7cba7c7 100644 --- a/Sources/GameGUIMP/StdAfx.cpp +++ b/Sources/GameGUIMP/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // GameGUI.pch will be the pre-compiled header diff --git a/Sources/GameGUIMP/StdAfx.h b/Sources/GameGUIMP/StdAfx.h index 3bbfac3..29518d8 100644 --- a/Sources/GameGUIMP/StdAfx.h +++ b/Sources/GameGUIMP/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but diff --git a/Sources/GameGUIMP/resource.h b/Sources/GameGUIMP/resource.h index 091b9ab..217d993 100644 --- a/Sources/GameGUIMP/resource.h +++ b/Sources/GameGUIMP/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/GameMP/Camera.cpp b/Sources/GameMP/Camera.cpp index 0ea87fa..0a29594 100644 --- a/Sources/GameMP/Camera.cpp +++ b/Sources/GameMP/Camera.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "Camera.h" diff --git a/Sources/GameMP/Camera.h b/Sources/GameMP/Camera.h index 5cc4a06..2f83d81 100644 --- a/Sources/GameMP/Camera.h +++ b/Sources/GameMP/Camera.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ void CAM_Init(void); void CAM_Start(const CTFileName &fnmDemo); diff --git a/Sources/GameMP/CompMessage.cpp b/Sources/GameMP/CompMessage.cpp index fabb6e6..e37c3e6 100644 --- a/Sources/GameMP/CompMessage.cpp +++ b/Sources/GameMP/CompMessage.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" diff --git a/Sources/GameMP/CompMessage.h b/Sources/GameMP/CompMessage.h index a2db692..60b26cf 100644 --- a/Sources/GameMP/CompMessage.h +++ b/Sources/GameMP/CompMessage.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_COMPMESSAGE_H #define SE_INCL_COMPMESSAGE_H diff --git a/Sources/GameMP/CompModels.cpp b/Sources/GameMP/CompModels.cpp index 4c516d0..4522b6f 100644 --- a/Sources/GameMP/CompModels.cpp +++ b/Sources/GameMP/CompModels.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include "LCDDrawing.h" diff --git a/Sources/GameMP/Computer.cpp b/Sources/GameMP/Computer.cpp index c84e37c..a4d84e0 100644 --- a/Sources/GameMP/Computer.cpp +++ b/Sources/GameMP/Computer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include "LCDDrawing.h" diff --git a/Sources/GameMP/Computer.h b/Sources/GameMP/Computer.h index 1a53b22..d70515e 100644 --- a/Sources/GameMP/Computer.h +++ b/Sources/GameMP/Computer.h @@ -1,2 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/GameMP/Console.cpp b/Sources/GameMP/Console.cpp index 4e1dfd8..73c7f03 100644 --- a/Sources/GameMP/Console.cpp +++ b/Sources/GameMP/Console.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include "LCDDrawing.h" diff --git a/Sources/GameMP/Controls.cpp b/Sources/GameMP/Controls.cpp index a11aec8..953d37d 100644 --- a/Sources/GameMP/Controls.cpp +++ b/Sources/GameMP/Controls.cpp @@ -1,8 +1,21 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Game library - * Copyright (c) 1997-1999, CroTeam. All rights reserved. + * Copyright (c) 1997-1999, CroTeam. */ #include "stdafx.h" diff --git a/Sources/GameMP/Game.cpp b/Sources/GameMP/Game.cpp index d374a8a..1eb3e6e 100644 --- a/Sources/GameMP/Game.cpp +++ b/Sources/GameMP/Game.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Game.cpp : Defines the initialization routines for the DLL. // diff --git a/Sources/GameMP/Game.h b/Sources/GameMP/Game.h index f483dd8..2392312 100644 --- a/Sources/GameMP/Game.h +++ b/Sources/GameMP/Game.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __GAME_H #define __GAME_H 1 diff --git a/Sources/GameMP/LCDDrawing.cpp b/Sources/GameMP/LCDDrawing.cpp index 7d02f69..9c4b7aa 100644 --- a/Sources/GameMP/LCDDrawing.cpp +++ b/Sources/GameMP/LCDDrawing.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include "LCDDrawing.h" diff --git a/Sources/GameMP/LCDDrawing.h b/Sources/GameMP/LCDDrawing.h index 751968b..5f6618e 100644 --- a/Sources/GameMP/LCDDrawing.h +++ b/Sources/GameMP/LCDDrawing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LCDDRAWING_H #define SE_INCL_LCDDRAWING_H diff --git a/Sources/GameMP/LoadingHook.cpp b/Sources/GameMP/LoadingHook.cpp index 4791b6a..839e125 100644 --- a/Sources/GameMP/LoadingHook.cpp +++ b/Sources/GameMP/LoadingHook.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" diff --git a/Sources/GameMP/Map.cpp b/Sources/GameMP/Map.cpp index ef01472..c8b465d 100644 --- a/Sources/GameMP/Map.cpp +++ b/Sources/GameMP/Map.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "LCDDrawing.h" diff --git a/Sources/GameMP/PlayerSettings.h b/Sources/GameMP/PlayerSettings.h index 77f412c..8476cfb 100644 --- a/Sources/GameMP/PlayerSettings.h +++ b/Sources/GameMP/PlayerSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_PLAYERSETTINGS_H #define SE_INCL_PLAYERSETTINGS_H @@ -63,4 +76,4 @@ public: #endif /* include-once check. */ - \ No newline at end of file + diff --git a/Sources/GameMP/SEColors.h b/Sources/GameMP/SEColors.h index a8e3181..a1921bc 100644 --- a/Sources/GameMP/SEColors.h +++ b/Sources/GameMP/SEColors.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __SECOLORS_H #define __SECOLORS_H 1 @@ -15,4 +28,4 @@ #define SE_COL_BLUE_LIGHT 0x64b4ff00 #define SE_COL_BLUEGREEN_LT 0x6cff6c00 -#endif \ No newline at end of file +#endif diff --git a/Sources/GameMP/SessionProperties.cpp b/Sources/GameMP/SessionProperties.cpp index 1ecddd2..7df73f1 100644 --- a/Sources/GameMP/SessionProperties.cpp +++ b/Sources/GameMP/SessionProperties.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "Game.h" diff --git a/Sources/GameMP/SessionProperties.h b/Sources/GameMP/SessionProperties.h index 074f8ae..36580c0 100644 --- a/Sources/GameMP/SessionProperties.h +++ b/Sources/GameMP/SessionProperties.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Class responsible for describing game session diff --git a/Sources/GameMP/StdAfx.cpp b/Sources/GameMP/StdAfx.cpp index 0d4dc9e..58888b0 100644 --- a/Sources/GameMP/StdAfx.cpp +++ b/Sources/GameMP/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // Game.pch will be the pre-compiled header diff --git a/Sources/GameMP/StdAfx.h b/Sources/GameMP/StdAfx.h index 6d0da54..22ada9b 100644 --- a/Sources/GameMP/StdAfx.h +++ b/Sources/GameMP/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/GameMP/WEDInterface.cpp b/Sources/GameMP/WEDInterface.cpp index 5531a54..2b122c7 100644 --- a/Sources/GameMP/WEDInterface.cpp +++ b/Sources/GameMP/WEDInterface.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" diff --git a/Sources/LWSkaExporter/AnimExport.cpp b/Sources/LWSkaExporter/AnimExport.cpp index e9d8bd0..347cb49 100644 --- a/Sources/LWSkaExporter/AnimExport.cpp +++ b/Sources/LWSkaExporter/AnimExport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/LWSkaExporter/Base.h b/Sources/LWSkaExporter/Base.h index c1c74a9..1b00c31 100644 --- a/Sources/LWSkaExporter/Base.h +++ b/Sources/LWSkaExporter/Base.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once diff --git a/Sources/LWSkaExporter/CopyWeightMaps.cpp b/Sources/LWSkaExporter/CopyWeightMaps.cpp index 3c16b77..4ce3b0e 100644 --- a/Sources/LWSkaExporter/CopyWeightMaps.cpp +++ b/Sources/LWSkaExporter/CopyWeightMaps.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "base.h" diff --git a/Sources/LWSkaExporter/Master.cpp b/Sources/LWSkaExporter/Master.cpp index cd493cd..3bb9e0b 100644 --- a/Sources/LWSkaExporter/Master.cpp +++ b/Sources/LWSkaExporter/Master.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "base.h" diff --git a/Sources/LWSkaExporter/MeshExport.cpp b/Sources/LWSkaExporter/MeshExport.cpp index 4fc4e0b..51e8372 100644 --- a/Sources/LWSkaExporter/MeshExport.cpp +++ b/Sources/LWSkaExporter/MeshExport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/LWSkaExporter/ModelerMeshExporter.cpp b/Sources/LWSkaExporter/ModelerMeshExporter.cpp index 351505b..ad3d752 100644 --- a/Sources/LWSkaExporter/ModelerMeshExporter.cpp +++ b/Sources/LWSkaExporter/ModelerMeshExporter.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ diff --git a/Sources/LWSkaExporter/SectionsExport.cpp b/Sources/LWSkaExporter/SectionsExport.cpp index 77caf20..5b0d557 100644 --- a/Sources/LWSkaExporter/SectionsExport.cpp +++ b/Sources/LWSkaExporter/SectionsExport.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/LWSkaExporter/SurfaceParameters.cpp b/Sources/LWSkaExporter/SurfaceParameters.cpp index 73a76d7..b7ba05c 100644 --- a/Sources/LWSkaExporter/SurfaceParameters.cpp +++ b/Sources/LWSkaExporter/SurfaceParameters.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/LWSkaExporter/plugin.cpp b/Sources/LWSkaExporter/plugin.cpp index 4820786..056e985 100644 --- a/Sources/LWSkaExporter/plugin.cpp +++ b/Sources/LWSkaExporter/plugin.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/LWSkaExporter/vecmat.h b/Sources/LWSkaExporter/vecmat.h index d074bbe..94a34d2 100644 --- a/Sources/LWSkaExporter/vecmat.h +++ b/Sources/LWSkaExporter/vecmat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* ====================================================================== diff --git a/Sources/MakeFONT/MakeFONT.cpp b/Sources/MakeFONT/MakeFONT.cpp index 0582dee..0287470 100644 --- a/Sources/MakeFONT/MakeFONT.cpp +++ b/Sources/MakeFONT/MakeFONT.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MakeFONT - Font table File Creator diff --git a/Sources/Modeler/#DlgNumericAlpha.h# b/Sources/Modeler/#DlgNumericAlpha.h# new file mode 100644 index 0000000..d41567c --- /dev/null +++ b/Sources/Modeler/#DlgNumericAlpha.h# @@ -0,0 +1,61 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#if !defined(AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_) +#define AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 +// DlgNumericAlpha.h : header file +// + +///////////////////////////////////////////////////////////////////////////// +// CDlgNumericAlpha dialog + +class CDlgNumericAlpha : public CDialog +{ +// Construction +public: + CDlgNumericAlpha(int iAlpha = 0, CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CDlgNumericAlpha) + enum { IDD = IDD_NUMERIC_ALPHA }; + int m_iAlpha; + //}}AFX_DATA + + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CDlgNumericAlpha) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + + // Generated message map functions + //{{AFX_MSG(CDlgNumericAlpha) + // NOTE: the ClassWizard will add member functions here + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_) diff --git a/Sources/Modeler/AnimComboBox.cpp b/Sources/Modeler/AnimComboBox.cpp index fceea40..e557608 100644 --- a/Sources/Modeler/AnimComboBox.cpp +++ b/Sources/Modeler/AnimComboBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // AnimComboBox.cpp : implementation file // diff --git a/Sources/Modeler/AnimComboBox.h b/Sources/Modeler/AnimComboBox.h index 24b2ded..134b5a1 100644 --- a/Sources/Modeler/AnimComboBox.h +++ b/Sources/Modeler/AnimComboBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // AnimComboBox.h : header file // diff --git a/Sources/Modeler/ChildFrm.cpp b/Sources/Modeler/ChildFrm.cpp index 76417bb..db73623 100644 --- a/Sources/Modeler/ChildFrm.cpp +++ b/Sources/Modeler/ChildFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.cpp : implementation of the CChildFrame class // diff --git a/Sources/Modeler/ChildFrm.h b/Sources/Modeler/ChildFrm.h index e2a8b01..927052a 100644 --- a/Sources/Modeler/ChildFrm.h +++ b/Sources/Modeler/ChildFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.h : interface of the CChildFrame class // diff --git a/Sources/Modeler/ChoosedColorButton.cpp b/Sources/Modeler/ChoosedColorButton.cpp index 9bd296c..8595ea9 100644 --- a/Sources/Modeler/ChoosedColorButton.cpp +++ b/Sources/Modeler/ChoosedColorButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChoosedColorButton.cpp : implementation file // diff --git a/Sources/Modeler/ChoosedColorButton.h b/Sources/Modeler/ChoosedColorButton.h index db8bee2..e9e95fa 100644 --- a/Sources/Modeler/ChoosedColorButton.h +++ b/Sources/Modeler/ChoosedColorButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChoosedColorButton.h : header file // diff --git a/Sources/Modeler/ColoredButton.cpp b/Sources/Modeler/ColoredButton.cpp index 18b0131..e62b593 100644 --- a/Sources/Modeler/ColoredButton.cpp +++ b/Sources/Modeler/ColoredButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.cpp : implementation file // diff --git a/Sources/Modeler/ColoredButton.h b/Sources/Modeler/ColoredButton.h index f5ddda7..bbab22d 100644 --- a/Sources/Modeler/ColoredButton.h +++ b/Sources/Modeler/ColoredButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.h : header file // diff --git a/Sources/Modeler/CtrlEditBoolean.cpp b/Sources/Modeler/CtrlEditBoolean.cpp index c077479..76168cd 100644 --- a/Sources/Modeler/CtrlEditBoolean.cpp +++ b/Sources/Modeler/CtrlEditBoolean.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditBoolean.cpp : implementation file // diff --git a/Sources/Modeler/CtrlEditBoolean.h b/Sources/Modeler/CtrlEditBoolean.h index 8ec1589..cd14c5c 100644 --- a/Sources/Modeler/CtrlEditBoolean.h +++ b/Sources/Modeler/CtrlEditBoolean.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditBoolean.h : header file // @@ -44,4 +57,4 @@ protected: }; ///////////////////////////////////////////////////////////////////////////// -#endif // CTRLEDITBOOLEAN_H \ No newline at end of file +#endif // CTRLEDITBOOLEAN_H diff --git a/Sources/Modeler/DlgAutoMipModeling.cpp b/Sources/Modeler/DlgAutoMipModeling.cpp index 575cb56..416d7b6 100644 --- a/Sources/Modeler/DlgAutoMipModeling.cpp +++ b/Sources/Modeler/DlgAutoMipModeling.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAutoMipModeling.cpp : implementation file // diff --git a/Sources/Modeler/DlgAutoMipModeling.h b/Sources/Modeler/DlgAutoMipModeling.h index c124a28..875b4ce 100644 --- a/Sources/Modeler/DlgAutoMipModeling.h +++ b/Sources/Modeler/DlgAutoMipModeling.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGAUTOMIPMODELING_H__B9701A13_2491_11D2_835E_004095812ACC__INCLUDED_) #define AFX_DLGAUTOMIPMODELING_H__B9701A13_2491_11D2_835E_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgChooseAnim.cpp b/Sources/Modeler/DlgChooseAnim.cpp index 4893114..7c5a37f 100644 --- a/Sources/Modeler/DlgChooseAnim.cpp +++ b/Sources/Modeler/DlgChooseAnim.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DChooseAnim.cpp : implementation file // diff --git a/Sources/Modeler/DlgChooseAnim.h b/Sources/Modeler/DlgChooseAnim.h index 70d9471..fd3772c 100644 --- a/Sources/Modeler/DlgChooseAnim.h +++ b/Sources/Modeler/DlgChooseAnim.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DChooseAnim.h : header file // diff --git a/Sources/Modeler/DlgCreateReflectionTexture.cpp b/Sources/Modeler/DlgCreateReflectionTexture.cpp index 356a346..ecd02a2 100644 --- a/Sources/Modeler/DlgCreateReflectionTexture.cpp +++ b/Sources/Modeler/DlgCreateReflectionTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateReflectionTexture.cpp : implementation file // diff --git a/Sources/Modeler/DlgCreateReflectionTexture.h b/Sources/Modeler/DlgCreateReflectionTexture.h index 2e83084..58f1a1b 100644 --- a/Sources/Modeler/DlgCreateReflectionTexture.h +++ b/Sources/Modeler/DlgCreateReflectionTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCREATEREFLECTIONTEXTURE_H__AE69A18C_E288_11D2_8535_004095812ACC__INCLUDED_) #define AFX_DLGCREATEREFLECTIONTEXTURE_H__AE69A18C_E288_11D2_8535_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgCreateSpecularTexture.cpp b/Sources/Modeler/DlgCreateSpecularTexture.cpp index 75c72ae..b03befc 100644 --- a/Sources/Modeler/DlgCreateSpecularTexture.cpp +++ b/Sources/Modeler/DlgCreateSpecularTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateSpecularTexture.cpp : implementation file // diff --git a/Sources/Modeler/DlgCreateSpecularTexture.h b/Sources/Modeler/DlgCreateSpecularTexture.h index 51cd5fc..773ad59 100644 --- a/Sources/Modeler/DlgCreateSpecularTexture.h +++ b/Sources/Modeler/DlgCreateSpecularTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCREATESPECULARTEXTURE_H__8B415FA3_E1DD_11D2_8534_004095812ACC__INCLUDED_) #define AFX_DLGCREATESPECULARTEXTURE_H__8B415FA3_E1DD_11D2_8534_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgExportForSkinning.cpp b/Sources/Modeler/DlgExportForSkinning.cpp index d79828e..091d7b1 100644 --- a/Sources/Modeler/DlgExportForSkinning.cpp +++ b/Sources/Modeler/DlgExportForSkinning.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CDlgExportForSkinning.cpp : implementation file // diff --git a/Sources/Modeler/DlgExportForSkinning.h b/Sources/Modeler/DlgExportForSkinning.h index c3fc28a..592ac91 100644 --- a/Sources/Modeler/DlgExportForSkinning.h +++ b/Sources/Modeler/DlgExportForSkinning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGEXPORTFORSKINNING_H__74008183_5EEE_11D4_84EB_000021291DC7__INCLUDED_) #define AFX_DLGEXPORTFORSKINNING_H__74008183_5EEE_11D4_84EB_000021291DC7__INCLUDED_ diff --git a/Sources/Modeler/DlgInfoFrame.cpp b/Sources/Modeler/DlgInfoFrame.cpp index 07ea324..ba4a52a 100644 --- a/Sources/Modeler/DlgInfoFrame.cpp +++ b/Sources/Modeler/DlgInfoFrame.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgFrameSheet.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoFrame.h b/Sources/Modeler/DlgInfoFrame.h index faf523a..0906115 100644 --- a/Sources/Modeler/DlgInfoFrame.h +++ b/Sources/Modeler/DlgInfoFrame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoFrame.h : header file diff --git a/Sources/Modeler/DlgInfoPgAnim.cpp b/Sources/Modeler/DlgInfoPgAnim.cpp index 895c241..737cb76 100644 --- a/Sources/Modeler/DlgInfoPgAnim.cpp +++ b/Sources/Modeler/DlgInfoPgAnim.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgAnim.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgAnim.h b/Sources/Modeler/DlgInfoPgAnim.h index 0c52737..7ed5caf 100644 --- a/Sources/Modeler/DlgInfoPgAnim.h +++ b/Sources/Modeler/DlgInfoPgAnim.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgAnim.h : header file // diff --git a/Sources/Modeler/DlgInfoPgGlobal.cpp b/Sources/Modeler/DlgInfoPgGlobal.cpp index 98a8281..71ee34a 100644 --- a/Sources/Modeler/DlgInfoPgGlobal.cpp +++ b/Sources/Modeler/DlgInfoPgGlobal.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgGlobal.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgMip.cpp b/Sources/Modeler/DlgInfoPgMip.cpp index 1a20238..8a9850d 100644 --- a/Sources/Modeler/DlgInfoPgMip.cpp +++ b/Sources/Modeler/DlgInfoPgMip.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgMip.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgMip.h b/Sources/Modeler/DlgInfoPgMip.h index 240a74b..6ec1ecb 100644 --- a/Sources/Modeler/DlgInfoPgMip.h +++ b/Sources/Modeler/DlgInfoPgMip.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGINFOPGMIP_H__2B26F795_E15C_11D2_8532_004095812ACC__INCLUDED_) #define AFX_DLGINFOPGMIP_H__2B26F795_E15C_11D2_8532_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgInfoPgNone.cpp b/Sources/Modeler/DlgInfoPgNone.cpp index 4297ad2..571c52d 100644 --- a/Sources/Modeler/DlgInfoPgNone.cpp +++ b/Sources/Modeler/DlgInfoPgNone.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgNone.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgNone.h b/Sources/Modeler/DlgInfoPgNone.h index 72fb54f..f31b8c6 100644 --- a/Sources/Modeler/DlgInfoPgNone.h +++ b/Sources/Modeler/DlgInfoPgNone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgNone.h : header file // diff --git a/Sources/Modeler/DlgInfoPgPos.cpp b/Sources/Modeler/DlgInfoPgPos.cpp index d34b00a..667ac76 100644 --- a/Sources/Modeler/DlgInfoPgPos.cpp +++ b/Sources/Modeler/DlgInfoPgPos.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgPos.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgPos.h b/Sources/Modeler/DlgInfoPgPos.h index 8f68585..7389e54 100644 --- a/Sources/Modeler/DlgInfoPgPos.h +++ b/Sources/Modeler/DlgInfoPgPos.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgPos.h : header file // diff --git a/Sources/Modeler/DlgInfoPgRendering.cpp b/Sources/Modeler/DlgInfoPgRendering.cpp index 92f9516..e2da110 100644 --- a/Sources/Modeler/DlgInfoPgRendering.cpp +++ b/Sources/Modeler/DlgInfoPgRendering.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgRendering.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoPgRendering.h b/Sources/Modeler/DlgInfoPgRendering.h index 85b1160..b45530a 100644 --- a/Sources/Modeler/DlgInfoPgRendering.h +++ b/Sources/Modeler/DlgInfoPgRendering.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgRendering.h : header file // diff --git a/Sources/Modeler/DlgInfoSheet.cpp b/Sources/Modeler/DlgInfoSheet.cpp index 581b51c..717adc3 100644 --- a/Sources/Modeler/DlgInfoSheet.cpp +++ b/Sources/Modeler/DlgInfoSheet.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoSheet.cpp : implementation file // diff --git a/Sources/Modeler/DlgInfoSheet.h b/Sources/Modeler/DlgInfoSheet.h index 1f767c7..209089f 100644 --- a/Sources/Modeler/DlgInfoSheet.h +++ b/Sources/Modeler/DlgInfoSheet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoSheet.h : header file // diff --git a/Sources/Modeler/DlgMarkLinkedSurfaces.cpp b/Sources/Modeler/DlgMarkLinkedSurfaces.cpp index 0328d0e..88812a8 100644 --- a/Sources/Modeler/DlgMarkLinkedSurfaces.cpp +++ b/Sources/Modeler/DlgMarkLinkedSurfaces.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgMarkLinkedSurfaces.cpp : implementation file // diff --git a/Sources/Modeler/DlgMarkLinkedSurfaces.h b/Sources/Modeler/DlgMarkLinkedSurfaces.h index 5a3c1bd..2329474 100644 --- a/Sources/Modeler/DlgMarkLinkedSurfaces.h +++ b/Sources/Modeler/DlgMarkLinkedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgMarkLinkedSurfaces.h : header file // diff --git a/Sources/Modeler/DlgMultiplyMapping.cpp b/Sources/Modeler/DlgMultiplyMapping.cpp index 38b41da..aa55b7e 100644 --- a/Sources/Modeler/DlgMultiplyMapping.cpp +++ b/Sources/Modeler/DlgMultiplyMapping.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgMultiplyMapping.cpp : implementation file // diff --git a/Sources/Modeler/DlgMultiplyMapping.h b/Sources/Modeler/DlgMultiplyMapping.h index ee314fc..15853f3 100644 --- a/Sources/Modeler/DlgMultiplyMapping.h +++ b/Sources/Modeler/DlgMultiplyMapping.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgMultiplyMapping.h : header file // diff --git a/Sources/Modeler/DlgNewProgress.cpp b/Sources/Modeler/DlgNewProgress.cpp index 2dba008..50a4fc9 100644 --- a/Sources/Modeler/DlgNewProgress.cpp +++ b/Sources/Modeler/DlgNewProgress.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgNewProgress.cpp : implementation file // diff --git a/Sources/Modeler/DlgNewProgress.h b/Sources/Modeler/DlgNewProgress.h index ac80db5..8976332 100644 --- a/Sources/Modeler/DlgNewProgress.h +++ b/Sources/Modeler/DlgNewProgress.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgNewProgress.h : header file // diff --git a/Sources/Modeler/DlgNumericAlpha.cpp b/Sources/Modeler/DlgNumericAlpha.cpp index 705a4e6..2f8a3bf 100644 --- a/Sources/Modeler/DlgNumericAlpha.cpp +++ b/Sources/Modeler/DlgNumericAlpha.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgNumericAlpha.cpp : implementation file // diff --git a/Sources/Modeler/DlgNumericAlpha.h b/Sources/Modeler/DlgNumericAlpha.h index 4d18221..d41567c 100644 --- a/Sources/Modeler/DlgNumericAlpha.h +++ b/Sources/Modeler/DlgNumericAlpha.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_) #define AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgPgCollision.cpp b/Sources/Modeler/DlgPgCollision.cpp index 089058a..0d7b85a 100644 --- a/Sources/Modeler/DlgPgCollision.cpp +++ b/Sources/Modeler/DlgPgCollision.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgCollision.cpp : implementation file // diff --git a/Sources/Modeler/DlgPgCollision.h b/Sources/Modeler/DlgPgCollision.h index 70dc50b..30bae52 100644 --- a/Sources/Modeler/DlgPgCollision.h +++ b/Sources/Modeler/DlgPgCollision.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgCollision.h : header file // diff --git a/Sources/Modeler/DlgPgInfoAttachingPlacement.cpp b/Sources/Modeler/DlgPgInfoAttachingPlacement.cpp index 1a473b1..3d9b0df 100644 --- a/Sources/Modeler/DlgPgInfoAttachingPlacement.cpp +++ b/Sources/Modeler/DlgPgInfoAttachingPlacement.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgInfoAttachingPlacement.cpp : implementation file // diff --git a/Sources/Modeler/DlgPgInfoAttachingPlacement.h b/Sources/Modeler/DlgPgInfoAttachingPlacement.h index 7d99c41..7b92fdc 100644 --- a/Sources/Modeler/DlgPgInfoAttachingPlacement.h +++ b/Sources/Modeler/DlgPgInfoAttachingPlacement.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGINFOATTACHINGPLACEMENT_H__01700903_25FE_11D2_8361_004095812ACC__INCLUDED_) #define AFX_DLGPGINFOATTACHINGPLACEMENT_H__01700903_25FE_11D2_8361_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgPgInfoAttachingSound.cpp b/Sources/Modeler/DlgPgInfoAttachingSound.cpp index 14aad8c..d041076 100644 --- a/Sources/Modeler/DlgPgInfoAttachingSound.cpp +++ b/Sources/Modeler/DlgPgInfoAttachingSound.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgInfoAttachingSound.cpp : implementation file // diff --git a/Sources/Modeler/DlgPgInfoAttachingSound.h b/Sources/Modeler/DlgPgInfoAttachingSound.h index bfd10ad..8c5ea97 100644 --- a/Sources/Modeler/DlgPgInfoAttachingSound.h +++ b/Sources/Modeler/DlgPgInfoAttachingSound.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGINFOATTACHINGSOUND_H__5B34DD66_A487_11D2_849B_004095812ACC__INCLUDED_) #define AFX_DLGPGINFOATTACHINGSOUND_H__5B34DD66_A487_11D2_849B_004095812ACC__INCLUDED_ diff --git a/Sources/Modeler/DlgPleaseWait.cpp b/Sources/Modeler/DlgPleaseWait.cpp index aaa6e91..8b386fa 100644 --- a/Sources/Modeler/DlgPleaseWait.cpp +++ b/Sources/Modeler/DlgPleaseWait.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPleaseWait.cpp : implementation file // diff --git a/Sources/Modeler/DlgPleaseWait.h b/Sources/Modeler/DlgPleaseWait.h index b15a0fc..8db9c21 100644 --- a/Sources/Modeler/DlgPleaseWait.h +++ b/Sources/Modeler/DlgPleaseWait.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPleaseWait.h : header file // diff --git a/Sources/Modeler/DlgPreferences.cpp b/Sources/Modeler/DlgPreferences.cpp index 784917c..52e205c 100644 --- a/Sources/Modeler/DlgPreferences.cpp +++ b/Sources/Modeler/DlgPreferences.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPreferences.cpp : implementation file // diff --git a/Sources/Modeler/DlgPreferences.h b/Sources/Modeler/DlgPreferences.h index b81da07..9c5d259 100644 --- a/Sources/Modeler/DlgPreferences.h +++ b/Sources/Modeler/DlgPreferences.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPreferences.h : header file // diff --git a/Sources/Modeler/LinkedSurfaceList.cpp b/Sources/Modeler/LinkedSurfaceList.cpp index 4ffe1da..7ecf77e 100644 --- a/Sources/Modeler/LinkedSurfaceList.cpp +++ b/Sources/Modeler/LinkedSurfaceList.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // LinkedSurfaceList.cpp : implementation file // diff --git a/Sources/Modeler/LinkedSurfaceList.h b/Sources/Modeler/LinkedSurfaceList.h index 478e302..90f54ad 100644 --- a/Sources/Modeler/LinkedSurfaceList.h +++ b/Sources/Modeler/LinkedSurfaceList.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // LinkedSurfaceList.h : header file // diff --git a/Sources/Modeler/MainFrm.cpp b/Sources/Modeler/MainFrm.cpp index 9095af3..f1c4275 100644 --- a/Sources/Modeler/MainFrm.cpp +++ b/Sources/Modeler/MainFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MainFrm.cpp : implementation of the CMainFrame class // diff --git a/Sources/Modeler/MainFrm.h b/Sources/Modeler/MainFrm.h index 37fd2d9..8599718 100644 --- a/Sources/Modeler/MainFrm.h +++ b/Sources/Modeler/MainFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MainFrm.h : interface of the CMainFrame class // diff --git a/Sources/Modeler/Modeler.cpp b/Sources/Modeler/Modeler.cpp index ae0fb50..6ad7134 100644 --- a/Sources/Modeler/Modeler.cpp +++ b/Sources/Modeler/Modeler.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Modeler.cpp : Defines the class behaviors for the application. // diff --git a/Sources/Modeler/Modeler.h b/Sources/Modeler/Modeler.h index 1802c5f..5aaf272 100644 --- a/Sources/Modeler/Modeler.h +++ b/Sources/Modeler/Modeler.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Modeler.h : main header file for the MODELER application // diff --git a/Sources/Modeler/ModelerDoc.cpp b/Sources/Modeler/ModelerDoc.cpp index 10335f1..b4b641c 100644 --- a/Sources/Modeler/ModelerDoc.cpp +++ b/Sources/Modeler/ModelerDoc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelerDoc.cpp : implementation of the CModelerDoc class // diff --git a/Sources/Modeler/ModelerDoc.h b/Sources/Modeler/ModelerDoc.h index 37ef59c..d794030 100644 --- a/Sources/Modeler/ModelerDoc.h +++ b/Sources/Modeler/ModelerDoc.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelerDoc.h : interface of the CModelerDoc class // diff --git a/Sources/Modeler/ModelerView.cpp b/Sources/Modeler/ModelerView.cpp index 1de140e..4fb9739 100644 --- a/Sources/Modeler/ModelerView.cpp +++ b/Sources/Modeler/ModelerView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelerView.cpp : implementation of the CModelerView class // diff --git a/Sources/Modeler/ModelerView.h b/Sources/Modeler/ModelerView.h index 28d81f5..45200d5 100644 --- a/Sources/Modeler/ModelerView.h +++ b/Sources/Modeler/ModelerView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelerView.h : interface of the CModelerView class // diff --git a/Sources/Modeler/PaletteButton.cpp b/Sources/Modeler/PaletteButton.cpp index 23584ca..1acbb29 100644 --- a/Sources/Modeler/PaletteButton.cpp +++ b/Sources/Modeler/PaletteButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PaletteButton.cpp : implementation file // diff --git a/Sources/Modeler/PaletteButton.h b/Sources/Modeler/PaletteButton.h index ebb5af8..3bf4779 100644 --- a/Sources/Modeler/PaletteButton.h +++ b/Sources/Modeler/PaletteButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PaletteButton.h : header file // diff --git a/Sources/Modeler/PaletteDialog.cpp b/Sources/Modeler/PaletteDialog.cpp index 8b29d53..a8875b2 100644 --- a/Sources/Modeler/PaletteDialog.cpp +++ b/Sources/Modeler/PaletteDialog.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PaletteDialog.cpp : implementation file // diff --git a/Sources/Modeler/PaletteDialog.h b/Sources/Modeler/PaletteDialog.h index b5db48f..ce559f6 100644 --- a/Sources/Modeler/PaletteDialog.h +++ b/Sources/Modeler/PaletteDialog.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PaletteDialog.h : header file // diff --git a/Sources/Modeler/PatchPalette.cpp b/Sources/Modeler/PatchPalette.cpp index 5e246da..d70683a 100644 --- a/Sources/Modeler/PatchPalette.cpp +++ b/Sources/Modeler/PatchPalette.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PatchPalette.cpp : implementation file // diff --git a/Sources/Modeler/PatchPalette.h b/Sources/Modeler/PatchPalette.h index b930bcd..1d122bf 100644 --- a/Sources/Modeler/PatchPalette.h +++ b/Sources/Modeler/PatchPalette.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PatchPalette.h : header file // diff --git a/Sources/Modeler/PatchPaletteButton.cpp b/Sources/Modeler/PatchPaletteButton.cpp index 63f7379..5b0a3dc 100644 --- a/Sources/Modeler/PatchPaletteButton.cpp +++ b/Sources/Modeler/PatchPaletteButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PatchPaletteButton.cpp : implementation file // diff --git a/Sources/Modeler/PatchPaletteButton.h b/Sources/Modeler/PatchPaletteButton.h index 57612c7..58ec4c8 100644 --- a/Sources/Modeler/PatchPaletteButton.h +++ b/Sources/Modeler/PatchPaletteButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PatchPaletteButton.h : header file // diff --git a/Sources/Modeler/ScriptDoc.cpp b/Sources/Modeler/ScriptDoc.cpp index d61c374..b469d59 100644 --- a/Sources/Modeler/ScriptDoc.cpp +++ b/Sources/Modeler/ScriptDoc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ScriptDoc.cpp : implementation file // diff --git a/Sources/Modeler/ScriptDoc.h b/Sources/Modeler/ScriptDoc.h index 7cf2b77..d00ac0e 100644 --- a/Sources/Modeler/ScriptDoc.h +++ b/Sources/Modeler/ScriptDoc.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ScriptDoc.h : header file // diff --git a/Sources/Modeler/ScriptView.cpp b/Sources/Modeler/ScriptView.cpp index 1c1473f..945ab50 100644 --- a/Sources/Modeler/ScriptView.cpp +++ b/Sources/Modeler/ScriptView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ScriptView.cpp : implementation file // @@ -206,4 +219,4 @@ void CScriptView::OnScriptUpdateMipmodels() break; } } -} \ No newline at end of file +} diff --git a/Sources/Modeler/ScriptView.h b/Sources/Modeler/ScriptView.h index f24b751..9229e85 100644 --- a/Sources/Modeler/ScriptView.h +++ b/Sources/Modeler/ScriptView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ScriptView.h : header file // diff --git a/Sources/Modeler/SkyFloat.cpp b/Sources/Modeler/SkyFloat.cpp index 110596b..8736497 100644 --- a/Sources/Modeler/SkyFloat.cpp +++ b/Sources/Modeler/SkyFloat.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SkyFloat.cpp : implementation of DDX_SkyFloat diff --git a/Sources/Modeler/SkyFloat.h b/Sources/Modeler/SkyFloat.h index 91cc4db..8c2946a 100644 --- a/Sources/Modeler/SkyFloat.h +++ b/Sources/Modeler/SkyFloat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SkyFloat.h : header file // diff --git a/Sources/Modeler/StainsComboBox.cpp b/Sources/Modeler/StainsComboBox.cpp index be66731..d9fd46c 100644 --- a/Sources/Modeler/StainsComboBox.cpp +++ b/Sources/Modeler/StainsComboBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // StainsComboBox.cpp : implementation file // diff --git a/Sources/Modeler/StainsComboBox.h b/Sources/Modeler/StainsComboBox.h index b39f754..32b5eba 100644 --- a/Sources/Modeler/StainsComboBox.h +++ b/Sources/Modeler/StainsComboBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // StainsComboBox.h : header file // diff --git a/Sources/Modeler/StdAfx.cpp b/Sources/Modeler/StdAfx.cpp index 383f966..dbdaa53 100644 --- a/Sources/Modeler/StdAfx.cpp +++ b/Sources/Modeler/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // Modeler.pch will be the pre-compiled header diff --git a/Sources/Modeler/StdAfx.h b/Sources/Modeler/StdAfx.h index 2484dfc..1f5caea 100644 --- a/Sources/Modeler/StdAfx.h +++ b/Sources/Modeler/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but diff --git a/Sources/Modeler/TextureComboBox.cpp b/Sources/Modeler/TextureComboBox.cpp index d2ea38c..6bc2ce3 100644 --- a/Sources/Modeler/TextureComboBox.cpp +++ b/Sources/Modeler/TextureComboBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TextureComboBox.cpp : implementation file // diff --git a/Sources/Modeler/TextureComboBox.h b/Sources/Modeler/TextureComboBox.h index 27ec310..a160b76 100644 --- a/Sources/Modeler/TextureComboBox.h +++ b/Sources/Modeler/TextureComboBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TextureComboBox.h : header file // diff --git a/Sources/Modeler/dlginfopgglobal.h b/Sources/Modeler/dlginfopgglobal.h index 27ee50e..909f973 100644 --- a/Sources/Modeler/dlginfopgglobal.h +++ b/Sources/Modeler/dlginfopgglobal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgInfoPgGlobal.h : header file // diff --git a/Sources/Modeler/resource.h b/Sources/Modeler/resource.h index fb2b283..b3eac2b 100644 --- a/Sources/Modeler/resource.h +++ b/Sources/Modeler/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/Models/Ages/Egypt/Architecture/Column07/Column.h b/Sources/Models/Ages/Egypt/Architecture/Column07/Column.h index 624d9ba..5715b51 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Column07/Column.h +++ b/Sources/Models/Ages/Egypt/Architecture/Column07/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/Column08/Column.h b/Sources/Models/Ages/Egypt/Architecture/Column08/Column.h index 624d9ba..5715b51 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Column08/Column.h +++ b/Sources/Models/Ages/Egypt/Architecture/Column08/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/Columns02/Columns.h b/Sources/Models/Ages/Egypt/Architecture/Columns02/Columns.h index 412a489..a69281a 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Columns02/Columns.h +++ b/Sources/Models/Ages/Egypt/Architecture/Columns02/Columns.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMNS_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/Fence01/Fence.h b/Sources/Models/Ages/Egypt/Architecture/Fence01/Fence.h index a1008df..c309e7b 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Fence01/Fence.h +++ b/Sources/Models/Ages/Egypt/Architecture/Fence01/Fence.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/SmoothGate01/SmoothGate.h b/Sources/Models/Ages/Egypt/Architecture/SmoothGate01/SmoothGate.h index 126017a..594887a 100644 --- a/Sources/Models/Ages/Egypt/Architecture/SmoothGate01/SmoothGate.h +++ b/Sources/Models/Ages/Egypt/Architecture/SmoothGate01/SmoothGate.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOOTHGATE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/Switch01/Handle.h b/Sources/Models/Ages/Egypt/Architecture/Switch01/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Switch01/Handle.h +++ b/Sources/Models/Ages/Egypt/Architecture/Switch01/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Architecture/Switch01/Switch.h b/Sources/Models/Ages/Egypt/Architecture/Switch01/Switch.h index 7c10ec1..f8a7a3f 100644 --- a/Sources/Models/Ages/Egypt/Architecture/Switch01/Switch.h +++ b/Sources/Models/Ages/Egypt/Architecture/Switch01/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amon/Amon.h b/Sources/Models/Ages/Egypt/Gods/Amon/Amon.h index 1800854..ed01c93 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amon/Amon.h +++ b/Sources/Models/Ages/Egypt/Gods/Amon/Amon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amon/AmonGold.h b/Sources/Models/Ages/Egypt/Gods/Amon/AmonGold.h index f7fe13b..e590970 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amon/AmonGold.h +++ b/Sources/Models/Ages/Egypt/Gods/Amon/AmonGold.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMONGOLD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amon/AmonReflections.h b/Sources/Models/Ages/Egypt/Gods/Amon/AmonReflections.h index 8d19a98..c457cf8 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amon/AmonReflections.h +++ b/Sources/Models/Ages/Egypt/Gods/Amon/AmonReflections.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMONREFLECTIONS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amonorg/Amon.h b/Sources/Models/Ages/Egypt/Gods/Amonorg/Amon.h index e977060..2fcd0de 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amonorg/Amon.h +++ b/Sources/Models/Ages/Egypt/Gods/Amonorg/Amon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amonorg/AmonGold.h b/Sources/Models/Ages/Egypt/Gods/Amonorg/AmonGold.h index f7fe13b..e590970 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amonorg/AmonGold.h +++ b/Sources/Models/Ages/Egypt/Gods/Amonorg/AmonGold.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMONGOLD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Amonorg/Destroyed.h b/Sources/Models/Ages/Egypt/Gods/Amonorg/Destroyed.h index 1173185..10d34aa 100644 --- a/Sources/Models/Ages/Egypt/Gods/Amonorg/Destroyed.h +++ b/Sources/Models/Ages/Egypt/Gods/Amonorg/Destroyed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DESTROYED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Nefthis/Nefthis.h b/Sources/Models/Ages/Egypt/Gods/Nefthis/Nefthis.h index 4a8a6eb..cf981c5 100644 --- a/Sources/Models/Ages/Egypt/Gods/Nefthis/Nefthis.h +++ b/Sources/Models/Ages/Egypt/Gods/Nefthis/Nefthis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NEFTHIS_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Neith/Neith.h b/Sources/Models/Ages/Egypt/Gods/Neith/Neith.h index b998b20..45ed548 100644 --- a/Sources/Models/Ages/Egypt/Gods/Neith/Neith.h +++ b/Sources/Models/Ages/Egypt/Gods/Neith/Neith.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NEITH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Osiris/Osiris.h b/Sources/Models/Ages/Egypt/Gods/Osiris/Osiris.h index 7f431e2..205155e 100644 --- a/Sources/Models/Ages/Egypt/Gods/Osiris/Osiris.h +++ b/Sources/Models/Ages/Egypt/Gods/Osiris/Osiris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define OSIRIS_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Ptah/Ptah.h b/Sources/Models/Ages/Egypt/Gods/Ptah/Ptah.h index fad340c..a6b0d0d 100644 --- a/Sources/Models/Ages/Egypt/Gods/Ptah/Ptah.h +++ b/Sources/Models/Ages/Egypt/Gods/Ptah/Ptah.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PTAH_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Sekhmet/Sekhmet.h b/Sources/Models/Ages/Egypt/Gods/Sekhmet/Sekhmet.h index 8cceb1a..e63d788 100644 --- a/Sources/Models/Ages/Egypt/Gods/Sekhmet/Sekhmet.h +++ b/Sources/Models/Ages/Egypt/Gods/Sekhmet/Sekhmet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SEKHMET_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Gods/Toth/Toth.h b/Sources/Models/Ages/Egypt/Gods/Toth/Toth.h index 865f0ec..4e06475 100644 --- a/Sources/Models/Ages/Egypt/Gods/Toth/Toth.h +++ b/Sources/Models/Ages/Egypt/Gods/Toth/Toth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTH_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Gods/TothMonkey/TothMonkey.h b/Sources/Models/Ages/Egypt/Gods/TothMonkey/TothMonkey.h index 66b6f5e..b4c63c5 100644 --- a/Sources/Models/Ages/Egypt/Gods/TothMonkey/TothMonkey.h +++ b/Sources/Models/Ages/Egypt/Gods/TothMonkey/TothMonkey.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTHMONKEY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Objects/Horns03/Destroyed.h b/Sources/Models/Ages/Egypt/Objects/Horns03/Destroyed.h index 1173185..10d34aa 100644 --- a/Sources/Models/Ages/Egypt/Objects/Horns03/Destroyed.h +++ b/Sources/Models/Ages/Egypt/Objects/Horns03/Destroyed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DESTROYED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Objects/Horns03/Horns.h b/Sources/Models/Ages/Egypt/Objects/Horns03/Horns.h index 2f2250f..5000cb1 100644 --- a/Sources/Models/Ages/Egypt/Objects/Horns03/Horns.h +++ b/Sources/Models/Ages/Egypt/Objects/Horns03/Horns.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORNS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/BirdStatue/BirdStatue.h b/Sources/Models/Ages/Egypt/Statues/BirdStatue/BirdStatue.h index 6358859..d23053e 100644 --- a/Sources/Models/Ages/Egypt/Statues/BirdStatue/BirdStatue.h +++ b/Sources/Models/Ages/Egypt/Statues/BirdStatue/BirdStatue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIRDSTATUE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Cat/Cat.h b/Sources/Models/Ages/Egypt/Statues/Cat/Cat.h index 1d70f77..d60bef1 100644 --- a/Sources/Models/Ages/Egypt/Statues/Cat/Cat.h +++ b/Sources/Models/Ages/Egypt/Statues/Cat/Cat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Jackal/Jackal.h b/Sources/Models/Ages/Egypt/Statues/Jackal/Jackal.h index f3df413..d6aa730 100644 --- a/Sources/Models/Ages/Egypt/Statues/Jackal/Jackal.h +++ b/Sources/Models/Ages/Egypt/Statues/Jackal/Jackal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JACKAL_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Jackal01/Destroyed.h b/Sources/Models/Ages/Egypt/Statues/Jackal01/Destroyed.h index 1173185..10d34aa 100644 --- a/Sources/Models/Ages/Egypt/Statues/Jackal01/Destroyed.h +++ b/Sources/Models/Ages/Egypt/Statues/Jackal01/Destroyed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DESTROYED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Jackal01/Jackal.h b/Sources/Models/Ages/Egypt/Statues/Jackal01/Jackal.h index f239a71..5864ed5 100644 --- a/Sources/Models/Ages/Egypt/Statues/Jackal01/Jackal.h +++ b/Sources/Models/Ages/Egypt/Statues/Jackal01/Jackal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JACKAL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Jaguar02/Destroyed.h b/Sources/Models/Ages/Egypt/Statues/Jaguar02/Destroyed.h index 1173185..10d34aa 100644 --- a/Sources/Models/Ages/Egypt/Statues/Jaguar02/Destroyed.h +++ b/Sources/Models/Ages/Egypt/Statues/Jaguar02/Destroyed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DESTROYED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Jaguar02/Jaguar.h b/Sources/Models/Ages/Egypt/Statues/Jaguar02/Jaguar.h index 8a2220c..9068f85 100644 --- a/Sources/Models/Ages/Egypt/Statues/Jaguar02/Jaguar.h +++ b/Sources/Models/Ages/Egypt/Statues/Jaguar02/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Neferthiti/Nefer.h b/Sources/Models/Ages/Egypt/Statues/Neferthiti/Nefer.h index 98c078a..bd348a8 100644 --- a/Sources/Models/Ages/Egypt/Statues/Neferthiti/Nefer.h +++ b/Sources/Models/Ages/Egypt/Statues/Neferthiti/Nefer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NEFER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Sphinx03/Sphinx.h b/Sources/Models/Ages/Egypt/Statues/Sphinx03/Sphinx.h index 84aab8a..5c4f22b 100644 --- a/Sources/Models/Ages/Egypt/Statues/Sphinx03/Sphinx.h +++ b/Sources/Models/Ages/Egypt/Statues/Sphinx03/Sphinx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHINX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Sphinx04/Destroyed.h b/Sources/Models/Ages/Egypt/Statues/Sphinx04/Destroyed.h index 1173185..10d34aa 100644 --- a/Sources/Models/Ages/Egypt/Statues/Sphinx04/Destroyed.h +++ b/Sources/Models/Ages/Egypt/Statues/Sphinx04/Destroyed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DESTROYED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Statues/Sphinx04/Sphinx.h b/Sources/Models/Ages/Egypt/Statues/Sphinx04/Sphinx.h index 84aab8a..5c4f22b 100644 --- a/Sources/Models/Ages/Egypt/Statues/Sphinx04/Sphinx.h +++ b/Sources/Models/Ages/Egypt/Statues/Sphinx04/Sphinx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHINX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Traps/RollingStone/RollingStone.h b/Sources/Models/Ages/Egypt/Traps/RollingStone/RollingStone.h index 8216d6d..a2d1502 100644 --- a/Sources/Models/Ages/Egypt/Traps/RollingStone/RollingStone.h +++ b/Sources/Models/Ages/Egypt/Traps/RollingStone/RollingStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROLLINGSTONE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Traps/RollingStone/Stone.h b/Sources/Models/Ages/Egypt/Traps/RollingStone/Stone.h index 6b772b2..a543df2 100644 --- a/Sources/Models/Ages/Egypt/Traps/RollingStone/Stone.h +++ b/Sources/Models/Ages/Egypt/Traps/RollingStone/Stone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Ages/Egypt/Traps/RollingStone_old/RollingStone.h b/Sources/Models/Ages/Egypt/Traps/RollingStone_old/RollingStone.h index e2ce558..479269e 100644 --- a/Sources/Models/Ages/Egypt/Traps/RollingStone_old/RollingStone.h +++ b/Sources/Models/Ages/Egypt/Traps/RollingStone_old/RollingStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROLLINGSTONE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Traps/SphinxSplited/Sphinx.h b/Sources/Models/Ages/Egypt/Traps/SphinxSplited/Sphinx.h index 84aab8a..5c4f22b 100644 --- a/Sources/Models/Ages/Egypt/Traps/SphinxSplited/Sphinx.h +++ b/Sources/Models/Ages/Egypt/Traps/SphinxSplited/Sphinx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHINX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Traps/SphinxSplited/SphinxGlass.h b/Sources/Models/Ages/Egypt/Traps/SphinxSplited/SphinxGlass.h index 7a65074..dfc3621 100644 --- a/Sources/Models/Ages/Egypt/Traps/SphinxSplited/SphinxGlass.h +++ b/Sources/Models/Ages/Egypt/Traps/SphinxSplited/SphinxGlass.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHINXGLASS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Egypt/Traps/Spikes01/Spikes.h b/Sources/Models/Ages/Egypt/Traps/Spikes01/Spikes.h index 856d81b..e5cb4b1 100644 --- a/Sources/Models/Ages/Egypt/Traps/Spikes01/Spikes.h +++ b/Sources/Models/Ages/Egypt/Traps/Spikes01/Spikes.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPIKES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Future/LightSources/LightSource05/LightSource.h b/Sources/Models/Ages/Future/LightSources/LightSource05/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/Ages/Future/LightSources/LightSource05/LightSource.h +++ b/Sources/Models/Ages/Future/LightSources/LightSource05/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Future/LightSources/LightSource07/LightSource.h b/Sources/Models/Ages/Future/LightSources/LightSource07/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/Ages/Future/LightSources/LightSource07/LightSource.h +++ b/Sources/Models/Ages/Future/LightSources/LightSource07/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Future/LightSources/LightSource08/LightSource.h b/Sources/Models/Ages/Future/LightSources/LightSource08/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/Ages/Future/LightSources/LightSource08/LightSource.h +++ b/Sources/Models/Ages/Future/LightSources/LightSource08/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Future/LightSources/LightSource09/LightSource.h b/Sources/Models/Ages/Future/LightSources/LightSource09/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/Ages/Future/LightSources/LightSource09/LightSource.h +++ b/Sources/Models/Ages/Future/LightSources/LightSource09/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Ages/Future/Space/Galaxy01/Galaxy.h b/Sources/Models/Ages/Future/Space/Galaxy01/Galaxy.h index 2d9b524..a6510c6 100644 --- a/Sources/Models/Ages/Future/Space/Galaxy01/Galaxy.h +++ b/Sources/Models/Ages/Future/Space/Galaxy01/Galaxy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GALAXY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Computer/Floor.h b/Sources/Models/Computer/Floor.h index 962409d..8cc8c30 100644 --- a/Sources/Models/Computer/Floor.h +++ b/Sources/Models/Computer/Floor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/CutSequences/Altar/Altar.h b/Sources/Models/CutSequences/Altar/Altar.h index 0d2eb97..98cd409 100644 --- a/Sources/Models/CutSequences/Altar/Altar.h +++ b/Sources/Models/CutSequences/Altar/Altar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ALTAR_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/AltarKarnakApproach/Altar.h b/Sources/Models/CutSequences/AltarKarnakApproach/Altar.h index 0d2eb97..98cd409 100644 --- a/Sources/Models/CutSequences/AltarKarnakApproach/Altar.h +++ b/Sources/Models/CutSequences/AltarKarnakApproach/Altar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ALTAR_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/AltarPicker/AltarPicker.h b/Sources/Models/CutSequences/AltarPicker/AltarPicker.h index d921a82..70ebb65 100644 --- a/Sources/Models/CutSequences/AltarPicker/AltarPicker.h +++ b/Sources/Models/CutSequences/AltarPicker/AltarPicker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ALTARPICKER_ANIM_CLOSED 0 diff --git a/Sources/Models/CutSequences/Bridge/Bridge.h b/Sources/Models/CutSequences/Bridge/Bridge.h index c246002..5ddaec1 100644 --- a/Sources/Models/CutSequences/Bridge/Bridge.h +++ b/Sources/Models/CutSequences/Bridge/Bridge.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRIDGE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Bridge/BridgeSupport.h b/Sources/Models/CutSequences/Bridge/BridgeSupport.h index 6a71365..dc31827 100644 --- a/Sources/Models/CutSequences/Bridge/BridgeSupport.h +++ b/Sources/Models/CutSequences/Bridge/BridgeSupport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRIDGESUPPORT_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Counter/Digit.h b/Sources/Models/CutSequences/Counter/Digit.h index 243e274..dc20ecc 100644 --- a/Sources/Models/CutSequences/Counter/Digit.h +++ b/Sources/Models/CutSequences/Counter/Digit.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DIGIT_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Crate/Crate.h b/Sources/Models/CutSequences/Crate/Crate.h index 0f49fae..7b672eb 100644 --- a/Sources/Models/CutSequences/Crate/Crate.h +++ b/Sources/Models/CutSequences/Crate/Crate.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CRATE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Crate/CrateLowPoly.h b/Sources/Models/CutSequences/Crate/CrateLowPoly.h index 3327a50..a3f8d2c 100644 --- a/Sources/Models/CutSequences/Crate/CrateLowPoly.h +++ b/Sources/Models/CutSequences/Crate/CrateLowPoly.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CRATELOWPOLY_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/CrateRider/Crate.h b/Sources/Models/CutSequences/CrateRider/Crate.h index fa87a1c..6cc206f 100644 --- a/Sources/Models/CutSequences/CrateRider/Crate.h +++ b/Sources/Models/CutSequences/CrateRider/Crate.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CRATE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/CroteamLogo/CroteamLogo.h b/Sources/Models/CutSequences/CroteamLogo/CroteamLogo.h index 77f5f16..a25b1ac 100644 --- a/Sources/Models/CutSequences/CroteamLogo/CroteamLogo.h +++ b/Sources/Models/CutSequences/CroteamLogo/CroteamLogo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROTEAMLOGO_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Earth/Earth.h b/Sources/Models/CutSequences/Earth/Earth.h index 2528002..5aa1d98 100644 --- a/Sources/Models/CutSequences/Earth/Earth.h +++ b/Sources/Models/CutSequences/Earth/Earth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EARTH_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/EndTitle/ToBeContinued.h b/Sources/Models/CutSequences/EndTitle/ToBeContinued.h index 2e1ec50..24454a6 100644 --- a/Sources/Models/CutSequences/EndTitle/ToBeContinued.h +++ b/Sources/Models/CutSequences/EndTitle/ToBeContinued.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOBECONTINUED_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp01/Lamp.h b/Sources/Models/CutSequences/Lamp01/Lamp.h index 6862367..93874ca 100644 --- a/Sources/Models/CutSequences/Lamp01/Lamp.h +++ b/Sources/Models/CutSequences/Lamp01/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp02/Lamp.h b/Sources/Models/CutSequences/Lamp02/Lamp.h index 6862367..93874ca 100644 --- a/Sources/Models/CutSequences/Lamp02/Lamp.h +++ b/Sources/Models/CutSequences/Lamp02/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp03/Lamp.h b/Sources/Models/CutSequences/Lamp03/Lamp.h index 6862367..93874ca 100644 --- a/Sources/Models/CutSequences/Lamp03/Lamp.h +++ b/Sources/Models/CutSequences/Lamp03/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp04/Lamp.h b/Sources/Models/CutSequences/Lamp04/Lamp.h index 6862367..93874ca 100644 --- a/Sources/Models/CutSequences/Lamp04/Lamp.h +++ b/Sources/Models/CutSequences/Lamp04/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp05/Glow.h b/Sources/Models/CutSequences/Lamp05/Glow.h index 27c7dc7..2df9a7f 100644 --- a/Sources/Models/CutSequences/Lamp05/Glow.h +++ b/Sources/Models/CutSequences/Lamp05/Glow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLOW_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp05/Light.h b/Sources/Models/CutSequences/Lamp05/Light.h index c793e50..838eb86 100644 --- a/Sources/Models/CutSequences/Lamp05/Light.h +++ b/Sources/Models/CutSequences/Lamp05/Light.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHT_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp06/Glow.h b/Sources/Models/CutSequences/Lamp06/Glow.h index 27c7dc7..2df9a7f 100644 --- a/Sources/Models/CutSequences/Lamp06/Glow.h +++ b/Sources/Models/CutSequences/Lamp06/Glow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLOW_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Lamp06/Lamp.h b/Sources/Models/CutSequences/Lamp06/Lamp.h index 2f8df73..abcbedd 100644 --- a/Sources/Models/CutSequences/Lamp06/Lamp.h +++ b/Sources/Models/CutSequences/Lamp06/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/LogoOdi/LogoOdi.h b/Sources/Models/CutSequences/LogoOdi/LogoOdi.h index 2b9a551..dca5eff 100644 --- a/Sources/Models/CutSequences/LogoOdi/LogoOdi.h +++ b/Sources/Models/CutSequences/LogoOdi/LogoOdi.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LOGOODI_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Luxor/Antenna.h b/Sources/Models/CutSequences/Luxor/Antenna.h index b4694fa..9012b97 100644 --- a/Sources/Models/CutSequences/Luxor/Antenna.h +++ b/Sources/Models/CutSequences/Luxor/Antenna.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANTENNA_ANIM_CLOSED 0 diff --git a/Sources/Models/CutSequences/Obelisk/MainPart.h b/Sources/Models/CutSequences/Obelisk/MainPart.h index 41d9509..7754c6c 100644 --- a/Sources/Models/CutSequences/Obelisk/MainPart.h +++ b/Sources/Models/CutSequences/Obelisk/MainPart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAINPART_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part01.h b/Sources/Models/CutSequences/Obelisk/Part01.h index 7eb4f78..19140fd 100644 --- a/Sources/Models/CutSequences/Obelisk/Part01.h +++ b/Sources/Models/CutSequences/Obelisk/Part01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART01_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part02.h b/Sources/Models/CutSequences/Obelisk/Part02.h index a39f117..5ac4609 100644 --- a/Sources/Models/CutSequences/Obelisk/Part02.h +++ b/Sources/Models/CutSequences/Obelisk/Part02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART02_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part03.h b/Sources/Models/CutSequences/Obelisk/Part03.h index 962d1e1..f224286 100644 --- a/Sources/Models/CutSequences/Obelisk/Part03.h +++ b/Sources/Models/CutSequences/Obelisk/Part03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART03_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part04.h b/Sources/Models/CutSequences/Obelisk/Part04.h index ee244f2..b418915 100644 --- a/Sources/Models/CutSequences/Obelisk/Part04.h +++ b/Sources/Models/CutSequences/Obelisk/Part04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART04_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part05.h b/Sources/Models/CutSequences/Obelisk/Part05.h index 1872899..a79409d 100644 --- a/Sources/Models/CutSequences/Obelisk/Part05.h +++ b/Sources/Models/CutSequences/Obelisk/Part05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART05_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part06.h b/Sources/Models/CutSequences/Obelisk/Part06.h index 6677301..9c2fe04 100644 --- a/Sources/Models/CutSequences/Obelisk/Part06.h +++ b/Sources/Models/CutSequences/Obelisk/Part06.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART06_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part07.h b/Sources/Models/CutSequences/Obelisk/Part07.h index 2a91534..30a8c28 100644 --- a/Sources/Models/CutSequences/Obelisk/Part07.h +++ b/Sources/Models/CutSequences/Obelisk/Part07.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART07_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part08.h b/Sources/Models/CutSequences/Obelisk/Part08.h index 63fc3f2..0398edb 100644 --- a/Sources/Models/CutSequences/Obelisk/Part08.h +++ b/Sources/Models/CutSequences/Obelisk/Part08.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART08_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Obelisk/Part09.h b/Sources/Models/CutSequences/Obelisk/Part09.h index 850b31c..129bb92 100644 --- a/Sources/Models/CutSequences/Obelisk/Part09.h +++ b/Sources/Models/CutSequences/Obelisk/Part09.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART09_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Portal/Base.h b/Sources/Models/CutSequences/Portal/Base.h index 32138bf..3fa4bb5 100644 --- a/Sources/Models/CutSequences/Portal/Base.h +++ b/Sources/Models/CutSequences/Portal/Base.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BASE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Portal/LightningHolder.h b/Sources/Models/CutSequences/Portal/LightningHolder.h index 30e3469..4b2ba92 100644 --- a/Sources/Models/CutSequences/Portal/LightningHolder.h +++ b/Sources/Models/CutSequences/Portal/LightningHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNINGHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Portal/Portal.h b/Sources/Models/CutSequences/Portal/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/Models/CutSequences/Portal/Portal.h +++ b/Sources/Models/CutSequences/Portal/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/MainPart.h b/Sources/Models/CutSequences/Pylon/MainPart.h index 41d9509..7754c6c 100644 --- a/Sources/Models/CutSequences/Pylon/MainPart.h +++ b/Sources/Models/CutSequences/Pylon/MainPart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAINPART_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part01.h b/Sources/Models/CutSequences/Pylon/Part01.h index 7eb4f78..19140fd 100644 --- a/Sources/Models/CutSequences/Pylon/Part01.h +++ b/Sources/Models/CutSequences/Pylon/Part01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART01_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part02.h b/Sources/Models/CutSequences/Pylon/Part02.h index a39f117..5ac4609 100644 --- a/Sources/Models/CutSequences/Pylon/Part02.h +++ b/Sources/Models/CutSequences/Pylon/Part02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART02_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part03.h b/Sources/Models/CutSequences/Pylon/Part03.h index 962d1e1..f224286 100644 --- a/Sources/Models/CutSequences/Pylon/Part03.h +++ b/Sources/Models/CutSequences/Pylon/Part03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART03_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part04.h b/Sources/Models/CutSequences/Pylon/Part04.h index ee244f2..b418915 100644 --- a/Sources/Models/CutSequences/Pylon/Part04.h +++ b/Sources/Models/CutSequences/Pylon/Part04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART04_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part05.h b/Sources/Models/CutSequences/Pylon/Part05.h index 1872899..a79409d 100644 --- a/Sources/Models/CutSequences/Pylon/Part05.h +++ b/Sources/Models/CutSequences/Pylon/Part05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART05_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part06.h b/Sources/Models/CutSequences/Pylon/Part06.h index 6677301..9c2fe04 100644 --- a/Sources/Models/CutSequences/Pylon/Part06.h +++ b/Sources/Models/CutSequences/Pylon/Part06.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART06_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part07.h b/Sources/Models/CutSequences/Pylon/Part07.h index 2a91534..30a8c28 100644 --- a/Sources/Models/CutSequences/Pylon/Part07.h +++ b/Sources/Models/CutSequences/Pylon/Part07.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART07_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part08.h b/Sources/Models/CutSequences/Pylon/Part08.h index 63fc3f2..0398edb 100644 --- a/Sources/Models/CutSequences/Pylon/Part08.h +++ b/Sources/Models/CutSequences/Pylon/Part08.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART08_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pylon/Part09.h b/Sources/Models/CutSequences/Pylon/Part09.h index 850b31c..129bb92 100644 --- a/Sources/Models/CutSequences/Pylon/Part09.h +++ b/Sources/Models/CutSequences/Pylon/Part09.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART09_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pyramid/Lightning.h b/Sources/Models/CutSequences/Pyramid/Lightning.h index 0198be4..bcd9a2b 100644 --- a/Sources/Models/CutSequences/Pyramid/Lightning.h +++ b/Sources/Models/CutSequences/Pyramid/Lightning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNING_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Pyramid/Ring.h b/Sources/Models/CutSequences/Pyramid/Ring.h index a04aff0..c5a332d 100644 --- a/Sources/Models/CutSequences/Pyramid/Ring.h +++ b/Sources/Models/CutSequences/Pyramid/Ring.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Screens/Frame.h b/Sources/Models/CutSequences/Screens/Frame.h index 4197651..5a026f9 100644 --- a/Sources/Models/CutSequences/Screens/Frame.h +++ b/Sources/Models/CutSequences/Screens/Frame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FRAME_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/Screens/Screen.h b/Sources/Models/CutSequences/Screens/Screen.h index cee7397..c678bca 100644 --- a/Sources/Models/CutSequences/Screens/Screen.h +++ b/Sources/Models/CutSequences/Screens/Screen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SCREEN_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SeriousSamLogo/SeriousSam.h b/Sources/Models/CutSequences/SeriousSamLogo/SeriousSam.h index 3c1e4ed..90d2d0a 100644 --- a/Sources/Models/CutSequences/SeriousSamLogo/SeriousSam.h +++ b/Sources/Models/CutSequences/SeriousSamLogo/SeriousSam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSSAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/CutSequences/SeriousSamSign/SeriousSamSign.h b/Sources/Models/CutSequences/SeriousSamSign/SeriousSamSign.h index 87428a9..5c146b5 100644 --- a/Sources/Models/CutSequences/SeriousSamSign/SeriousSamSign.h +++ b/Sources/Models/CutSequences/SeriousSamSign/SeriousSamSign.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSSAMSIGN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/CutSequences/SpaceShip/BeamMachine.h b/Sources/Models/CutSequences/SpaceShip/BeamMachine.h index a08dc07..acab99c 100644 --- a/Sources/Models/CutSequences/SpaceShip/BeamMachine.h +++ b/Sources/Models/CutSequences/SpaceShip/BeamMachine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAMMACHINE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/BeamMachineRim.h b/Sources/Models/CutSequences/SpaceShip/BeamMachineRim.h index 1f17767..4602f31 100644 --- a/Sources/Models/CutSequences/SpaceShip/BeamMachineRim.h +++ b/Sources/Models/CutSequences/SpaceShip/BeamMachineRim.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAMMACHINERIM_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/Body.h b/Sources/Models/CutSequences/SpaceShip/Body.h index 64b0d4b..34823c5 100644 --- a/Sources/Models/CutSequences/SpaceShip/Body.h +++ b/Sources/Models/CutSequences/SpaceShip/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/BottomFlare.h b/Sources/Models/CutSequences/SpaceShip/BottomFlare.h index 2b86509..d10a53b 100644 --- a/Sources/Models/CutSequences/SpaceShip/BottomFlare.h +++ b/Sources/Models/CutSequences/SpaceShip/BottomFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOTTOMFLARE_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/Door.h b/Sources/Models/CutSequences/SpaceShip/Door.h index 09c978d..e4394c1 100644 --- a/Sources/Models/CutSequences/SpaceShip/Door.h +++ b/Sources/Models/CutSequences/SpaceShip/Door.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOOR_ANIM_CLOSED 0 diff --git a/Sources/Models/CutSequences/SpaceShip/FillIn.h b/Sources/Models/CutSequences/SpaceShip/FillIn.h index ff17f71..2a3bd8c 100644 --- a/Sources/Models/CutSequences/SpaceShip/FillIn.h +++ b/Sources/Models/CutSequences/SpaceShip/FillIn.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FILLIN_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/LightBeam.h b/Sources/Models/CutSequences/SpaceShip/LightBeam.h index c83cd93..9b3ccba 100644 --- a/Sources/Models/CutSequences/SpaceShip/LightBeam.h +++ b/Sources/Models/CutSequences/SpaceShip/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/PowerRing.h b/Sources/Models/CutSequences/SpaceShip/PowerRing.h index cd21363..d68b7fc 100644 --- a/Sources/Models/CutSequences/SpaceShip/PowerRing.h +++ b/Sources/Models/CutSequences/SpaceShip/PowerRing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define POWERRING_ANIM_DEFAULT 0 diff --git a/Sources/Models/CutSequences/SpaceShip/SpaceShip.h b/Sources/Models/CutSequences/SpaceShip/SpaceShip.h index 9f420f1..4d3144a 100644 --- a/Sources/Models/CutSequences/SpaceShip/SpaceShip.h +++ b/Sources/Models/CutSequences/SpaceShip/SpaceShip.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPACESHIP_ANIM_DEFAULT 0 diff --git a/Sources/Models/Editor/AmbientLight.h b/Sources/Models/Editor/AmbientLight.h index ca26a46..4eeb6e5 100644 --- a/Sources/Models/Editor/AmbientLight.h +++ b/Sources/Models/Editor/AmbientLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMBIENTLIGHT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/AngleVector.h b/Sources/Models/Editor/AngleVector.h index 1df77c4..03d3c91 100644 --- a/Sources/Models/Editor/AngleVector.h +++ b/Sources/Models/Editor/AngleVector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANGLEVECTOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/AnimationChanger.h b/Sources/Models/Editor/AnimationChanger.h index f6f1153..264d8dc 100644 --- a/Sources/Models/Editor/AnimationChanger.h +++ b/Sources/Models/Editor/AnimationChanger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANIMATIONCHANGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Axis.h b/Sources/Models/Editor/Axis.h index e4ff3bd..b7b7bb2 100644 --- a/Sources/Models/Editor/Axis.h +++ b/Sources/Models/Editor/Axis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AXIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/BlendController.h b/Sources/Models/Editor/BlendController.h index 6c79d40..f753f47 100644 --- a/Sources/Models/Editor/BlendController.h +++ b/Sources/Models/Editor/BlendController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLENDCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/BoundingBox.h b/Sources/Models/Editor/BoundingBox.h index 7bc42fe..e3ecb79 100644 --- a/Sources/Models/Editor/BoundingBox.h +++ b/Sources/Models/Editor/BoundingBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOUNDINGBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Camera.h b/Sources/Models/Editor/Camera.h index 394d215..92bf485 100644 --- a/Sources/Models/Editor/Camera.h +++ b/Sources/Models/Editor/Camera.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAMERA_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/CameraMarker.h b/Sources/Models/Editor/CameraMarker.h index ec52bf4..a9d9773 100644 --- a/Sources/Models/Editor/CameraMarker.h +++ b/Sources/Models/Editor/CameraMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAMERAMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/CollisionBox.h b/Sources/Models/Editor/CollisionBox.h index 62d89ad..ecab97a 100644 --- a/Sources/Models/Editor/CollisionBox.h +++ b/Sources/Models/Editor/CollisionBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLLISIONBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Copier.h b/Sources/Models/Editor/Copier.h index a2f4145..0cf457b 100644 --- a/Sources/Models/Editor/Copier.h +++ b/Sources/Models/Editor/Copier.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COPIER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Damager.h b/Sources/Models/Editor/Damager.h index 7f273ee..a533cc0 100644 --- a/Sources/Models/Editor/Damager.h +++ b/Sources/Models/Editor/Damager.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUILOTINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/DoorController.h b/Sources/Models/Editor/DoorController.h index 20c9a50..8480222 100644 --- a/Sources/Models/Editor/DoorController.h +++ b/Sources/Models/Editor/DoorController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOORCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/EmptyBrush.h b/Sources/Models/Editor/EmptyBrush.h index a055ed9..e486281 100644 --- a/Sources/Models/Editor/EmptyBrush.h +++ b/Sources/Models/Editor/EmptyBrush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EMPTYBRUSH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/EnemyMarker.h b/Sources/Models/Editor/EnemyMarker.h index b7f3671..400ae03 100644 --- a/Sources/Models/Editor/EnemyMarker.h +++ b/Sources/Models/Editor/EnemyMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENEMYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/EnemySpawner.h b/Sources/Models/Editor/EnemySpawner.h index 0c6ed57..6d830d2 100644 --- a/Sources/Models/Editor/EnemySpawner.h +++ b/Sources/Models/Editor/EnemySpawner.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENEMYSPAWNER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/EntityMarker.h b/Sources/Models/Editor/EntityMarker.h index e9df180..08aa114 100644 --- a/Sources/Models/Editor/EntityMarker.h +++ b/Sources/Models/Editor/EntityMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENTITYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/EnvironmentMarker.h b/Sources/Models/Editor/EnvironmentMarker.h index f350f7b..204d59b 100644 --- a/Sources/Models/Editor/EnvironmentMarker.h +++ b/Sources/Models/Editor/EnvironmentMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENVIRONMENTMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Floor.h b/Sources/Models/Editor/Floor.h index 962409d..8cc8c30 100644 --- a/Sources/Models/Editor/Floor.h +++ b/Sources/Models/Editor/Floor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Fog.h b/Sources/Models/Editor/Fog.h index dc4aaf7..1d8ddaf 100644 --- a/Sources/Models/Editor/Fog.h +++ b/Sources/Models/Editor/Fog.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/GradientMarker.h b/Sources/Models/Editor/GradientMarker.h index 23be78f..4ef1694 100644 --- a/Sources/Models/Editor/GradientMarker.h +++ b/Sources/Models/Editor/GradientMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRADIENTMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/GravityMarker.h b/Sources/Models/Editor/GravityMarker.h index 67605ca..e5f0af2 100644 --- a/Sources/Models/Editor/GravityMarker.h +++ b/Sources/Models/Editor/GravityMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAVITYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/GravityRouter.h b/Sources/Models/Editor/GravityRouter.h index 4a1a4a2..844c4a2 100644 --- a/Sources/Models/Editor/GravityRouter.h +++ b/Sources/Models/Editor/GravityRouter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAVITYROUTER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Guilotine.h b/Sources/Models/Editor/Guilotine.h index 7f273ee..a533cc0 100644 --- a/Sources/Models/Editor/Guilotine.h +++ b/Sources/Models/Editor/Guilotine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUILOTINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Haze.h b/Sources/Models/Editor/Haze.h index 16b0894..eb2f3a3 100644 --- a/Sources/Models/Editor/Haze.h +++ b/Sources/Models/Editor/Haze.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAZE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Lamp.h b/Sources/Models/Editor/Lamp.h index 74804bd..a88a9ad 100644 --- a/Sources/Models/Editor/Lamp.h +++ b/Sources/Models/Editor/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/LightSource.h b/Sources/Models/Editor/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/Editor/LightSource.h +++ b/Sources/Models/Editor/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/LightStyle.h b/Sources/Models/Editor/LightStyle.h index 5eaaf0f..76d5cb2 100644 --- a/Sources/Models/Editor/LightStyle.h +++ b/Sources/Models/Editor/LightStyle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSTYLE_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Lightning.h b/Sources/Models/Editor/Lightning.h index f6a5844..5a1043e 100644 --- a/Sources/Models/Editor/Lightning.h +++ b/Sources/Models/Editor/Lightning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/MessageHolder.h b/Sources/Models/Editor/MessageHolder.h index 7ac103e..162edf0 100644 --- a/Sources/Models/Editor/MessageHolder.h +++ b/Sources/Models/Editor/MessageHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MESSAGEHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/ModelDestruction.h b/Sources/Models/Editor/ModelDestruction.h index 98bc093..7a8b6d8 100644 --- a/Sources/Models/Editor/ModelDestruction.h +++ b/Sources/Models/Editor/ModelDestruction.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MODELDESTRUCTION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/MovingBrushMarker.h b/Sources/Models/Editor/MovingBrushMarker.h index f208cb1..958f124 100644 --- a/Sources/Models/Editor/MovingBrushMarker.h +++ b/Sources/Models/Editor/MovingBrushMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGBRUSHMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/MusicChanger.h b/Sources/Models/Editor/MusicChanger.h index bb96a32..fd8bfbb 100644 --- a/Sources/Models/Editor/MusicChanger.h +++ b/Sources/Models/Editor/MusicChanger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MUSICCHANGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/MusicHolder.h b/Sources/Models/Editor/MusicHolder.h index 12ca522..1b4c422 100644 --- a/Sources/Models/Editor/MusicHolder.h +++ b/Sources/Models/Editor/MusicHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MUSICHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/NavigationMarker.h b/Sources/Models/Editor/NavigationMarker.h index 1e64a8a..10273c9 100644 --- a/Sources/Models/Editor/NavigationMarker.h +++ b/Sources/Models/Editor/NavigationMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAVIGATIONMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/PlayerActionMarker.h b/Sources/Models/Editor/PlayerActionMarker.h index ed67698..9b0db13 100644 --- a/Sources/Models/Editor/PlayerActionMarker.h +++ b/Sources/Models/Editor/PlayerActionMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERACTIONMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/PlayerStart.h b/Sources/Models/Editor/PlayerStart.h index dc5375d..c309dc6 100644 --- a/Sources/Models/Editor/PlayerStart.h +++ b/Sources/Models/Editor/PlayerStart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERSTART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/PointLight.h b/Sources/Models/Editor/PointLight.h index de55085..32f90d0 100644 --- a/Sources/Models/Editor/PointLight.h +++ b/Sources/Models/Editor/PointLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define POINTLIGHT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/PortalMarker.h b/Sources/Models/Editor/PortalMarker.h index 118797d..e0c485d 100644 --- a/Sources/Models/Editor/PortalMarker.h +++ b/Sources/Models/Editor/PortalMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTALMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/RangeSphere.h b/Sources/Models/Editor/RangeSphere.h index cc2498d..388708f 100644 --- a/Sources/Models/Editor/RangeSphere.h +++ b/Sources/Models/Editor/RangeSphere.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RANGESPHERE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/ShipMarker.h b/Sources/Models/Editor/ShipMarker.h index e29e8e5..0ab70aa 100644 --- a/Sources/Models/Editor/ShipMarker.h +++ b/Sources/Models/Editor/ShipMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIPMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/SoundHolder.h b/Sources/Models/Editor/SoundHolder.h index b886367..e0a31e2 100644 --- a/Sources/Models/Editor/SoundHolder.h +++ b/Sources/Models/Editor/SoundHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SOUNDHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/SoundHolder02.h b/Sources/Models/Editor/SoundHolder02.h index 8b035a2..99c1f1c 100644 --- a/Sources/Models/Editor/SoundHolder02.h +++ b/Sources/Models/Editor/SoundHolder02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SOUNDHOLDER02_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/SpotLight.h b/Sources/Models/Editor/SpotLight.h index db11328..c527299 100644 --- a/Sources/Models/Editor/SpotLight.h +++ b/Sources/Models/Editor/SpotLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPOTLIGHT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/StormController.h b/Sources/Models/Editor/StormController.h index b202c82..05e0b26 100644 --- a/Sources/Models/Editor/StormController.h +++ b/Sources/Models/Editor/StormController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STORMCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Teapot.h b/Sources/Models/Editor/Teapot.h index 2dbb209..ee58538 100644 --- a/Sources/Models/Editor/Teapot.h +++ b/Sources/Models/Editor/Teapot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Teleport.h b/Sources/Models/Editor/Teleport.h index c7d6747..89cb628 100644 --- a/Sources/Models/Editor/Teleport.h +++ b/Sources/Models/Editor/Teleport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TELEPORT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/ThunderController.h b/Sources/Models/Editor/ThunderController.h index 40d436a..2a27035 100644 --- a/Sources/Models/Editor/ThunderController.h +++ b/Sources/Models/Editor/ThunderController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define THUNDERCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Trigger.h b/Sources/Models/Editor/Trigger.h index 5a10f14..54f1ab2 100644 --- a/Sources/Models/Editor/Trigger.h +++ b/Sources/Models/Editor/Trigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TRIGGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/Vector.h b/Sources/Models/Editor/Vector.h index c063573..5702aae 100644 --- a/Sources/Models/Editor/Vector.h +++ b/Sources/Models/Editor/Vector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VECTOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/VoiceHolder.h b/Sources/Models/Editor/VoiceHolder.h index 7ac103e..162edf0 100644 --- a/Sources/Models/Editor/VoiceHolder.h +++ b/Sources/Models/Editor/VoiceHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MESSAGEHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/WarpEntrance.h b/Sources/Models/Editor/WarpEntrance.h index 923754c..89a8733 100644 --- a/Sources/Models/Editor/WarpEntrance.h +++ b/Sources/Models/Editor/WarpEntrance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WARPENTRANCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/WarpExit.h b/Sources/Models/Editor/WarpExit.h index a266953..3a2450a 100644 --- a/Sources/Models/Editor/WarpExit.h +++ b/Sources/Models/Editor/WarpExit.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WARPEXIT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/WatchPlayers.h b/Sources/Models/Editor/WatchPlayers.h index 0110229..5e40fa5 100644 --- a/Sources/Models/Editor/WatchPlayers.h +++ b/Sources/Models/Editor/WatchPlayers.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATCHPLAYERS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/WorldLink.h b/Sources/Models/Editor/WorldLink.h index 6afa048..65231c9 100644 --- a/Sources/Models/Editor/WorldLink.h +++ b/Sources/Models/Editor/WorldLink.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WORLDLINK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Editor/WorldSettingsController.h b/Sources/Models/Editor/WorldSettingsController.h index af51bd4..c913b22 100644 --- a/Sources/Models/Editor/WorldSettingsController.h +++ b/Sources/Models/Editor/WorldSettingsController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WORLDSETTINGSCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BigFire/Fire.h b/Sources/Models/Effects/BigFire/Fire.h index d3d7459..9e02505 100644 --- a/Sources/Models/Effects/BigFire/Fire.h +++ b/Sources/Models/Effects/BigFire/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Blood01/objects/Blood01.h b/Sources/Models/Effects/Blood01/objects/Blood01.h index 0e46297..1cbe917 100644 --- a/Sources/Models/Effects/Blood01/objects/Blood01.h +++ b/Sources/Models/Effects/Blood01/objects/Blood01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOOD01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BloodCloud/BloodCloud.h b/Sources/Models/Effects/BloodCloud/BloodCloud.h index 6ff8053..91f0bc5 100644 --- a/Sources/Models/Effects/BloodCloud/BloodCloud.h +++ b/Sources/Models/Effects/BloodCloud/BloodCloud.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOODCLOUD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BloodExplosion01/BloodExplosion.h b/Sources/Models/Effects/BloodExplosion01/BloodExplosion.h index 53cf9a2..560250c 100644 --- a/Sources/Models/Effects/BloodExplosion01/BloodExplosion.h +++ b/Sources/Models/Effects/BloodExplosion01/BloodExplosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOODEXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BloodOnTheWall01/Blood.h b/Sources/Models/Effects/BloodOnTheWall01/Blood.h index 172278a..076dda7 100644 --- a/Sources/Models/Effects/BloodOnTheWall01/Blood.h +++ b/Sources/Models/Effects/BloodOnTheWall01/Blood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOOD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/BulletOnTheWall/Bullet.h b/Sources/Models/Effects/BulletOnTheWall/Bullet.h index 26ba652..ab10f37 100644 --- a/Sources/Models/Effects/BulletOnTheWall/Bullet.h +++ b/Sources/Models/Effects/BulletOnTheWall/Bullet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BulletParticles/BulletParticles.h b/Sources/Models/Effects/BulletParticles/BulletParticles.h index 5f9fd03..92a60d5 100644 --- a/Sources/Models/Effects/BulletParticles/BulletParticles.h +++ b/Sources/Models/Effects/BulletParticles/BulletParticles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETPARTICLES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BulletTrail/BulletTrail.h b/Sources/Models/Effects/BulletTrail/BulletTrail.h index 3d36d8c..e2f1379 100644 --- a/Sources/Models/Effects/BulletTrail/BulletTrail.h +++ b/Sources/Models/Effects/BulletTrail/BulletTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETTRAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h b/Sources/Models/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h index ce24957..bb7fb41 100644 --- a/Sources/Models/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h +++ b/Sources/Models/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BURNEDSTAINONTHEWALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Body01/Body.h b/Sources/Models/Effects/Debris/Body01/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Effects/Debris/Body01/Body.h +++ b/Sources/Models/Effects/Debris/Body01/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Body02/Body.h b/Sources/Models/Effects/Debris/Body02/Body.h index 5d96105..2483a1b 100644 --- a/Sources/Models/Effects/Debris/Body02/Body.h +++ b/Sources/Models/Effects/Debris/Body02/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Body03/Body.h b/Sources/Models/Effects/Debris/Body03/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Effects/Debris/Body03/Body.h +++ b/Sources/Models/Effects/Debris/Body03/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Body04/Body.h b/Sources/Models/Effects/Debris/Body04/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Effects/Debris/Body04/Body.h +++ b/Sources/Models/Effects/Debris/Body04/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Body05/Body.h b/Sources/Models/Effects/Debris/Body05/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Effects/Debris/Body05/Body.h +++ b/Sources/Models/Effects/Debris/Body05/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Brain01/Brain.h b/Sources/Models/Effects/Debris/Brain01/Brain.h index b011c36..2b1e9f0 100644 --- a/Sources/Models/Effects/Debris/Brain01/Brain.h +++ b/Sources/Models/Effects/Debris/Brain01/Brain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Column01/Column01.h b/Sources/Models/Effects/Debris/Column01/Column01.h index 31344e3..475b50c 100644 --- a/Sources/Models/Effects/Debris/Column01/Column01.h +++ b/Sources/Models/Effects/Debris/Column01/Column01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN01_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/ColumnAll.h b/Sources/Models/Effects/Debris/Column01/ColumnAll.h index 976fad6..7dea39d 100644 --- a/Sources/Models/Effects/Debris/Column01/ColumnAll.h +++ b/Sources/Models/Effects/Debris/Column01/ColumnAll.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMNALL_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part01.h b/Sources/Models/Effects/Debris/Column01/Part01.h index 7eb4f78..19140fd 100644 --- a/Sources/Models/Effects/Debris/Column01/Part01.h +++ b/Sources/Models/Effects/Debris/Column01/Part01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART01_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part02.h b/Sources/Models/Effects/Debris/Column01/Part02.h index a39f117..5ac4609 100644 --- a/Sources/Models/Effects/Debris/Column01/Part02.h +++ b/Sources/Models/Effects/Debris/Column01/Part02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART02_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part03.h b/Sources/Models/Effects/Debris/Column01/Part03.h index 962d1e1..f224286 100644 --- a/Sources/Models/Effects/Debris/Column01/Part03.h +++ b/Sources/Models/Effects/Debris/Column01/Part03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART03_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part04.h b/Sources/Models/Effects/Debris/Column01/Part04.h index ee244f2..b418915 100644 --- a/Sources/Models/Effects/Debris/Column01/Part04.h +++ b/Sources/Models/Effects/Debris/Column01/Part04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART04_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part05.h b/Sources/Models/Effects/Debris/Column01/Part05.h index 1872899..a79409d 100644 --- a/Sources/Models/Effects/Debris/Column01/Part05.h +++ b/Sources/Models/Effects/Debris/Column01/Part05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART05_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part06.h b/Sources/Models/Effects/Debris/Column01/Part06.h index 6677301..9c2fe04 100644 --- a/Sources/Models/Effects/Debris/Column01/Part06.h +++ b/Sources/Models/Effects/Debris/Column01/Part06.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART06_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part07.h b/Sources/Models/Effects/Debris/Column01/Part07.h index 2a91534..30a8c28 100644 --- a/Sources/Models/Effects/Debris/Column01/Part07.h +++ b/Sources/Models/Effects/Debris/Column01/Part07.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART07_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part08.h b/Sources/Models/Effects/Debris/Column01/Part08.h index 63fc3f2..0398edb 100644 --- a/Sources/Models/Effects/Debris/Column01/Part08.h +++ b/Sources/Models/Effects/Debris/Column01/Part08.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART08_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part09.h b/Sources/Models/Effects/Debris/Column01/Part09.h index 850b31c..129bb92 100644 --- a/Sources/Models/Effects/Debris/Column01/Part09.h +++ b/Sources/Models/Effects/Debris/Column01/Part09.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART09_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part10.h b/Sources/Models/Effects/Debris/Column01/Part10.h index 82c7085..d20dd52 100644 --- a/Sources/Models/Effects/Debris/Column01/Part10.h +++ b/Sources/Models/Effects/Debris/Column01/Part10.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART10_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column01/Part11.h b/Sources/Models/Effects/Debris/Column01/Part11.h index 479dd8b..d14537f 100644 --- a/Sources/Models/Effects/Debris/Column01/Part11.h +++ b/Sources/Models/Effects/Debris/Column01/Part11.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART11_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Column.h b/Sources/Models/Effects/Debris/Column02/Column.h index 52c0f09..21d199a 100644 --- a/Sources/Models/Effects/Debris/Column02/Column.h +++ b/Sources/Models/Effects/Debris/Column02/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part01.h b/Sources/Models/Effects/Debris/Column02/Part01.h index 7eb4f78..19140fd 100644 --- a/Sources/Models/Effects/Debris/Column02/Part01.h +++ b/Sources/Models/Effects/Debris/Column02/Part01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART01_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part02.h b/Sources/Models/Effects/Debris/Column02/Part02.h index a39f117..5ac4609 100644 --- a/Sources/Models/Effects/Debris/Column02/Part02.h +++ b/Sources/Models/Effects/Debris/Column02/Part02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART02_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part03.h b/Sources/Models/Effects/Debris/Column02/Part03.h index 962d1e1..f224286 100644 --- a/Sources/Models/Effects/Debris/Column02/Part03.h +++ b/Sources/Models/Effects/Debris/Column02/Part03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART03_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part04.h b/Sources/Models/Effects/Debris/Column02/Part04.h index ee244f2..b418915 100644 --- a/Sources/Models/Effects/Debris/Column02/Part04.h +++ b/Sources/Models/Effects/Debris/Column02/Part04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART04_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part05.h b/Sources/Models/Effects/Debris/Column02/Part05.h index 1872899..a79409d 100644 --- a/Sources/Models/Effects/Debris/Column02/Part05.h +++ b/Sources/Models/Effects/Debris/Column02/Part05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART05_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part06.h b/Sources/Models/Effects/Debris/Column02/Part06.h index 6677301..9c2fe04 100644 --- a/Sources/Models/Effects/Debris/Column02/Part06.h +++ b/Sources/Models/Effects/Debris/Column02/Part06.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART06_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part07.h b/Sources/Models/Effects/Debris/Column02/Part07.h index 2a91534..30a8c28 100644 --- a/Sources/Models/Effects/Debris/Column02/Part07.h +++ b/Sources/Models/Effects/Debris/Column02/Part07.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART07_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part08.h b/Sources/Models/Effects/Debris/Column02/Part08.h index 63fc3f2..0398edb 100644 --- a/Sources/Models/Effects/Debris/Column02/Part08.h +++ b/Sources/Models/Effects/Debris/Column02/Part08.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART08_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part09.h b/Sources/Models/Effects/Debris/Column02/Part09.h index 850b31c..129bb92 100644 --- a/Sources/Models/Effects/Debris/Column02/Part09.h +++ b/Sources/Models/Effects/Debris/Column02/Part09.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART09_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Column02/Part10.h b/Sources/Models/Effects/Debris/Column02/Part10.h index 82c7085..d20dd52 100644 --- a/Sources/Models/Effects/Debris/Column02/Part10.h +++ b/Sources/Models/Effects/Debris/Column02/Part10.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PART10_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Flesh/Flesh.h b/Sources/Models/Effects/Debris/Flesh/Flesh.h index 3b2c727..1e90fb3 100644 --- a/Sources/Models/Effects/Debris/Flesh/Flesh.h +++ b/Sources/Models/Effects/Debris/Flesh/Flesh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLESH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Fruits/Apple.h b/Sources/Models/Effects/Debris/Fruits/Apple.h index 60137f4..8f52bf6 100644 --- a/Sources/Models/Effects/Debris/Fruits/Apple.h +++ b/Sources/Models/Effects/Debris/Fruits/Apple.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define APPLE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Fruits/Banana.h b/Sources/Models/Effects/Debris/Fruits/Banana.h index e0887bb..6c37fde 100644 --- a/Sources/Models/Effects/Debris/Fruits/Banana.h +++ b/Sources/Models/Effects/Debris/Fruits/Banana.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BANANA_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Fruits/CheeseBurger.h b/Sources/Models/Effects/Debris/Fruits/CheeseBurger.h index 0c58a1d..3889e00 100644 --- a/Sources/Models/Effects/Debris/Fruits/CheeseBurger.h +++ b/Sources/Models/Effects/Debris/Fruits/CheeseBurger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHEESEBURGER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Fruits/LollyPop.h b/Sources/Models/Effects/Debris/Fruits/LollyPop.h index b9555ef..a381053 100644 --- a/Sources/Models/Effects/Debris/Fruits/LollyPop.h +++ b/Sources/Models/Effects/Debris/Fruits/LollyPop.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LOLLYPOP_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Fruits/Orange.h b/Sources/Models/Effects/Debris/Fruits/Orange.h index 02cdee0..0975e45 100644 --- a/Sources/Models/Effects/Debris/Fruits/Orange.h +++ b/Sources/Models/Effects/Debris/Fruits/Orange.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ORANGE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Fruits/Pear.h b/Sources/Models/Effects/Debris/Fruits/Pear.h index 3d46971..bd13e52 100644 --- a/Sources/Models/Effects/Debris/Fruits/Pear.h +++ b/Sources/Models/Effects/Debris/Fruits/Pear.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PEAR_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/Debris/Lava01/Lava.h b/Sources/Models/Effects/Debris/Lava01/Lava.h index e2b9c23..b2bab13 100644 --- a/Sources/Models/Effects/Debris/Lava01/Lava.h +++ b/Sources/Models/Effects/Debris/Lava01/Lava.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVA_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Lava01/LavaFlare.h b/Sources/Models/Effects/Debris/Lava01/LavaFlare.h index 595b632..24c8696 100644 --- a/Sources/Models/Effects/Debris/Lava01/LavaFlare.h +++ b/Sources/Models/Effects/Debris/Lava01/LavaFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Skull01/Skull.h b/Sources/Models/Effects/Debris/Skull01/Skull.h index 2ecd43a..e247b1c 100644 --- a/Sources/Models/Effects/Debris/Skull01/Skull.h +++ b/Sources/Models/Effects/Debris/Skull01/Skull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Skull01_org/Skull.h b/Sources/Models/Effects/Debris/Skull01_org/Skull.h index d8ae379..bf94470 100644 --- a/Sources/Models/Effects/Debris/Skull01_org/Skull.h +++ b/Sources/Models/Effects/Debris/Skull01_org/Skull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Debris/Stone/Stone.h b/Sources/Models/Effects/Debris/Stone/Stone.h index dd231db..739ff69 100644 --- a/Sources/Models/Effects/Debris/Stone/Stone.h +++ b/Sources/Models/Effects/Debris/Stone/Stone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONE_ANIM_POSE00 0 diff --git a/Sources/Models/Effects/Debris/Wood01/Wood.h b/Sources/Models/Effects/Debris/Wood01/Wood.h index 3a9597c..0fa07b9 100644 --- a/Sources/Models/Effects/Debris/Wood01/Wood.h +++ b/Sources/Models/Effects/Debris/Wood01/Wood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOOD_ANIM_POSE00 0 diff --git a/Sources/Models/Effects/Explosion01/Explosion01.h b/Sources/Models/Effects/Explosion01/Explosion01.h index 0fa96d3..51b2dd7 100644 --- a/Sources/Models/Effects/Explosion01/Explosion01.h +++ b/Sources/Models/Effects/Explosion01/Explosion01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion02/Explosion.h b/Sources/Models/Effects/Explosion02/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion02/Explosion.h +++ b/Sources/Models/Effects/Explosion02/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion03/Explosion.h b/Sources/Models/Effects/Explosion03/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion03/Explosion.h +++ b/Sources/Models/Effects/Explosion03/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion04/Explosion.h b/Sources/Models/Effects/Explosion04/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion04/Explosion.h +++ b/Sources/Models/Effects/Explosion04/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion05/Explosion.h b/Sources/Models/Effects/Explosion05/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/Effects/Explosion05/Explosion.h +++ b/Sources/Models/Effects/Explosion05/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion06/Explosion.h b/Sources/Models/Effects/Explosion06/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/Effects/Explosion06/Explosion.h +++ b/Sources/Models/Effects/Explosion06/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion07/Explosion.h b/Sources/Models/Effects/Explosion07/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/Effects/Explosion07/Explosion.h +++ b/Sources/Models/Effects/Explosion07/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion08/Explosion.h b/Sources/Models/Effects/Explosion08/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion08/Explosion.h +++ b/Sources/Models/Effects/Explosion08/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion09/Explosion.h b/Sources/Models/Effects/Explosion09/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/Effects/Explosion09/Explosion.h +++ b/Sources/Models/Effects/Explosion09/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion10/Explosion.h b/Sources/Models/Effects/Explosion10/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion10/Explosion.h +++ b/Sources/Models/Effects/Explosion10/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion11/Explosion.h b/Sources/Models/Effects/Explosion11/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/Effects/Explosion11/Explosion.h +++ b/Sources/Models/Effects/Explosion11/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion12/Explosion.h b/Sources/Models/Effects/Explosion12/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion12/Explosion.h +++ b/Sources/Models/Effects/Explosion12/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion13/Explosion.h b/Sources/Models/Effects/Explosion13/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion13/Explosion.h +++ b/Sources/Models/Effects/Explosion13/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion14/Explosion.h b/Sources/Models/Effects/Explosion14/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion14/Explosion.h +++ b/Sources/Models/Effects/Explosion14/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion15/Explosion.h b/Sources/Models/Effects/Explosion15/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion15/Explosion.h +++ b/Sources/Models/Effects/Explosion15/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion16/Explosion.h b/Sources/Models/Effects/Explosion16/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion16/Explosion.h +++ b/Sources/Models/Effects/Explosion16/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion17/Explosion.h b/Sources/Models/Effects/Explosion17/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion17/Explosion.h +++ b/Sources/Models/Effects/Explosion17/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Explosion18/Explosion.h b/Sources/Models/Effects/Explosion18/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/Effects/Explosion18/Explosion.h +++ b/Sources/Models/Effects/Explosion18/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade.h b/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade.h index ceec76d..d238049 100644 --- a/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade.h +++ b/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONGRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade3D.h b/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade3D.h index ba5b160..1bd012b 100644 --- a/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade3D.h +++ b/Sources/Models/Effects/ExplosionGrenade/ExplosionGrenade3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONGRENADE3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionParticles/Particles.h b/Sources/Models/Effects/ExplosionParticles/Particles.h index 7b473ff..8f2019e 100644 --- a/Sources/Models/Effects/ExplosionParticles/Particles.h +++ b/Sources/Models/Effects/ExplosionParticles/Particles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PARTICLES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionParticles/Particles3D.h b/Sources/Models/Effects/ExplosionParticles/Particles3D.h index 0ba2537..2f21932 100644 --- a/Sources/Models/Effects/ExplosionParticles/Particles3D.h +++ b/Sources/Models/Effects/ExplosionParticles/Particles3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PARTICLES3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionRocket/ExplosionRocket.h b/Sources/Models/Effects/ExplosionRocket/ExplosionRocket.h index f347c36..84b8c16 100644 --- a/Sources/Models/Effects/ExplosionRocket/ExplosionRocket.h +++ b/Sources/Models/Effects/ExplosionRocket/ExplosionRocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONROCKET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ExplosionRocket/ExplosionRocket3D.h b/Sources/Models/Effects/ExplosionRocket/ExplosionRocket3D.h index 8181ba9..0c0d446 100644 --- a/Sources/Models/Effects/ExplosionRocket/ExplosionRocket3D.h +++ b/Sources/Models/Effects/ExplosionRocket/ExplosionRocket3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONROCKET3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Fire01/Fire.h b/Sources/Models/Effects/Fire01/Fire.h index bbf65c0..4046641 100644 --- a/Sources/Models/Effects/Fire01/Fire.h +++ b/Sources/Models/Effects/Fire01/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Fire02/Fire.h b/Sources/Models/Effects/Fire02/Fire.h index bbf65c0..4046641 100644 --- a/Sources/Models/Effects/Fire02/Fire.h +++ b/Sources/Models/Effects/Fire02/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Fire03/Fire.h b/Sources/Models/Effects/Fire03/Fire.h index f6d1668..00cf7e5 100644 --- a/Sources/Models/Effects/Fire03/Fire.h +++ b/Sources/Models/Effects/Fire03/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Flare01/Flare.h b/Sources/Models/Effects/Flare01/Flare.h index 34ebd06..22dced0 100644 --- a/Sources/Models/Effects/Flare01/Flare.h +++ b/Sources/Models/Effects/Flare01/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Flare02/Flaire.h b/Sources/Models/Effects/Flare02/Flaire.h index 25be4c5..d141612 100644 --- a/Sources/Models/Effects/Flare02/Flaire.h +++ b/Sources/Models/Effects/Flare02/Flaire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Flare03/Flare.h b/Sources/Models/Effects/Flare03/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/Effects/Flare03/Flare.h +++ b/Sources/Models/Effects/Flare03/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Flares1m/Flaire.h b/Sources/Models/Effects/Flares1m/Flaire.h index 25be4c5..d141612 100644 --- a/Sources/Models/Effects/Flares1m/Flaire.h +++ b/Sources/Models/Effects/Flares1m/Flaire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Holder2x4/Holder.h b/Sources/Models/Effects/Holder2x4/Holder.h index 852af22..600c211 100644 --- a/Sources/Models/Effects/Holder2x4/Holder.h +++ b/Sources/Models/Effects/Holder2x4/Holder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Holder2x4/HolderAngle.h b/Sources/Models/Effects/Holder2x4/HolderAngle.h index b3cb0ff..8fc358f 100644 --- a/Sources/Models/Effects/Holder2x4/HolderAngle.h +++ b/Sources/Models/Effects/Holder2x4/HolderAngle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDERANGLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Holder2x4/HolderOneSide.h b/Sources/Models/Effects/Holder2x4/HolderOneSide.h index 33b28f0..3ddd205 100644 --- a/Sources/Models/Effects/Holder2x4/HolderOneSide.h +++ b/Sources/Models/Effects/Holder2x4/HolderOneSide.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDERONESIDE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/LavaRock01/LavaRock.h b/Sources/Models/Effects/LavaRock01/LavaRock.h index bf07332..dcfd762 100644 --- a/Sources/Models/Effects/LavaRock01/LavaRock.h +++ b/Sources/Models/Effects/LavaRock01/LavaRock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/LavaRock01/LavaRock02.h b/Sources/Models/Effects/LavaRock01/LavaRock02.h index 2f42d52..d7eaba6 100644 --- a/Sources/Models/Effects/LavaRock01/LavaRock02.h +++ b/Sources/Models/Effects/LavaRock01/LavaRock02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK02_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/LavaRock01/LavaRock03.h b/Sources/Models/Effects/LavaRock01/LavaRock03.h index 6b554b1..0474296 100644 --- a/Sources/Models/Effects/LavaRock01/LavaRock03.h +++ b/Sources/Models/Effects/LavaRock01/LavaRock03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK03_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/LightBeam01/LightBeam.h b/Sources/Models/Effects/LightBeam01/LightBeam.h index 91cb097..51268e2 100644 --- a/Sources/Models/Effects/LightBeam01/LightBeam.h +++ b/Sources/Models/Effects/LightBeam01/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/LightBeam02/LightBeam.h b/Sources/Models/Effects/LightBeam02/LightBeam.h index fddde2d..4d4fcf0 100644 --- a/Sources/Models/Effects/LightBeam02/LightBeam.h +++ b/Sources/Models/Effects/LightBeam02/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/LightBeam03/LightBeam.h b/Sources/Models/Effects/LightBeam03/LightBeam.h index af79006..d1dce5a 100644 --- a/Sources/Models/Effects/LightBeam03/LightBeam.h +++ b/Sources/Models/Effects/LightBeam03/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_POSE01 0 diff --git a/Sources/Models/Effects/Rail/rail.h b/Sources/Models/Effects/Rail/rail.h index f89ef93..ff57984 100644 --- a/Sources/Models/Effects/Rail/rail.h +++ b/Sources/Models/Effects/Rail/rail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Rail/railend.h b/Sources/Models/Effects/Rail/railend.h index 39482f7..4d75688 100644 --- a/Sources/Models/Effects/Rail/railend.h +++ b/Sources/Models/Effects/Rail/railend.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAILEND_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Rail/railstart.h b/Sources/Models/Effects/Rail/railstart.h index 2f80e4d..b86c4fb 100644 --- a/Sources/Models/Effects/Rail/railstart.h +++ b/Sources/Models/Effects/Rail/railstart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAILSTART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/RotatingFlare01/RotatingFlare.h b/Sources/Models/Effects/RotatingFlare01/RotatingFlare.h index 3e99cd5..2e5259a 100644 --- a/Sources/Models/Effects/RotatingFlare01/RotatingFlare.h +++ b/Sources/Models/Effects/RotatingFlare01/RotatingFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ShockWave/Ring.h b/Sources/Models/Effects/ShockWave/Ring.h index 0bf666a..879ac9f 100644 --- a/Sources/Models/Effects/ShockWave/Ring.h +++ b/Sources/Models/Effects/ShockWave/Ring.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ShockWave/Ring2.h b/Sources/Models/Effects/ShockWave/Ring2.h index 5538396..cd9c782 100644 --- a/Sources/Models/Effects/ShockWave/Ring2.h +++ b/Sources/Models/Effects/ShockWave/Ring2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/ShockWave01/ShockWave.h b/Sources/Models/Effects/ShockWave01/ShockWave.h index 72d65e0..e60e3b3 100644 --- a/Sources/Models/Effects/ShockWave01/ShockWave.h +++ b/Sources/Models/Effects/ShockWave01/ShockWave.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVE_ANIM_FAST 0 diff --git a/Sources/Models/Effects/ShockWaveGreen/ShockWaveGreen.h b/Sources/Models/Effects/ShockWaveGreen/ShockWaveGreen.h index 7a8f2af..7c7eb0c 100644 --- a/Sources/Models/Effects/ShockWaveGreen/ShockWaveGreen.h +++ b/Sources/Models/Effects/ShockWaveGreen/ShockWaveGreen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVEGREEN_ANIM_GROW 0 diff --git a/Sources/Models/Effects/Smoke01/Smoke.h b/Sources/Models/Effects/Smoke01/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/Effects/Smoke01/Smoke.h +++ b/Sources/Models/Effects/Smoke01/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Smoke02/Smoke.h b/Sources/Models/Effects/Smoke02/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/Effects/Smoke02/Smoke.h +++ b/Sources/Models/Effects/Smoke02/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Smoke03/Smoke.h b/Sources/Models/Effects/Smoke03/Smoke.h index 698775d..b7ad9ba 100644 --- a/Sources/Models/Effects/Smoke03/Smoke.h +++ b/Sources/Models/Effects/Smoke03/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_RISINGSMOKE 0 diff --git a/Sources/Models/Effects/Smoke04/Smoke.h b/Sources/Models/Effects/Smoke04/Smoke.h index 698775d..b7ad9ba 100644 --- a/Sources/Models/Effects/Smoke04/Smoke.h +++ b/Sources/Models/Effects/Smoke04/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_RISINGSMOKE 0 diff --git a/Sources/Models/Effects/Smoke05/Smoke.h b/Sources/Models/Effects/Smoke05/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/Effects/Smoke05/Smoke.h +++ b/Sources/Models/Effects/Smoke05/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Smoke06/Smoke.h b/Sources/Models/Effects/Smoke06/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/Effects/Smoke06/Smoke.h +++ b/Sources/Models/Effects/Smoke06/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/SmokeLine/SmokeLine.h b/Sources/Models/Effects/SmokeLine/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/Effects/SmokeLine/SmokeLine.h +++ b/Sources/Models/Effects/SmokeLine/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/SmokeLine01/SmokeLine.h b/Sources/Models/Effects/SmokeLine01/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/Effects/SmokeLine01/SmokeLine.h +++ b/Sources/Models/Effects/SmokeLine01/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/SmokeLine02/SmokeLine.h b/Sources/Models/Effects/SmokeLine02/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/Effects/SmokeLine02/SmokeLine.h +++ b/Sources/Models/Effects/SmokeLine02/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Sphere01/Sphere.h b/Sources/Models/Effects/Sphere01/Sphere.h index 494950f..ddb22da 100644 --- a/Sources/Models/Effects/Sphere01/Sphere.h +++ b/Sources/Models/Effects/Sphere01/Sphere.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHERE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/StainOnTheWall/Stain.h b/Sources/Models/Effects/StainOnTheWall/Stain.h index 980f73c..b048234 100644 --- a/Sources/Models/Effects/StainOnTheWall/Stain.h +++ b/Sources/Models/Effects/StainOnTheWall/Stain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Teleport01/Teleport.h b/Sources/Models/Effects/Teleport01/Teleport.h index abed338..2adda5f 100644 --- a/Sources/Models/Effects/Teleport01/Teleport.h +++ b/Sources/Models/Effects/Teleport01/Teleport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TELEPORT_ANIM_ACTIVATE 0 diff --git a/Sources/Models/Effects/Water01/Water.h b/Sources/Models/Effects/Water01/Water.h index 29c4a2e..1a6819e 100644 --- a/Sources/Models/Effects/Water01/Water.h +++ b/Sources/Models/Effects/Water01/Water.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Effects/WaterFall01/WaterFall.h b/Sources/Models/Effects/WaterFall01/WaterFall.h index 636be0c..fcba2a6 100644 --- a/Sources/Models/Effects/WaterFall01/WaterFall.h +++ b/Sources/Models/Effects/WaterFall01/WaterFall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERFALL_ANIM_MAPPINGPOSE 0 diff --git a/Sources/Models/Effects/WaterFoam01/Puff.h b/Sources/Models/Effects/WaterFoam01/Puff.h index 147d0d2..fb4a29c 100644 --- a/Sources/Models/Effects/WaterFoam01/Puff.h +++ b/Sources/Models/Effects/WaterFoam01/Puff.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PUFF_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/WaterFoam02/Foam.h b/Sources/Models/Effects/WaterFoam02/Foam.h index 3f9eea9..c5b1bfe 100644 --- a/Sources/Models/Effects/WaterFoam02/Foam.h +++ b/Sources/Models/Effects/WaterFoam02/Foam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/WaterFoam03/Foam.h b/Sources/Models/Effects/WaterFoam03/Foam.h index 3f9eea9..c5b1bfe 100644 --- a/Sources/Models/Effects/WaterFoam03/Foam.h +++ b/Sources/Models/Effects/WaterFoam03/Foam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Weapons/Flare01/Flare.h b/Sources/Models/Effects/Weapons/Flare01/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/Effects/Weapons/Flare01/Flare.h +++ b/Sources/Models/Effects/Weapons/Flare01/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Effects/Weapons/Flare02/Flare.h b/Sources/Models/Effects/Weapons/Flare02/Flare.h index 7f6b2e3..fd4d7b0 100644 --- a/Sources/Models/Effects/Weapons/Flare02/Flare.h +++ b/Sources/Models/Effects/Weapons/Flare02/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT 0 diff --git a/Sources/Models/ElsaPromo/CurvedSurfaces.h b/Sources/Models/ElsaPromo/CurvedSurfaces.h index 15756e4..2a1b71c 100644 --- a/Sources/Models/ElsaPromo/CurvedSurfaces.h +++ b/Sources/Models/ElsaPromo/CurvedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CURVEDSURFACES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/ElsaPromo/ElsaLogoLow.h b/Sources/Models/ElsaPromo/ElsaLogoLow.h index 04c45ef..7c12eb2 100644 --- a/Sources/Models/ElsaPromo/ElsaLogoLow.h +++ b/Sources/Models/ElsaPromo/ElsaLogoLow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELSALOGOLOW_ANIM_DEFAULT 0 diff --git a/Sources/Models/ElsaPromo/Temple/DoorLeft.h b/Sources/Models/ElsaPromo/Temple/DoorLeft.h index 1ba9c57..7093bd8 100644 --- a/Sources/Models/ElsaPromo/Temple/DoorLeft.h +++ b/Sources/Models/ElsaPromo/Temple/DoorLeft.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOORLEFT_ANIM_DEFAULT 0 diff --git a/Sources/Models/ElsaPromo/Temple/DoorRight.h b/Sources/Models/ElsaPromo/Temple/DoorRight.h index 027a27e..100462a 100644 --- a/Sources/Models/ElsaPromo/Temple/DoorRight.h +++ b/Sources/Models/ElsaPromo/Temple/DoorRight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOORRIGHT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Beast/Beast.h b/Sources/Models/Enemies/Beast/Beast.h index 86914e3..2cdb032 100644 --- a/Sources/Models/Enemies/Beast/Beast.h +++ b/Sources/Models/Enemies/Beast/Beast.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAST_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Beast/Projectile/Projectile.h b/Sources/Models/Enemies/Beast/Projectile/Projectile.h index 245c5c7..69ff042 100644 --- a/Sources/Models/Enemies/Beast/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Beast/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Beast/ProjectileOld/Projectile.h b/Sources/Models/Enemies/Beast/ProjectileOld/Projectile.h index 245c5c7..69ff042 100644 --- a/Sources/Models/Enemies/Beast/ProjectileOld/Projectile.h +++ b/Sources/Models/Enemies/Beast/ProjectileOld/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Beast/ProjectileOld2/Projectile.h b/Sources/Models/Enemies/Beast/ProjectileOld2/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/Beast/ProjectileOld2/Projectile.h +++ b/Sources/Models/Enemies/Beast/ProjectileOld2/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Beast/ProjectileOrg/Projectile.h b/Sources/Models/Enemies/Beast/ProjectileOrg/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/Beast/ProjectileOrg/Projectile.h +++ b/Sources/Models/Enemies/Beast/ProjectileOrg/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Beast_/Beast.h b/Sources/Models/Enemies/Beast_/Beast.h index 436bff1..940c8a1 100644 --- a/Sources/Models/Enemies/Beast_/Beast.h +++ b/Sources/Models/Enemies/Beast_/Beast.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAST_ANIM_IDLE 0 diff --git a/Sources/Models/Enemies/Beast_/Projectile/Projectile.h b/Sources/Models/Enemies/Beast_/Projectile/Projectile.h index 245c5c7..69ff042 100644 --- a/Sources/Models/Enemies/Beast_/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Beast_/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Boneman/Boneman.h b/Sources/Models/Enemies/Boneman/Boneman.h index 9e5b146..cb2a994 100644 --- a/Sources/Models/Enemies/Boneman/Boneman.h +++ b/Sources/Models/Enemies/Boneman/Boneman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BONEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Boneman/Debris/Body.h b/Sources/Models/Enemies/Boneman/Debris/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Enemies/Boneman/Debris/Body.h +++ b/Sources/Models/Enemies/Boneman/Debris/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Boneman/Debris/Hand.h b/Sources/Models/Enemies/Boneman/Debris/Hand.h index b7f1047..8c08bfc 100644 --- a/Sources/Models/Enemies/Boneman/Debris/Hand.h +++ b/Sources/Models/Enemies/Boneman/Debris/Hand.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAND_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Boneman/Debris/Legs.h b/Sources/Models/Enemies/Boneman/Debris/Legs.h index 993ae38..35c4518 100644 --- a/Sources/Models/Enemies/Boneman/Debris/Legs.h +++ b/Sources/Models/Enemies/Boneman/Debris/Legs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEGS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Boneman/Projectile/Projectile.h b/Sources/Models/Enemies/Boneman/Projectile/Projectile.h index 3054920..5057124 100644 --- a/Sources/Models/Enemies/Boneman/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Boneman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_ROTATING 0 diff --git a/Sources/Models/Enemies/Catman/CatMan.h b/Sources/Models/Enemies/Catman/CatMan.h index f3c6a0a..0d01794 100644 --- a/Sources/Models/Enemies/Catman/CatMan.h +++ b/Sources/Models/Enemies/Catman/CatMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Catman/Fire/CatmanFire.h b/Sources/Models/Enemies/Catman/Fire/CatmanFire.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/Enemies/Catman/Fire/CatmanFire.h +++ b/Sources/Models/Enemies/Catman/Fire/CatmanFire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Catman/FireOld/CatmanFire.h b/Sources/Models/Enemies/Catman/FireOld/CatmanFire.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/Enemies/Catman/FireOld/CatmanFire.h +++ b/Sources/Models/Enemies/Catman/FireOld/CatmanFire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Catman/Projectile/Projectile.h b/Sources/Models/Enemies/Catman/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/Catman/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Catman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ChainSawFreak/Freak.h b/Sources/Models/Enemies/ChainSawFreak/Freak.h index 94e6fc7..ee9bf77 100644 --- a/Sources/Models/Enemies/ChainSawFreak/Freak.h +++ b/Sources/Models/Enemies/ChainSawFreak/Freak.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FREAK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ChainSawFreak/Saw.h b/Sources/Models/Enemies/ChainSawFreak/Saw.h index 9ae4603..d1468d2 100644 --- a/Sources/Models/Enemies/ChainSawFreak/Saw.h +++ b/Sources/Models/Enemies/ChainSawFreak/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/AssHole.h b/Sources/Models/Enemies/Cyborg/AssHole.h index 7c5a278..751f473 100644 --- a/Sources/Models/Enemies/Cyborg/AssHole.h +++ b/Sources/Models/Enemies/Cyborg/AssHole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ASSHOLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Bike.h b/Sources/Models/Enemies/Cyborg/Bike.h index bee125e..cd8f2be 100644 --- a/Sources/Models/Enemies/Cyborg/Bike.h +++ b/Sources/Models/Enemies/Cyborg/Bike.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Cyborg.h b/Sources/Models/Enemies/Cyborg/Cyborg.h index eb044ae..71ca77b 100644 --- a/Sources/Models/Enemies/Cyborg/Cyborg.h +++ b/Sources/Models/Enemies/Cyborg/Cyborg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CYBORG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/CyborgONEPART.h b/Sources/Models/Enemies/Cyborg/CyborgONEPART.h index cf5e128..19df96b 100644 --- a/Sources/Models/Enemies/Cyborg/CyborgONEPART.h +++ b/Sources/Models/Enemies/Cyborg/CyborgONEPART.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CYBORG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Foot.h b/Sources/Models/Enemies/Cyborg/Foot.h index 2ad8801..7bdf008 100644 --- a/Sources/Models/Enemies/Cyborg/Foot.h +++ b/Sources/Models/Enemies/Cyborg/Foot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Head.h b/Sources/Models/Enemies/Cyborg/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Enemies/Cyborg/Head.h +++ b/Sources/Models/Enemies/Cyborg/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/LeftLowerArm.h b/Sources/Models/Enemies/Cyborg/LeftLowerArm.h index bf36a45..4a9dcd8 100644 --- a/Sources/Models/Enemies/Cyborg/LeftLowerArm.h +++ b/Sources/Models/Enemies/Cyborg/LeftLowerArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTLOWERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/LeftLowerLeg.h b/Sources/Models/Enemies/Cyborg/LeftLowerLeg.h index c75c128..2e03cac 100644 --- a/Sources/Models/Enemies/Cyborg/LeftLowerLeg.h +++ b/Sources/Models/Enemies/Cyborg/LeftLowerLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTLOWERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/LeftUpperArm.h b/Sources/Models/Enemies/Cyborg/LeftUpperArm.h index ac34cc5..71a8362 100644 --- a/Sources/Models/Enemies/Cyborg/LeftUpperArm.h +++ b/Sources/Models/Enemies/Cyborg/LeftUpperArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTUPPERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/LeftUpperLeg.h b/Sources/Models/Enemies/Cyborg/LeftUpperLeg.h index 58aa8c4..a75af90 100644 --- a/Sources/Models/Enemies/Cyborg/LeftUpperLeg.h +++ b/Sources/Models/Enemies/Cyborg/LeftUpperLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTUPPERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectile.h b/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectile.h index 76cbea4..7182bd9 100644 --- a/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectile.h +++ b/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h b/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h index 9012be4..0058eaf 100644 --- a/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h +++ b/Sources/Models/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILEGLOW01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Projectile/Projectile.h b/Sources/Models/Enemies/Cyborg/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/Cyborg/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Cyborg/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/RightLowerArm.h b/Sources/Models/Enemies/Cyborg/RightLowerArm.h index e16cd68..c1d64ee 100644 --- a/Sources/Models/Enemies/Cyborg/RightLowerArm.h +++ b/Sources/Models/Enemies/Cyborg/RightLowerArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTLOWERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/RightLowerLeg.h b/Sources/Models/Enemies/Cyborg/RightLowerLeg.h index 59a9fc8..5d89342 100644 --- a/Sources/Models/Enemies/Cyborg/RightLowerLeg.h +++ b/Sources/Models/Enemies/Cyborg/RightLowerLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTLOWERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/RightUpperArm.h b/Sources/Models/Enemies/Cyborg/RightUpperArm.h index 20fa458..d427469 100644 --- a/Sources/Models/Enemies/Cyborg/RightUpperArm.h +++ b/Sources/Models/Enemies/Cyborg/RightUpperArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTUPPERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/RightUpperLeg.h b/Sources/Models/Enemies/Cyborg/RightUpperLeg.h index ec3d5b0..da072ae 100644 --- a/Sources/Models/Enemies/Cyborg/RightUpperLeg.h +++ b/Sources/Models/Enemies/Cyborg/RightUpperLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTUPPERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Termi+rifle.h b/Sources/Models/Enemies/Cyborg/Termi+rifle.h index 5e2ea4a..0bf413c 100644 --- a/Sources/Models/Enemies/Cyborg/Termi+rifle.h +++ b/Sources/Models/Enemies/Cyborg/Termi+rifle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TERMI+RIFLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Cyborg/Torso.h b/Sources/Models/Enemies/Cyborg/Torso.h index 7cba6a5..3bbc8cd 100644 --- a/Sources/Models/Enemies/Cyborg/Torso.h +++ b/Sources/Models/Enemies/Cyborg/Torso.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORSO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil/Devil.h b/Sources/Models/Enemies/Devil/Devil.h index 1a27113..8e1604e 100644 --- a/Sources/Models/Enemies/Devil/Devil.h +++ b/Sources/Models/Enemies/Devil/Devil.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil/DevilHead.h b/Sources/Models/Enemies/Devil/DevilHead.h index 36d6e1a..8810cc5 100644 --- a/Sources/Models/Enemies/Devil/DevilHead.h +++ b/Sources/Models/Enemies/Devil/DevilHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVILHEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil/DevilTest.h b/Sources/Models/Enemies/Devil/DevilTest.h index 059d07c..5dbec15 100644 --- a/Sources/Models/Enemies/Devil/DevilTest.h +++ b/Sources/Models/Enemies/Devil/DevilTest.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVILTEST_ANIM_MACRO 0 diff --git a/Sources/Models/Enemies/Devil/GoatHead.h b/Sources/Models/Enemies/Devil/GoatHead.h index 9efcc82..40e0e4d 100644 --- a/Sources/Models/Enemies/Devil/GoatHead.h +++ b/Sources/Models/Enemies/Devil/GoatHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GOATHEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil/SkullHead.h b/Sources/Models/Enemies/Devil/SkullHead.h index d126c69..d4ec7a9 100644 --- a/Sources/Models/Enemies/Devil/SkullHead.h +++ b/Sources/Models/Enemies/Devil/SkullHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULLHEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil/Weapons/ElectricityFlare.h b/Sources/Models/Enemies/Devil/Weapons/ElectricityFlare.h index 201e872..d7c6921 100644 --- a/Sources/Models/Enemies/Devil/Weapons/ElectricityFlare.h +++ b/Sources/Models/Enemies/Devil/Weapons/ElectricityFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITYFLARE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil/Weapons/ElectricityGun.h b/Sources/Models/Enemies/Devil/Weapons/ElectricityGun.h index 22052f3..b180707 100644 --- a/Sources/Models/Enemies/Devil/Weapons/ElectricityGun.h +++ b/Sources/Models/Enemies/Devil/Weapons/ElectricityGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITYGUN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil/Weapons/Laser.h b/Sources/Models/Enemies/Devil/Weapons/Laser.h index 385b72e..b482a9d 100644 --- a/Sources/Models/Enemies/Devil/Weapons/Laser.h +++ b/Sources/Models/Enemies/Devil/Weapons/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil/Weapons/ProjectileGun.h b/Sources/Models/Enemies/Devil/Weapons/ProjectileGun.h index a6bd0df..81791ad 100644 --- a/Sources/Models/Enemies/Devil/Weapons/ProjectileGun.h +++ b/Sources/Models/Enemies/Devil/Weapons/ProjectileGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILEGUN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil/Weapons/RocketLauncher.h b/Sources/Models/Enemies/Devil/Weapons/RocketLauncher.h index 5155f0a..bc4b7b8 100644 --- a/Sources/Models/Enemies/Devil/Weapons/RocketLauncher.h +++ b/Sources/Models/Enemies/Devil/Weapons/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Devil_old/Flare.h b/Sources/Models/Enemies/Devil_old/Flare.h index 71cc966..248173e 100644 --- a/Sources/Models/Enemies/Devil_old/Flare.h +++ b/Sources/Models/Enemies/Devil_old/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil_old/MiniGunItem.h b/Sources/Models/Enemies/Devil_old/MiniGunItem.h index 641d515..6bffea3 100644 --- a/Sources/Models/Enemies/Devil_old/MiniGunItem.h +++ b/Sources/Models/Enemies/Devil_old/MiniGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Enemies/Devil_old/Minigun.h b/Sources/Models/Enemies/Devil_old/Minigun.h index 3710b48..d965285 100644 --- a/Sources/Models/Enemies/Devil_old/Minigun.h +++ b/Sources/Models/Enemies/Devil_old/Minigun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil_old/Stick.h b/Sources/Models/Enemies/Devil_old/Stick.h index 17b25e6..faa11d2 100644 --- a/Sources/Models/Enemies/Devil_old/Stick.h +++ b/Sources/Models/Enemies/Devil_old/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil_old/devil.h b/Sources/Models/Enemies/Devil_old/devil.h index 262309b..18c5cb8 100644 --- a/Sources/Models/Enemies/Devil_old/devil.h +++ b/Sources/Models/Enemies/Devil_old/devil.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil_old/devil2.h b/Sources/Models/Enemies/Devil_old/devil2.h index 8cd39fb..c98faca 100644 --- a/Sources/Models/Enemies/Devil_old/devil2.h +++ b/Sources/Models/Enemies/Devil_old/devil2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Devil_old/shield.h b/Sources/Models/Enemies/Devil_old/shield.h index a8f7714..2ee67a8 100644 --- a/Sources/Models/Enemies/Devil_old/shield.h +++ b/Sources/Models/Enemies/Devil_old/shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_CENTERED 0 diff --git a/Sources/Models/Enemies/DragonMan/Debris/Body.h b/Sources/Models/Enemies/DragonMan/Debris/Body.h index 0c50f59..83de0c5 100644 --- a/Sources/Models/Enemies/DragonMan/Debris/Body.h +++ b/Sources/Models/Enemies/DragonMan/Debris/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/Debris/Head.h b/Sources/Models/Enemies/DragonMan/Debris/Head.h index e15b016..34f1228 100644 --- a/Sources/Models/Enemies/DragonMan/Debris/Head.h +++ b/Sources/Models/Enemies/DragonMan/Debris/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/Debris/Leg.h b/Sources/Models/Enemies/DragonMan/Debris/Leg.h index da2f3a8..2c3c78e 100644 --- a/Sources/Models/Enemies/DragonMan/Debris/Leg.h +++ b/Sources/Models/Enemies/DragonMan/Debris/Leg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/Debris/Tail.h b/Sources/Models/Enemies/DragonMan/Debris/Tail.h index d132107..21c4588 100644 --- a/Sources/Models/Enemies/DragonMan/Debris/Tail.h +++ b/Sources/Models/Enemies/DragonMan/Debris/Tail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/Debris/Wing.h b/Sources/Models/Enemies/DragonMan/Debris/Wing.h index d706a7a..4150784 100644 --- a/Sources/Models/Enemies/DragonMan/Debris/Wing.h +++ b/Sources/Models/Enemies/DragonMan/Debris/Wing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/DragonMan.h b/Sources/Models/Enemies/DragonMan/DragonMan.h index 24af7f0..db98e4c 100644 --- a/Sources/Models/Enemies/DragonMan/DragonMan.h +++ b/Sources/Models/Enemies/DragonMan/DragonMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DRAGONMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/DragonMan/Projectile/Projectile.h b/Sources/Models/Enemies/DragonMan/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/DragonMan/Projectile/Projectile.h +++ b/Sources/Models/Enemies/DragonMan/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ElementalAir/Elemental.h b/Sources/Models/Enemies/ElementalAir/Elemental.h index aa056b6..0919fc2 100644 --- a/Sources/Models/Enemies/ElementalAir/Elemental.h +++ b/Sources/Models/Enemies/ElementalAir/Elemental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEMENTAL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ElementalLava/BodyFlare.h b/Sources/Models/Enemies/ElementalLava/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/Enemies/ElementalLava/BodyFlare.h +++ b/Sources/Models/Enemies/ElementalLava/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ElementalLava/ElementalLava.h b/Sources/Models/Enemies/ElementalLava/ElementalLava.h index b15bcfc..18a3ea1 100644 --- a/Sources/Models/Enemies/ElementalLava/ElementalLava.h +++ b/Sources/Models/Enemies/ElementalLava/ElementalLava.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEMENTALLAVA_ANIM_IDLE 0 diff --git a/Sources/Models/Enemies/ElementalLava/HandFlare.h b/Sources/Models/Enemies/ElementalLava/HandFlare.h index 3ef6761..c2aebf0 100644 --- a/Sources/Models/Enemies/ElementalLava/HandFlare.h +++ b/Sources/Models/Enemies/ElementalLava/HandFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ElementalLava/Projectile/LavaBomb.h b/Sources/Models/Enemies/ElementalLava/Projectile/LavaBomb.h index cb3311f..842d749 100644 --- a/Sources/Models/Enemies/ElementalLava/Projectile/LavaBomb.h +++ b/Sources/Models/Enemies/ElementalLava/Projectile/LavaBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVABOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/ElementalLava/Projectile/LavaStone.h b/Sources/Models/Enemies/ElementalLava/Projectile/LavaStone.h index 915298e..8b95ec3 100644 --- a/Sources/Models/Enemies/ElementalLava/Projectile/LavaStone.h +++ b/Sources/Models/Enemies/ElementalLava/Projectile/LavaStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONE_ANIM_POSE00 0 diff --git a/Sources/Models/Enemies/ElementalLava/Projectile/LavaStoneFlare.h b/Sources/Models/Enemies/ElementalLava/Projectile/LavaStoneFlare.h index 8af51ea..33474e9 100644 --- a/Sources/Models/Enemies/ElementalLava/Projectile/LavaStoneFlare.h +++ b/Sources/Models/Enemies/ElementalLava/Projectile/LavaStoneFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONEFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/AirMan.h b/Sources/Models/Enemies/Elementals/AirMan.h index 23595aa..c1a9312 100644 --- a/Sources/Models/Enemies/Elementals/AirMan.h +++ b/Sources/Models/Enemies/Elementals/AirMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AIRMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/IceMan.h b/Sources/Models/Enemies/Elementals/IceMan.h index 40713b2..bac8577 100644 --- a/Sources/Models/Enemies/Elementals/IceMan.h +++ b/Sources/Models/Enemies/Elementals/IceMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Icepick.h b/Sources/Models/Enemies/Elementals/Icepick.h index 728859e..e62ac1d 100644 --- a/Sources/Models/Enemies/Elementals/Icepick.h +++ b/Sources/Models/Enemies/Elementals/Icepick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/LavaMan.h b/Sources/Models/Enemies/Elementals/LavaMan.h index 9b06ee1..46c6eb0 100644 --- a/Sources/Models/Enemies/Elementals/LavaMan.h +++ b/Sources/Models/Enemies/Elementals/LavaMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/LavaManFX/BodyFlare.h b/Sources/Models/Enemies/Elementals/LavaManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/Enemies/Elementals/LavaManFX/BodyFlare.h +++ b/Sources/Models/Enemies/Elementals/LavaManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/LavaManFX/HandFlare.h b/Sources/Models/Enemies/Elementals/LavaManFX/HandFlare.h index 3ef6761..c2aebf0 100644 --- a/Sources/Models/Enemies/Elementals/LavaManFX/HandFlare.h +++ b/Sources/Models/Enemies/Elementals/LavaManFX/HandFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Maul.h b/Sources/Models/Enemies/Elementals/Maul.h index aaf5cfb..913c730 100644 --- a/Sources/Models/Enemies/Elementals/Maul.h +++ b/Sources/Models/Enemies/Elementals/Maul.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAUL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/Fireball.h b/Sources/Models/Enemies/Elementals/Projectile/Fireball.h index 48b5b81..a11eab4 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/Fireball.h +++ b/Sources/Models/Enemies/Elementals/Projectile/Fireball.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/IcePyramid.h b/Sources/Models/Enemies/Elementals/Projectile/IcePyramid.h index f78a993..4c8d4d7 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/IcePyramid.h +++ b/Sources/Models/Enemies/Elementals/Projectile/IcePyramid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPYRAMID_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/IcePyramidFlare.h b/Sources/Models/Enemies/Elementals/Projectile/IcePyramidFlare.h index e8fb392..a0422d1 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/IcePyramidFlare.h +++ b/Sources/Models/Enemies/Elementals/Projectile/IcePyramidFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPYRAMIDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/LavaBomb.h b/Sources/Models/Enemies/Elementals/Projectile/LavaBomb.h index cb3311f..842d749 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/LavaBomb.h +++ b/Sources/Models/Enemies/Elementals/Projectile/LavaBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVABOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/LavaBombFlare.h b/Sources/Models/Enemies/Elementals/Projectile/LavaBombFlare.h index 367275b..3ef6ad8 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/LavaBombFlare.h +++ b/Sources/Models/Enemies/Elementals/Projectile/LavaBombFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVABOMBFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/LavaStone.h b/Sources/Models/Enemies/Elementals/Projectile/LavaStone.h index 915298e..8b95ec3 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/LavaStone.h +++ b/Sources/Models/Enemies/Elementals/Projectile/LavaStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONE_ANIM_POSE00 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/LavaStoneFlare.h b/Sources/Models/Enemies/Elementals/Projectile/LavaStoneFlare.h index 8af51ea..33474e9 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/LavaStoneFlare.h +++ b/Sources/Models/Enemies/Elementals/Projectile/LavaStoneFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONEFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/Stone.h b/Sources/Models/Enemies/Elementals/Projectile/Stone.h index dd231db..739ff69 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/Stone.h +++ b/Sources/Models/Enemies/Elementals/Projectile/Stone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONE_ANIM_POSE00 0 diff --git a/Sources/Models/Enemies/Elementals/Projectile/WaterDrop.h b/Sources/Models/Enemies/Elementals/Projectile/WaterDrop.h index c5b16be..85307df 100644 --- a/Sources/Models/Enemies/Elementals/Projectile/WaterDrop.h +++ b/Sources/Models/Enemies/Elementals/Projectile/WaterDrop.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERDROP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/StoneManFX/BodyFlare.h b/Sources/Models/Enemies/Elementals/StoneManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/Enemies/Elementals/StoneManFX/BodyFlare.h +++ b/Sources/Models/Enemies/Elementals/StoneManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Stoneman.h b/Sources/Models/Enemies/Elementals/Stoneman.h index 7460a3f..f08e3e5 100644 --- a/Sources/Models/Enemies/Elementals/Stoneman.h +++ b/Sources/Models/Enemies/Elementals/Stoneman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONEMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/Twister.h b/Sources/Models/Enemies/Elementals/Twister.h index e2f46a3..396d33b 100644 --- a/Sources/Models/Enemies/Elementals/Twister.h +++ b/Sources/Models/Enemies/Elementals/Twister.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TWISTER_ANIM_ROTATE 0 diff --git a/Sources/Models/Enemies/Elementals/WaterMan.h b/Sources/Models/Enemies/Elementals/WaterMan.h index 52c4cdf..d82074a 100644 --- a/Sources/Models/Enemies/Elementals/WaterMan.h +++ b/Sources/Models/Enemies/Elementals/WaterMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/Enemies/Elementals/WaterManFX/BodyFlare.h b/Sources/Models/Enemies/Elementals/WaterManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/Enemies/Elementals/WaterManFX/BodyFlare.h +++ b/Sources/Models/Enemies/Elementals/WaterManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Eyeman/Debris/Arm.h b/Sources/Models/Enemies/Eyeman/Debris/Arm.h index 545865f..ce93226 100644 --- a/Sources/Models/Enemies/Eyeman/Debris/Arm.h +++ b/Sources/Models/Enemies/Eyeman/Debris/Arm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Eyeman/Debris/Leg.h b/Sources/Models/Enemies/Eyeman/Debris/Leg.h index 2866407..bfc6158 100644 --- a/Sources/Models/Enemies/Eyeman/Debris/Leg.h +++ b/Sources/Models/Enemies/Eyeman/Debris/Leg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEG_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Eyeman/Debris/Torso.h b/Sources/Models/Enemies/Eyeman/Debris/Torso.h index 84dc270..62eeb94 100644 --- a/Sources/Models/Enemies/Eyeman/Debris/Torso.h +++ b/Sources/Models/Enemies/Eyeman/Debris/Torso.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORSO_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Eyeman/Eyeman.h b/Sources/Models/Enemies/Eyeman/Eyeman.h index 33c9c1f..261bd61 100644 --- a/Sources/Models/Enemies/Eyeman/Eyeman.h +++ b/Sources/Models/Enemies/Eyeman/Eyeman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EYEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/EyemanOld/Projectile/Acid.h b/Sources/Models/Enemies/EyemanOld/Projectile/Acid.h index f7bc847..cbc5e68 100644 --- a/Sources/Models/Enemies/EyemanOld/Projectile/Acid.h +++ b/Sources/Models/Enemies/EyemanOld/Projectile/Acid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ACID_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/EyemanOld/eyeman.h b/Sources/Models/Enemies/EyemanOld/eyeman.h index af2e1c2..fee0532 100644 --- a/Sources/Models/Enemies/EyemanOld/eyeman.h +++ b/Sources/Models/Enemies/EyemanOld/eyeman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EYEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Fish/Fish.h b/Sources/Models/Enemies/Fish/Fish.h index 6602f5d..cf77a84 100644 --- a/Sources/Models/Enemies/Fish/Fish.h +++ b/Sources/Models/Enemies/Fish/Fish.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FISH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Fish/Glow.h b/Sources/Models/Enemies/Fish/Glow.h index 5f99a41..d25ef94 100644 --- a/Sources/Models/Enemies/Fish/Glow.h +++ b/Sources/Models/Enemies/Fish/Glow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLOW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Fishman/Projectile/Projectile.h b/Sources/Models/Enemies/Fishman/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/Fishman/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Fishman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Fishman/fishman.h b/Sources/Models/Enemies/Fishman/fishman.h index 19d7898..726b8d2 100644 --- a/Sources/Models/Enemies/Fishman/fishman.h +++ b/Sources/Models/Enemies/Fishman/fishman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FISHMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Gizmo/Gizmo.h b/Sources/Models/Enemies/Gizmo/Gizmo.h index b785239..10bc88e 100644 --- a/Sources/Models/Enemies/Gizmo/Gizmo.h +++ b/Sources/Models/Enemies/Gizmo/Gizmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GIZMO_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/HeadManOld/Bag.h b/Sources/Models/Enemies/HeadManOld/Bag.h index 8015de9..481d72e 100644 --- a/Sources/Models/Enemies/HeadManOld/Bag.h +++ b/Sources/Models/Enemies/HeadManOld/Bag.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BAG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/ChainSaw.h b/Sources/Models/Enemies/HeadManOld/ChainSaw.h index 700370a..2ce66c0 100644 --- a/Sources/Models/Enemies/HeadManOld/ChainSaw.h +++ b/Sources/Models/Enemies/HeadManOld/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Head.h b/Sources/Models/Enemies/HeadManOld/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Enemies/HeadManOld/Head.h +++ b/Sources/Models/Enemies/HeadManOld/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/HeadMan.h b/Sources/Models/Enemies/HeadManOld/HeadMan.h index f14727e..2e73581 100644 --- a/Sources/Models/Enemies/HeadManOld/HeadMan.h +++ b/Sources/Models/Enemies/HeadManOld/HeadMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Headonstick.h b/Sources/Models/Enemies/HeadManOld/Headonstick.h index 7b7fbed..c3a9d90 100644 --- a/Sources/Models/Enemies/HeadManOld/Headonstick.h +++ b/Sources/Models/Enemies/HeadManOld/Headonstick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADONSTICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Projectile/Blade.h b/Sources/Models/Enemies/HeadManOld/Projectile/Blade.h index c14f474..6f35d41 100644 --- a/Sources/Models/Enemies/HeadManOld/Projectile/Blade.h +++ b/Sources/Models/Enemies/HeadManOld/Projectile/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_ROTATING 0 diff --git a/Sources/Models/Enemies/HeadManOld/Projectile/Bomb.h b/Sources/Models/Enemies/HeadManOld/Projectile/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/Enemies/HeadManOld/Projectile/Bomb.h +++ b/Sources/Models/Enemies/HeadManOld/Projectile/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Projectile/FireCracker.h b/Sources/Models/Enemies/HeadManOld/Projectile/FireCracker.h index de127f8..877a000 100644 --- a/Sources/Models/Enemies/HeadManOld/Projectile/FireCracker.h +++ b/Sources/Models/Enemies/HeadManOld/Projectile/FireCracker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Projectile/FireTrail.h b/Sources/Models/Enemies/HeadManOld/Projectile/FireTrail.h index b95bf4b..90bc044 100644 --- a/Sources/Models/Enemies/HeadManOld/Projectile/FireTrail.h +++ b/Sources/Models/Enemies/HeadManOld/Projectile/FireTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/RocketLauncher.h b/Sources/Models/Enemies/HeadManOld/RocketLauncher.h index 480c42b..51dd9da 100644 --- a/Sources/Models/Enemies/HeadManOld/RocketLauncher.h +++ b/Sources/Models/Enemies/HeadManOld/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Saw.h b/Sources/Models/Enemies/HeadManOld/Saw.h index 9ae4603..d1468d2 100644 --- a/Sources/Models/Enemies/HeadManOld/Saw.h +++ b/Sources/Models/Enemies/HeadManOld/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HeadManOld/Stick.h b/Sources/Models/Enemies/HeadManOld/Stick.h index ac4bd6e..fa300c8 100644 --- a/Sources/Models/Enemies/HeadManOld/Stick.h +++ b/Sources/Models/Enemies/HeadManOld/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/ChainSaw.h b/Sources/Models/Enemies/Headman/ChainSaw.h index 700370a..2ce66c0 100644 --- a/Sources/Models/Enemies/Headman/ChainSaw.h +++ b/Sources/Models/Enemies/Headman/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Debris/Arm.h b/Sources/Models/Enemies/Headman/Debris/Arm.h index 545865f..ce93226 100644 --- a/Sources/Models/Enemies/Headman/Debris/Arm.h +++ b/Sources/Models/Enemies/Headman/Debris/Arm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Headman/Debris/Leg.h b/Sources/Models/Enemies/Headman/Debris/Leg.h index 2866407..bfc6158 100644 --- a/Sources/Models/Enemies/Headman/Debris/Leg.h +++ b/Sources/Models/Enemies/Headman/Debris/Leg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEG_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Headman/Debris/Torso.h b/Sources/Models/Enemies/Headman/Debris/Torso.h index 84dc270..62eeb94 100644 --- a/Sources/Models/Enemies/Headman/Debris/Torso.h +++ b/Sources/Models/Enemies/Headman/Debris/Torso.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORSO_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Headman/FireCrackerHead.h b/Sources/Models/Enemies/Headman/FireCrackerHead.h index ca0581e..f44fc52 100644 --- a/Sources/Models/Enemies/Headman/FireCrackerHead.h +++ b/Sources/Models/Enemies/Headman/FireCrackerHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKERHEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Head.h b/Sources/Models/Enemies/Headman/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Enemies/Headman/Head.h +++ b/Sources/Models/Enemies/Headman/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Projectile/Blade.h b/Sources/Models/Enemies/Headman/Projectile/Blade.h index c14f474..6f35d41 100644 --- a/Sources/Models/Enemies/Headman/Projectile/Blade.h +++ b/Sources/Models/Enemies/Headman/Projectile/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_ROTATING 0 diff --git a/Sources/Models/Enemies/Headman/Projectile/Bomb.h b/Sources/Models/Enemies/Headman/Projectile/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/Enemies/Headman/Projectile/Bomb.h +++ b/Sources/Models/Enemies/Headman/Projectile/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Projectile/FireCracker.h b/Sources/Models/Enemies/Headman/Projectile/FireCracker.h index de127f8..877a000 100644 --- a/Sources/Models/Enemies/Headman/Projectile/FireCracker.h +++ b/Sources/Models/Enemies/Headman/Projectile/FireCracker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Projectile/FireTrail.h b/Sources/Models/Enemies/Headman/Projectile/FireTrail.h index 6b479cc..0e0f4a2 100644 --- a/Sources/Models/Enemies/Headman/Projectile/FireTrail.h +++ b/Sources/Models/Enemies/Headman/Projectile/FireTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRETRAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/RocketLauncher.h b/Sources/Models/Enemies/Headman/RocketLauncher.h index 480c42b..51dd9da 100644 --- a/Sources/Models/Enemies/Headman/RocketLauncher.h +++ b/Sources/Models/Enemies/Headman/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/Saw.h b/Sources/Models/Enemies/Headman/Saw.h index 940c18b..212b0f7 100644 --- a/Sources/Models/Enemies/Headman/Saw.h +++ b/Sources/Models/Enemies/Headman/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_ROTATE 0 diff --git a/Sources/Models/Enemies/Headman/Stick.h b/Sources/Models/Enemies/Headman/Stick.h index 1710d0a..f33de58 100644 --- a/Sources/Models/Enemies/Headman/Stick.h +++ b/Sources/Models/Enemies/Headman/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Headman/headman.h b/Sources/Models/Enemies/Headman/headman.h index 6d7faef..80e655f 100644 --- a/Sources/Models/Enemies/Headman/headman.h +++ b/Sources/Models/Enemies/Headman/headman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Headman/headmantest.h b/Sources/Models/Enemies/Headman/headmantest.h index 6898309..3541af0 100644 --- a/Sources/Models/Enemies/Headman/headmantest.h +++ b/Sources/Models/Enemies/Headman/headmantest.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMANTEST_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HuanMan/Huanman.h b/Sources/Models/Enemies/HuanMan/Huanman.h index 4b5b157..ba88481 100644 --- a/Sources/Models/Enemies/HuanMan/Huanman.h +++ b/Sources/Models/Enemies/HuanMan/Huanman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HUANMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HuanMan/Projectile/Flare.h b/Sources/Models/Enemies/HuanMan/Projectile/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/Enemies/HuanMan/Projectile/Flare.h +++ b/Sources/Models/Enemies/HuanMan/Projectile/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HuanMan/Projectile/Projectile.h b/Sources/Models/Enemies/HuanMan/Projectile/Projectile.h index 18f51c9..dfd418f 100644 --- a/Sources/Models/Enemies/HuanMan/Projectile/Projectile.h +++ b/Sources/Models/Enemies/HuanMan/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/HuanMan/Projectile/tmp/Projectile.h b/Sources/Models/Enemies/HuanMan/Projectile/tmp/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/HuanMan/Projectile/tmp/Projectile.h +++ b/Sources/Models/Enemies/HuanMan/Projectile/tmp/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/MAMUTMAN/Mamutman.h b/Sources/Models/Enemies/MAMUTMAN/Mamutman.h index fbfe2b3..82e03d1 100644 --- a/Sources/Models/Enemies/MAMUTMAN/Mamutman.h +++ b/Sources/Models/Enemies/MAMUTMAN/Mamutman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUTMAN_ANIM_ATTACK01 0 diff --git a/Sources/Models/Enemies/MAMUTMAN/Projectile/Mamutman.h b/Sources/Models/Enemies/MAMUTMAN/Projectile/Mamutman.h index fbfe2b3..82e03d1 100644 --- a/Sources/Models/Enemies/MAMUTMAN/Projectile/Mamutman.h +++ b/Sources/Models/Enemies/MAMUTMAN/Projectile/Mamutman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUTMAN_ANIM_ATTACK01 0 diff --git a/Sources/Models/Enemies/MANTAMAN/Projectile/Projectile.h b/Sources/Models/Enemies/MANTAMAN/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/Enemies/MANTAMAN/Projectile/Projectile.h +++ b/Sources/Models/Enemies/MANTAMAN/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/MANTAMAN/mantaman.h b/Sources/Models/Enemies/MANTAMAN/mantaman.h index badfaa7..0b36298 100644 --- a/Sources/Models/Enemies/MANTAMAN/mantaman.h +++ b/Sources/Models/Enemies/MANTAMAN/mantaman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MANTAMAN_ANIM_DEFAULT_ANIMATION01 0 diff --git a/Sources/Models/Enemies/Mamut/OBJECTS/mamut.h b/Sources/Models/Enemies/Mamut/OBJECTS/mamut.h index de5bfc3..02f1e23 100644 --- a/Sources/Models/Enemies/Mamut/OBJECTS/mamut.h +++ b/Sources/Models/Enemies/Mamut/OBJECTS/mamut.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Mamut/Projectile/MamutProjectile.h b/Sources/Models/Enemies/Mamut/Projectile/MamutProjectile.h index 0759046..8c43aed 100644 --- a/Sources/Models/Enemies/Mamut/Projectile/MamutProjectile.h +++ b/Sources/Models/Enemies/Mamut/Projectile/MamutProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUTPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Mental/BrainBottle.h b/Sources/Models/Enemies/Mental/BrainBottle.h index 58185df..4f6c500 100644 --- a/Sources/Models/Enemies/Mental/BrainBottle.h +++ b/Sources/Models/Enemies/Mental/BrainBottle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINBOTTLE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Mental/BrainDrain.h b/Sources/Models/Enemies/Mental/BrainDrain.h index 02332dd..3442121 100644 --- a/Sources/Models/Enemies/Mental/BrainDrain.h +++ b/Sources/Models/Enemies/Mental/BrainDrain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINDRAIN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Mental/BrainHoses.h b/Sources/Models/Enemies/Mental/BrainHoses.h index 9515ad9..624c3e3 100644 --- a/Sources/Models/Enemies/Mental/BrainHoses.h +++ b/Sources/Models/Enemies/Mental/BrainHoses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINHOSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Mental/Head.h b/Sources/Models/Enemies/Mental/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Enemies/Mental/Head.h +++ b/Sources/Models/Enemies/Mental/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Mental/Mental.h b/Sources/Models/Enemies/Mental/Mental.h index 3856b33..20e55ae 100644 --- a/Sources/Models/Enemies/Mental/Mental.h +++ b/Sources/Models/Enemies/Mental/Mental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MENTAL_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Robots/DrivingSpider/DrivingSpider.h b/Sources/Models/Enemies/Robots/DrivingSpider/DrivingSpider.h index bca0789..01e8233 100644 --- a/Sources/Models/Enemies/Robots/DrivingSpider/DrivingSpider.h +++ b/Sources/Models/Enemies/Robots/DrivingSpider/DrivingSpider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DRIVINGSPIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/DrivingSpider/Weapon.h b/Sources/Models/Enemies/Robots/DrivingSpider/Weapon.h index 140f4ed..f679a2f 100644 --- a/Sources/Models/Enemies/Robots/DrivingSpider/Weapon.h +++ b/Sources/Models/Enemies/Robots/DrivingSpider/Weapon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WEAPON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/DrivingWheel/Robot.h b/Sources/Models/Enemies/Robots/DrivingWheel/Robot.h index 4392158..571d12e 100644 --- a/Sources/Models/Enemies/Robots/DrivingWheel/Robot.h +++ b/Sources/Models/Enemies/Robots/DrivingWheel/Robot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROBOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/FloatBall/Robot.h b/Sources/Models/Enemies/Robots/FloatBall/Robot.h index 4392158..571d12e 100644 --- a/Sources/Models/Enemies/Robots/FloatBall/Robot.h +++ b/Sources/Models/Enemies/Robots/FloatBall/Robot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROBOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/FloatKamikaze/FloatKamikaze.h b/Sources/Models/Enemies/Robots/FloatKamikaze/FloatKamikaze.h index f7dc4d5..e16006d 100644 --- a/Sources/Models/Enemies/Robots/FloatKamikaze/FloatKamikaze.h +++ b/Sources/Models/Enemies/Robots/FloatKamikaze/FloatKamikaze.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOATKAMIKAZE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/FloatKamikaze/Ring.h b/Sources/Models/Enemies/Robots/FloatKamikaze/Ring.h index 72e8d15..efaf728 100644 --- a/Sources/Models/Enemies/Robots/FloatKamikaze/Ring.h +++ b/Sources/Models/Enemies/Robots/FloatKamikaze/Ring.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/FlyingFighter/FlyingFighter.h b/Sources/Models/Enemies/Robots/FlyingFighter/FlyingFighter.h index ce53ae1..125ca14 100644 --- a/Sources/Models/Enemies/Robots/FlyingFighter/FlyingFighter.h +++ b/Sources/Models/Enemies/Robots/FlyingFighter/FlyingFighter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLYINGFIGHTER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/FlyingFighter/Ship.h b/Sources/Models/Enemies/Robots/FlyingFighter/Ship.h index 5d3a487..b2334cc 100644 --- a/Sources/Models/Enemies/Robots/FlyingFighter/Ship.h +++ b/Sources/Models/Enemies/Robots/FlyingFighter/Ship.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/SentryBall/Ball.h b/Sources/Models/Enemies/Robots/SentryBall/Ball.h index 0460b16..7efb879 100644 --- a/Sources/Models/Enemies/Robots/SentryBall/Ball.h +++ b/Sources/Models/Enemies/Robots/SentryBall/Ball.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/SentryBall/Effect.h b/Sources/Models/Enemies/Robots/SentryBall/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/Enemies/Robots/SentryBall/Effect.h +++ b/Sources/Models/Enemies/Robots/SentryBall/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Robots/SentryBall/SentryBall.h b/Sources/Models/Enemies/Robots/SentryBall/SentryBall.h index 09cee34..2206d49 100644 --- a/Sources/Models/Enemies/Robots/SentryBall/SentryBall.h +++ b/Sources/Models/Enemies/Robots/SentryBall/SentryBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SENTRYBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/SCORPMAN/Flare.h b/Sources/Models/Enemies/SCORPMAN/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/Enemies/SCORPMAN/Flare.h +++ b/Sources/Models/Enemies/SCORPMAN/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/SCORPMAN/Gun.h b/Sources/Models/Enemies/SCORPMAN/Gun.h index e64d6b5..45bded1 100644 --- a/Sources/Models/Enemies/SCORPMAN/Gun.h +++ b/Sources/Models/Enemies/SCORPMAN/Gun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/SCORPMAN/scorpman.h b/Sources/Models/Enemies/SCORPMAN/scorpman.h index 2486cae..fbd4790 100644 --- a/Sources/Models/Enemies/SCORPMAN/scorpman.h +++ b/Sources/Models/Enemies/SCORPMAN/scorpman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SCORPMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Walker/Debris/Head.h b/Sources/Models/Enemies/Walker/Debris/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Enemies/Walker/Debris/Head.h +++ b/Sources/Models/Enemies/Walker/Debris/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Walker/Debris/Head2.h b/Sources/Models/Enemies/Walker/Debris/Head2.h index c7a610c..a7fd093 100644 --- a/Sources/Models/Enemies/Walker/Debris/Head2.h +++ b/Sources/Models/Enemies/Walker/Debris/Head2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD2_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Walker/Debris/Leg.h b/Sources/Models/Enemies/Walker/Debris/Leg.h index 2866407..bfc6158 100644 --- a/Sources/Models/Enemies/Walker/Debris/Leg.h +++ b/Sources/Models/Enemies/Walker/Debris/Leg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEG_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/Walker/Laser.h b/Sources/Models/Enemies/Walker/Laser.h index 2371057..e3a9dc9 100644 --- a/Sources/Models/Enemies/Walker/Laser.h +++ b/Sources/Models/Enemies/Walker/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Walker/RocketLauncher.h b/Sources/Models/Enemies/Walker/RocketLauncher.h index 3935749..5b1cc00 100644 --- a/Sources/Models/Enemies/Walker/RocketLauncher.h +++ b/Sources/Models/Enemies/Walker/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_LEFT 0 diff --git a/Sources/Models/Enemies/Walker/Walker.h b/Sources/Models/Enemies/Walker/Walker.h index a88e384..70fde40 100644 --- a/Sources/Models/Enemies/Walker/Walker.h +++ b/Sources/Models/Enemies/Walker/Walker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WALKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/WereBull/WereBull.h b/Sources/Models/Enemies/WereBull/WereBull.h index 9017dbf..12af822 100644 --- a/Sources/Models/Enemies/WereBull/WereBull.h +++ b/Sources/Models/Enemies/WereBull/WereBull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WEREBULL_ANIM_DEFAULT 0 diff --git a/Sources/Models/Enemies/WereBullOld/WereBull.h b/Sources/Models/Enemies/WereBullOld/WereBull.h index 1311b54..14c72d1 100644 --- a/Sources/Models/Enemies/WereBullOld/WereBull.h +++ b/Sources/Models/Enemies/WereBullOld/WereBull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WEREBULL_ANIM_STANDREST 0 diff --git a/Sources/Models/Enemies/Woman/Projectile/Projectile.h b/Sources/Models/Enemies/Woman/Projectile/Projectile.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/Enemies/Woman/Projectile/Projectile.h +++ b/Sources/Models/Enemies/Woman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Enemies/Woman/Woman.h b/Sources/Models/Enemies/Woman/Woman.h index 041f6bb..13fc3a7 100644 --- a/Sources/Models/Enemies/Woman/Woman.h +++ b/Sources/Models/Enemies/Woman/Woman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOMAN_ANIM_AIRATTACK01 0 diff --git a/Sources/Models/Enemies/Woman/WomanForArtwork.h b/Sources/Models/Enemies/Woman/WomanForArtwork.h index 5c902cf..9ce350d 100644 --- a/Sources/Models/Enemies/Woman/WomanForArtwork.h +++ b/Sources/Models/Enemies/Woman/WomanForArtwork.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOMANFORARTWORK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/AnimatedTexture.h b/Sources/Models/IHVTest/AnimatedTexture.h index 5c6459f..d94dd77 100644 --- a/Sources/Models/IHVTest/AnimatedTexture.h +++ b/Sources/Models/IHVTest/AnimatedTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANIMATEDTEXTURE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Bump.h b/Sources/Models/IHVTest/Bump.h index 3ee7741..bb082b4 100644 --- a/Sources/Models/IHVTest/Bump.h +++ b/Sources/Models/IHVTest/Bump.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUMP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/CurvedSurfaces.h b/Sources/Models/IHVTest/CurvedSurfaces.h index 15756e4..2a1b71c 100644 --- a/Sources/Models/IHVTest/CurvedSurfaces.h +++ b/Sources/Models/IHVTest/CurvedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CURVEDSURFACES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Diffuse.h b/Sources/Models/IHVTest/Diffuse.h index 66d159d..63b3d36 100644 --- a/Sources/Models/IHVTest/Diffuse.h +++ b/Sources/Models/IHVTest/Diffuse.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DIFFUSE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/DoubleSided.h b/Sources/Models/IHVTest/DoubleSided.h index 70fc2dc..a67b519 100644 --- a/Sources/Models/IHVTest/DoubleSided.h +++ b/Sources/Models/IHVTest/DoubleSided.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESIDED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/DoubleSided_Add.h b/Sources/Models/IHVTest/DoubleSided_Add.h index 8fcf138..4d7e2e9 100644 --- a/Sources/Models/IHVTest/DoubleSided_Add.h +++ b/Sources/Models/IHVTest/DoubleSided_Add.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESIDED_ADD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/DoubleSided_Multiply.h b/Sources/Models/IHVTest/DoubleSided_Multiply.h index ea9b830..3b9f225 100644 --- a/Sources/Models/IHVTest/DoubleSided_Multiply.h +++ b/Sources/Models/IHVTest/DoubleSided_Multiply.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESIDED_MULTIPLY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/EffectTexture.h b/Sources/Models/IHVTest/EffectTexture.h index 378c3cb..b50eefe 100644 --- a/Sources/Models/IHVTest/EffectTexture.h +++ b/Sources/Models/IHVTest/EffectTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTTEXTURE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Flat.h b/Sources/Models/IHVTest/Flat.h index 99621a7..95451fc 100644 --- a/Sources/Models/IHVTest/Flat.h +++ b/Sources/Models/IHVTest/Flat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/FullBright.h b/Sources/Models/IHVTest/FullBright.h index e409f8a..aa7760b 100644 --- a/Sources/Models/IHVTest/FullBright.h +++ b/Sources/Models/IHVTest/FullBright.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FULLBRIGHT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/GlassCurvedSurfaces.h b/Sources/Models/IHVTest/GlassCurvedSurfaces.h index bdd13e2..22e0543 100644 --- a/Sources/Models/IHVTest/GlassCurvedSurfaces.h +++ b/Sources/Models/IHVTest/GlassCurvedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSCURVEDSURFACES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Ignored.h b/Sources/Models/IHVTest/Ignored.h index 44bbde1..e9cde80 100644 --- a/Sources/Models/IHVTest/Ignored.h +++ b/Sources/Models/IHVTest/Ignored.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IGNORED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Lightning.h b/Sources/Models/IHVTest/Lightning.h index f6a5844..5a1043e 100644 --- a/Sources/Models/IHVTest/Lightning.h +++ b/Sources/Models/IHVTest/Lightning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/ModelAnimation.h b/Sources/Models/IHVTest/ModelAnimation.h index fcc0cbb..dc386b6 100644 --- a/Sources/Models/IHVTest/ModelAnimation.h +++ b/Sources/Models/IHVTest/ModelAnimation.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MODELANIMATION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Patch.h b/Sources/Models/IHVTest/Patch.h index 6dedaad..17a32f1 100644 --- a/Sources/Models/IHVTest/Patch.h +++ b/Sources/Models/IHVTest/Patch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PATCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Reflection.h b/Sources/Models/IHVTest/Reflection.h index f02f695..abf755d 100644 --- a/Sources/Models/IHVTest/Reflection.h +++ b/Sources/Models/IHVTest/Reflection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define REFLECTION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Smooth.h b/Sources/Models/IHVTest/Smooth.h index 43cc1d9..5dcdffd 100644 --- a/Sources/Models/IHVTest/Smooth.h +++ b/Sources/Models/IHVTest/Smooth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOOTH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Specularity.h b/Sources/Models/IHVTest/Specularity.h index aea2350..00a471b 100644 --- a/Sources/Models/IHVTest/Specularity.h +++ b/Sources/Models/IHVTest/Specularity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPECULARITY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Transparent.h b/Sources/Models/IHVTest/Transparent.h index 9ffe3f1..fc0f979 100644 --- a/Sources/Models/IHVTest/Transparent.h +++ b/Sources/Models/IHVTest/Transparent.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TRANSPARENT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/IHVTest/Trasluscent.h b/Sources/Models/IHVTest/Trasluscent.h index e2ddd82..93c0366 100644 --- a/Sources/Models/IHVTest/Trasluscent.h +++ b/Sources/Models/IHVTest/Trasluscent.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TRASLUSCENT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Bullets/Bullets.h b/Sources/Models/Items/Ammo/Bullets/Bullets.h index 9f2199c..540d3ec 100644 --- a/Sources/Models/Items/Ammo/Bullets/Bullets.h +++ b/Sources/Models/Items/Ammo/Bullets/Bullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Cannonball/CannonBall.h b/Sources/Models/Items/Ammo/Cannonball/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/Items/Ammo/Cannonball/CannonBall.h +++ b/Sources/Models/Items/Ammo/Cannonball/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Cannonball/CannonBallQuad.h b/Sources/Models/Items/Ammo/Cannonball/CannonBallQuad.h index 6ca4f58..ceafc02 100644 --- a/Sources/Models/Items/Ammo/Cannonball/CannonBallQuad.h +++ b/Sources/Models/Items/Ammo/Cannonball/CannonBallQuad.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALLQUAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Electricity/Effect.h b/Sources/Models/Items/Ammo/Electricity/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/Items/Ammo/Electricity/Effect.h +++ b/Sources/Models/Items/Ammo/Electricity/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Electricity/Effect2.h b/Sources/Models/Items/Ammo/Electricity/Effect2.h index e8cbb50..8266393 100644 --- a/Sources/Models/Items/Ammo/Electricity/Effect2.h +++ b/Sources/Models/Items/Ammo/Electricity/Effect2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Electricity/Electricity.h b/Sources/Models/Items/Ammo/Electricity/Electricity.h index e765117..221e0d7 100644 --- a/Sources/Models/Items/Ammo/Electricity/Electricity.h +++ b/Sources/Models/Items/Ammo/Electricity/Electricity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Grenades/Grenades.h b/Sources/Models/Items/Ammo/Grenades/Grenades.h index 0f34ac2..9dd5845 100644 --- a/Sources/Models/Items/Ammo/Grenades/Grenades.h +++ b/Sources/Models/Items/Ammo/Grenades/Grenades.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Napalm/Napalm.h b/Sources/Models/Items/Ammo/Napalm/Napalm.h index 1524a50..205f3ae 100644 --- a/Sources/Models/Items/Ammo/Napalm/Napalm.h +++ b/Sources/Models/Items/Ammo/Napalm/Napalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAPALM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Ammo/Rockets/Rockets.h b/Sources/Models/Items/Ammo/Rockets/Rockets.h index 1ea9350..2a32d20 100644 --- a/Sources/Models/Items/Ammo/Rockets/Rockets.h +++ b/Sources/Models/Items/Ammo/Rockets/Rockets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/Shells/Shells.h b/Sources/Models/Items/Ammo/Shells/Shells.h index 04d38cf..693e5b4 100644 --- a/Sources/Models/Items/Ammo/Shells/Shells.h +++ b/Sources/Models/Items/Ammo/Shells/Shells.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELLS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Bullets/Bullets.h b/Sources/Models/Items/Ammo/_Old/Bullets/Bullets.h index ea60211..7304a93 100644 --- a/Sources/Models/Items/Ammo/_Old/Bullets/Bullets.h +++ b/Sources/Models/Items/Ammo/_Old/Bullets/Bullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBall.h b/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBall.h +++ b/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBallQuad.h b/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBallQuad.h index 6ca4f58..ceafc02 100644 --- a/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBallQuad.h +++ b/Sources/Models/Items/Ammo/_Old/Cannonball/CannonBallQuad.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALLQUAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Electricity/Effect.h b/Sources/Models/Items/Ammo/_Old/Electricity/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/Items/Ammo/_Old/Electricity/Effect.h +++ b/Sources/Models/Items/Ammo/_Old/Electricity/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Electricity/Effect2.h b/Sources/Models/Items/Ammo/_Old/Electricity/Effect2.h index e8cbb50..8266393 100644 --- a/Sources/Models/Items/Ammo/_Old/Electricity/Effect2.h +++ b/Sources/Models/Items/Ammo/_Old/Electricity/Effect2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Electricity/Electricity.h b/Sources/Models/Items/Ammo/_Old/Electricity/Electricity.h index 4dea2dc..505b306 100644 --- a/Sources/Models/Items/Ammo/_Old/Electricity/Electricity.h +++ b/Sources/Models/Items/Ammo/_Old/Electricity/Electricity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Grenades/Grenade.h b/Sources/Models/Items/Ammo/_Old/Grenades/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/Items/Ammo/_Old/Grenades/Grenade.h +++ b/Sources/Models/Items/Ammo/_Old/Grenades/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Grenades/Grenades.h b/Sources/Models/Items/Ammo/_Old/Grenades/Grenades.h index 353e287..d0fbfdb 100644 --- a/Sources/Models/Items/Ammo/_Old/Grenades/Grenades.h +++ b/Sources/Models/Items/Ammo/_Old/Grenades/Grenades.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Rockets/Rocket01.h b/Sources/Models/Items/Ammo/_Old/Rockets/Rocket01.h index 143dc03..35a279e 100644 --- a/Sources/Models/Items/Ammo/_Old/Rockets/Rocket01.h +++ b/Sources/Models/Items/Ammo/_Old/Rockets/Rocket01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Rockets/Rockets.h b/Sources/Models/Items/Ammo/_Old/Rockets/Rockets.h index 49a643a..5526ee6 100644 --- a/Sources/Models/Items/Ammo/_Old/Rockets/Rockets.h +++ b/Sources/Models/Items/Ammo/_Old/Rockets/Rockets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Ammo/_Old/Shells/Shells.h b/Sources/Models/Items/Ammo/_Old/Shells/Shells.h index 48f5491..ddc7932 100644 --- a/Sources/Models/Items/Ammo/_Old/Shells/Shells.h +++ b/Sources/Models/Items/Ammo/_Old/Shells/Shells.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELLS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Armor/Armor_1.h b/Sources/Models/Items/Armor/Armor_1.h index e623d4a..271d09b 100644 --- a/Sources/Models/Items/Armor/Armor_1.h +++ b/Sources/Models/Items/Armor/Armor_1.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_1_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Armor/Armor_100.h b/Sources/Models/Items/Armor/Armor_100.h index 1c81046..7ac4c05 100644 --- a/Sources/Models/Items/Armor/Armor_100.h +++ b/Sources/Models/Items/Armor/Armor_100.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_100_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Armor/Armor_200.h b/Sources/Models/Items/Armor/Armor_200.h index d3b5bde..10e76b1 100644 --- a/Sources/Models/Items/Armor/Armor_200.h +++ b/Sources/Models/Items/Armor/Armor_200.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_200_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Armor/Armor_25.h b/Sources/Models/Items/Armor/Armor_25.h index 32f6eb2..d7b8c8e 100644 --- a/Sources/Models/Items/Armor/Armor_25.h +++ b/Sources/Models/Items/Armor/Armor_25.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_25_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Armor/Armor_50.h b/Sources/Models/Items/Armor/Armor_50.h index 3341f24..bc9e703 100644 --- a/Sources/Models/Items/Armor/Armor_50.h +++ b/Sources/Models/Items/Armor/Armor_50.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_50_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Flares/Flare.h b/Sources/Models/Items/Flares/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/Items/Flares/Flare.h +++ b/Sources/Models/Items/Flares/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Health/Large/Large.h b/Sources/Models/Items/Health/Large/Large.h index 8a5238b..07ad354 100644 --- a/Sources/Models/Items/Health/Large/Large.h +++ b/Sources/Models/Items/Health/Large/Large.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LARGE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Health/Medium/Medium.h b/Sources/Models/Items/Health/Medium/Medium.h index 8549b21..0be6a5b 100644 --- a/Sources/Models/Items/Health/Medium/Medium.h +++ b/Sources/Models/Items/Health/Medium/Medium.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MEDIUM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Health/Pill/Pill.h b/Sources/Models/Items/Health/Pill/Pill.h index 4d6b444..7e5d83b 100644 --- a/Sources/Models/Items/Health/Pill/Pill.h +++ b/Sources/Models/Items/Health/Pill/Pill.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PILL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Health/Small/Small.h b/Sources/Models/Items/Health/Small/Small.h index 08fabeb..bdde7a4 100644 --- a/Sources/Models/Items/Health/Small/Small.h +++ b/Sources/Models/Items/Health/Small/Small.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Health/Super/Super.h b/Sources/Models/Items/Health/Super/Super.h index d423770..0c7d4f9 100644 --- a/Sources/Models/Items/Health/Super/Super.h +++ b/Sources/Models/Items/Health/Super/Super.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUPER_ANIM_HEARTBIT 0 diff --git a/Sources/Models/Items/Health/SuperOrg/Super.h b/Sources/Models/Items/Health/SuperOrg/Super.h index 283bc95..ec2f9a8 100644 --- a/Sources/Models/Items/Health/SuperOrg/Super.h +++ b/Sources/Models/Items/Health/SuperOrg/Super.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/ItemHolder/ItemHolder.h b/Sources/Models/Items/ItemHolder/ItemHolder.h index 1dd7adc..877457f 100644 --- a/Sources/Models/Items/ItemHolder/ItemHolder.h +++ b/Sources/Models/Items/ItemHolder/ItemHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ITEMHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Keys/AnkhGold/Ankh.h b/Sources/Models/Items/Keys/AnkhGold/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/Items/Keys/AnkhGold/Ankh.h +++ b/Sources/Models/Items/Keys/AnkhGold/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Keys/AnkhStone/Ankh.h b/Sources/Models/Items/Keys/AnkhStone/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/Items/Keys/AnkhStone/Ankh.h +++ b/Sources/Models/Items/Keys/AnkhStone/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Keys/AnkhWood/Ankh.h b/Sources/Models/Items/Keys/AnkhWood/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/Items/Keys/AnkhWood/Ankh.h +++ b/Sources/Models/Items/Keys/AnkhWood/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Keys/Elements/Air.h b/Sources/Models/Items/Keys/Elements/Air.h index e149dad..e4b0c2d 100644 --- a/Sources/Models/Items/Keys/Elements/Air.h +++ b/Sources/Models/Items/Keys/Elements/Air.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AIR_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Elements/Earth.h b/Sources/Models/Items/Keys/Elements/Earth.h index 2528002..5aa1d98 100644 --- a/Sources/Models/Items/Keys/Elements/Earth.h +++ b/Sources/Models/Items/Keys/Elements/Earth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EARTH_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Elements/Fire.h b/Sources/Models/Items/Keys/Elements/Fire.h index d3d7459..9e02505 100644 --- a/Sources/Models/Items/Keys/Elements/Fire.h +++ b/Sources/Models/Items/Keys/Elements/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Elements/Old/Earth.h b/Sources/Models/Items/Keys/Elements/Old/Earth.h index 2528002..5aa1d98 100644 --- a/Sources/Models/Items/Keys/Elements/Old/Earth.h +++ b/Sources/Models/Items/Keys/Elements/Old/Earth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EARTH_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Elements/Water.h b/Sources/Models/Items/Keys/Elements/Water.h index 20a1ebc..30d3476 100644 --- a/Sources/Models/Items/Keys/Elements/Water.h +++ b/Sources/Models/Items/Keys/Elements/Water.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/EyeOfRa/EyeOfRa.h b/Sources/Models/Items/Keys/EyeOfRa/EyeOfRa.h index 927266c..73f5649 100644 --- a/Sources/Models/Items/Keys/EyeOfRa/EyeOfRa.h +++ b/Sources/Models/Items/Keys/EyeOfRa/EyeOfRa.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EYEOFRA_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/EyeOfRaCoin/CoinLeft.h b/Sources/Models/Items/Keys/EyeOfRaCoin/CoinLeft.h index 0e4ed6a..e9b4e5d 100644 --- a/Sources/Models/Items/Keys/EyeOfRaCoin/CoinLeft.h +++ b/Sources/Models/Items/Keys/EyeOfRaCoin/CoinLeft.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COINLEFT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/EyeOfRaCoin/CoinRight.h b/Sources/Models/Items/Keys/EyeOfRaCoin/CoinRight.h index 344b8b6..8001527 100644 --- a/Sources/Models/Items/Keys/EyeOfRaCoin/CoinRight.h +++ b/Sources/Models/Items/Keys/EyeOfRaCoin/CoinRight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COINRIGHT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/GoldSphinx/GoldSphinx.h b/Sources/Models/Items/Keys/GoldSphinx/GoldSphinx.h index b9b33b1..4201c86 100644 --- a/Sources/Models/Items/Keys/GoldSphinx/GoldSphinx.h +++ b/Sources/Models/Items/Keys/GoldSphinx/GoldSphinx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GOLDSPHINX_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/HorSons/HorSons.h b/Sources/Models/Items/Keys/HorSons/HorSons.h index 8c988e6..f63180e 100644 --- a/Sources/Models/Items/Keys/HorSons/HorSons.h +++ b/Sources/Models/Items/Keys/HorSons/HorSons.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORSONS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/Keys/Luxor/FeatherOfTruth.h b/Sources/Models/Items/Keys/Luxor/FeatherOfTruth.h index 9e9edfc..6747cc8 100644 --- a/Sources/Models/Items/Keys/Luxor/FeatherOfTruth.h +++ b/Sources/Models/Items/Keys/Luxor/FeatherOfTruth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FEATHEROFTRUTH_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Luxor/GoldHeart.h b/Sources/Models/Items/Keys/Luxor/GoldHeart.h index ba39349..97103ec 100644 --- a/Sources/Models/Items/Keys/Luxor/GoldHeart.h +++ b/Sources/Models/Items/Keys/Luxor/GoldHeart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GOLDHEART_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/RaKey/Key.h b/Sources/Models/Items/Keys/RaKey/Key.h index dca03ed..a5097ff 100644 --- a/Sources/Models/Items/Keys/RaKey/Key.h +++ b/Sources/Models/Items/Keys/RaKey/Key.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/RaSign/Sign.h b/Sources/Models/Items/Keys/RaSign/Sign.h index 4f5c88b..dbcd314 100644 --- a/Sources/Models/Items/Keys/RaSign/Sign.h +++ b/Sources/Models/Items/Keys/RaSign/Sign.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SIGN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Scarab/Scarab.h b/Sources/Models/Items/Keys/Scarab/Scarab.h index 27352c7..19b326c 100644 --- a/Sources/Models/Items/Keys/Scarab/Scarab.h +++ b/Sources/Models/Items/Keys/Scarab/Scarab.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SCARAB_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Uaset/Uaset.h b/Sources/Models/Items/Keys/Uaset/Uaset.h index 16a8a3f..978a358 100644 --- a/Sources/Models/Items/Keys/Uaset/Uaset.h +++ b/Sources/Models/Items/Keys/Uaset/Uaset.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define UASET_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Keys/Wings/Wings.h b/Sources/Models/Items/Keys/Wings/Wings.h index f57603f..6038639 100644 --- a/Sources/Models/Items/Keys/Wings/Wings.h +++ b/Sources/Models/Items/Keys/Wings/Wings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WINGS_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/Pergament/Pergament.h b/Sources/Models/Items/Pergament/Pergament.h index fb78601..8623830 100644 --- a/Sources/Models/Items/Pergament/Pergament.h +++ b/Sources/Models/Items/Pergament/Pergament.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PERGAMENT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Items/PowerUps/BackPack/BackPack.h b/Sources/Models/Items/PowerUps/BackPack/BackPack.h index 32bddf3..0a0d67f 100644 --- a/Sources/Models/Items/PowerUps/BackPack/BackPack.h +++ b/Sources/Models/Items/PowerUps/BackPack/BackPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BACKPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/PowerUps/SeriousDamage/SeriousDamage.h b/Sources/Models/Items/PowerUps/SeriousDamage/SeriousDamage.h index 35d20fa..3f0d8d7 100644 --- a/Sources/Models/Items/PowerUps/SeriousDamage/SeriousDamage.h +++ b/Sources/Models/Items/PowerUps/SeriousDamage/SeriousDamage.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSDAMAGE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/PowerUps/SeriousPack/SeriousPack.h b/Sources/Models/Items/PowerUps/SeriousPack/SeriousPack.h index fd4f34a..f03166a 100644 --- a/Sources/Models/Items/PowerUps/SeriousPack/SeriousPack.h +++ b/Sources/Models/Items/PowerUps/SeriousPack/SeriousPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Items/PowerUps/_Old/SeriousPack/SeriousPack.h b/Sources/Models/Items/PowerUps/_Old/SeriousPack/SeriousPack.h index ae626e4..1d979dc 100644 --- a/Sources/Models/Items/PowerUps/_Old/SeriousPack/SeriousPack.h +++ b/Sources/Models/Items/PowerUps/_Old/SeriousPack/SeriousPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/FireHolder01/FireHolder.h b/Sources/Models/LightSources/FireHolder01/FireHolder.h index 9635408..c5bec4e 100644 --- a/Sources/Models/LightSources/FireHolder01/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder01/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/FireHolder14/FireHolder.h b/Sources/Models/LightSources/FireHolder14/FireHolder.h index f1abbe9..6bd4cb2 100644 --- a/Sources/Models/LightSources/FireHolder14/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder14/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/FireHolder16/FireHolder.h b/Sources/Models/LightSources/FireHolder16/FireHolder.h index 9635408..c5bec4e 100644 --- a/Sources/Models/LightSources/FireHolder16/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder16/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/FireHolder46/FireHolder.h b/Sources/Models/LightSources/FireHolder46/FireHolder.h index f1abbe9..6bd4cb2 100644 --- a/Sources/Models/LightSources/FireHolder46/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder46/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/FireHolder49/FireHolder.h b/Sources/Models/LightSources/FireHolder49/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/Models/LightSources/FireHolder49/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder49/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/Models/LightSources/FireHolder51/FireHolder.h b/Sources/Models/LightSources/FireHolder51/FireHolder.h index 9635408..c5bec4e 100644 --- a/Sources/Models/LightSources/FireHolder51/FireHolder.h +++ b/Sources/Models/LightSources/FireHolder51/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/LightSources/Torch03/Torch.h b/Sources/Models/LightSources/Torch03/Torch.h index 7b2ddb1..ebf97c1 100644 --- a/Sources/Models/LightSources/Torch03/Torch.h +++ b/Sources/Models/LightSources/Torch03/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH_ANIM_DEFAULT 0 diff --git a/Sources/Models/LightSources/Torch04/Torch.h b/Sources/Models/LightSources/Torch04/Torch.h index 7b2ddb1..ebf97c1 100644 --- a/Sources/Models/LightSources/Torch04/Torch.h +++ b/Sources/Models/LightSources/Torch04/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH_ANIM_DEFAULT 0 diff --git a/Sources/Models/LightSources/WallTorch01/WallTorch.h b/Sources/Models/LightSources/WallTorch01/WallTorch.h index da0efbb..a0d5aa2 100644 --- a/Sources/Models/LightSources/WallTorch01/WallTorch.h +++ b/Sources/Models/LightSources/WallTorch01/WallTorch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WALLTORCH_ANIM_DEFAULT 0 diff --git a/Sources/Models/LightSources/WallTorch02/WallTorch.h b/Sources/Models/LightSources/WallTorch02/WallTorch.h index da0efbb..a0d5aa2 100644 --- a/Sources/Models/LightSources/WallTorch02/WallTorch.h +++ b/Sources/Models/LightSources/WallTorch02/WallTorch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WALLTORCH_ANIM_DEFAULT 0 diff --git a/Sources/Models/MenuOld/Arrow.h b/Sources/Models/MenuOld/Arrow.h index 4da0cde..22b8a78 100644 --- a/Sources/Models/MenuOld/Arrow.h +++ b/Sources/Models/MenuOld/Arrow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARROW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/BigButton.h b/Sources/Models/MenuOld/BigButton.h index 82eabad..168727c 100644 --- a/Sources/Models/MenuOld/BigButton.h +++ b/Sources/Models/MenuOld/BigButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/BigLongButton.h b/Sources/Models/MenuOld/BigLongButton.h index e169c33..630dc0b 100644 --- a/Sources/Models/MenuOld/BigLongButton.h +++ b/Sources/Models/MenuOld/BigLongButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGLONGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/ExclamationMark.h b/Sources/Models/MenuOld/ExclamationMark.h index d77e94d..3fa569c 100644 --- a/Sources/Models/MenuOld/ExclamationMark.h +++ b/Sources/Models/MenuOld/ExclamationMark.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXCLAMATIONMARK_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/InfoTable.h b/Sources/Models/MenuOld/InfoTable.h index fe57e3f..724f7be 100644 --- a/Sources/Models/MenuOld/InfoTable.h +++ b/Sources/Models/MenuOld/InfoTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INFOTABLE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/Key.h b/Sources/Models/MenuOld/Key.h index e0c5d9f..f49345f 100644 --- a/Sources/Models/MenuOld/Key.h +++ b/Sources/Models/MenuOld/Key.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/Key2V.h b/Sources/Models/MenuOld/Key2V.h index fb8276f..6168e57 100644 --- a/Sources/Models/MenuOld/Key2V.h +++ b/Sources/Models/MenuOld/Key2V.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY2V_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeyH1_5.h b/Sources/Models/MenuOld/KeyH1_5.h index b761de8..0f66805 100644 --- a/Sources/Models/MenuOld/KeyH1_5.h +++ b/Sources/Models/MenuOld/KeyH1_5.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH1_5_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeyH2.h b/Sources/Models/MenuOld/KeyH2.h index 5d62666..880e13f 100644 --- a/Sources/Models/MenuOld/KeyH2.h +++ b/Sources/Models/MenuOld/KeyH2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH2_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeyH3.h b/Sources/Models/MenuOld/KeyH3.h index 918b084..be803c8 100644 --- a/Sources/Models/MenuOld/KeyH3.h +++ b/Sources/Models/MenuOld/KeyH3.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH3_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeyNoDefined.h b/Sources/Models/MenuOld/KeyNoDefined.h index 20cd3b2..bb33e3a 100644 --- a/Sources/Models/MenuOld/KeyNoDefined.h +++ b/Sources/Models/MenuOld/KeyNoDefined.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYNODEFINED_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeyReturn.h b/Sources/Models/MenuOld/KeyReturn.h index 84a4767..8161ae3 100644 --- a/Sources/Models/MenuOld/KeyReturn.h +++ b/Sources/Models/MenuOld/KeyReturn.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYRETURN_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/KeySpace.h b/Sources/Models/MenuOld/KeySpace.h index a2738cd..e426543 100644 --- a/Sources/Models/MenuOld/KeySpace.h +++ b/Sources/Models/MenuOld/KeySpace.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYSPACE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/LittleTrigger.h b/Sources/Models/MenuOld/LittleTrigger.h index fbc507e..6d74faa 100644 --- a/Sources/Models/MenuOld/LittleTrigger.h +++ b/Sources/Models/MenuOld/LittleTrigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LITTLETRIGGER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/Monitor.h b/Sources/Models/MenuOld/Monitor.h index eb59f32..2e8faa4 100644 --- a/Sources/Models/MenuOld/Monitor.h +++ b/Sources/Models/MenuOld/Monitor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MONITOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/Mouse.h b/Sources/Models/MenuOld/Mouse.h index df0a26a..85f8d24 100644 --- a/Sources/Models/MenuOld/Mouse.h +++ b/Sources/Models/MenuOld/Mouse.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOUSE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/NormalButton.h b/Sources/Models/MenuOld/NormalButton.h index c744896..2318090 100644 --- a/Sources/Models/MenuOld/NormalButton.h +++ b/Sources/Models/MenuOld/NormalButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NORMALBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/PrevNextButton.h b/Sources/Models/MenuOld/PrevNextButton.h index f1434c5..facde09 100644 --- a/Sources/Models/MenuOld/PrevNextButton.h +++ b/Sources/Models/MenuOld/PrevNextButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PREVNEXTBUTTON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/Question.h b/Sources/Models/MenuOld/Question.h index b167a2e..153a12c 100644 --- a/Sources/Models/MenuOld/Question.h +++ b/Sources/Models/MenuOld/Question.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define QUESTION_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/SeriousSamSign/SeriousSamSign.h b/Sources/Models/MenuOld/SeriousSamSign/SeriousSamSign.h index 87428a9..5c146b5 100644 --- a/Sources/Models/MenuOld/SeriousSamSign/SeriousSamSign.h +++ b/Sources/Models/MenuOld/SeriousSamSign/SeriousSamSign.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSSAMSIGN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/Slider.h b/Sources/Models/MenuOld/Slider.h index b465056..f40eeed 100644 --- a/Sources/Models/MenuOld/Slider.h +++ b/Sources/Models/MenuOld/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/SliderInside.h b/Sources/Models/MenuOld/SliderInside.h index 8340fe4..519a78b 100644 --- a/Sources/Models/MenuOld/SliderInside.h +++ b/Sources/Models/MenuOld/SliderInside.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDERINSIDE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/SplitScreen.h b/Sources/Models/MenuOld/SplitScreen.h index 137b144..8cf5c0c 100644 --- a/Sources/Models/MenuOld/SplitScreen.h +++ b/Sources/Models/MenuOld/SplitScreen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPLITSCREEN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/TitleButton.h b/Sources/Models/MenuOld/TitleButton.h index 2826d7d..2cb0c26 100644 --- a/Sources/Models/MenuOld/TitleButton.h +++ b/Sources/Models/MenuOld/TitleButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TITLEBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/ValidMode.h b/Sources/Models/MenuOld/ValidMode.h index 39ac8f4..6fcb821 100644 --- a/Sources/Models/MenuOld/ValidMode.h +++ b/Sources/Models/MenuOld/ValidMode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VALIDMODE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/VeryLittleTrigger.h b/Sources/Models/MenuOld/VeryLittleTrigger.h index 4c534e3..ef9a905 100644 --- a/Sources/Models/MenuOld/VeryLittleTrigger.h +++ b/Sources/Models/MenuOld/VeryLittleTrigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VERYLITTLETRIGGER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Arrow.h b/Sources/Models/MenuOld/elfold/Arrow.h index 4da0cde..22b8a78 100644 --- a/Sources/Models/MenuOld/elfold/Arrow.h +++ b/Sources/Models/MenuOld/elfold/Arrow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARROW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/BigButton.h b/Sources/Models/MenuOld/elfold/BigButton.h index 507d327..54c80a8 100644 --- a/Sources/Models/MenuOld/elfold/BigButton.h +++ b/Sources/Models/MenuOld/elfold/BigButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/BigLongButton.h b/Sources/Models/MenuOld/elfold/BigLongButton.h index e169c33..630dc0b 100644 --- a/Sources/Models/MenuOld/elfold/BigLongButton.h +++ b/Sources/Models/MenuOld/elfold/BigLongButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGLONGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/BigButton.h b/Sources/Models/MenuOld/elfold/Buttons_Old/BigButton.h index bf0ba3f..4b1abe9 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/BigButton.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/BigButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/BigLongButton.h b/Sources/Models/MenuOld/elfold/Buttons_Old/BigLongButton.h index 2c8faed..8a8b5e8 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/BigLongButton.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/BigLongButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIGLONGBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/LittleTriger.h b/Sources/Models/MenuOld/elfold/Buttons_Old/LittleTriger.h index 7a43265..a01b532 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/LittleTriger.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/LittleTriger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LITTLETRIGER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/PrevNextButton.h b/Sources/Models/MenuOld/elfold/Buttons_Old/PrevNextButton.h index 2bb461d..ae596d7 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/PrevNextButton.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/PrevNextButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PREVNEXTBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/Slider.h b/Sources/Models/MenuOld/elfold/Buttons_Old/Slider.h index 355caab..fccae4e 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/Slider.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/TitleButton.h b/Sources/Models/MenuOld/elfold/Buttons_Old/TitleButton.h index 1c5d5b9..5e0ecef 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/TitleButton.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/TitleButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TITLEBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Buttons_Old/ValidMode.h b/Sources/Models/MenuOld/elfold/Buttons_Old/ValidMode.h index b8af8fd..3843472 100644 --- a/Sources/Models/MenuOld/elfold/Buttons_Old/ValidMode.h +++ b/Sources/Models/MenuOld/elfold/Buttons_Old/ValidMode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VALIDMODE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/ExclamationMark.h b/Sources/Models/MenuOld/elfold/ExclamationMark.h index d77e94d..3fa569c 100644 --- a/Sources/Models/MenuOld/elfold/ExclamationMark.h +++ b/Sources/Models/MenuOld/elfold/ExclamationMark.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXCLAMATIONMARK_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/InfoTable.h b/Sources/Models/MenuOld/elfold/InfoTable.h index fe57e3f..724f7be 100644 --- a/Sources/Models/MenuOld/elfold/InfoTable.h +++ b/Sources/Models/MenuOld/elfold/InfoTable.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INFOTABLE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Key.h b/Sources/Models/MenuOld/elfold/Key.h index e0c5d9f..f49345f 100644 --- a/Sources/Models/MenuOld/elfold/Key.h +++ b/Sources/Models/MenuOld/elfold/Key.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Key2V.h b/Sources/Models/MenuOld/elfold/Key2V.h index fb8276f..6168e57 100644 --- a/Sources/Models/MenuOld/elfold/Key2V.h +++ b/Sources/Models/MenuOld/elfold/Key2V.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY2V_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeyH1_5.h b/Sources/Models/MenuOld/elfold/KeyH1_5.h index b761de8..0f66805 100644 --- a/Sources/Models/MenuOld/elfold/KeyH1_5.h +++ b/Sources/Models/MenuOld/elfold/KeyH1_5.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH1_5_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeyH2.h b/Sources/Models/MenuOld/elfold/KeyH2.h index 5d62666..880e13f 100644 --- a/Sources/Models/MenuOld/elfold/KeyH2.h +++ b/Sources/Models/MenuOld/elfold/KeyH2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH2_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeyH3.h b/Sources/Models/MenuOld/elfold/KeyH3.h index 918b084..be803c8 100644 --- a/Sources/Models/MenuOld/elfold/KeyH3.h +++ b/Sources/Models/MenuOld/elfold/KeyH3.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYH3_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeyNoDefined.h b/Sources/Models/MenuOld/elfold/KeyNoDefined.h index 20cd3b2..bb33e3a 100644 --- a/Sources/Models/MenuOld/elfold/KeyNoDefined.h +++ b/Sources/Models/MenuOld/elfold/KeyNoDefined.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYNODEFINED_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeyReturn.h b/Sources/Models/MenuOld/elfold/KeyReturn.h index 84a4767..8161ae3 100644 --- a/Sources/Models/MenuOld/elfold/KeyReturn.h +++ b/Sources/Models/MenuOld/elfold/KeyReturn.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYRETURN_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/KeySpace.h b/Sources/Models/MenuOld/elfold/KeySpace.h index a2738cd..e426543 100644 --- a/Sources/Models/MenuOld/elfold/KeySpace.h +++ b/Sources/Models/MenuOld/elfold/KeySpace.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEYSPACE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/LittleTriger.h b/Sources/Models/MenuOld/elfold/LittleTriger.h index 883654d..3b5926d 100644 --- a/Sources/Models/MenuOld/elfold/LittleTriger.h +++ b/Sources/Models/MenuOld/elfold/LittleTriger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LITTLETRIGER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/LittleTrigger.h b/Sources/Models/MenuOld/elfold/LittleTrigger.h index fbc507e..6d74faa 100644 --- a/Sources/Models/MenuOld/elfold/LittleTrigger.h +++ b/Sources/Models/MenuOld/elfold/LittleTrigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LITTLETRIGGER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Monitor.h b/Sources/Models/MenuOld/elfold/Monitor.h index eb59f32..2e8faa4 100644 --- a/Sources/Models/MenuOld/elfold/Monitor.h +++ b/Sources/Models/MenuOld/elfold/Monitor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MONITOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/Mouse.h b/Sources/Models/MenuOld/elfold/Mouse.h index df0a26a..85f8d24 100644 --- a/Sources/Models/MenuOld/elfold/Mouse.h +++ b/Sources/Models/MenuOld/elfold/Mouse.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOUSE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/NormalButton.h b/Sources/Models/MenuOld/elfold/NormalButton.h index c744896..2318090 100644 --- a/Sources/Models/MenuOld/elfold/NormalButton.h +++ b/Sources/Models/MenuOld/elfold/NormalButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NORMALBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/PrevNextButton.h b/Sources/Models/MenuOld/elfold/PrevNextButton.h index f1434c5..facde09 100644 --- a/Sources/Models/MenuOld/elfold/PrevNextButton.h +++ b/Sources/Models/MenuOld/elfold/PrevNextButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PREVNEXTBUTTON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/Question.h b/Sources/Models/MenuOld/elfold/Question.h index b167a2e..153a12c 100644 --- a/Sources/Models/MenuOld/elfold/Question.h +++ b/Sources/Models/MenuOld/elfold/Question.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define QUESTION_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/Slider.h b/Sources/Models/MenuOld/elfold/Slider.h index b465056..f40eeed 100644 --- a/Sources/Models/MenuOld/elfold/Slider.h +++ b/Sources/Models/MenuOld/elfold/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/SliderInside.h b/Sources/Models/MenuOld/elfold/SliderInside.h index 8340fe4..519a78b 100644 --- a/Sources/Models/MenuOld/elfold/SliderInside.h +++ b/Sources/Models/MenuOld/elfold/SliderInside.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDERINSIDE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/SplitScreen.h b/Sources/Models/MenuOld/elfold/SplitScreen.h index 137b144..8cf5c0c 100644 --- a/Sources/Models/MenuOld/elfold/SplitScreen.h +++ b/Sources/Models/MenuOld/elfold/SplitScreen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPLITSCREEN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MenuOld/elfold/TitleButton.h b/Sources/Models/MenuOld/elfold/TitleButton.h index 2826d7d..2cb0c26 100644 --- a/Sources/Models/MenuOld/elfold/TitleButton.h +++ b/Sources/Models/MenuOld/elfold/TitleButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TITLEBUTTON_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/ValidMode.h b/Sources/Models/MenuOld/elfold/ValidMode.h index 39ac8f4..6fcb821 100644 --- a/Sources/Models/MenuOld/elfold/ValidMode.h +++ b/Sources/Models/MenuOld/elfold/ValidMode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VALIDMODE_ANIM_STILL 0 diff --git a/Sources/Models/MenuOld/elfold/VeryLittleTrigger.h b/Sources/Models/MenuOld/elfold/VeryLittleTrigger.h index 4c534e3..ef9a905 100644 --- a/Sources/Models/MenuOld/elfold/VeryLittleTrigger.h +++ b/Sources/Models/MenuOld/elfold/VeryLittleTrigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VERYLITTLETRIGGER_ANIM_STILL 0 diff --git a/Sources/Models/MissionPack/Items/Ammo/Napalm/Napalm.h b/Sources/Models/MissionPack/Items/Ammo/Napalm/Napalm.h index 1524a50..205f3ae 100644 --- a/Sources/Models/MissionPack/Items/Ammo/Napalm/Napalm.h +++ b/Sources/Models/MissionPack/Items/Ammo/Napalm/Napalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAPALM_ANIM_DEFAULT 0 diff --git a/Sources/Models/MissionPack/Player/SeriousSam/Body.h b/Sources/Models/MissionPack/Player/SeriousSam/Body.h index 1dae681..297a429 100644 --- a/Sources/Models/MissionPack/Player/SeriousSam/Body.h +++ b/Sources/Models/MissionPack/Player/SeriousSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Player/SeriousSam/Glasses.h b/Sources/Models/MissionPack/Player/SeriousSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/MissionPack/Player/SeriousSam/Glasses.h +++ b/Sources/Models/MissionPack/Player/SeriousSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Player/SeriousSam/Head.h b/Sources/Models/MissionPack/Player/SeriousSam/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/MissionPack/Player/SeriousSam/Head.h +++ b/Sources/Models/MissionPack/Player/SeriousSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Player/SeriousSam/Player.h b/Sources/Models/MissionPack/Player/SeriousSam/Player.h index 6558bd0..da8b7a8 100644 --- a/Sources/Models/MissionPack/Player/SeriousSam/Player.h +++ b/Sources/Models/MissionPack/Player/SeriousSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Flamer/Body.h b/Sources/Models/MissionPack/Weapons/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/MissionPack/Weapons/Flamer/Body.h +++ b/Sources/Models/MissionPack/Weapons/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Flamer/Flame.h b/Sources/Models/MissionPack/Weapons/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/MissionPack/Weapons/Flamer/Flame.h +++ b/Sources/Models/MissionPack/Weapons/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Flamer/Flamer.h b/Sources/Models/MissionPack/Weapons/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/Models/MissionPack/Weapons/Flamer/Flamer.h +++ b/Sources/Models/MissionPack/Weapons/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Flamer/FlamerItem.h b/Sources/Models/MissionPack/Weapons/Flamer/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/Models/MissionPack/Weapons/Flamer/FlamerItem.h +++ b/Sources/Models/MissionPack/Weapons/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Flamer/FuelReservoir.h b/Sources/Models/MissionPack/Weapons/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/MissionPack/Weapons/Flamer/FuelReservoir.h +++ b/Sources/Models/MissionPack/Weapons/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Sniper/Body.h b/Sources/Models/MissionPack/Weapons/Sniper/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/MissionPack/Weapons/Sniper/Body.h +++ b/Sources/Models/MissionPack/Weapons/Sniper/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Sniper/Sniper.h b/Sources/Models/MissionPack/Weapons/Sniper/Sniper.h index b65935b..06e8bd6 100644 --- a/Sources/Models/MissionPack/Weapons/Sniper/Sniper.h +++ b/Sources/Models/MissionPack/Weapons/Sniper/Sniper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/MissionPack/Weapons/Sniper/SniperItem.h b/Sources/Models/MissionPack/Weapons/Sniper/SniperItem.h index 7ee75fc..073bf96 100644 --- a/Sources/Models/MissionPack/Weapons/Sniper/SniperItem.h +++ b/Sources/Models/MissionPack/Weapons/Sniper/SniperItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPERITEM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Objects/Crosses/Cross01/Cross.h b/Sources/Models/Objects/Crosses/Cross01/Cross.h index 7428a51..084dda2 100644 --- a/Sources/Models/Objects/Crosses/Cross01/Cross.h +++ b/Sources/Models/Objects/Crosses/Cross01/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Furniture/EggWithHorns/EggWithHorns.h b/Sources/Models/Objects/Egypt/Furniture/EggWithHorns/EggWithHorns.h index 62e3e86..1a4a9d5 100644 --- a/Sources/Models/Objects/Egypt/Furniture/EggWithHorns/EggWithHorns.h +++ b/Sources/Models/Objects/Egypt/Furniture/EggWithHorns/EggWithHorns.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EGGWITHHORNS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Furniture/Fish/Fish.h b/Sources/Models/Objects/Egypt/Furniture/Fish/Fish.h index e57fcfa..691878f 100644 --- a/Sources/Models/Objects/Egypt/Furniture/Fish/Fish.h +++ b/Sources/Models/Objects/Egypt/Furniture/Fish/Fish.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FISH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Amon/Amon.h b/Sources/Models/Objects/Egypt/Gods/Amon/Amon.h index e86044b..4cf188e 100644 --- a/Sources/Models/Objects/Egypt/Gods/Amon/Amon.h +++ b/Sources/Models/Objects/Egypt/Gods/Amon/Amon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Anubis01/Anubis.h b/Sources/Models/Objects/Egypt/Gods/Anubis01/Anubis.h index 41a780f..1ac0bb1 100644 --- a/Sources/Models/Objects/Egypt/Gods/Anubis01/Anubis.h +++ b/Sources/Models/Objects/Egypt/Gods/Anubis01/Anubis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANUBIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Anubis02/Anubis.h b/Sources/Models/Objects/Egypt/Gods/Anubis02/Anubis.h index 41a780f..1ac0bb1 100644 --- a/Sources/Models/Objects/Egypt/Gods/Anubis02/Anubis.h +++ b/Sources/Models/Objects/Egypt/Gods/Anubis02/Anubis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANUBIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/HorChild/HorChild.h b/Sources/Models/Objects/Egypt/Gods/HorChild/HorChild.h index 46cf1fa..459ebc2 100644 --- a/Sources/Models/Objects/Egypt/Gods/HorChild/HorChild.h +++ b/Sources/Models/Objects/Egypt/Gods/HorChild/HorChild.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORCHILD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/HorSons/HorSons.h b/Sources/Models/Objects/Egypt/Gods/HorSons/HorSons.h index 61e4a0b..8619732 100644 --- a/Sources/Models/Objects/Egypt/Gods/HorSons/HorSons.h +++ b/Sources/Models/Objects/Egypt/Gods/HorSons/HorSons.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORSONS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Khnum/Khnum.h b/Sources/Models/Objects/Egypt/Gods/Khnum/Khnum.h index cded773..369a8f3 100644 --- a/Sources/Models/Objects/Egypt/Gods/Khnum/Khnum.h +++ b/Sources/Models/Objects/Egypt/Gods/Khnum/Khnum.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KHNUM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Khonsu/Khonsu.h b/Sources/Models/Objects/Egypt/Gods/Khonsu/Khonsu.h index 16ce94f..be8b421 100644 --- a/Sources/Models/Objects/Egypt/Gods/Khonsu/Khonsu.h +++ b/Sources/Models/Objects/Egypt/Gods/Khonsu/Khonsu.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KHONSU_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Mestret/Mestret.h b/Sources/Models/Objects/Egypt/Gods/Mestret/Mestret.h index c740353..f8bf0f0 100644 --- a/Sources/Models/Objects/Egypt/Gods/Mestret/Mestret.h +++ b/Sources/Models/Objects/Egypt/Gods/Mestret/Mestret.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MESTRET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Nefthis/Nefthis.h b/Sources/Models/Objects/Egypt/Gods/Nefthis/Nefthis.h index 224f702..9c5faf5 100644 --- a/Sources/Models/Objects/Egypt/Gods/Nefthis/Nefthis.h +++ b/Sources/Models/Objects/Egypt/Gods/Nefthis/Nefthis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NEFTHIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Neith/Neith.h b/Sources/Models/Objects/Egypt/Gods/Neith/Neith.h index 4f63a65..1e923c1 100644 --- a/Sources/Models/Objects/Egypt/Gods/Neith/Neith.h +++ b/Sources/Models/Objects/Egypt/Gods/Neith/Neith.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NEITH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Osiris/Osiris.h b/Sources/Models/Objects/Egypt/Gods/Osiris/Osiris.h index 1689186..535c77d 100644 --- a/Sources/Models/Objects/Egypt/Gods/Osiris/Osiris.h +++ b/Sources/Models/Objects/Egypt/Gods/Osiris/Osiris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define OSIRIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Ptah/Ptah.h b/Sources/Models/Objects/Egypt/Gods/Ptah/Ptah.h index a7a1cd6..4a774a0 100644 --- a/Sources/Models/Objects/Egypt/Gods/Ptah/Ptah.h +++ b/Sources/Models/Objects/Egypt/Gods/Ptah/Ptah.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PTAH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Ra/Ra.h b/Sources/Models/Objects/Egypt/Gods/Ra/Ra.h index 8a17a3c..0787734 100644 --- a/Sources/Models/Objects/Egypt/Gods/Ra/Ra.h +++ b/Sources/Models/Objects/Egypt/Gods/Ra/Ra.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RA_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Sebek/Sebek.h b/Sources/Models/Objects/Egypt/Gods/Sebek/Sebek.h index 306fb02..9d118de 100644 --- a/Sources/Models/Objects/Egypt/Gods/Sebek/Sebek.h +++ b/Sources/Models/Objects/Egypt/Gods/Sebek/Sebek.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SEBEK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Sekhmet/Sekhmet.h b/Sources/Models/Objects/Egypt/Gods/Sekhmet/Sekhmet.h index 39c8f1a..7414691 100644 --- a/Sources/Models/Objects/Egypt/Gods/Sekhmet/Sekhmet.h +++ b/Sources/Models/Objects/Egypt/Gods/Sekhmet/Sekhmet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SEKHMET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Toth/Toth.h b/Sources/Models/Objects/Egypt/Gods/Toth/Toth.h index 973f8ee..e934bfb 100644 --- a/Sources/Models/Objects/Egypt/Gods/Toth/Toth.h +++ b/Sources/Models/Objects/Egypt/Gods/Toth/Toth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/TothMonkey/TothMonkey.h b/Sources/Models/Objects/Egypt/Gods/TothMonkey/TothMonkey.h index 38542a4..ca81d7c 100644 --- a/Sources/Models/Objects/Egypt/Gods/TothMonkey/TothMonkey.h +++ b/Sources/Models/Objects/Egypt/Gods/TothMonkey/TothMonkey.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTHMONKEY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Gods/Uaset/Uaset.h b/Sources/Models/Objects/Egypt/Gods/Uaset/Uaset.h index e67b6e5..f9f2e68 100644 --- a/Sources/Models/Objects/Egypt/Gods/Uaset/Uaset.h +++ b/Sources/Models/Objects/Egypt/Gods/Uaset/Uaset.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define UASET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Mumies/Mummy01/Mummy.h b/Sources/Models/Objects/Egypt/Mumies/Mummy01/Mummy.h index f971b43..a7d77b3 100644 --- a/Sources/Models/Objects/Egypt/Mumies/Mummy01/Mummy.h +++ b/Sources/Models/Objects/Egypt/Mumies/Mummy01/Mummy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MUMMY_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Cat/Cat.h b/Sources/Models/Objects/Egypt/Statues/Cat/Cat.h index e25bc10..b8e18ac 100644 --- a/Sources/Models/Objects/Egypt/Statues/Cat/Cat.h +++ b/Sources/Models/Objects/Egypt/Statues/Cat/Cat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Cat/Cat_testbump.h b/Sources/Models/Objects/Egypt/Statues/Cat/Cat_testbump.h index ba64da7..7e3df06 100644 --- a/Sources/Models/Objects/Egypt/Statues/Cat/Cat_testbump.h +++ b/Sources/Models/Objects/Egypt/Statues/Cat/Cat_testbump.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAT_TESTBUMP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Head01/Head.h b/Sources/Models/Objects/Egypt/Statues/Head01/Head.h index 15acaee..90bf2ef 100644 --- a/Sources/Models/Objects/Egypt/Statues/Head01/Head.h +++ b/Sources/Models/Objects/Egypt/Statues/Head01/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Head02/Head.h b/Sources/Models/Objects/Egypt/Statues/Head02/Head.h index 15acaee..90bf2ef 100644 --- a/Sources/Models/Objects/Egypt/Statues/Head02/Head.h +++ b/Sources/Models/Objects/Egypt/Statues/Head02/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Head03/Head.h b/Sources/Models/Objects/Egypt/Statues/Head03/Head.h index 15acaee..90bf2ef 100644 --- a/Sources/Models/Objects/Egypt/Statues/Head03/Head.h +++ b/Sources/Models/Objects/Egypt/Statues/Head03/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Jackal/Jackal.h b/Sources/Models/Objects/Egypt/Statues/Jackal/Jackal.h index dd5ef56..4432063 100644 --- a/Sources/Models/Objects/Egypt/Statues/Jackal/Jackal.h +++ b/Sources/Models/Objects/Egypt/Statues/Jackal/Jackal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JACKAL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Jaguar/Jaguar.h b/Sources/Models/Objects/Egypt/Statues/Jaguar/Jaguar.h index 5f28fe2..54f6751 100644 --- a/Sources/Models/Objects/Egypt/Statues/Jaguar/Jaguar.h +++ b/Sources/Models/Objects/Egypt/Statues/Jaguar/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Jaguar02/Jaguar.h b/Sources/Models/Objects/Egypt/Statues/Jaguar02/Jaguar.h index 5f28fe2..54f6751 100644 --- a/Sources/Models/Objects/Egypt/Statues/Jaguar02/Jaguar.h +++ b/Sources/Models/Objects/Egypt/Statues/Jaguar02/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Jaguar03/Jaguar.h b/Sources/Models/Objects/Egypt/Statues/Jaguar03/Jaguar.h index 5f28fe2..54f6751 100644 --- a/Sources/Models/Objects/Egypt/Statues/Jaguar03/Jaguar.h +++ b/Sources/Models/Objects/Egypt/Statues/Jaguar03/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Jaguar04/Jaguar.h b/Sources/Models/Objects/Egypt/Statues/Jaguar04/Jaguar.h index 5f28fe2..54f6751 100644 --- a/Sources/Models/Objects/Egypt/Statues/Jaguar04/Jaguar.h +++ b/Sources/Models/Objects/Egypt/Statues/Jaguar04/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Sphinx/Sphinx.h b/Sources/Models/Objects/Egypt/Statues/Sphinx/Sphinx.h index 34256fa..4326aee 100644 --- a/Sources/Models/Objects/Egypt/Statues/Sphinx/Sphinx.h +++ b/Sources/Models/Objects/Egypt/Statues/Sphinx/Sphinx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHINX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue01/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue01/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue01/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue01/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue02/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue02/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue02/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue02/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue03/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue03/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue03/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue03/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue04/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue04/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue04/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue04/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue05/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue05/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue05/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue05/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue06/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue06/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue06/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue06/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Egypt/Statues/Statue07/Statue.h b/Sources/Models/Objects/Egypt/Statues/Statue07/Statue.h index f555cb0..7d97b6d 100644 --- a/Sources/Models/Objects/Egypt/Statues/Statue07/Statue.h +++ b/Sources/Models/Objects/Egypt/Statues/Statue07/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/FireHolders/Torch01/Torch.h b/Sources/Models/Objects/FireHolders/Torch01/Torch.h index 3674a51..b7af255 100644 --- a/Sources/Models/Objects/FireHolders/Torch01/Torch.h +++ b/Sources/Models/Objects/FireHolders/Torch01/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Flag04/Flag.h b/Sources/Models/Objects/Flag04/Flag.h index 1ec3ccc..c45127d 100644 --- a/Sources/Models/Objects/Flag04/Flag.h +++ b/Sources/Models/Objects/Flag04/Flag.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAG_ANIM_HORIZONTALWAVE01 0 diff --git a/Sources/Models/Objects/FlagPole03/FlagPole.h b/Sources/Models/Objects/FlagPole03/FlagPole.h index 777094d..e74457b 100644 --- a/Sources/Models/Objects/FlagPole03/FlagPole.h +++ b/Sources/Models/Objects/FlagPole03/FlagPole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAGPOLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/Torches/Torch01/Torch.h b/Sources/Models/Objects/Torches/Torch01/Torch.h index b8e23ea..d9adc12 100644 --- a/Sources/Models/Objects/Torches/Torch01/Torch.h +++ b/Sources/Models/Objects/Torches/Torch01/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Bed04/Bed04.h b/Sources/Models/Objects/second/Bed04/Bed04.h index e4c1d68..30edf2e 100644 --- a/Sources/Models/Objects/second/Bed04/Bed04.h +++ b/Sources/Models/Objects/second/Bed04/Bed04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BED04_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/BedCover01/BedCover01.h b/Sources/Models/Objects/second/BedCover01/BedCover01.h index 0f949e9..b296896 100644 --- a/Sources/Models/Objects/second/BedCover01/BedCover01.h +++ b/Sources/Models/Objects/second/BedCover01/BedCover01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEDCOVER01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Chairwooden01/ChairWooden01.h b/Sources/Models/Objects/second/Chairwooden01/ChairWooden01.h index a9c7659..c745d0c 100644 --- a/Sources/Models/Objects/second/Chairwooden01/ChairWooden01.h +++ b/Sources/Models/Objects/second/Chairwooden01/ChairWooden01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAIRWOODEN01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Ra_Sign02/Ra_Sign02.h b/Sources/Models/Objects/second/Ra_Sign02/Ra_Sign02.h index 54b4590..923c6d5 100644 --- a/Sources/Models/Objects/second/Ra_Sign02/Ra_Sign02.h +++ b/Sources/Models/Objects/second/Ra_Sign02/Ra_Sign02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RA_SIGN02_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Raspelo03/Raspelo03.h b/Sources/Models/Objects/second/Raspelo03/Raspelo03.h index 90e4581..47f5e19 100644 --- a/Sources/Models/Objects/second/Raspelo03/Raspelo03.h +++ b/Sources/Models/Objects/second/Raspelo03/Raspelo03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RASPELO03_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Sofa01/Sofa01.h b/Sources/Models/Objects/second/Sofa01/Sofa01.h index f5b8a14..92db33a 100644 --- a/Sources/Models/Objects/second/Sofa01/Sofa01.h +++ b/Sources/Models/Objects/second/Sofa01/Sofa01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SOFA01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Sphinx01/Spinx01.h b/Sources/Models/Objects/second/Sphinx01/Spinx01.h index c5b63c9..bc1a336 100644 --- a/Sources/Models/Objects/second/Sphinx01/Spinx01.h +++ b/Sources/Models/Objects/second/Sphinx01/Spinx01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPINX01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/StoneChair01/StoneChair01.h b/Sources/Models/Objects/second/StoneChair01/StoneChair01.h index d122e06..4826cb3 100644 --- a/Sources/Models/Objects/second/StoneChair01/StoneChair01.h +++ b/Sources/Models/Objects/second/StoneChair01/StoneChair01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONECHAIR01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Stool02/Stool02.h b/Sources/Models/Objects/second/Stool02/Stool02.h index 82fc684..87a9093 100644 --- a/Sources/Models/Objects/second/Stool02/Stool02.h +++ b/Sources/Models/Objects/second/Stool02/Stool02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STOOL02_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Stool03/Stool03.h b/Sources/Models/Objects/second/Stool03/Stool03.h index d540456..e2c31d2 100644 --- a/Sources/Models/Objects/second/Stool03/Stool03.h +++ b/Sources/Models/Objects/second/Stool03/Stool03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STOOL03_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Table_Work01/Table_Work01.h b/Sources/Models/Objects/second/Table_Work01/Table_Work01.h index 6c4ecfa..1b6a699 100644 --- a/Sources/Models/Objects/second/Table_Work01/Table_Work01.h +++ b/Sources/Models/Objects/second/Table_Work01/Table_Work01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TABLE_WORK01_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Objects/second/Tent02/Tent02.h b/Sources/Models/Objects/second/Tent02/Tent02.h index 32eef96..14f97a6 100644 --- a/Sources/Models/Objects/second/Tent02/Tent02.h +++ b/Sources/Models/Objects/second/Tent02/Tent02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TENT02_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Bush01/Bush.h b/Sources/Models/Plants/Bush01/Bush.h index 3d3e119..203d762 100644 --- a/Sources/Models/Plants/Bush01/Bush.h +++ b/Sources/Models/Plants/Bush01/Bush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Flower01/Flower.h b/Sources/Models/Plants/Flower01/Flower.h index c4678a9..f7f48ae 100644 --- a/Sources/Models/Plants/Flower01/Flower.h +++ b/Sources/Models/Plants/Flower01/Flower.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOWER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Garden01/Garden.h b/Sources/Models/Plants/Garden01/Garden.h index 3726536..05ca5c4 100644 --- a/Sources/Models/Plants/Garden01/Garden.h +++ b/Sources/Models/Plants/Garden01/Garden.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GARDEN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Garden02/Garden.h b/Sources/Models/Plants/Garden02/Garden.h index 3726536..05ca5c4 100644 --- a/Sources/Models/Plants/Garden02/Garden.h +++ b/Sources/Models/Plants/Garden02/Garden.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GARDEN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Ivy01/Ivy.h b/Sources/Models/Plants/Ivy01/Ivy.h index 5082863..d8b215e 100644 --- a/Sources/Models/Plants/Ivy01/Ivy.h +++ b/Sources/Models/Plants/Ivy01/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/OldTree02/Tree.h b/Sources/Models/Plants/OldTree02/Tree.h index 4176540..ff41010 100644 --- a/Sources/Models/Plants/OldTree02/Tree.h +++ b/Sources/Models/Plants/OldTree02/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/OldTree07/Tree.h b/Sources/Models/Plants/OldTree07/Tree.h index 94b6309..f6e9007 100644 --- a/Sources/Models/Plants/OldTree07/Tree.h +++ b/Sources/Models/Plants/OldTree07/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/Models/Plants/Palm02/BrokenPalm.h b/Sources/Models/Plants/Palm02/BrokenPalm.h index 1a67fce..7268f5a 100644 --- a/Sources/Models/Plants/Palm02/BrokenPalm.h +++ b/Sources/Models/Plants/Palm02/BrokenPalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BROKENPALM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Palm02/Palm.h b/Sources/Models/Plants/Palm02/Palm.h index 8a0e888..3983af3 100644 --- a/Sources/Models/Plants/Palm02/Palm.h +++ b/Sources/Models/Plants/Palm02/Palm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM_ANIM_DEFAULT 0 diff --git a/Sources/Models/Plants/Palm10/BrokenPalm.h b/Sources/Models/Plants/Palm10/BrokenPalm.h index b653b0d..b6bb72f 100644 --- a/Sources/Models/Plants/Palm10/BrokenPalm.h +++ b/Sources/Models/Plants/Palm10/BrokenPalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BROKENPALM_ANIM_PALMPOSE01 0 diff --git a/Sources/Models/Plants/Palm10/Palm.h b/Sources/Models/Plants/Palm10/Palm.h index 422da9a..6d13153 100644 --- a/Sources/Models/Plants/Palm10/Palm.h +++ b/Sources/Models/Plants/Palm10/Palm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM_ANIM_PALMPOSE01 0 diff --git a/Sources/Models/Plants/Palm10/PalmLeaf.h b/Sources/Models/Plants/Palm10/PalmLeaf.h index 5ad0b3a..f541276 100644 --- a/Sources/Models/Plants/Palm10/PalmLeaf.h +++ b/Sources/Models/Plants/Palm10/PalmLeaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMLEAF_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Palm10Old/BrokenPalm.h b/Sources/Models/Plants/Palm10Old/BrokenPalm.h index 2bc4ef5..d5828c5 100644 --- a/Sources/Models/Plants/Palm10Old/BrokenPalm.h +++ b/Sources/Models/Plants/Palm10Old/BrokenPalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BROKENPALM_ANIM_POSE00 0 diff --git a/Sources/Models/Plants/Palm10Old/Palm.h b/Sources/Models/Plants/Palm10Old/Palm.h index 977fc8e..f6e8647 100644 --- a/Sources/Models/Plants/Palm10Old/Palm.h +++ b/Sources/Models/Plants/Palm10Old/Palm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM_ANIM_PALMPOSE01 0 diff --git a/Sources/Models/Plants/Palm10Old/PalmLeaf.h b/Sources/Models/Plants/Palm10Old/PalmLeaf.h index 5ad0b3a..f541276 100644 --- a/Sources/Models/Plants/Palm10Old/PalmLeaf.h +++ b/Sources/Models/Plants/Palm10Old/PalmLeaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMLEAF_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Plants/Palm11/Palm.h b/Sources/Models/Plants/Palm11/Palm.h index 32ae775..564edb5 100644 --- a/Sources/Models/Plants/Palm11/Palm.h +++ b/Sources/Models/Plants/Palm11/Palm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM_ANIM_PALMPOSE01 0 diff --git a/Sources/Models/Plants/Plant01/Plant.h b/Sources/Models/Plants/Plant01/Plant.h index 299ea3f..c118c50 100644 --- a/Sources/Models/Plants/Plant01/Plant.h +++ b/Sources/Models/Plants/Plant01/Plant.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLANT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/BeheadedBen/Body.h b/Sources/Models/Player/BeheadedBen/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/BeheadedBen/Body.h +++ b/Sources/Models/Player/BeheadedBen/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/BeheadedBen/Head.h b/Sources/Models/Player/BeheadedBen/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Player/BeheadedBen/Head.h +++ b/Sources/Models/Player/BeheadedBen/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/BeheadedBen/Player.h b/Sources/Models/Player/BeheadedBen/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/BeheadedBen/Player.h +++ b/Sources/Models/Player/BeheadedBen/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/BoxerBarry/Body.h b/Sources/Models/Player/BoxerBarry/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/Models/Player/BoxerBarry/Body.h +++ b/Sources/Models/Player/BoxerBarry/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/BoxerBarry/Head.h b/Sources/Models/Player/BoxerBarry/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Player/BoxerBarry/Head.h +++ b/Sources/Models/Player/BoxerBarry/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/BoxerBarry/Player.h b/Sources/Models/Player/BoxerBarry/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/BoxerBarry/Player.h +++ b/Sources/Models/Player/BoxerBarry/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/DiscoDan/Body.h b/Sources/Models/Player/DiscoDan/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/Models/Player/DiscoDan/Body.h +++ b/Sources/Models/Player/DiscoDan/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/DiscoDan/Glasses.h b/Sources/Models/Player/DiscoDan/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player/DiscoDan/Glasses.h +++ b/Sources/Models/Player/DiscoDan/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/DiscoDan/Hair.h b/Sources/Models/Player/DiscoDan/Hair.h index 0f66d89..7d66f2b 100644 --- a/Sources/Models/Player/DiscoDan/Hair.h +++ b/Sources/Models/Player/DiscoDan/Hair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAIR_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/DiscoDan/Hat.h b/Sources/Models/Player/DiscoDan/Hat.h index 1686ac0..5124958 100644 --- a/Sources/Models/Player/DiscoDan/Hat.h +++ b/Sources/Models/Player/DiscoDan/Hat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/DiscoDan/Head.h b/Sources/Models/Player/DiscoDan/Head.h index c9642ae..7d769ca 100644 --- a/Sources/Models/Player/DiscoDan/Head.h +++ b/Sources/Models/Player/DiscoDan/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/DiscoDan/Player.h b/Sources/Models/Player/DiscoDan/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/DiscoDan/Player.h +++ b/Sources/Models/Player/DiscoDan/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/EmptyEd/Body.h b/Sources/Models/Player/EmptyEd/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/EmptyEd/Body.h +++ b/Sources/Models/Player/EmptyEd/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/EmptyEd/Brain.h b/Sources/Models/Player/EmptyEd/Brain.h index 2e1c12e..65be6a1 100644 --- a/Sources/Models/Player/EmptyEd/Brain.h +++ b/Sources/Models/Player/EmptyEd/Brain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAIN_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/EmptyEd/Head.h b/Sources/Models/Player/EmptyEd/Head.h index b024259..a687871 100644 --- a/Sources/Models/Player/EmptyEd/Head.h +++ b/Sources/Models/Player/EmptyEd/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/EmptyEd/Player.h b/Sources/Models/Player/EmptyEd/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/EmptyEd/Player.h +++ b/Sources/Models/Player/EmptyEd/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/KleerKenny/Body.h b/Sources/Models/Player/KleerKenny/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/KleerKenny/Body.h +++ b/Sources/Models/Player/KleerKenny/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/KleerKenny/Head.h b/Sources/Models/Player/KleerKenny/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Player/KleerKenny/Head.h +++ b/Sources/Models/Player/KleerKenny/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/KleerKenny/Player.h b/Sources/Models/Player/KleerKenny/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/KleerKenny/Player.h +++ b/Sources/Models/Player/KleerKenny/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/MightyMarvin/Body.h b/Sources/Models/Player/MightyMarvin/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/Models/Player/MightyMarvin/Body.h +++ b/Sources/Models/Player/MightyMarvin/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/MightyMarvin/Glasses.h b/Sources/Models/Player/MightyMarvin/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player/MightyMarvin/Glasses.h +++ b/Sources/Models/Player/MightyMarvin/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/MightyMarvin/Head.h b/Sources/Models/Player/MightyMarvin/Head.h index 7831b71..52d11cb 100644 --- a/Sources/Models/Player/MightyMarvin/Head.h +++ b/Sources/Models/Player/MightyMarvin/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/MightyMarvin/Player.h b/Sources/Models/Player/MightyMarvin/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/MightyMarvin/Player.h +++ b/Sources/Models/Player/MightyMarvin/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/MightyMarvin/_Opened/Body.h b/Sources/Models/Player/MightyMarvin/_Opened/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/Models/Player/MightyMarvin/_Opened/Body.h +++ b/Sources/Models/Player/MightyMarvin/_Opened/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/PiratePete/Body.h b/Sources/Models/Player/PiratePete/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player/PiratePete/Body.h +++ b/Sources/Models/Player/PiratePete/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/PiratePete/Glasses.h b/Sources/Models/Player/PiratePete/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player/PiratePete/Glasses.h +++ b/Sources/Models/Player/PiratePete/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/PiratePete/Head.h b/Sources/Models/Player/PiratePete/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Player/PiratePete/Head.h +++ b/Sources/Models/Player/PiratePete/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/PiratePete/Player.h b/Sources/Models/Player/PiratePete/Player.h index b2fd615..9ae9f9e 100644 --- a/Sources/Models/Player/PiratePete/Player.h +++ b/Sources/Models/Player/PiratePete/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/RedRick/Body.h b/Sources/Models/Player/RedRick/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player/RedRick/Body.h +++ b/Sources/Models/Player/RedRick/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/RedRick/Glasses.h b/Sources/Models/Player/RedRick/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player/RedRick/Glasses.h +++ b/Sources/Models/Player/RedRick/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/RedRick/Head.h b/Sources/Models/Player/RedRick/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/Player/RedRick/Head.h +++ b/Sources/Models/Player/RedRick/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/RedRick/NewGlasses/Glasses.h b/Sources/Models/Player/RedRick/NewGlasses/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player/RedRick/NewGlasses/Glasses.h +++ b/Sources/Models/Player/RedRick/NewGlasses/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/RedRick/Player.h b/Sources/Models/Player/RedRick/Player.h index 8742544..8518e1a 100644 --- a/Sources/Models/Player/RedRick/Player.h +++ b/Sources/Models/Player/RedRick/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/RockingRyan/Body.h b/Sources/Models/Player/RockingRyan/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/Models/Player/RockingRyan/Body.h +++ b/Sources/Models/Player/RockingRyan/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/RockingRyan/Head.h b/Sources/Models/Player/RockingRyan/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/Models/Player/RockingRyan/Head.h +++ b/Sources/Models/Player/RockingRyan/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/RockingRyan/Player.h b/Sources/Models/Player/RockingRyan/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/RockingRyan/Player.h +++ b/Sources/Models/Player/RockingRyan/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SantaSam/Beard.h b/Sources/Models/Player/SantaSam/Beard.h index db7aa6b..150eb17 100644 --- a/Sources/Models/Player/SantaSam/Beard.h +++ b/Sources/Models/Player/SantaSam/Beard.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEARD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/SantaSam/Body.h b/Sources/Models/Player/SantaSam/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/SantaSam/Body.h +++ b/Sources/Models/Player/SantaSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SantaSam/Glasses.h b/Sources/Models/Player/SantaSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player/SantaSam/Glasses.h +++ b/Sources/Models/Player/SantaSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SantaSam/Head.h b/Sources/Models/Player/SantaSam/Head.h index 07059a1..f0e4722 100644 --- a/Sources/Models/Player/SantaSam/Head.h +++ b/Sources/Models/Player/SantaSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SantaSam/Player.h b/Sources/Models/Player/SantaSam/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/SantaSam/Player.h +++ b/Sources/Models/Player/SantaSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SantaSam/PlayerForMapping.h b/Sources/Models/Player/SantaSam/PlayerForMapping.h index 4e07c95..b408093 100644 --- a/Sources/Models/Player/SantaSam/PlayerForMapping.h +++ b/Sources/Models/Player/SantaSam/PlayerForMapping.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERFORMAPPING_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/SantaSam/hat.h b/Sources/Models/Player/SantaSam/hat.h index 1686ac0..5124958 100644 --- a/Sources/Models/Player/SantaSam/hat.h +++ b/Sources/Models/Player/SantaSam/hat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/SeriousSam/Body.h b/Sources/Models/Player/SeriousSam/Body.h index a02c831..f8236b8 100644 --- a/Sources/Models/Player/SeriousSam/Body.h +++ b/Sources/Models/Player/SeriousSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SeriousSam/Glasses.h b/Sources/Models/Player/SeriousSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player/SeriousSam/Glasses.h +++ b/Sources/Models/Player/SeriousSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SeriousSam/Head.h b/Sources/Models/Player/SeriousSam/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/Player/SeriousSam/Head.h +++ b/Sources/Models/Player/SeriousSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/SeriousSam/Player.h b/Sources/Models/Player/SeriousSam/Player.h index 6558bd0..da8b7a8 100644 --- a/Sources/Models/Player/SeriousSam/Player.h +++ b/Sources/Models/Player/SeriousSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/Soldier/Body.h b/Sources/Models/Player/Soldier/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/Soldier/Body.h +++ b/Sources/Models/Player/Soldier/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/Soldier/Glasses.h b/Sources/Models/Player/Soldier/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player/Soldier/Glasses.h +++ b/Sources/Models/Player/Soldier/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/Soldier/Head.h b/Sources/Models/Player/Soldier/Head.h index 7831b71..52d11cb 100644 --- a/Sources/Models/Player/Soldier/Head.h +++ b/Sources/Models/Player/Soldier/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/Soldier/Player.h b/Sources/Models/Player/Soldier/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/Soldier/Player.h +++ b/Sources/Models/Player/Soldier/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/WildWyat/Body.h b/Sources/Models/Player/WildWyat/Body.h index 5306056..dbe322a 100644 --- a/Sources/Models/Player/WildWyat/Body.h +++ b/Sources/Models/Player/WildWyat/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/WildWyat/Hat.h b/Sources/Models/Player/WildWyat/Hat.h index 1686ac0..5124958 100644 --- a/Sources/Models/Player/WildWyat/Hat.h +++ b/Sources/Models/Player/WildWyat/Hat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player/WildWyat/Head.h b/Sources/Models/Player/WildWyat/Head.h index d3db5f1..da56f7a 100644 --- a/Sources/Models/Player/WildWyat/Head.h +++ b/Sources/Models/Player/WildWyat/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player/WildWyat/Player.h b/Sources/Models/Player/WildWyat/Player.h index 351d89f..c2f3967 100644 --- a/Sources/Models/Player/WildWyat/Player.h +++ b/Sources/Models/Player/WildWyat/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/PiratePete/Body.h b/Sources/Models/Player_old/PiratePete/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player_old/PiratePete/Body.h +++ b/Sources/Models/Player_old/PiratePete/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/PiratePete/Glasses.h b/Sources/Models/Player_old/PiratePete/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player_old/PiratePete/Glasses.h +++ b/Sources/Models/Player_old/PiratePete/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/PiratePete/Head.h b/Sources/Models/Player_old/PiratePete/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Player_old/PiratePete/Head.h +++ b/Sources/Models/Player_old/PiratePete/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/PiratePete/Player.h b/Sources/Models/Player_old/PiratePete/Player.h index b2fd615..9ae9f9e 100644 --- a/Sources/Models/Player_old/PiratePete/Player.h +++ b/Sources/Models/Player_old/PiratePete/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/RedRick/Body.h b/Sources/Models/Player_old/RedRick/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player_old/RedRick/Body.h +++ b/Sources/Models/Player_old/RedRick/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/RedRick/Glasses.h b/Sources/Models/Player_old/RedRick/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player_old/RedRick/Glasses.h +++ b/Sources/Models/Player_old/RedRick/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/RedRick/Head.h b/Sources/Models/Player_old/RedRick/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/Player_old/RedRick/Head.h +++ b/Sources/Models/Player_old/RedRick/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/RedRick/Player.h b/Sources/Models/Player_old/RedRick/Player.h index 8742544..8518e1a 100644 --- a/Sources/Models/Player_old/RedRick/Player.h +++ b/Sources/Models/Player_old/RedRick/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SantaSam/Beard.h b/Sources/Models/Player_old/SantaSam/Beard.h index db7aa6b..150eb17 100644 --- a/Sources/Models/Player_old/SantaSam/Beard.h +++ b/Sources/Models/Player_old/SantaSam/Beard.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEARD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/SantaSam/Body.h b/Sources/Models/Player_old/SantaSam/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player_old/SantaSam/Body.h +++ b/Sources/Models/Player_old/SantaSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SantaSam/Glasses.h b/Sources/Models/Player_old/SantaSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player_old/SantaSam/Glasses.h +++ b/Sources/Models/Player_old/SantaSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SantaSam/Head.h b/Sources/Models/Player_old/SantaSam/Head.h index 07059a1..f0e4722 100644 --- a/Sources/Models/Player_old/SantaSam/Head.h +++ b/Sources/Models/Player_old/SantaSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SantaSam/Player.h b/Sources/Models/Player_old/SantaSam/Player.h index b2fd615..9ae9f9e 100644 --- a/Sources/Models/Player_old/SantaSam/Player.h +++ b/Sources/Models/Player_old/SantaSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SantaSam/hat.h b/Sources/Models/Player_old/SantaSam/hat.h index 1686ac0..5124958 100644 --- a/Sources/Models/Player_old/SantaSam/hat.h +++ b/Sources/Models/Player_old/SantaSam/hat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAT_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/SeriousSam/Body.h b/Sources/Models/Player_old/SeriousSam/Body.h index a02c831..f8236b8 100644 --- a/Sources/Models/Player_old/SeriousSam/Body.h +++ b/Sources/Models/Player_old/SeriousSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSam/BodyHires.h b/Sources/Models/Player_old/SeriousSam/BodyHires.h index 8fb01b3..346bde4 100644 --- a/Sources/Models/Player_old/SeriousSam/BodyHires.h +++ b/Sources/Models/Player_old/SeriousSam/BodyHires.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYHIRES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/SeriousSam/BodyPromo.h b/Sources/Models/Player_old/SeriousSam/BodyPromo.h index 52d9521..9a8fb25 100644 --- a/Sources/Models/Player_old/SeriousSam/BodyPromo.h +++ b/Sources/Models/Player_old/SeriousSam/BodyPromo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYPROMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSam/Glasses.h b/Sources/Models/Player_old/SeriousSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player_old/SeriousSam/Glasses.h +++ b/Sources/Models/Player_old/SeriousSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSam/Head.h b/Sources/Models/Player_old/SeriousSam/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/Player_old/SeriousSam/Head.h +++ b/Sources/Models/Player_old/SeriousSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSam/Player.h b/Sources/Models/Player_old/SeriousSam/Player.h index 6558bd0..da8b7a8 100644 --- a/Sources/Models/Player_old/SeriousSam/Player.h +++ b/Sources/Models/Player_old/SeriousSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSam/PlayerHires.h b/Sources/Models/Player_old/SeriousSam/PlayerHires.h index 61ed303..da028d9 100644 --- a/Sources/Models/Player_old/SeriousSam/PlayerHires.h +++ b/Sources/Models/Player_old/SeriousSam/PlayerHires.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERHIRES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/SeriousSam/PlayerPromo.h b/Sources/Models/Player_old/SeriousSam/PlayerPromo.h index 3d01581..592d1f9 100644 --- a/Sources/Models/Player_old/SeriousSam/PlayerPromo.h +++ b/Sources/Models/Player_old/SeriousSam/PlayerPromo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERPROMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Body.h b/Sources/Models/Player_old/SeriousSamOld/Body.h index 585da9b..34d188a 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Body.h +++ b/Sources/Models/Player_old/SeriousSamOld/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_FORMIPMODELS 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Head.h b/Sources/Models/Player_old/SeriousSamOld/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Head.h +++ b/Sources/Models/Player_old/SeriousSamOld/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Player.h b/Sources/Models/Player_old/SeriousSamOld/Player.h index 2d7037b..2607729 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Player.h +++ b/Sources/Models/Player_old/SeriousSamOld/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Test/Body.h b/Sources/Models/Player_old/SeriousSamOld/Test/Body.h index 2a3c385..07e3f03 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Test/Body.h +++ b/Sources/Models/Player_old/SeriousSamOld/Test/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Test/Head.h b/Sources/Models/Player_old/SeriousSamOld/Test/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Test/Head.h +++ b/Sources/Models/Player_old/SeriousSamOld/Test/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamOld/Test/Player.h b/Sources/Models/Player_old/SeriousSamOld/Test/Player.h index afdc18b..cf109a3 100644 --- a/Sources/Models/Player_old/SeriousSamOld/Test/Player.h +++ b/Sources/Models/Player_old/SeriousSamOld/Test/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamTmp/Body.h b/Sources/Models/Player_old/SeriousSamTmp/Body.h index 9fae47f..8943c11 100644 --- a/Sources/Models/Player_old/SeriousSamTmp/Body.h +++ b/Sources/Models/Player_old/SeriousSamTmp/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamTmp/Glasses.h b/Sources/Models/Player_old/SeriousSamTmp/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/Player_old/SeriousSamTmp/Glasses.h +++ b/Sources/Models/Player_old/SeriousSamTmp/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamTmp/Head.h b/Sources/Models/Player_old/SeriousSamTmp/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/Player_old/SeriousSamTmp/Head.h +++ b/Sources/Models/Player_old/SeriousSamTmp/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSamTmp/Player.h b/Sources/Models/Player_old/SeriousSamTmp/Player.h index 3546a84..bc1f796 100644 --- a/Sources/Models/Player_old/SeriousSamTmp/Player.h +++ b/Sources/Models/Player_old/SeriousSamTmp/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/SeriousSammy/Body.h b/Sources/Models/Player_old/SeriousSammy/Body.h index 1538258..5b0a80d 100644 --- a/Sources/Models/Player_old/SeriousSammy/Body.h +++ b/Sources/Models/Player_old/SeriousSammy/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/SeriousSammy/Glasses.h b/Sources/Models/Player_old/SeriousSammy/Glasses.h index 2a892af6d76c399167152ba9e4a4cb4de048e455..fadd8e5c4fdcdfee70c56eb034b02e8e27e878e8 100644 GIT binary patch literal 878 zcmds!PmkI#5XF18wBO+!+f^2lR6TLZBC;Ea1(ZKpaWu(M=b66=G1Wr_}qR$8pr8V8Yd~1&IXbvtV1`0s0Zb7cJ}DF#Mj;t!P`Du zrK1IIc0?-;9CgYErw(Hvr~qlYxpg?%PW3mzh0%265C%dZck-}3F66wj2I=&eeqJ^W zUdWJ>8oTkJRg1N1$#{Zfh^gWS>TtM;sXd=is$VF`Ew7M)2MX~U^#@!BW$w!cduEnF zh6(qow8nujdg@0V36_EPqJG^rHL}ef?^#)9n|iqfTe77>fOH(u5m} z5pSz<`O5v-bFnV!J=lr7s5h&sLcT4LVV9M4v24~^iCt6fw$*9|R4j*eiNDy;-#vAN zj)GL$&xF`>0-lj{he2M5lW0j@7)YY!g#X1`ZOu_k!g&2h+6$;2#)b%2r#RJM@4o%X z^$3M&XOZ}pa4^z**X(l@I3ga9tDcAF+FBRk+4^8jgtrWFnk4a4@-M=b66=G1Wr_}qR$8pr8V8Yd~1&IXbvtV1`0s0Zb7cJ}DF#Mj;t!P`Du zrK1IIc0?-;9CgYErw(Hvr~qlYxpg?%PW3mzh0%265C%dZck-}3F66wj2I=&eeqJ^W zUdWJ>8oTkJRg1N1$#{Zfh^gWS>TtM;sXd=is$VF`Ew7M)2MX~U^#@!BW$w!cduEnF zh6(qow8nujdg@0V36_EPqJG^rHL}ef?^#)9n|iqfTe77>fOH(u5m} z5pSz<`O5v-bFnV!J=lr7s5h&sLcT4LVV9M4v24~^iCt6fw$*9|R4j*eiNDy;-#vAN zj)GL$&xF`>0-lj{he2M5lW0j@7)YY!g#X1`ZOu_k!g&2h+6$;2#)b%2r#RJM@4o%X z^$3M&XOZ}pa4^z**X(l@I3ga9tDcAF+FBRk+4^8jgtrWFnk4a4@-t@mQw@Ls diff --git a/Sources/Models/Player_old/SeriousSammy/Player.h b/Sources/Models/Player_old/SeriousSammy/Player.h index 36434811f6e777e27fb16565a1dbcb215c22b6f2..a58bbdaed70ffc95285f303e383f9941da36eb9f 100644 GIT binary patch literal 900 zcmd^+PmkI#5XF18wBO+!+f^2lR6TLZBC;Ea1(ZKpaWu(M=b66=G1Wr_}qR$8pr8V8Yd~1&IXbvtV1`0s0Zb7cJ}DF#Mj;t!P`Du zrK1IIc0?-;9CgYErw(Hvr~qlYxpg?%PW3mzh0%265C%dZck-}3F66wj2I=&eeqJ^W zUdWJ>8oTkJRg1N1$#{Zfh^gWS>TtM;sXd=is$VF`Ew7M)2MX~U^#@!BW$w!cduEnF zh6(qow8nujdg@0V36_EPqJG^rHL}ef?^#)9n|iqfTe77>fOH(u5m} z5pSz<`O5v-bFnV!J=lr7s5h&sLcT4LVV9M4v24~^iCt6fw$*9|R4j*eiNDy;-#vAN zj)GL$&xF`>0-lj{he2M5lW0j@7)YY!g#X1`ZOu_k!g&2h+6$;2#)b%2r#RJM@4o%X z^$3M&XOZ}pa4^z**X(l@I3ga9tDcAF+FBRk+4^8jgtrWFnk4a4@-)-bDZa delta 42 ycmZo+U&S;*L)tMXN1-S)J)@*pp(wRDwWusLMNdIXpO=f5Yw|*-N0T=&u>t@nuMLa< diff --git a/Sources/Models/Player_old/Soldier/Body.h b/Sources/Models/Player_old/Soldier/Body.h index 27266d1..c818415 100644 --- a/Sources/Models/Player_old/Soldier/Body.h +++ b/Sources/Models/Player_old/Soldier/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/Soldier/Glasses.h b/Sources/Models/Player_old/Soldier/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player_old/Soldier/Glasses.h +++ b/Sources/Models/Player_old/Soldier/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/Soldier/Head.h b/Sources/Models/Player_old/Soldier/Head.h index 7831b71..52d11cb 100644 --- a/Sources/Models/Player_old/Soldier/Head.h +++ b/Sources/Models/Player_old/Soldier/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/Soldier/Player.h b/Sources/Models/Player_old/Soldier/Player.h index b2fd615..9ae9f9e 100644 --- a/Sources/Models/Player_old/Soldier/Player.h +++ b/Sources/Models/Player_old/Soldier/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Player_old/Soldier/_t/Body.h b/Sources/Models/Player_old/Soldier/_t/Body.h index 5e2c4e2..8a74749 100644 --- a/Sources/Models/Player_old/Soldier/_t/Body.h +++ b/Sources/Models/Player_old/Soldier/_t/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/Soldier/_t/Glasses.h b/Sources/Models/Player_old/Soldier/_t/Glasses.h index dc3587a..7266340 100644 --- a/Sources/Models/Player_old/Soldier/_t/Glasses.h +++ b/Sources/Models/Player_old/Soldier/_t/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/Soldier/_t/Head.h b/Sources/Models/Player_old/Soldier/_t/Head.h index 7831b71..52d11cb 100644 --- a/Sources/Models/Player_old/Soldier/_t/Head.h +++ b/Sources/Models/Player_old/Soldier/_t/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/Models/Player_old/Soldier/_t/Player.h b/Sources/Models/Player_old/Soldier/_t/Player.h index 632acaf..32d40d2 100644 --- a/Sources/Models/Player_old/Soldier/_t/Player.h +++ b/Sources/Models/Player_old/Soldier/_t/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Switches/Switch01/Switch.h b/Sources/Models/Switches/Switch01/Switch.h index fd433db..438f9e4 100644 --- a/Sources/Models/Switches/Switch01/Switch.h +++ b/Sources/Models/Switches/Switch01/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_STANDING 0 diff --git a/Sources/Models/Test/3dexploration/Box.h b/Sources/Models/Test/3dexploration/Box.h index b5b4c2e..56b046c 100644 --- a/Sources/Models/Test/3dexploration/Box.h +++ b/Sources/Models/Test/3dexploration/Box.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/3dexploration/Box_Pose.h b/Sources/Models/Test/3dexploration/Box_Pose.h index 7480f52..c3b2200 100644 --- a/Sources/Models/Test/3dexploration/Box_Pose.h +++ b/Sources/Models/Test/3dexploration/Box_Pose.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOX_POSE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Box.h b/Sources/Models/Test/Box.h index efdccc9..deefb2f 100644 --- a/Sources/Models/Test/Box.h +++ b/Sources/Models/Test/Box.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Femalet2.h b/Sources/Models/Test/Femalet2.h index eb189de..6142de2 100644 --- a/Sources/Models/Test/Femalet2.h +++ b/Sources/Models/Test/Femalet2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FEMALET2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/MipModelTest.h b/Sources/Models/Test/MipModelTest.h index 5926bbb..3cbe458 100644 --- a/Sources/Models/Test/MipModelTest.h +++ b/Sources/Models/Test/MipModelTest.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MIPMODELTEST_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/MultiPolygonMountains.h b/Sources/Models/Test/MultiPolygonMountains.h index f97dd75..73f7e46 100644 --- a/Sources/Models/Test/MultiPolygonMountains.h +++ b/Sources/Models/Test/MultiPolygonMountains.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MULTIPOLYGONMOUNTAINS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/MultiPolygonMountainsDisplaced.h b/Sources/Models/Test/MultiPolygonMountainsDisplaced.h index 6cfbbe1..e10244d 100644 --- a/Sources/Models/Test/MultiPolygonMountainsDisplaced.h +++ b/Sources/Models/Test/MultiPolygonMountainsDisplaced.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MULTIPOLYGONMOUNTAINSDISPLACED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/OneBigPolygon.h b/Sources/Models/Test/OneBigPolygon.h index 2b79671..3ebb215 100644 --- a/Sources/Models/Test/OneBigPolygon.h +++ b/Sources/Models/Test/OneBigPolygon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ONEBIGPOLYGON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/OnePolygon.h b/Sources/Models/Test/OnePolygon.h index 1c84905..0aea05f 100644 --- a/Sources/Models/Test/OnePolygon.h +++ b/Sources/Models/Test/OnePolygon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ONEPOLYGON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/PatchTextBox.h b/Sources/Models/Test/PatchTextBox.h index 3eaac0c..4aa8e9e 100644 --- a/Sources/Models/Test/PatchTextBox.h +++ b/Sources/Models/Test/PatchTextBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PATCHTEXTBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/RelfectionOnBox.h b/Sources/Models/Test/RelfectionOnBox.h index 697e0c9..05f8b63 100644 --- a/Sources/Models/Test/RelfectionOnBox.h +++ b/Sources/Models/Test/RelfectionOnBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RELFECTIONONBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Sphere.h b/Sources/Models/Test/Sphere.h index 4ae97f7..1db2fdc 100644 --- a/Sources/Models/Test/Sphere.h +++ b/Sources/Models/Test/Sphere.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHERE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/SphereWithMips.h b/Sources/Models/Test/SphereWithMips.h index c0d72ce..7ef6829 100644 --- a/Sources/Models/Test/SphereWithMips.h +++ b/Sources/Models/Test/SphereWithMips.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPHEREWITHMIPS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Teapot_test.h b/Sources/Models/Test/Teapot_test.h index 7e9f5a7..212ec6e 100644 --- a/Sources/Models/Test/Teapot_test.h +++ b/Sources/Models/Test/Teapot_test.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_TEST_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Teapot_test2.h b/Sources/Models/Test/Teapot_test2.h index 078e75d..022f4e4 100644 --- a/Sources/Models/Test/Teapot_test2.h +++ b/Sources/Models/Test/Teapot_test2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_TEST2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Teapot_test3.h b/Sources/Models/Test/Teapot_test3.h index 37e08a0..4f501ab 100644 --- a/Sources/Models/Test/Teapot_test3.h +++ b/Sources/Models/Test/Teapot_test3.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_TEST3_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Thetraedar.h b/Sources/Models/Test/Thetraedar.h index 582483f..2666d2e 100644 --- a/Sources/Models/Test/Thetraedar.h +++ b/Sources/Models/Test/Thetraedar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define THETRAEDAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Tree.h b/Sources/Models/Test/Tree.h index 4176540..ff41010 100644 --- a/Sources/Models/Test/Tree.h +++ b/Sources/Models/Test/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/Vase.h b/Sources/Models/Test/Vase.h index a1bd32a..12bb53a 100644 --- a/Sources/Models/Test/Vase.h +++ b/Sources/Models/Test/Vase.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VASE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Test/swinger/swinger.h b/Sources/Models/Test/swinger/swinger.h index 68e9f80..49b0455 100644 --- a/Sources/Models/Test/swinger/swinger.h +++ b/Sources/Models/Test/swinger/swinger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWINGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Cannon/Body.h b/Sources/Models/Weapons/Cannon/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/Cannon/Body.h +++ b/Sources/Models/Weapons/Cannon/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Cannon/Cannon.h b/Sources/Models/Weapons/Cannon/Cannon.h index bf2dd51..6791ea3 100644 --- a/Sources/Models/Weapons/Cannon/Cannon.h +++ b/Sources/Models/Weapons/Cannon/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/Cannon/Flame.h b/Sources/Models/Weapons/Cannon/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/Weapons/Cannon/Flame.h +++ b/Sources/Models/Weapons/Cannon/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Cannon/Light.h b/Sources/Models/Weapons/Cannon/Light.h index 3f5251b..870331f 100644 --- a/Sources/Models/Weapons/Cannon/Light.h +++ b/Sources/Models/Weapons/Cannon/Light.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Cannon/NukeBox.h b/Sources/Models/Weapons/Cannon/NukeBox.h index 09bd89e..6cc67f3 100644 --- a/Sources/Models/Weapons/Cannon/NukeBox.h +++ b/Sources/Models/Weapons/Cannon/NukeBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NUKEBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Cannon/Projectile/CannonBall.h b/Sources/Models/Weapons/Cannon/Projectile/CannonBall.h index 19d6c2e..9206dea 100644 --- a/Sources/Models/Weapons/Cannon/Projectile/CannonBall.h +++ b/Sources/Models/Weapons/Cannon/Projectile/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Colt/ColtBullets.h b/Sources/Models/Weapons/Colt/ColtBullets.h index fc219e3..cd5bc91 100644 --- a/Sources/Models/Weapons/Colt/ColtBullets.h +++ b/Sources/Models/Weapons/Colt/ColtBullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTBULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Colt/ColtCock.h b/Sources/Models/Weapons/Colt/ColtCock.h index 344f1c1..458b460 100644 --- a/Sources/Models/Weapons/Colt/ColtCock.h +++ b/Sources/Models/Weapons/Colt/ColtCock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTCOCK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Colt/ColtItem.h b/Sources/Models/Weapons/Colt/ColtItem.h index 92a6b39..26c6912 100644 --- a/Sources/Models/Weapons/Colt/ColtItem.h +++ b/Sources/Models/Weapons/Colt/ColtItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/Colt/ColtMain.h b/Sources/Models/Weapons/Colt/ColtMain.h index 72bd800..837bd58 100644 --- a/Sources/Models/Weapons/Colt/ColtMain.h +++ b/Sources/Models/Weapons/Colt/ColtMain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTMAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Colt/colt.h b/Sources/Models/Weapons/Colt/colt.h index ce533fa..3f62f02 100644 --- a/Sources/Models/Weapons/Colt/colt.h +++ b/Sources/Models/Weapons/Colt/colt.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/Ammo.h b/Sources/Models/Weapons/DoubleShotgun/Ammo.h index e4cfce8..99cff20 100644 --- a/Sources/Models/Weapons/DoubleShotgun/Ammo.h +++ b/Sources/Models/Weapons/DoubleShotgun/Ammo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/DoubleShotgun.h b/Sources/Models/Weapons/DoubleShotgun/DoubleShotgun.h index 5eb9c08..0635fa9 100644 --- a/Sources/Models/Weapons/DoubleShotgun/DoubleShotgun.h +++ b/Sources/Models/Weapons/DoubleShotgun/DoubleShotgun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/DoubleShotgunItem.h b/Sources/Models/Weapons/DoubleShotgun/DoubleShotgunItem.h index 96d71ca..6622eb8 100644 --- a/Sources/Models/Weapons/DoubleShotgun/DoubleShotgunItem.h +++ b/Sources/Models/Weapons/DoubleShotgun/DoubleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/Dshotgunbarrels.h b/Sources/Models/Weapons/DoubleShotgun/Dshotgunbarrels.h index 897e6df..a13e120 100644 --- a/Sources/Models/Weapons/DoubleShotgun/Dshotgunbarrels.h +++ b/Sources/Models/Weapons/DoubleShotgun/Dshotgunbarrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNBARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/Dshotgunhandle.h b/Sources/Models/Weapons/DoubleShotgun/Dshotgunhandle.h index 7e72a92..f362fb8 100644 --- a/Sources/Models/Weapons/DoubleShotgun/Dshotgunhandle.h +++ b/Sources/Models/Weapons/DoubleShotgun/Dshotgunhandle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNHANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/HandWithAmmo.h b/Sources/Models/Weapons/DoubleShotgun/HandWithAmmo.h index 19feb46..bed8869 100644 --- a/Sources/Models/Weapons/DoubleShotgun/HandWithAmmo.h +++ b/Sources/Models/Weapons/DoubleShotgun/HandWithAmmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHAMMO_ANIM_HOLDAMMO 0 diff --git a/Sources/Models/Weapons/DoubleShotgun/Switch.h b/Sources/Models/Weapons/DoubleShotgun/Switch.h index 691ad6b..2c2353b 100644 --- a/Sources/Models/Weapons/DoubleShotgun/Switch.h +++ b/Sources/Models/Weapons/DoubleShotgun/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/Body.h b/Sources/Models/Weapons/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/Flamer/Body.h +++ b/Sources/Models/Weapons/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/Flame.h b/Sources/Models/Weapons/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/Weapons/Flamer/Flame.h +++ b/Sources/Models/Weapons/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/Flamer.h b/Sources/Models/Weapons/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/Models/Weapons/Flamer/Flamer.h +++ b/Sources/Models/Weapons/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/FlamerItem.h b/Sources/Models/Weapons/Flamer/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/Models/Weapons/Flamer/FlamerItem.h +++ b/Sources/Models/Weapons/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/FuelReservoir.h b/Sources/Models/Weapons/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/Weapons/Flamer/FuelReservoir.h +++ b/Sources/Models/Weapons/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Flamer/Projectile/Invisible.h b/Sources/Models/Weapons/Flamer/Projectile/Invisible.h index b8ee17c..67598f6 100644 --- a/Sources/Models/Weapons/Flamer/Projectile/Invisible.h +++ b/Sources/Models/Weapons/Flamer/Projectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/FlamerNew/Body.h b/Sources/Models/Weapons/FlamerNew/Body.h index 2a3c385..07e3f03 100644 --- a/Sources/Models/Weapons/FlamerNew/Body.h +++ b/Sources/Models/Weapons/FlamerNew/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/FlamerNew/FuelReservoir.h b/Sources/Models/Weapons/FlamerNew/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/Weapons/FlamerNew/FuelReservoir.h +++ b/Sources/Models/Weapons/FlamerNew/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/Body.h b/Sources/Models/Weapons/GhostBuster/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/GhostBuster/Body.h +++ b/Sources/Models/Weapons/GhostBuster/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/Effect01.h b/Sources/Models/Weapons/GhostBuster/Effect01.h index cd76de3..6fd6453 100644 --- a/Sources/Models/Weapons/GhostBuster/Effect01.h +++ b/Sources/Models/Weapons/GhostBuster/Effect01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/EffectFlare.h b/Sources/Models/Weapons/GhostBuster/EffectFlare.h index b0857c0..759921a 100644 --- a/Sources/Models/Weapons/GhostBuster/EffectFlare.h +++ b/Sources/Models/Weapons/GhostBuster/EffectFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/EffectFlare01.h b/Sources/Models/Weapons/GhostBuster/EffectFlare01.h index 6a28421..2b272fb 100644 --- a/Sources/Models/Weapons/GhostBuster/EffectFlare01.h +++ b/Sources/Models/Weapons/GhostBuster/EffectFlare01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/GhostBuster.h b/Sources/Models/Weapons/GhostBuster/GhostBuster.h index f097980..43833b2 100644 --- a/Sources/Models/Weapons/GhostBuster/GhostBuster.h +++ b/Sources/Models/Weapons/GhostBuster/GhostBuster.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Weapons/GhostBuster/GhostBusterItem.h b/Sources/Models/Weapons/GhostBuster/GhostBusterItem.h index 6b5f2be..13fcee2 100644 --- a/Sources/Models/Weapons/GhostBuster/GhostBusterItem.h +++ b/Sources/Models/Weapons/GhostBuster/GhostBusterItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTERITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/GhostBuster/Projectile/Ray.h b/Sources/Models/Weapons/GhostBuster/Projectile/Ray.h index 92c07d4..f450503 100644 --- a/Sources/Models/Weapons/GhostBuster/Projectile/Ray.h +++ b/Sources/Models/Weapons/GhostBuster/Projectile/Ray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GhostBuster/Rotator.h b/Sources/Models/Weapons/GhostBuster/Rotator.h index 4cbbac6..bcf2a87 100644 --- a/Sources/Models/Weapons/GhostBuster/Rotator.h +++ b/Sources/Models/Weapons/GhostBuster/Rotator.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/Body.h b/Sources/Models/Weapons/GrenadeLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/Body.h +++ b/Sources/Models/Weapons/GrenadeLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/Grenade/Grenade.h b/Sources/Models/Weapons/GrenadeLauncher/Grenade/Grenade.h index bd8b747..58dc06d 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/Grenade/Grenade.h +++ b/Sources/Models/Weapons/GrenadeLauncher/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/GrenadeBack.h b/Sources/Models/Weapons/GrenadeLauncher/GrenadeBack.h index d51a779..43eb6ac 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/GrenadeBack.h +++ b/Sources/Models/Weapons/GrenadeLauncher/GrenadeBack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADEBACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncher.h b/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncher.h index f75419a..5502803 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncher.h +++ b/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncherItem.h b/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncherItem.h index 2dfe0d2..38b7cdd 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncherItem.h +++ b/Sources/Models/Weapons/GrenadeLauncher/GrenadeLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/GrenadeLauncher/MovingPipe.h b/Sources/Models/Weapons/GrenadeLauncher/MovingPipe.h index 0f8a2f5..974076f 100644 --- a/Sources/Models/Weapons/GrenadeLauncher/MovingPipe.h +++ b/Sources/Models/Weapons/GrenadeLauncher/MovingPipe.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGPIPE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Knife/Knife.h b/Sources/Models/Weapons/Knife/Knife.h index e8c54c5..6638138 100644 --- a/Sources/Models/Weapons/Knife/Knife.h +++ b/Sources/Models/Weapons/Knife/Knife.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Knife/KnifeItem.h b/Sources/Models/Weapons/Knife/KnifeItem.h index 7f300b2..096395a 100644 --- a/Sources/Models/Weapons/Knife/KnifeItem.h +++ b/Sources/Models/Weapons/Knife/KnifeItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFEITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/Barrel.h b/Sources/Models/Weapons/Laser/Barrel.h index 9eb9ba7..5b03485 100644 --- a/Sources/Models/Weapons/Laser/Barrel.h +++ b/Sources/Models/Weapons/Laser/Barrel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/Body.h b/Sources/Models/Weapons/Laser/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/Laser/Body.h +++ b/Sources/Models/Weapons/Laser/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/Laser.h b/Sources/Models/Weapons/Laser/Laser.h index 778c39a..930bcc5 100644 --- a/Sources/Models/Weapons/Laser/Laser.h +++ b/Sources/Models/Weapons/Laser/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/LaserItem.h b/Sources/Models/Weapons/Laser/LaserItem.h index 5c6b2fd..0555a46 100644 --- a/Sources/Models/Weapons/Laser/LaserItem.h +++ b/Sources/Models/Weapons/Laser/LaserItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/Projectile/LaserProjectile.h b/Sources/Models/Weapons/Laser/Projectile/LaserProjectile.h index 448ef36..0de397e 100644 --- a/Sources/Models/Weapons/Laser/Projectile/LaserProjectile.h +++ b/Sources/Models/Weapons/Laser/Projectile/LaserProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Laser/Projectile/LaserProjectileGlow01.h b/Sources/Models/Weapons/Laser/Projectile/LaserProjectileGlow01.h index 9012be4..0058eaf 100644 --- a/Sources/Models/Weapons/Laser/Projectile/LaserProjectileGlow01.h +++ b/Sources/Models/Weapons/Laser/Projectile/LaserProjectileGlow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILEGLOW01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/Barrels.h b/Sources/Models/Weapons/MiniGun/Barrels.h index ba1b969..edc5e4c 100644 --- a/Sources/Models/Weapons/MiniGun/Barrels.h +++ b/Sources/Models/Weapons/MiniGun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/Body.h b/Sources/Models/Weapons/MiniGun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/Weapons/MiniGun/Body.h +++ b/Sources/Models/Weapons/MiniGun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/Engine.h b/Sources/Models/Weapons/MiniGun/Engine.h index 5414aaf..864b295 100644 --- a/Sources/Models/Weapons/MiniGun/Engine.h +++ b/Sources/Models/Weapons/MiniGun/Engine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENGINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/Handle.h b/Sources/Models/Weapons/MiniGun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/Weapons/MiniGun/Handle.h +++ b/Sources/Models/Weapons/MiniGun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/MiniGunItem.h b/Sources/Models/Weapons/MiniGun/MiniGunItem.h index eca3952..e2ead62 100644 --- a/Sources/Models/Weapons/MiniGun/MiniGunItem.h +++ b/Sources/Models/Weapons/MiniGun/MiniGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/MiniGun/Shell/Shell.h b/Sources/Models/Weapons/MiniGun/Shell/Shell.h index b324ec5..d052b15 100644 --- a/Sources/Models/Weapons/MiniGun/Shell/Shell.h +++ b/Sources/Models/Weapons/MiniGun/Shell/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/MiniGun/minigun.h b/Sources/Models/Weapons/MiniGun/minigun.h index e11de4f..1ed9553 100644 --- a/Sources/Models/Weapons/MiniGun/minigun.h +++ b/Sources/Models/Weapons/MiniGun/minigun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/Bomb.h b/Sources/Models/Weapons/Pipebomb/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/Weapons/Pipebomb/Bomb.h +++ b/Sources/Models/Weapons/Pipebomb/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/Button.h b/Sources/Models/Weapons/Pipebomb/Button.h index 0a37920..79896f1 100644 --- a/Sources/Models/Weapons/Pipebomb/Button.h +++ b/Sources/Models/Weapons/Pipebomb/Button.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUTTON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/Grenade/Grenade.h b/Sources/Models/Weapons/Pipebomb/Grenade/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/Weapons/Pipebomb/Grenade/Grenade.h +++ b/Sources/Models/Weapons/Pipebomb/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/HandWithBomb.h b/Sources/Models/Weapons/Pipebomb/HandWithBomb.h index ff21e00..0324d23 100644 --- a/Sources/Models/Weapons/Pipebomb/HandWithBomb.h +++ b/Sources/Models/Weapons/Pipebomb/HandWithBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHBOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/HandWithStick.h b/Sources/Models/Weapons/Pipebomb/HandWithStick.h index 720e652..71aafda 100644 --- a/Sources/Models/Weapons/Pipebomb/HandWithStick.h +++ b/Sources/Models/Weapons/Pipebomb/HandWithStick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHSTICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/Shield.h b/Sources/Models/Weapons/Pipebomb/Shield.h index 8132e9f..9ad105c 100644 --- a/Sources/Models/Weapons/Pipebomb/Shield.h +++ b/Sources/Models/Weapons/Pipebomb/Shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/Stick.h b/Sources/Models/Weapons/Pipebomb/Stick.h index ac4bd6e..fa300c8 100644 --- a/Sources/Models/Weapons/Pipebomb/Stick.h +++ b/Sources/Models/Weapons/Pipebomb/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Pipebomb/StickItem.h b/Sources/Models/Weapons/Pipebomb/StickItem.h index 9edfc5e..5d689d0 100644 --- a/Sources/Models/Weapons/Pipebomb/StickItem.h +++ b/Sources/Models/Weapons/Pipebomb/StickItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICKITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/RocketLauncher/Body.h b/Sources/Models/Weapons/RocketLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/RocketLauncher/Body.h +++ b/Sources/Models/Weapons/RocketLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/RocketLauncher/Projectile/Rocket.h b/Sources/Models/Weapons/RocketLauncher/Projectile/Rocket.h index 926615e..45856ea 100644 --- a/Sources/Models/Weapons/RocketLauncher/Projectile/Rocket.h +++ b/Sources/Models/Weapons/RocketLauncher/Projectile/Rocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/RocketLauncher/RocketLauncher.h b/Sources/Models/Weapons/RocketLauncher/RocketLauncher.h index 7e2f43e..c62d265 100644 --- a/Sources/Models/Weapons/RocketLauncher/RocketLauncher.h +++ b/Sources/Models/Weapons/RocketLauncher/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/RocketLauncher/RocketLauncherItem.h b/Sources/Models/Weapons/RocketLauncher/RocketLauncherItem.h index 350dd7d..3bfc01a 100644 --- a/Sources/Models/Weapons/RocketLauncher/RocketLauncherItem.h +++ b/Sources/Models/Weapons/RocketLauncher/RocketLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/RocketLauncher/Rotatingpart.h b/Sources/Models/Weapons/RocketLauncher/Rotatingpart.h index ba30be2..c8e3f48 100644 --- a/Sources/Models/Weapons/RocketLauncher/Rotatingpart.h +++ b/Sources/Models/Weapons/RocketLauncher/Rotatingpart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGPART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/SingleShotgun/Barrels.h b/Sources/Models/Weapons/SingleShotgun/Barrels.h index 32045d4..e84516d 100644 --- a/Sources/Models/Weapons/SingleShotgun/Barrels.h +++ b/Sources/Models/Weapons/SingleShotgun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/SingleShotgun/Handle.h b/Sources/Models/Weapons/SingleShotgun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/Weapons/SingleShotgun/Handle.h +++ b/Sources/Models/Weapons/SingleShotgun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/SingleShotgun/Shell/Shell.h b/Sources/Models/Weapons/SingleShotgun/Shell/Shell.h index b324ec5..d052b15 100644 --- a/Sources/Models/Weapons/SingleShotgun/Shell/Shell.h +++ b/Sources/Models/Weapons/SingleShotgun/Shell/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/SingleShotgun/SingleShotGun.h b/Sources/Models/Weapons/SingleShotgun/SingleShotGun.h index 7e357cd..9c3aa61 100644 --- a/Sources/Models/Weapons/SingleShotgun/SingleShotGun.h +++ b/Sources/Models/Weapons/SingleShotgun/SingleShotGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/SingleShotgun/SingleShotgunItem.h b/Sources/Models/Weapons/SingleShotgun/SingleShotgunItem.h index cad116d..eabc036 100644 --- a/Sources/Models/Weapons/SingleShotgun/SingleShotgunItem.h +++ b/Sources/Models/Weapons/SingleShotgun/SingleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons/SingleShotgun/Slider.h b/Sources/Models/Weapons/SingleShotgun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/Weapons/SingleShotgun/Slider.h +++ b/Sources/Models/Weapons/SingleShotgun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Sniper/Body.h b/Sources/Models/Weapons/Sniper/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons/Sniper/Body.h +++ b/Sources/Models/Weapons/Sniper/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/Sniper/Sniper.h b/Sources/Models/Weapons/Sniper/Sniper.h index 412de9f..5a2631c 100644 --- a/Sources/Models/Weapons/Sniper/Sniper.h +++ b/Sources/Models/Weapons/Sniper/Sniper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/TommyGun/Body.h b/Sources/Models/Weapons/TommyGun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/Weapons/TommyGun/Body.h +++ b/Sources/Models/Weapons/TommyGun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/TommyGun/Slider.h b/Sources/Models/Weapons/TommyGun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/Weapons/TommyGun/Slider.h +++ b/Sources/Models/Weapons/TommyGun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/TommyGun/TommyGun.h b/Sources/Models/Weapons/TommyGun/TommyGun.h index 2b3e674..6afb866 100644 --- a/Sources/Models/Weapons/TommyGun/TommyGun.h +++ b/Sources/Models/Weapons/TommyGun/TommyGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons/TommyGun/TommyGunItem.h b/Sources/Models/Weapons/TommyGun/TommyGunItem.h index 40766ab..667ed03 100644 --- a/Sources/Models/Weapons/TommyGun/TommyGunItem.h +++ b/Sources/Models/Weapons/TommyGun/TommyGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUNITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/Body.h b/Sources/Models/Weapons_old/Cannon/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/Cannon/Body.h +++ b/Sources/Models/Weapons_old/Cannon/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/Cannon.h b/Sources/Models/Weapons_old/Cannon/Cannon.h index efc3046..66b003f 100644 --- a/Sources/Models/Weapons_old/Cannon/Cannon.h +++ b/Sources/Models/Weapons_old/Cannon/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/Cannon/Flame.h b/Sources/Models/Weapons_old/Cannon/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/Weapons_old/Cannon/Flame.h +++ b/Sources/Models/Weapons_old/Cannon/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/Fuse.h b/Sources/Models/Weapons_old/Cannon/Fuse.h index 1ae557f..54009ef 100644 --- a/Sources/Models/Weapons_old/Cannon/Fuse.h +++ b/Sources/Models/Weapons_old/Cannon/Fuse.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUSE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/HandWithTorch.h b/Sources/Models/Weapons_old/Cannon/HandWithTorch.h index 2481a41..616f4c0 100644 --- a/Sources/Models/Weapons_old/Cannon/HandWithTorch.h +++ b/Sources/Models/Weapons_old/Cannon/HandWithTorch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHTORCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/Projectile/CannonBall.h b/Sources/Models/Weapons_old/Cannon/Projectile/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/Weapons_old/Cannon/Projectile/CannonBall.h +++ b/Sources/Models/Weapons_old/Cannon/Projectile/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/Torch.h b/Sources/Models/Weapons_old/Cannon/Torch.h index edfe92a..b66a286 100644 --- a/Sources/Models/Weapons_old/Cannon/Torch.h +++ b/Sources/Models/Weapons_old/Cannon/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Cannon/TorchUp.h b/Sources/Models/Weapons_old/Cannon/TorchUp.h index 028dcbc..1329cf8 100644 --- a/Sources/Models/Weapons_old/Cannon/TorchUp.h +++ b/Sources/Models/Weapons_old/Cannon/TorchUp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCHUP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Colt/ColtBullets.h b/Sources/Models/Weapons_old/Colt/ColtBullets.h index fc219e3..cd5bc91 100644 --- a/Sources/Models/Weapons_old/Colt/ColtBullets.h +++ b/Sources/Models/Weapons_old/Colt/ColtBullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTBULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Colt/ColtCock.h b/Sources/Models/Weapons_old/Colt/ColtCock.h index 344f1c1..458b460 100644 --- a/Sources/Models/Weapons_old/Colt/ColtCock.h +++ b/Sources/Models/Weapons_old/Colt/ColtCock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTCOCK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Colt/ColtItem.h b/Sources/Models/Weapons_old/Colt/ColtItem.h index 92a6b39..26c6912 100644 --- a/Sources/Models/Weapons_old/Colt/ColtItem.h +++ b/Sources/Models/Weapons_old/Colt/ColtItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/Colt/ColtMain.h b/Sources/Models/Weapons_old/Colt/ColtMain.h index 72bd800..837bd58 100644 --- a/Sources/Models/Weapons_old/Colt/ColtMain.h +++ b/Sources/Models/Weapons_old/Colt/ColtMain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTMAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Colt/colt.h b/Sources/Models/Weapons_old/Colt/colt.h index ce533fa..3f62f02 100644 --- a/Sources/Models/Weapons_old/Colt/colt.h +++ b/Sources/Models/Weapons_old/Colt/colt.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Crosshair/Crosshair.h b/Sources/Models/Weapons_old/Crosshair/Crosshair.h index 085ffca..bd22e5c 100644 --- a/Sources/Models/Weapons_old/Crosshair/Crosshair.h +++ b/Sources/Models/Weapons_old/Crosshair/Crosshair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSSHAIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/Ammo.h b/Sources/Models/Weapons_old/DoubleShotgun/Ammo.h index e4cfce8..99cff20 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/Ammo.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/Ammo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgun.h b/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgun.h index 997ee7e..9addbe4 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgun.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgunItem.h b/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgunItem.h index 96d71ca..6622eb8 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgunItem.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/DoubleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunbarrels.h b/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunbarrels.h index 897e6df..a13e120 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunbarrels.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunbarrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNBARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunhandle.h b/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunhandle.h index 7e72a92..f362fb8 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunhandle.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/Dshotgunhandle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNHANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/HandWithAmmo.h b/Sources/Models/Weapons_old/DoubleShotgun/HandWithAmmo.h index e2015b6..33c8e1d 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/HandWithAmmo.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/HandWithAmmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHAMMO_ANIM_HOLDAMMO 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgun/Switch.h b/Sources/Models/Weapons_old/DoubleShotgun/Switch.h index 691ad6b..2c2353b 100644 --- a/Sources/Models/Weapons_old/DoubleShotgun/Switch.h +++ b/Sources/Models/Weapons_old/DoubleShotgun/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/Ammo.h b/Sources/Models/Weapons_old/DoubleShotgunOld/Ammo.h index e4cfce8..99cff20 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/Ammo.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/Ammo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgun.h b/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgun.h index 997ee7e..9addbe4 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgun.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgunItem.h b/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgunItem.h index 96d71ca..6622eb8 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgunItem.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/DoubleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunbarrels.h b/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunbarrels.h index 897e6df..a13e120 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunbarrels.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunbarrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNBARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunhandle.h b/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunhandle.h index 7e72a92..f362fb8 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunhandle.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/Dshotgunhandle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNHANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo.h b/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo.h index e2015b6..33c8e1d 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHAMMO_ANIM_HOLDAMMO 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo/HandWithAmmo.h b/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo/HandWithAmmo.h index 25f6394..0cb5d96 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo/HandWithAmmo.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/HandWithAmmo/HandWithAmmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHAMMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/Switch.h b/Sources/Models/Weapons_old/DoubleShotgunOld/Switch.h index 691ad6b..2c2353b 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/Switch.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/DoubleShotgunOld/t/DoubleShotgun.h b/Sources/Models/Weapons_old/DoubleShotgunOld/t/DoubleShotgun.h index 4c1300d..ce0629a 100644 --- a/Sources/Models/Weapons_old/DoubleShotgunOld/t/DoubleShotgun.h +++ b/Sources/Models/Weapons_old/DoubleShotgunOld/t/DoubleShotgun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Flamer/Body.h b/Sources/Models/Weapons_old/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/Flamer/Body.h +++ b/Sources/Models/Weapons_old/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Flamer/Flame.h b/Sources/Models/Weapons_old/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/Weapons_old/Flamer/Flame.h +++ b/Sources/Models/Weapons_old/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Flamer/Flamer.h b/Sources/Models/Weapons_old/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/Models/Weapons_old/Flamer/Flamer.h +++ b/Sources/Models/Weapons_old/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Flamer/FlamerItem.h b/Sources/Models/Weapons_old/Flamer/FlamerItem.h index 2d0ba76..ab23cd1 100644 --- a/Sources/Models/Weapons_old/Flamer/FlamerItem.h +++ b/Sources/Models/Weapons_old/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/Flamer/FuelReservoir.h b/Sources/Models/Weapons_old/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/Weapons_old/Flamer/FuelReservoir.h +++ b/Sources/Models/Weapons_old/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Flamer/Projectile/Invisible.h b/Sources/Models/Weapons_old/Flamer/Projectile/Invisible.h index b8ee17c..67598f6 100644 --- a/Sources/Models/Weapons_old/Flamer/Projectile/Invisible.h +++ b/Sources/Models/Weapons_old/Flamer/Projectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/Body.h b/Sources/Models/Weapons_old/GhostBuster/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/GhostBuster/Body.h +++ b/Sources/Models/Weapons_old/GhostBuster/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/Effect01.h b/Sources/Models/Weapons_old/GhostBuster/Effect01.h index cd76de3..6fd6453 100644 --- a/Sources/Models/Weapons_old/GhostBuster/Effect01.h +++ b/Sources/Models/Weapons_old/GhostBuster/Effect01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/EffectFlare.h b/Sources/Models/Weapons_old/GhostBuster/EffectFlare.h index b0857c0..759921a 100644 --- a/Sources/Models/Weapons_old/GhostBuster/EffectFlare.h +++ b/Sources/Models/Weapons_old/GhostBuster/EffectFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/EffectFlare01.h b/Sources/Models/Weapons_old/GhostBuster/EffectFlare01.h index 6a28421..2b272fb 100644 --- a/Sources/Models/Weapons_old/GhostBuster/EffectFlare01.h +++ b/Sources/Models/Weapons_old/GhostBuster/EffectFlare01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/GhostBuster.h b/Sources/Models/Weapons_old/GhostBuster/GhostBuster.h index f097980..43833b2 100644 --- a/Sources/Models/Weapons_old/GhostBuster/GhostBuster.h +++ b/Sources/Models/Weapons_old/GhostBuster/GhostBuster.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTER_ANIM_DEFAULT 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/GhostBusterItem.h b/Sources/Models/Weapons_old/GhostBuster/GhostBusterItem.h index 6b5f2be..13fcee2 100644 --- a/Sources/Models/Weapons_old/GhostBuster/GhostBusterItem.h +++ b/Sources/Models/Weapons_old/GhostBuster/GhostBusterItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTERITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/Projectile/Ray.h b/Sources/Models/Weapons_old/GhostBuster/Projectile/Ray.h index 92c07d4..f450503 100644 --- a/Sources/Models/Weapons_old/GhostBuster/Projectile/Ray.h +++ b/Sources/Models/Weapons_old/GhostBuster/Projectile/Ray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GhostBuster/Rotator.h b/Sources/Models/Weapons_old/GhostBuster/Rotator.h index 4cbbac6..bcf2a87 100644 --- a/Sources/Models/Weapons_old/GhostBuster/Rotator.h +++ b/Sources/Models/Weapons_old/GhostBuster/Rotator.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/Body.h b/Sources/Models/Weapons_old/GrenadeLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/Body.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/Grenade/Grenade.h b/Sources/Models/Weapons_old/GrenadeLauncher/Grenade/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/Grenade/Grenade.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeBack.h b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeBack.h index d51a779..43eb6ac 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeBack.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeBack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADEBACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncher.h b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncher.h index f75419a..5502803 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncher.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncherItem.h b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncherItem.h index 2dfe0d2..38b7cdd 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncherItem.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/GrenadeLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/GrenadeLauncher/MovingPipe.h b/Sources/Models/Weapons_old/GrenadeLauncher/MovingPipe.h index 0f8a2f5..974076f 100644 --- a/Sources/Models/Weapons_old/GrenadeLauncher/MovingPipe.h +++ b/Sources/Models/Weapons_old/GrenadeLauncher/MovingPipe.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGPIPE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Hand/Hands.h b/Sources/Models/Weapons_old/Hand/Hands.h index 0e371dd..50d58d5 100644 --- a/Sources/Models/Weapons_old/Hand/Hands.h +++ b/Sources/Models/Weapons_old/Hand/Hands.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Knife/Knife.h b/Sources/Models/Weapons_old/Knife/Knife.h index e8c54c5..6638138 100644 --- a/Sources/Models/Weapons_old/Knife/Knife.h +++ b/Sources/Models/Weapons_old/Knife/Knife.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Knife/KnifeItem.h b/Sources/Models/Weapons_old/Knife/KnifeItem.h index 7f300b2..096395a 100644 --- a/Sources/Models/Weapons_old/Knife/KnifeItem.h +++ b/Sources/Models/Weapons_old/Knife/KnifeItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFEITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/Barrel.h b/Sources/Models/Weapons_old/Laser/Barrel.h index 9eb9ba7..5b03485 100644 --- a/Sources/Models/Weapons_old/Laser/Barrel.h +++ b/Sources/Models/Weapons_old/Laser/Barrel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/Body.h b/Sources/Models/Weapons_old/Laser/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/Laser/Body.h +++ b/Sources/Models/Weapons_old/Laser/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/Laser.h b/Sources/Models/Weapons_old/Laser/Laser.h index 778c39a..930bcc5 100644 --- a/Sources/Models/Weapons_old/Laser/Laser.h +++ b/Sources/Models/Weapons_old/Laser/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/LaserItem.h b/Sources/Models/Weapons_old/Laser/LaserItem.h index 5c6b2fd..0555a46 100644 --- a/Sources/Models/Weapons_old/Laser/LaserItem.h +++ b/Sources/Models/Weapons_old/Laser/LaserItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectile.h b/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectile.h index 76cbea4..7182bd9 100644 --- a/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectile.h +++ b/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectileGlow01.h b/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectileGlow01.h index 9012be4..0058eaf 100644 --- a/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectileGlow01.h +++ b/Sources/Models/Weapons_old/Laser/Projectile/LaserProjectileGlow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILEGLOW01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/Barrels.h b/Sources/Models/Weapons_old/Minigun/Barrels.h index ba1b969..edc5e4c 100644 --- a/Sources/Models/Weapons_old/Minigun/Barrels.h +++ b/Sources/Models/Weapons_old/Minigun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/Body.h b/Sources/Models/Weapons_old/Minigun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/Weapons_old/Minigun/Body.h +++ b/Sources/Models/Weapons_old/Minigun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/Engine.h b/Sources/Models/Weapons_old/Minigun/Engine.h index 5414aaf..864b295 100644 --- a/Sources/Models/Weapons_old/Minigun/Engine.h +++ b/Sources/Models/Weapons_old/Minigun/Engine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENGINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/Handle.h b/Sources/Models/Weapons_old/Minigun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/Weapons_old/Minigun/Handle.h +++ b/Sources/Models/Weapons_old/Minigun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/MiniGunItem.h b/Sources/Models/Weapons_old/Minigun/MiniGunItem.h index eca3952..e2ead62 100644 --- a/Sources/Models/Weapons_old/Minigun/MiniGunItem.h +++ b/Sources/Models/Weapons_old/Minigun/MiniGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/Minigun/Shell/Shell.h b/Sources/Models/Weapons_old/Minigun/Shell/Shell.h index b324ec5..d052b15 100644 --- a/Sources/Models/Weapons_old/Minigun/Shell/Shell.h +++ b/Sources/Models/Weapons_old/Minigun/Shell/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/Minigun/minigun.h b/Sources/Models/Weapons_old/Minigun/minigun.h index e11de4f..1ed9553 100644 --- a/Sources/Models/Weapons_old/Minigun/minigun.h +++ b/Sources/Models/Weapons_old/Minigun/minigun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/Bomb.h b/Sources/Models/Weapons_old/PipeBomb/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/Weapons_old/PipeBomb/Bomb.h +++ b/Sources/Models/Weapons_old/PipeBomb/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/Button.h b/Sources/Models/Weapons_old/PipeBomb/Button.h index 0a37920..79896f1 100644 --- a/Sources/Models/Weapons_old/PipeBomb/Button.h +++ b/Sources/Models/Weapons_old/PipeBomb/Button.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUTTON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/Grenade/Grenade.h b/Sources/Models/Weapons_old/PipeBomb/Grenade/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/Weapons_old/PipeBomb/Grenade/Grenade.h +++ b/Sources/Models/Weapons_old/PipeBomb/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/HandWithBomb.h b/Sources/Models/Weapons_old/PipeBomb/HandWithBomb.h index ff21e00..0324d23 100644 --- a/Sources/Models/Weapons_old/PipeBomb/HandWithBomb.h +++ b/Sources/Models/Weapons_old/PipeBomb/HandWithBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHBOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/HandWithStick.h b/Sources/Models/Weapons_old/PipeBomb/HandWithStick.h index 720e652..71aafda 100644 --- a/Sources/Models/Weapons_old/PipeBomb/HandWithStick.h +++ b/Sources/Models/Weapons_old/PipeBomb/HandWithStick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHSTICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/Shield.h b/Sources/Models/Weapons_old/PipeBomb/Shield.h index 8132e9f..9ad105c 100644 --- a/Sources/Models/Weapons_old/PipeBomb/Shield.h +++ b/Sources/Models/Weapons_old/PipeBomb/Shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/Stick.h b/Sources/Models/Weapons_old/PipeBomb/Stick.h index ac4bd6e..fa300c8 100644 --- a/Sources/Models/Weapons_old/PipeBomb/Stick.h +++ b/Sources/Models/Weapons_old/PipeBomb/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/PipeBomb/StickItem.h b/Sources/Models/Weapons_old/PipeBomb/StickItem.h index 9edfc5e..5d689d0 100644 --- a/Sources/Models/Weapons_old/PipeBomb/StickItem.h +++ b/Sources/Models/Weapons_old/PipeBomb/StickItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICKITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/RocketLauncher/Body.h b/Sources/Models/Weapons_old/RocketLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/Weapons_old/RocketLauncher/Body.h +++ b/Sources/Models/Weapons_old/RocketLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/RocketLauncher/Projectile/Rocket.h b/Sources/Models/Weapons_old/RocketLauncher/Projectile/Rocket.h index 51e21da..329d5ec 100644 --- a/Sources/Models/Weapons_old/RocketLauncher/Projectile/Rocket.h +++ b/Sources/Models/Weapons_old/RocketLauncher/Projectile/Rocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/RocketLauncher/RocketLauncher.h b/Sources/Models/Weapons_old/RocketLauncher/RocketLauncher.h index 7e2f43e..c62d265 100644 --- a/Sources/Models/Weapons_old/RocketLauncher/RocketLauncher.h +++ b/Sources/Models/Weapons_old/RocketLauncher/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/RocketLauncher/Rotatingpart.h b/Sources/Models/Weapons_old/RocketLauncher/Rotatingpart.h index ba30be2..c8e3f48 100644 --- a/Sources/Models/Weapons_old/RocketLauncher/Rotatingpart.h +++ b/Sources/Models/Weapons_old/RocketLauncher/Rotatingpart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGPART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/SingleShotgun/Barrels.h b/Sources/Models/Weapons_old/SingleShotgun/Barrels.h index 32045d4..e84516d 100644 --- a/Sources/Models/Weapons_old/SingleShotgun/Barrels.h +++ b/Sources/Models/Weapons_old/SingleShotgun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/SingleShotgun/Handle.h b/Sources/Models/Weapons_old/SingleShotgun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/Weapons_old/SingleShotgun/Handle.h +++ b/Sources/Models/Weapons_old/SingleShotgun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/SingleShotgun/SingleShotGun.h b/Sources/Models/Weapons_old/SingleShotgun/SingleShotGun.h index 38e8fd1..ef85199 100644 --- a/Sources/Models/Weapons_old/SingleShotgun/SingleShotGun.h +++ b/Sources/Models/Weapons_old/SingleShotgun/SingleShotGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/SingleShotgun/SingleShotgunItem.h b/Sources/Models/Weapons_old/SingleShotgun/SingleShotgunItem.h index cad116d..eabc036 100644 --- a/Sources/Models/Weapons_old/SingleShotgun/SingleShotgunItem.h +++ b/Sources/Models/Weapons_old/SingleShotgun/SingleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/Weapons_old/SingleShotgun/Slider.h b/Sources/Models/Weapons_old/SingleShotgun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/Weapons_old/SingleShotgun/Slider.h +++ b/Sources/Models/Weapons_old/SingleShotgun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/TommyGun/Body.h b/Sources/Models/Weapons_old/TommyGun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/Weapons_old/TommyGun/Body.h +++ b/Sources/Models/Weapons_old/TommyGun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/TommyGun/Slider.h b/Sources/Models/Weapons_old/TommyGun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/Weapons_old/TommyGun/Slider.h +++ b/Sources/Models/Weapons_old/TommyGun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/TommyGun/TommyGun.h b/Sources/Models/Weapons_old/TommyGun/TommyGun.h index 2b3e674..6afb866 100644 --- a/Sources/Models/Weapons_old/TommyGun/TommyGun.h +++ b/Sources/Models/Weapons_old/TommyGun/TommyGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Weapons_old/TommyGun/TommyGunItem.h b/Sources/Models/Weapons_old/TommyGun/TommyGunItem.h index 40766ab..667ed03 100644 --- a/Sources/Models/Weapons_old/TommyGun/TommyGunItem.h +++ b/Sources/Models/Weapons_old/TommyGun/TommyGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUNITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/Windows/Vitraj01/Vitraj.h b/Sources/Models/Windows/Vitraj01/Vitraj.h index 42af4a4..39512da 100644 --- a/Sources/Models/Windows/Vitraj01/Vitraj.h +++ b/Sources/Models/Windows/Vitraj01/Vitraj.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VITRAJ_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Computer/Floor.h b/Sources/Models/headers/Computer/Floor.h index 962409d..8cc8c30 100644 --- a/Sources/Models/headers/Computer/Floor.h +++ b/Sources/Models/headers/Computer/Floor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/AmbientLight.h b/Sources/Models/headers/Editor/AmbientLight.h index ca26a46..4eeb6e5 100644 --- a/Sources/Models/headers/Editor/AmbientLight.h +++ b/Sources/Models/headers/Editor/AmbientLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMBIENTLIGHT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/AngleVector.h b/Sources/Models/headers/Editor/AngleVector.h index 1df77c4..03d3c91 100644 --- a/Sources/Models/headers/Editor/AngleVector.h +++ b/Sources/Models/headers/Editor/AngleVector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANGLEVECTOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/AnimationChanger.h b/Sources/Models/headers/Editor/AnimationChanger.h index f6f1153..264d8dc 100644 --- a/Sources/Models/headers/Editor/AnimationChanger.h +++ b/Sources/Models/headers/Editor/AnimationChanger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANIMATIONCHANGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Axis.h b/Sources/Models/headers/Editor/Axis.h index e4ff3bd..b7b7bb2 100644 --- a/Sources/Models/headers/Editor/Axis.h +++ b/Sources/Models/headers/Editor/Axis.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AXIS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/BoundingBox.h b/Sources/Models/headers/Editor/BoundingBox.h index 7bc42fe..e3ecb79 100644 --- a/Sources/Models/headers/Editor/BoundingBox.h +++ b/Sources/Models/headers/Editor/BoundingBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOUNDINGBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Camera.h b/Sources/Models/headers/Editor/Camera.h index 394d215..92bf485 100644 --- a/Sources/Models/headers/Editor/Camera.h +++ b/Sources/Models/headers/Editor/Camera.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAMERA_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/CameraMarker.h b/Sources/Models/headers/Editor/CameraMarker.h index ec52bf4..a9d9773 100644 --- a/Sources/Models/headers/Editor/CameraMarker.h +++ b/Sources/Models/headers/Editor/CameraMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAMERAMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/CollisionBox.h b/Sources/Models/headers/Editor/CollisionBox.h index 62d89ad..ecab97a 100644 --- a/Sources/Models/headers/Editor/CollisionBox.h +++ b/Sources/Models/headers/Editor/CollisionBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLLISIONBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Copier.h b/Sources/Models/headers/Editor/Copier.h index a2f4145..0cf457b 100644 --- a/Sources/Models/headers/Editor/Copier.h +++ b/Sources/Models/headers/Editor/Copier.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COPIER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Damager.h b/Sources/Models/headers/Editor/Damager.h index 7f273ee..a533cc0 100644 --- a/Sources/Models/headers/Editor/Damager.h +++ b/Sources/Models/headers/Editor/Damager.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUILOTINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/DoorController.h b/Sources/Models/headers/Editor/DoorController.h index 20c9a50..8480222 100644 --- a/Sources/Models/headers/Editor/DoorController.h +++ b/Sources/Models/headers/Editor/DoorController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOORCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/EmptyBrush.h b/Sources/Models/headers/Editor/EmptyBrush.h index a055ed9..e486281 100644 --- a/Sources/Models/headers/Editor/EmptyBrush.h +++ b/Sources/Models/headers/Editor/EmptyBrush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EMPTYBRUSH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/EnemyMarker.h b/Sources/Models/headers/Editor/EnemyMarker.h index b7f3671..400ae03 100644 --- a/Sources/Models/headers/Editor/EnemyMarker.h +++ b/Sources/Models/headers/Editor/EnemyMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENEMYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/EnemySpawner.h b/Sources/Models/headers/Editor/EnemySpawner.h index 0c6ed57..6d830d2 100644 --- a/Sources/Models/headers/Editor/EnemySpawner.h +++ b/Sources/Models/headers/Editor/EnemySpawner.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENEMYSPAWNER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/EntityMarker.h b/Sources/Models/headers/Editor/EntityMarker.h index e9df180..08aa114 100644 --- a/Sources/Models/headers/Editor/EntityMarker.h +++ b/Sources/Models/headers/Editor/EntityMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENTITYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/EnvironmentMarker.h b/Sources/Models/headers/Editor/EnvironmentMarker.h index f350f7b..204d59b 100644 --- a/Sources/Models/headers/Editor/EnvironmentMarker.h +++ b/Sources/Models/headers/Editor/EnvironmentMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENVIRONMENTMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Floor.h b/Sources/Models/headers/Editor/Floor.h index 962409d..8cc8c30 100644 --- a/Sources/Models/headers/Editor/Floor.h +++ b/Sources/Models/headers/Editor/Floor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Fog.h b/Sources/Models/headers/Editor/Fog.h index dc4aaf7..1d8ddaf 100644 --- a/Sources/Models/headers/Editor/Fog.h +++ b/Sources/Models/headers/Editor/Fog.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/GradientMarker.h b/Sources/Models/headers/Editor/GradientMarker.h index 23be78f..4ef1694 100644 --- a/Sources/Models/headers/Editor/GradientMarker.h +++ b/Sources/Models/headers/Editor/GradientMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRADIENTMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/GravityMarker.h b/Sources/Models/headers/Editor/GravityMarker.h index 67605ca..e5f0af2 100644 --- a/Sources/Models/headers/Editor/GravityMarker.h +++ b/Sources/Models/headers/Editor/GravityMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAVITYMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/GravityRouter.h b/Sources/Models/headers/Editor/GravityRouter.h index 4a1a4a2..844c4a2 100644 --- a/Sources/Models/headers/Editor/GravityRouter.h +++ b/Sources/Models/headers/Editor/GravityRouter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAVITYROUTER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Guilotine.h b/Sources/Models/headers/Editor/Guilotine.h index 7f273ee..a533cc0 100644 --- a/Sources/Models/headers/Editor/Guilotine.h +++ b/Sources/Models/headers/Editor/Guilotine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUILOTINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Haze.h b/Sources/Models/headers/Editor/Haze.h index 16b0894..eb2f3a3 100644 --- a/Sources/Models/headers/Editor/Haze.h +++ b/Sources/Models/headers/Editor/Haze.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAZE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Lamp.h b/Sources/Models/headers/Editor/Lamp.h index 74804bd..a88a9ad 100644 --- a/Sources/Models/headers/Editor/Lamp.h +++ b/Sources/Models/headers/Editor/Lamp.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAMP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/LightSource.h b/Sources/Models/headers/Editor/LightSource.h index 1dd61bf..3954704 100644 --- a/Sources/Models/headers/Editor/LightSource.h +++ b/Sources/Models/headers/Editor/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/LightStyle.h b/Sources/Models/headers/Editor/LightStyle.h index 5eaaf0f..76d5cb2 100644 --- a/Sources/Models/headers/Editor/LightStyle.h +++ b/Sources/Models/headers/Editor/LightStyle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSTYLE_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Lightning.h b/Sources/Models/headers/Editor/Lightning.h index f6a5844..5a1043e 100644 --- a/Sources/Models/headers/Editor/Lightning.h +++ b/Sources/Models/headers/Editor/Lightning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/MessageHolder.h b/Sources/Models/headers/Editor/MessageHolder.h index 7ac103e..162edf0 100644 --- a/Sources/Models/headers/Editor/MessageHolder.h +++ b/Sources/Models/headers/Editor/MessageHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MESSAGEHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/ModelDestruction.h b/Sources/Models/headers/Editor/ModelDestruction.h index 98bc093..7a8b6d8 100644 --- a/Sources/Models/headers/Editor/ModelDestruction.h +++ b/Sources/Models/headers/Editor/ModelDestruction.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MODELDESTRUCTION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/MovingBrushMarker.h b/Sources/Models/headers/Editor/MovingBrushMarker.h index f208cb1..958f124 100644 --- a/Sources/Models/headers/Editor/MovingBrushMarker.h +++ b/Sources/Models/headers/Editor/MovingBrushMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGBRUSHMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/MusicChanger.h b/Sources/Models/headers/Editor/MusicChanger.h index bb96a32..fd8bfbb 100644 --- a/Sources/Models/headers/Editor/MusicChanger.h +++ b/Sources/Models/headers/Editor/MusicChanger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MUSICCHANGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/MusicHolder.h b/Sources/Models/headers/Editor/MusicHolder.h index 12ca522..1b4c422 100644 --- a/Sources/Models/headers/Editor/MusicHolder.h +++ b/Sources/Models/headers/Editor/MusicHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MUSICHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/NavigationMarker.h b/Sources/Models/headers/Editor/NavigationMarker.h index 1e64a8a..10273c9 100644 --- a/Sources/Models/headers/Editor/NavigationMarker.h +++ b/Sources/Models/headers/Editor/NavigationMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAVIGATIONMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/PlayerActionMarker.h b/Sources/Models/headers/Editor/PlayerActionMarker.h index ed67698..9b0db13 100644 --- a/Sources/Models/headers/Editor/PlayerActionMarker.h +++ b/Sources/Models/headers/Editor/PlayerActionMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERACTIONMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/PlayerStart.h b/Sources/Models/headers/Editor/PlayerStart.h index dc5375d..c309dc6 100644 --- a/Sources/Models/headers/Editor/PlayerStart.h +++ b/Sources/Models/headers/Editor/PlayerStart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYERSTART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/PointLight.h b/Sources/Models/headers/Editor/PointLight.h index de55085..32f90d0 100644 --- a/Sources/Models/headers/Editor/PointLight.h +++ b/Sources/Models/headers/Editor/PointLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define POINTLIGHT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/PortalMarker.h b/Sources/Models/headers/Editor/PortalMarker.h index 118797d..e0c485d 100644 --- a/Sources/Models/headers/Editor/PortalMarker.h +++ b/Sources/Models/headers/Editor/PortalMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTALMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/RangeSphere.h b/Sources/Models/headers/Editor/RangeSphere.h index cc2498d..388708f 100644 --- a/Sources/Models/headers/Editor/RangeSphere.h +++ b/Sources/Models/headers/Editor/RangeSphere.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RANGESPHERE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/ShipMarker.h b/Sources/Models/headers/Editor/ShipMarker.h index e29e8e5..0ab70aa 100644 --- a/Sources/Models/headers/Editor/ShipMarker.h +++ b/Sources/Models/headers/Editor/ShipMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIPMARKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/SoundHolder.h b/Sources/Models/headers/Editor/SoundHolder.h index b886367..e0a31e2 100644 --- a/Sources/Models/headers/Editor/SoundHolder.h +++ b/Sources/Models/headers/Editor/SoundHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SOUNDHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/SoundHolder02.h b/Sources/Models/headers/Editor/SoundHolder02.h index 8b035a2..99c1f1c 100644 --- a/Sources/Models/headers/Editor/SoundHolder02.h +++ b/Sources/Models/headers/Editor/SoundHolder02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SOUNDHOLDER02_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/SpotLight.h b/Sources/Models/headers/Editor/SpotLight.h index db11328..c527299 100644 --- a/Sources/Models/headers/Editor/SpotLight.h +++ b/Sources/Models/headers/Editor/SpotLight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPOTLIGHT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/StormController.h b/Sources/Models/headers/Editor/StormController.h index b202c82..05e0b26 100644 --- a/Sources/Models/headers/Editor/StormController.h +++ b/Sources/Models/headers/Editor/StormController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STORMCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Teapot.h b/Sources/Models/headers/Editor/Teapot.h index 2dbb209..ee58538 100644 --- a/Sources/Models/headers/Editor/Teapot.h +++ b/Sources/Models/headers/Editor/Teapot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Teleport.h b/Sources/Models/headers/Editor/Teleport.h index c7d6747..89cb628 100644 --- a/Sources/Models/headers/Editor/Teleport.h +++ b/Sources/Models/headers/Editor/Teleport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TELEPORT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/ThunderController.h b/Sources/Models/headers/Editor/ThunderController.h index 40d436a..2a27035 100644 --- a/Sources/Models/headers/Editor/ThunderController.h +++ b/Sources/Models/headers/Editor/ThunderController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define THUNDERCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Trigger.h b/Sources/Models/headers/Editor/Trigger.h index 5a10f14..54f1ab2 100644 --- a/Sources/Models/headers/Editor/Trigger.h +++ b/Sources/Models/headers/Editor/Trigger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TRIGGER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/Vector.h b/Sources/Models/headers/Editor/Vector.h index c063573..5702aae 100644 --- a/Sources/Models/headers/Editor/Vector.h +++ b/Sources/Models/headers/Editor/Vector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VECTOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/WarpEntrance.h b/Sources/Models/headers/Editor/WarpEntrance.h index 923754c..89a8733 100644 --- a/Sources/Models/headers/Editor/WarpEntrance.h +++ b/Sources/Models/headers/Editor/WarpEntrance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WARPENTRANCE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/WarpExit.h b/Sources/Models/headers/Editor/WarpExit.h index a266953..3a2450a 100644 --- a/Sources/Models/headers/Editor/WarpExit.h +++ b/Sources/Models/headers/Editor/WarpExit.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WARPEXIT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/WatchPlayers.h b/Sources/Models/headers/Editor/WatchPlayers.h index 0110229..5e40fa5 100644 --- a/Sources/Models/headers/Editor/WatchPlayers.h +++ b/Sources/Models/headers/Editor/WatchPlayers.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATCHPLAYERS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/WorldLink.h b/Sources/Models/headers/Editor/WorldLink.h index 6afa048..65231c9 100644 --- a/Sources/Models/headers/Editor/WorldLink.h +++ b/Sources/Models/headers/Editor/WorldLink.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WORLDLINK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Editor/WorldSettingsController.h b/Sources/Models/headers/Editor/WorldSettingsController.h index af51bd4..c913b22 100644 --- a/Sources/Models/headers/Editor/WorldSettingsController.h +++ b/Sources/Models/headers/Editor/WorldSettingsController.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WORLDSETTINGSCONTROLLER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Blood01/objects/Blood01.h b/Sources/Models/headers/Effects/Blood01/objects/Blood01.h index 0e46297..1cbe917 100644 --- a/Sources/Models/headers/Effects/Blood01/objects/Blood01.h +++ b/Sources/Models/headers/Effects/Blood01/objects/Blood01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOOD01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BloodCloud/BloodCloud.h b/Sources/Models/headers/Effects/BloodCloud/BloodCloud.h index 6ff8053..91f0bc5 100644 --- a/Sources/Models/headers/Effects/BloodCloud/BloodCloud.h +++ b/Sources/Models/headers/Effects/BloodCloud/BloodCloud.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOODCLOUD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BloodExplosion01/BloodExplosion.h b/Sources/Models/headers/Effects/BloodExplosion01/BloodExplosion.h index 53cf9a2..560250c 100644 --- a/Sources/Models/headers/Effects/BloodExplosion01/BloodExplosion.h +++ b/Sources/Models/headers/Effects/BloodExplosion01/BloodExplosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOODEXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BloodOnTheWall01/Blood.h b/Sources/Models/headers/Effects/BloodOnTheWall01/Blood.h index f8267eb..38db2ce 100644 --- a/Sources/Models/headers/Effects/BloodOnTheWall01/Blood.h +++ b/Sources/Models/headers/Effects/BloodOnTheWall01/Blood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLOOD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BulletOnTheWall/Bullet.h b/Sources/Models/headers/Effects/BulletOnTheWall/Bullet.h index 26ba652..ab10f37 100644 --- a/Sources/Models/headers/Effects/BulletOnTheWall/Bullet.h +++ b/Sources/Models/headers/Effects/BulletOnTheWall/Bullet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BulletParticles/BulletParticles.h b/Sources/Models/headers/Effects/BulletParticles/BulletParticles.h index 5f9fd03..92a60d5 100644 --- a/Sources/Models/headers/Effects/BulletParticles/BulletParticles.h +++ b/Sources/Models/headers/Effects/BulletParticles/BulletParticles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETPARTICLES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BulletTrail/BulletTrail.h b/Sources/Models/headers/Effects/BulletTrail/BulletTrail.h index 3d36d8c..e2f1379 100644 --- a/Sources/Models/headers/Effects/BulletTrail/BulletTrail.h +++ b/Sources/Models/headers/Effects/BulletTrail/BulletTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETTRAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h b/Sources/Models/headers/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h index ce24957..bb7fb41 100644 --- a/Sources/Models/headers/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h +++ b/Sources/Models/headers/Effects/BurnedStainOnTheWall/BurnedStainOnTheWall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BURNEDSTAINONTHEWALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Body01/Body.h b/Sources/Models/headers/Effects/Debris/Body01/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Effects/Debris/Body01/Body.h +++ b/Sources/Models/headers/Effects/Debris/Body01/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Body02/Body.h b/Sources/Models/headers/Effects/Debris/Body02/Body.h index 5d96105..2483a1b 100644 --- a/Sources/Models/headers/Effects/Debris/Body02/Body.h +++ b/Sources/Models/headers/Effects/Debris/Body02/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Body03/Body.h b/Sources/Models/headers/Effects/Debris/Body03/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Effects/Debris/Body03/Body.h +++ b/Sources/Models/headers/Effects/Debris/Body03/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Body04/Body.h b/Sources/Models/headers/Effects/Debris/Body04/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Effects/Debris/Body04/Body.h +++ b/Sources/Models/headers/Effects/Debris/Body04/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Body05/Body.h b/Sources/Models/headers/Effects/Debris/Body05/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Effects/Debris/Body05/Body.h +++ b/Sources/Models/headers/Effects/Debris/Body05/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Brain01/Brain.h b/Sources/Models/headers/Effects/Debris/Brain01/Brain.h index b011c36..2b1e9f0 100644 --- a/Sources/Models/headers/Effects/Debris/Brain01/Brain.h +++ b/Sources/Models/headers/Effects/Debris/Brain01/Brain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Flesh/Flesh.h b/Sources/Models/headers/Effects/Debris/Flesh/Flesh.h index 3b2c727..1e90fb3 100644 --- a/Sources/Models/headers/Effects/Debris/Flesh/Flesh.h +++ b/Sources/Models/headers/Effects/Debris/Flesh/Flesh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLESH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Lava01/Lava.h b/Sources/Models/headers/Effects/Debris/Lava01/Lava.h index e2b9c23..b2bab13 100644 --- a/Sources/Models/headers/Effects/Debris/Lava01/Lava.h +++ b/Sources/Models/headers/Effects/Debris/Lava01/Lava.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVA_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Lava01/LavaFlare.h b/Sources/Models/headers/Effects/Debris/Lava01/LavaFlare.h index 595b632..24c8696 100644 --- a/Sources/Models/headers/Effects/Debris/Lava01/LavaFlare.h +++ b/Sources/Models/headers/Effects/Debris/Lava01/LavaFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Skull01/Skull.h b/Sources/Models/headers/Effects/Debris/Skull01/Skull.h index 2ecd43a..e247b1c 100644 --- a/Sources/Models/headers/Effects/Debris/Skull01/Skull.h +++ b/Sources/Models/headers/Effects/Debris/Skull01/Skull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Skull01_org/Skull.h b/Sources/Models/headers/Effects/Debris/Skull01_org/Skull.h index d8ae379..bf94470 100644 --- a/Sources/Models/headers/Effects/Debris/Skull01_org/Skull.h +++ b/Sources/Models/headers/Effects/Debris/Skull01_org/Skull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Debris/Stone/Stone.h b/Sources/Models/headers/Effects/Debris/Stone/Stone.h index dd231db..739ff69 100644 --- a/Sources/Models/headers/Effects/Debris/Stone/Stone.h +++ b/Sources/Models/headers/Effects/Debris/Stone/Stone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONE_ANIM_POSE00 0 diff --git a/Sources/Models/headers/Effects/Debris/Wood01/Wood.h b/Sources/Models/headers/Effects/Debris/Wood01/Wood.h index 3a9597c..0fa07b9 100644 --- a/Sources/Models/headers/Effects/Debris/Wood01/Wood.h +++ b/Sources/Models/headers/Effects/Debris/Wood01/Wood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOOD_ANIM_POSE00 0 diff --git a/Sources/Models/headers/Effects/Explosion01/Explosion01.h b/Sources/Models/headers/Effects/Explosion01/Explosion01.h index 0fa96d3..51b2dd7 100644 --- a/Sources/Models/headers/Effects/Explosion01/Explosion01.h +++ b/Sources/Models/headers/Effects/Explosion01/Explosion01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion02/Explosion.h b/Sources/Models/headers/Effects/Explosion02/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion02/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion02/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion03/Explosion.h b/Sources/Models/headers/Effects/Explosion03/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion03/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion03/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion04/Explosion.h b/Sources/Models/headers/Effects/Explosion04/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion04/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion04/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion05/Explosion.h b/Sources/Models/headers/Effects/Explosion05/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/headers/Effects/Explosion05/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion05/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion06/Explosion.h b/Sources/Models/headers/Effects/Explosion06/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/headers/Effects/Explosion06/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion06/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion07/Explosion.h b/Sources/Models/headers/Effects/Explosion07/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/headers/Effects/Explosion07/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion07/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion08/Explosion.h b/Sources/Models/headers/Effects/Explosion08/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion08/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion08/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion09/Explosion.h b/Sources/Models/headers/Effects/Explosion09/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/headers/Effects/Explosion09/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion09/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion10/Explosion.h b/Sources/Models/headers/Effects/Explosion10/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion10/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion10/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion11/Explosion.h b/Sources/Models/headers/Effects/Explosion11/Explosion.h index 7339009..94c8cad 100644 --- a/Sources/Models/headers/Effects/Explosion11/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion11/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion12/Explosion.h b/Sources/Models/headers/Effects/Explosion12/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion12/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion12/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion13/Explosion.h b/Sources/Models/headers/Effects/Explosion13/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion13/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion13/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion14/Explosion.h b/Sources/Models/headers/Effects/Explosion14/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion14/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion14/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion15/Explosion.h b/Sources/Models/headers/Effects/Explosion15/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion15/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion15/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion16/Explosion.h b/Sources/Models/headers/Effects/Explosion16/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion16/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion16/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion17/Explosion.h b/Sources/Models/headers/Effects/Explosion17/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion17/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion17/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Explosion18/Explosion.h b/Sources/Models/headers/Effects/Explosion18/Explosion.h index 7140ba5..7ca9e2c 100644 --- a/Sources/Models/headers/Effects/Explosion18/Explosion.h +++ b/Sources/Models/headers/Effects/Explosion18/Explosion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSION_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade.h b/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade.h index ceec76d..d238049 100644 --- a/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade.h +++ b/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONGRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade3D.h b/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade3D.h index ba5b160..1bd012b 100644 --- a/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade3D.h +++ b/Sources/Models/headers/Effects/ExplosionGrenade/ExplosionGrenade3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONGRENADE3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionParticles/Particles.h b/Sources/Models/headers/Effects/ExplosionParticles/Particles.h index 7b473ff..8f2019e 100644 --- a/Sources/Models/headers/Effects/ExplosionParticles/Particles.h +++ b/Sources/Models/headers/Effects/ExplosionParticles/Particles.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PARTICLES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionParticles/Particles3D.h b/Sources/Models/headers/Effects/ExplosionParticles/Particles3D.h index 0ba2537..2f21932 100644 --- a/Sources/Models/headers/Effects/ExplosionParticles/Particles3D.h +++ b/Sources/Models/headers/Effects/ExplosionParticles/Particles3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PARTICLES3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket.h b/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket.h index f347c36..84b8c16 100644 --- a/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket.h +++ b/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONROCKET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket3D.h b/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket3D.h index 8181ba9..0c0d446 100644 --- a/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket3D.h +++ b/Sources/Models/headers/Effects/ExplosionRocket/ExplosionRocket3D.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXPLOSIONROCKET3D_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Fire01/Fire.h b/Sources/Models/headers/Effects/Fire01/Fire.h index bbf65c0..4046641 100644 --- a/Sources/Models/headers/Effects/Fire01/Fire.h +++ b/Sources/Models/headers/Effects/Fire01/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Fire02/Fire.h b/Sources/Models/headers/Effects/Fire02/Fire.h index bbf65c0..4046641 100644 --- a/Sources/Models/headers/Effects/Fire02/Fire.h +++ b/Sources/Models/headers/Effects/Fire02/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Fire03/Fire.h b/Sources/Models/headers/Effects/Fire03/Fire.h index f6d1668..00cf7e5 100644 --- a/Sources/Models/headers/Effects/Fire03/Fire.h +++ b/Sources/Models/headers/Effects/Fire03/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Flare01/Flare.h b/Sources/Models/headers/Effects/Flare01/Flare.h index 34ebd06..22dced0 100644 --- a/Sources/Models/headers/Effects/Flare01/Flare.h +++ b/Sources/Models/headers/Effects/Flare01/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Flare02/Flaire.h b/Sources/Models/headers/Effects/Flare02/Flaire.h index 25be4c5..d141612 100644 --- a/Sources/Models/headers/Effects/Flare02/Flaire.h +++ b/Sources/Models/headers/Effects/Flare02/Flaire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Flares1m/Flaire.h b/Sources/Models/headers/Effects/Flares1m/Flaire.h index 25be4c5..d141612 100644 --- a/Sources/Models/headers/Effects/Flares1m/Flaire.h +++ b/Sources/Models/headers/Effects/Flares1m/Flaire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Holder2x4/Holder.h b/Sources/Models/headers/Effects/Holder2x4/Holder.h index 852af22..600c211 100644 --- a/Sources/Models/headers/Effects/Holder2x4/Holder.h +++ b/Sources/Models/headers/Effects/Holder2x4/Holder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Holder2x4/HolderAngle.h b/Sources/Models/headers/Effects/Holder2x4/HolderAngle.h index b3cb0ff..8fc358f 100644 --- a/Sources/Models/headers/Effects/Holder2x4/HolderAngle.h +++ b/Sources/Models/headers/Effects/Holder2x4/HolderAngle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDERANGLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Holder2x4/HolderOneSide.h b/Sources/Models/headers/Effects/Holder2x4/HolderOneSide.h index 33b28f0..3ddd205 100644 --- a/Sources/Models/headers/Effects/Holder2x4/HolderOneSide.h +++ b/Sources/Models/headers/Effects/Holder2x4/HolderOneSide.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HOLDERONESIDE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/LavaRock01/LavaRock.h b/Sources/Models/headers/Effects/LavaRock01/LavaRock.h index bf07332..dcfd762 100644 --- a/Sources/Models/headers/Effects/LavaRock01/LavaRock.h +++ b/Sources/Models/headers/Effects/LavaRock01/LavaRock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/LavaRock01/LavaRock02.h b/Sources/Models/headers/Effects/LavaRock01/LavaRock02.h index 2f42d52..d7eaba6 100644 --- a/Sources/Models/headers/Effects/LavaRock01/LavaRock02.h +++ b/Sources/Models/headers/Effects/LavaRock01/LavaRock02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK02_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/LavaRock01/LavaRock03.h b/Sources/Models/headers/Effects/LavaRock01/LavaRock03.h index 6b554b1..0474296 100644 --- a/Sources/Models/headers/Effects/LavaRock01/LavaRock03.h +++ b/Sources/Models/headers/Effects/LavaRock01/LavaRock03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAROCK03_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/LightBeam01/LightBeam.h b/Sources/Models/headers/Effects/LightBeam01/LightBeam.h index 4fcd8b0..e7f8a7f 100644 --- a/Sources/Models/headers/Effects/LightBeam01/LightBeam.h +++ b/Sources/Models/headers/Effects/LightBeam01/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Rail/rail.h b/Sources/Models/headers/Effects/Rail/rail.h index f89ef93..ff57984 100644 --- a/Sources/Models/headers/Effects/Rail/rail.h +++ b/Sources/Models/headers/Effects/Rail/rail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Rail/railend.h b/Sources/Models/headers/Effects/Rail/railend.h index 39482f7..4d75688 100644 --- a/Sources/Models/headers/Effects/Rail/railend.h +++ b/Sources/Models/headers/Effects/Rail/railend.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAILEND_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Rail/railstart.h b/Sources/Models/headers/Effects/Rail/railstart.h index 2f80e4d..b86c4fb 100644 --- a/Sources/Models/headers/Effects/Rail/railstart.h +++ b/Sources/Models/headers/Effects/Rail/railstart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAILSTART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/RotatingFlare01/RotatingFlare.h b/Sources/Models/headers/Effects/RotatingFlare01/RotatingFlare.h index 3e99cd5..2e5259a 100644 --- a/Sources/Models/headers/Effects/RotatingFlare01/RotatingFlare.h +++ b/Sources/Models/headers/Effects/RotatingFlare01/RotatingFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ShockWave/Ring.h b/Sources/Models/headers/Effects/ShockWave/Ring.h index 0bf666a..879ac9f 100644 --- a/Sources/Models/headers/Effects/ShockWave/Ring.h +++ b/Sources/Models/headers/Effects/ShockWave/Ring.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ShockWave/Ring2.h b/Sources/Models/headers/Effects/ShockWave/Ring2.h index 5538396..cd9c782 100644 --- a/Sources/Models/headers/Effects/ShockWave/Ring2.h +++ b/Sources/Models/headers/Effects/ShockWave/Ring2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RING2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/ShockWave01/ShockWave.h b/Sources/Models/headers/Effects/ShockWave01/ShockWave.h index 72d65e0..e60e3b3 100644 --- a/Sources/Models/headers/Effects/ShockWave01/ShockWave.h +++ b/Sources/Models/headers/Effects/ShockWave01/ShockWave.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVE_ANIM_FAST 0 diff --git a/Sources/Models/headers/Effects/ShockWaveGreen/ShockWaveGreen.h b/Sources/Models/headers/Effects/ShockWaveGreen/ShockWaveGreen.h index 7a8f2af..7c7eb0c 100644 --- a/Sources/Models/headers/Effects/ShockWaveGreen/ShockWaveGreen.h +++ b/Sources/Models/headers/Effects/ShockWaveGreen/ShockWaveGreen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVEGREEN_ANIM_GROW 0 diff --git a/Sources/Models/headers/Effects/Smoke01/Smoke.h b/Sources/Models/headers/Effects/Smoke01/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/headers/Effects/Smoke01/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke01/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Smoke02/Smoke.h b/Sources/Models/headers/Effects/Smoke02/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/headers/Effects/Smoke02/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke02/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Smoke03/Smoke.h b/Sources/Models/headers/Effects/Smoke03/Smoke.h index 698775d..b7ad9ba 100644 --- a/Sources/Models/headers/Effects/Smoke03/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke03/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_RISINGSMOKE 0 diff --git a/Sources/Models/headers/Effects/Smoke04/Smoke.h b/Sources/Models/headers/Effects/Smoke04/Smoke.h index 698775d..b7ad9ba 100644 --- a/Sources/Models/headers/Effects/Smoke04/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke04/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_RISINGSMOKE 0 diff --git a/Sources/Models/headers/Effects/Smoke05/Smoke.h b/Sources/Models/headers/Effects/Smoke05/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/headers/Effects/Smoke05/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke05/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Smoke06/Smoke.h b/Sources/Models/headers/Effects/Smoke06/Smoke.h index ebff8e2..6db769d 100644 --- a/Sources/Models/headers/Effects/Smoke06/Smoke.h +++ b/Sources/Models/headers/Effects/Smoke06/Smoke.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/SmokeLine/SmokeLine.h b/Sources/Models/headers/Effects/SmokeLine/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/headers/Effects/SmokeLine/SmokeLine.h +++ b/Sources/Models/headers/Effects/SmokeLine/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/SmokeLine01/SmokeLine.h b/Sources/Models/headers/Effects/SmokeLine01/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/headers/Effects/SmokeLine01/SmokeLine.h +++ b/Sources/Models/headers/Effects/SmokeLine01/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/SmokeLine02/SmokeLine.h b/Sources/Models/headers/Effects/SmokeLine02/SmokeLine.h index 7a7e898..bf0b805 100644 --- a/Sources/Models/headers/Effects/SmokeLine02/SmokeLine.h +++ b/Sources/Models/headers/Effects/SmokeLine02/SmokeLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMOKELINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/StainOnTheWall/Stain.h b/Sources/Models/headers/Effects/StainOnTheWall/Stain.h index 980f73c..b048234 100644 --- a/Sources/Models/headers/Effects/StainOnTheWall/Stain.h +++ b/Sources/Models/headers/Effects/StainOnTheWall/Stain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Teleport01/Teleport.h b/Sources/Models/headers/Effects/Teleport01/Teleport.h index abed338..2adda5f 100644 --- a/Sources/Models/headers/Effects/Teleport01/Teleport.h +++ b/Sources/Models/headers/Effects/Teleport01/Teleport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TELEPORT_ANIM_ACTIVATE 0 diff --git a/Sources/Models/headers/Effects/Water01/Water.h b/Sources/Models/headers/Effects/Water01/Water.h index ed84fb2..5e1e3ef 100644 --- a/Sources/Models/headers/Effects/Water01/Water.h +++ b/Sources/Models/headers/Effects/Water01/Water.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATER_ANIM_WAVES 0 diff --git a/Sources/Models/headers/Effects/WaterFall01/WaterFall.h b/Sources/Models/headers/Effects/WaterFall01/WaterFall.h index 636be0c..fcba2a6 100644 --- a/Sources/Models/headers/Effects/WaterFall01/WaterFall.h +++ b/Sources/Models/headers/Effects/WaterFall01/WaterFall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERFALL_ANIM_MAPPINGPOSE 0 diff --git a/Sources/Models/headers/Effects/WaterFoam01/Puff.h b/Sources/Models/headers/Effects/WaterFoam01/Puff.h index 147d0d2..fb4a29c 100644 --- a/Sources/Models/headers/Effects/WaterFoam01/Puff.h +++ b/Sources/Models/headers/Effects/WaterFoam01/Puff.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PUFF_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/WaterFoam02/Foam.h b/Sources/Models/headers/Effects/WaterFoam02/Foam.h index 3f9eea9..c5b1bfe 100644 --- a/Sources/Models/headers/Effects/WaterFoam02/Foam.h +++ b/Sources/Models/headers/Effects/WaterFoam02/Foam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/WaterFoam03/Foam.h b/Sources/Models/headers/Effects/WaterFoam03/Foam.h index 3f9eea9..c5b1bfe 100644 --- a/Sources/Models/headers/Effects/WaterFoam03/Foam.h +++ b/Sources/Models/headers/Effects/WaterFoam03/Foam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Weapons/Flare01/Flare.h b/Sources/Models/headers/Effects/Weapons/Flare01/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/headers/Effects/Weapons/Flare01/Flare.h +++ b/Sources/Models/headers/Effects/Weapons/Flare01/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Effects/Weapons/Flare02/Flare.h b/Sources/Models/headers/Effects/Weapons/Flare02/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/headers/Effects/Weapons/Flare02/Flare.h +++ b/Sources/Models/headers/Effects/Weapons/Flare02/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Beast/Beast.h b/Sources/Models/headers/Enemies/Beast/Beast.h index a5707b2..9a79e00 100644 --- a/Sources/Models/headers/Enemies/Beast/Beast.h +++ b/Sources/Models/headers/Enemies/Beast/Beast.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAST_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Beast/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Beast/Projectile/Projectile.h index 245c5c7..69ff042 100644 --- a/Sources/Models/headers/Enemies/Beast/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Beast/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Beast/ProjectileOld/Projectile.h b/Sources/Models/headers/Enemies/Beast/ProjectileOld/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Beast/ProjectileOld/Projectile.h +++ b/Sources/Models/headers/Enemies/Beast/ProjectileOld/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Beast/ProjectileOld2/Projectile.h b/Sources/Models/headers/Enemies/Beast/ProjectileOld2/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Beast/ProjectileOld2/Projectile.h +++ b/Sources/Models/headers/Enemies/Beast/ProjectileOld2/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Beast/ProjectileOrg/Projectile.h b/Sources/Models/headers/Enemies/Beast/ProjectileOrg/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Beast/ProjectileOrg/Projectile.h +++ b/Sources/Models/headers/Enemies/Beast/ProjectileOrg/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Boneman/Boneman.h b/Sources/Models/headers/Enemies/Boneman/Boneman.h index 9696381..00fc954 100644 --- a/Sources/Models/headers/Enemies/Boneman/Boneman.h +++ b/Sources/Models/headers/Enemies/Boneman/Boneman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BONEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Boneman/Debris/Body.h b/Sources/Models/headers/Enemies/Boneman/Debris/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Enemies/Boneman/Debris/Body.h +++ b/Sources/Models/headers/Enemies/Boneman/Debris/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Boneman/Debris/Hand.h b/Sources/Models/headers/Enemies/Boneman/Debris/Hand.h index b7f1047..8c08bfc 100644 --- a/Sources/Models/headers/Enemies/Boneman/Debris/Hand.h +++ b/Sources/Models/headers/Enemies/Boneman/Debris/Hand.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAND_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Boneman/Debris/Legs.h b/Sources/Models/headers/Enemies/Boneman/Debris/Legs.h index 993ae38..35c4518 100644 --- a/Sources/Models/headers/Enemies/Boneman/Debris/Legs.h +++ b/Sources/Models/headers/Enemies/Boneman/Debris/Legs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEGS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Boneman/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Boneman/Projectile/Projectile.h index 3054920..5057124 100644 --- a/Sources/Models/headers/Enemies/Boneman/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Boneman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_ROTATING 0 diff --git a/Sources/Models/headers/Enemies/Catman/CatMan.h b/Sources/Models/headers/Enemies/Catman/CatMan.h index f3c6a0a..0d01794 100644 --- a/Sources/Models/headers/Enemies/Catman/CatMan.h +++ b/Sources/Models/headers/Enemies/Catman/CatMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Catman/Fire/CatmanFire.h b/Sources/Models/headers/Enemies/Catman/Fire/CatmanFire.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/headers/Enemies/Catman/Fire/CatmanFire.h +++ b/Sources/Models/headers/Enemies/Catman/Fire/CatmanFire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Catman/FireOld/CatmanFire.h b/Sources/Models/headers/Enemies/Catman/FireOld/CatmanFire.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/headers/Enemies/Catman/FireOld/CatmanFire.h +++ b/Sources/Models/headers/Enemies/Catman/FireOld/CatmanFire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Catman/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Catman/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Catman/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Catman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ChainSawFreak/Freak.h b/Sources/Models/headers/Enemies/ChainSawFreak/Freak.h index 94e6fc7..ee9bf77 100644 --- a/Sources/Models/headers/Enemies/ChainSawFreak/Freak.h +++ b/Sources/Models/headers/Enemies/ChainSawFreak/Freak.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FREAK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ChainSawFreak/Saw.h b/Sources/Models/headers/Enemies/ChainSawFreak/Saw.h index 9ae4603..d1468d2 100644 --- a/Sources/Models/headers/Enemies/ChainSawFreak/Saw.h +++ b/Sources/Models/headers/Enemies/ChainSawFreak/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/AssHole.h b/Sources/Models/headers/Enemies/Cyborg/AssHole.h index 7c5a278..751f473 100644 --- a/Sources/Models/headers/Enemies/Cyborg/AssHole.h +++ b/Sources/Models/headers/Enemies/Cyborg/AssHole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ASSHOLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Bike.h b/Sources/Models/headers/Enemies/Cyborg/Bike.h index bee125e..cd8f2be 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Bike.h +++ b/Sources/Models/headers/Enemies/Cyborg/Bike.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIKE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Cyborg.h b/Sources/Models/headers/Enemies/Cyborg/Cyborg.h index eb044ae..71ca77b 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Cyborg.h +++ b/Sources/Models/headers/Enemies/Cyborg/Cyborg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CYBORG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/CyborgONEPART.h b/Sources/Models/headers/Enemies/Cyborg/CyborgONEPART.h index cf5e128..19df96b 100644 --- a/Sources/Models/headers/Enemies/Cyborg/CyborgONEPART.h +++ b/Sources/Models/headers/Enemies/Cyborg/CyborgONEPART.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CYBORG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Foot.h b/Sources/Models/headers/Enemies/Cyborg/Foot.h index 2ad8801..7bdf008 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Foot.h +++ b/Sources/Models/headers/Enemies/Cyborg/Foot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Head.h b/Sources/Models/headers/Enemies/Cyborg/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Head.h +++ b/Sources/Models/headers/Enemies/Cyborg/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/LeftLowerArm.h b/Sources/Models/headers/Enemies/Cyborg/LeftLowerArm.h index bf36a45..4a9dcd8 100644 --- a/Sources/Models/headers/Enemies/Cyborg/LeftLowerArm.h +++ b/Sources/Models/headers/Enemies/Cyborg/LeftLowerArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTLOWERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/LeftLowerLeg.h b/Sources/Models/headers/Enemies/Cyborg/LeftLowerLeg.h index c75c128..2e03cac 100644 --- a/Sources/Models/headers/Enemies/Cyborg/LeftLowerLeg.h +++ b/Sources/Models/headers/Enemies/Cyborg/LeftLowerLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTLOWERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/LeftUpperArm.h b/Sources/Models/headers/Enemies/Cyborg/LeftUpperArm.h index ac34cc5..71a8362 100644 --- a/Sources/Models/headers/Enemies/Cyborg/LeftUpperArm.h +++ b/Sources/Models/headers/Enemies/Cyborg/LeftUpperArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTUPPERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/LeftUpperLeg.h b/Sources/Models/headers/Enemies/Cyborg/LeftUpperLeg.h index 58aa8c4..a75af90 100644 --- a/Sources/Models/headers/Enemies/Cyborg/LeftUpperLeg.h +++ b/Sources/Models/headers/Enemies/Cyborg/LeftUpperLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEFTUPPERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectile.h b/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectile.h index 76cbea4..7182bd9 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectile.h +++ b/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h b/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h index 9012be4..0058eaf 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h +++ b/Sources/Models/headers/Enemies/Cyborg/Projectile/LaserProjectileGlow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILEGLOW01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Cyborg/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Cyborg/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/RightLowerArm.h b/Sources/Models/headers/Enemies/Cyborg/RightLowerArm.h index e16cd68..c1d64ee 100644 --- a/Sources/Models/headers/Enemies/Cyborg/RightLowerArm.h +++ b/Sources/Models/headers/Enemies/Cyborg/RightLowerArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTLOWERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/RightLowerLeg.h b/Sources/Models/headers/Enemies/Cyborg/RightLowerLeg.h index 59a9fc8..5d89342 100644 --- a/Sources/Models/headers/Enemies/Cyborg/RightLowerLeg.h +++ b/Sources/Models/headers/Enemies/Cyborg/RightLowerLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTLOWERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/RightUpperArm.h b/Sources/Models/headers/Enemies/Cyborg/RightUpperArm.h index 20fa458..d427469 100644 --- a/Sources/Models/headers/Enemies/Cyborg/RightUpperArm.h +++ b/Sources/Models/headers/Enemies/Cyborg/RightUpperArm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTUPPERARM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/RightUpperLeg.h b/Sources/Models/headers/Enemies/Cyborg/RightUpperLeg.h index ec3d5b0..da072ae 100644 --- a/Sources/Models/headers/Enemies/Cyborg/RightUpperLeg.h +++ b/Sources/Models/headers/Enemies/Cyborg/RightUpperLeg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RIGHTUPPERLEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Termi+rifle.h b/Sources/Models/headers/Enemies/Cyborg/Termi+rifle.h index 5e2ea4a..0bf413c 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Termi+rifle.h +++ b/Sources/Models/headers/Enemies/Cyborg/Termi+rifle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TERMI+RIFLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Cyborg/Torso.h b/Sources/Models/headers/Enemies/Cyborg/Torso.h index 7cba6a5..3bbc8cd 100644 --- a/Sources/Models/headers/Enemies/Cyborg/Torso.h +++ b/Sources/Models/headers/Enemies/Cyborg/Torso.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORSO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/Flare.h b/Sources/Models/headers/Enemies/Devil/Flare.h index 71cc966..248173e 100644 --- a/Sources/Models/headers/Enemies/Devil/Flare.h +++ b/Sources/Models/headers/Enemies/Devil/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/MiniGunItem.h b/Sources/Models/headers/Enemies/Devil/MiniGunItem.h index 641d515..6bffea3 100644 --- a/Sources/Models/headers/Enemies/Devil/MiniGunItem.h +++ b/Sources/Models/headers/Enemies/Devil/MiniGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Enemies/Devil/Minigun.h b/Sources/Models/headers/Enemies/Devil/Minigun.h index 3710b48..d965285 100644 --- a/Sources/Models/headers/Enemies/Devil/Minigun.h +++ b/Sources/Models/headers/Enemies/Devil/Minigun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/Stick.h b/Sources/Models/headers/Enemies/Devil/Stick.h index 17b25e6..faa11d2 100644 --- a/Sources/Models/headers/Enemies/Devil/Stick.h +++ b/Sources/Models/headers/Enemies/Devil/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/devil.h b/Sources/Models/headers/Enemies/Devil/devil.h index 262309b..18c5cb8 100644 --- a/Sources/Models/headers/Enemies/Devil/devil.h +++ b/Sources/Models/headers/Enemies/Devil/devil.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/devil2.h b/Sources/Models/headers/Enemies/Devil/devil2.h index 8cd39fb..c98faca 100644 --- a/Sources/Models/headers/Enemies/Devil/devil2.h +++ b/Sources/Models/headers/Enemies/Devil/devil2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Devil/shield.h b/Sources/Models/headers/Enemies/Devil/shield.h index a8f7714..2ee67a8 100644 --- a/Sources/Models/headers/Enemies/Devil/shield.h +++ b/Sources/Models/headers/Enemies/Devil/shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Debris/Body.h b/Sources/Models/headers/Enemies/DragonMan/Debris/Body.h index 0c50f59..83de0c5 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Debris/Body.h +++ b/Sources/Models/headers/Enemies/DragonMan/Debris/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Debris/Head.h b/Sources/Models/headers/Enemies/DragonMan/Debris/Head.h index e15b016..34f1228 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Debris/Head.h +++ b/Sources/Models/headers/Enemies/DragonMan/Debris/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Debris/Leg.h b/Sources/Models/headers/Enemies/DragonMan/Debris/Leg.h index da2f3a8..2c3c78e 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Debris/Leg.h +++ b/Sources/Models/headers/Enemies/DragonMan/Debris/Leg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Debris/Tail.h b/Sources/Models/headers/Enemies/DragonMan/Debris/Tail.h index d132107..21c4588 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Debris/Tail.h +++ b/Sources/Models/headers/Enemies/DragonMan/Debris/Tail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Debris/Wing.h b/Sources/Models/headers/Enemies/DragonMan/Debris/Wing.h index d706a7a..4150784 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Debris/Wing.h +++ b/Sources/Models/headers/Enemies/DragonMan/Debris/Wing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/DragonMan.h b/Sources/Models/headers/Enemies/DragonMan/DragonMan.h index 24af7f0..db98e4c 100644 --- a/Sources/Models/headers/Enemies/DragonMan/DragonMan.h +++ b/Sources/Models/headers/Enemies/DragonMan/DragonMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DRAGONMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/DragonMan/Projectile/Projectile.h b/Sources/Models/headers/Enemies/DragonMan/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/DragonMan/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/DragonMan/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ElementalAir/Elemental.h b/Sources/Models/headers/Enemies/ElementalAir/Elemental.h index aa056b6..0919fc2 100644 --- a/Sources/Models/headers/Enemies/ElementalAir/Elemental.h +++ b/Sources/Models/headers/Enemies/ElementalAir/Elemental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEMENTAL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/BodyFlare.h b/Sources/Models/headers/Enemies/ElementalLava/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/BodyFlare.h +++ b/Sources/Models/headers/Enemies/ElementalLava/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/ElementalLava.h b/Sources/Models/headers/Enemies/ElementalLava/ElementalLava.h index 3c54089..c8b2bb5 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/ElementalLava.h +++ b/Sources/Models/headers/Enemies/ElementalLava/ElementalLava.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEMENTALLAVA_ANIM_IDLE 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/HandFlare.h b/Sources/Models/headers/Enemies/ElementalLava/HandFlare.h index 3ef6761..c2aebf0 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/HandFlare.h +++ b/Sources/Models/headers/Enemies/ElementalLava/HandFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaBomb.h b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaBomb.h index cb3311f..842d749 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaBomb.h +++ b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVABOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStone.h b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStone.h index 915298e..8b95ec3 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStone.h +++ b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONE_ANIM_POSE00 0 diff --git a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStoneFlare.h b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStoneFlare.h index 8af51ea..33474e9 100644 --- a/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStoneFlare.h +++ b/Sources/Models/headers/Enemies/ElementalLava/Projectile/LavaStoneFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONEFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/AirMan.h b/Sources/Models/headers/Enemies/Elementals/AirMan.h index 23595aa..c1a9312 100644 --- a/Sources/Models/headers/Enemies/Elementals/AirMan.h +++ b/Sources/Models/headers/Enemies/Elementals/AirMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AIRMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/IceMan.h b/Sources/Models/headers/Enemies/Elementals/IceMan.h index 40713b2..bac8577 100644 --- a/Sources/Models/headers/Enemies/Elementals/IceMan.h +++ b/Sources/Models/headers/Enemies/Elementals/IceMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Icepick.h b/Sources/Models/headers/Enemies/Elementals/Icepick.h index 728859e..e62ac1d 100644 --- a/Sources/Models/headers/Enemies/Elementals/Icepick.h +++ b/Sources/Models/headers/Enemies/Elementals/Icepick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/LavaMan.h b/Sources/Models/headers/Enemies/Elementals/LavaMan.h index 9b06ee1..46c6eb0 100644 --- a/Sources/Models/headers/Enemies/Elementals/LavaMan.h +++ b/Sources/Models/headers/Enemies/Elementals/LavaMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVAMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/LavaManFX/BodyFlare.h b/Sources/Models/headers/Enemies/Elementals/LavaManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/headers/Enemies/Elementals/LavaManFX/BodyFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/LavaManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/LavaManFX/HandFlare.h b/Sources/Models/headers/Enemies/Elementals/LavaManFX/HandFlare.h index 3ef6761..c2aebf0 100644 --- a/Sources/Models/headers/Enemies/Elementals/LavaManFX/HandFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/LavaManFX/HandFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Maul.h b/Sources/Models/headers/Enemies/Elementals/Maul.h index aaf5cfb..913c730 100644 --- a/Sources/Models/headers/Enemies/Elementals/Maul.h +++ b/Sources/Models/headers/Enemies/Elementals/Maul.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAUL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/Fireball.h b/Sources/Models/headers/Enemies/Elementals/Projectile/Fireball.h index 48b5b81..a11eab4 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/Fireball.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/Fireball.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramid.h b/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramid.h index f78a993..4c8d4d7 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramid.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPYRAMID_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramidFlare.h b/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramidFlare.h index e8fb392..a0422d1 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramidFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/IcePyramidFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ICEPYRAMIDFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaBomb.h b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaBomb.h index cb3311f..842d749 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaBomb.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVABOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStone.h b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStone.h index 915298e..8b95ec3 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStone.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONE_ANIM_POSE00 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStoneFlare.h b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStoneFlare.h index 8af51ea..33474e9 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStoneFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/LavaStoneFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LAVASTONEFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/Stone.h b/Sources/Models/headers/Enemies/Elementals/Projectile/Stone.h index dd231db..739ff69 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/Stone.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/Stone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONE_ANIM_POSE00 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Projectile/WaterDrop.h b/Sources/Models/headers/Enemies/Elementals/Projectile/WaterDrop.h index c5b16be..85307df 100644 --- a/Sources/Models/headers/Enemies/Elementals/Projectile/WaterDrop.h +++ b/Sources/Models/headers/Enemies/Elementals/Projectile/WaterDrop.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERDROP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/StoneManFX/BodyFlare.h b/Sources/Models/headers/Enemies/Elementals/StoneManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/headers/Enemies/Elementals/StoneManFX/BodyFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/StoneManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Stoneman.h b/Sources/Models/headers/Enemies/Elementals/Stoneman.h index 7460a3f..f08e3e5 100644 --- a/Sources/Models/headers/Enemies/Elementals/Stoneman.h +++ b/Sources/Models/headers/Enemies/Elementals/Stoneman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STONEMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/Twister.h b/Sources/Models/headers/Enemies/Elementals/Twister.h index e2f46a3..396d33b 100644 --- a/Sources/Models/headers/Enemies/Elementals/Twister.h +++ b/Sources/Models/headers/Enemies/Elementals/Twister.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TWISTER_ANIM_ROTATE 0 diff --git a/Sources/Models/headers/Enemies/Elementals/WaterMan.h b/Sources/Models/headers/Enemies/Elementals/WaterMan.h index 52c4cdf..d82074a 100644 --- a/Sources/Models/headers/Enemies/Elementals/WaterMan.h +++ b/Sources/Models/headers/Enemies/Elementals/WaterMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WATERMAN_ANIM_DEFAULTANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Elementals/WaterManFX/BodyFlare.h b/Sources/Models/headers/Enemies/Elementals/WaterManFX/BodyFlare.h index 5043ec2..bb580e9 100644 --- a/Sources/Models/headers/Enemies/Elementals/WaterManFX/BodyFlare.h +++ b/Sources/Models/headers/Enemies/Elementals/WaterManFX/BodyFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Eyeman/Eyeman.h b/Sources/Models/headers/Enemies/Eyeman/Eyeman.h index 33c9c1f..261bd61 100644 --- a/Sources/Models/headers/Enemies/Eyeman/Eyeman.h +++ b/Sources/Models/headers/Enemies/Eyeman/Eyeman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EYEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/EyemanOld/Projectile/Acid.h b/Sources/Models/headers/Enemies/EyemanOld/Projectile/Acid.h index f7bc847..cbc5e68 100644 --- a/Sources/Models/headers/Enemies/EyemanOld/Projectile/Acid.h +++ b/Sources/Models/headers/Enemies/EyemanOld/Projectile/Acid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ACID_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/EyemanOld/eyeman.h b/Sources/Models/headers/Enemies/EyemanOld/eyeman.h index af2e1c2..fee0532 100644 --- a/Sources/Models/headers/Enemies/EyemanOld/eyeman.h +++ b/Sources/Models/headers/Enemies/EyemanOld/eyeman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EYEMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Fish/Fish.h b/Sources/Models/headers/Enemies/Fish/Fish.h index 925f613..3366283 100644 --- a/Sources/Models/headers/Enemies/Fish/Fish.h +++ b/Sources/Models/headers/Enemies/Fish/Fish.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FISH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Fish/Glow.h b/Sources/Models/headers/Enemies/Fish/Glow.h index 5f99a41..d25ef94 100644 --- a/Sources/Models/headers/Enemies/Fish/Glow.h +++ b/Sources/Models/headers/Enemies/Fish/Glow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLOW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Fishman/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Fishman/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/Fishman/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Fishman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Fishman/fishman.h b/Sources/Models/headers/Enemies/Fishman/fishman.h index 19d7898..726b8d2 100644 --- a/Sources/Models/headers/Enemies/Fishman/fishman.h +++ b/Sources/Models/headers/Enemies/Fishman/fishman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FISHMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Gizmo/Gizmo.h b/Sources/Models/headers/Enemies/Gizmo/Gizmo.h index 1939250..fd594e1 100644 --- a/Sources/Models/headers/Enemies/Gizmo/Gizmo.h +++ b/Sources/Models/headers/Enemies/Gizmo/Gizmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GIZMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Bag.h b/Sources/Models/headers/Enemies/HeadManOld/Bag.h index 8015de9..481d72e 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Bag.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Bag.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BAG_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/ChainSaw.h b/Sources/Models/headers/Enemies/HeadManOld/ChainSaw.h index 700370a..2ce66c0 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/ChainSaw.h +++ b/Sources/Models/headers/Enemies/HeadManOld/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Head.h b/Sources/Models/headers/Enemies/HeadManOld/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Head.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/HeadMan.h b/Sources/Models/headers/Enemies/HeadManOld/HeadMan.h index f14727e..2e73581 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/HeadMan.h +++ b/Sources/Models/headers/Enemies/HeadManOld/HeadMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Headonstick.h b/Sources/Models/headers/Enemies/HeadManOld/Headonstick.h index 7b7fbed..c3a9d90 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Headonstick.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Headonstick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADONSTICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Projectile/Blade.h b/Sources/Models/headers/Enemies/HeadManOld/Projectile/Blade.h index c14f474..6f35d41 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Projectile/Blade.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Projectile/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_ROTATING 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Projectile/Bomb.h b/Sources/Models/headers/Enemies/HeadManOld/Projectile/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Projectile/Bomb.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Projectile/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireCracker.h b/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireCracker.h index de127f8..877a000 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireCracker.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireCracker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireTrail.h b/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireTrail.h index b95bf4b..90bc044 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireTrail.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Projectile/FireTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/RocketLauncher.h b/Sources/Models/headers/Enemies/HeadManOld/RocketLauncher.h index 480c42b..51dd9da 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/RocketLauncher.h +++ b/Sources/Models/headers/Enemies/HeadManOld/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Saw.h b/Sources/Models/headers/Enemies/HeadManOld/Saw.h index 9ae4603..d1468d2 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Saw.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HeadManOld/Stick.h b/Sources/Models/headers/Enemies/HeadManOld/Stick.h index ac4bd6e..fa300c8 100644 --- a/Sources/Models/headers/Enemies/HeadManOld/Stick.h +++ b/Sources/Models/headers/Enemies/HeadManOld/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/ChainSaw.h b/Sources/Models/headers/Enemies/Headman/ChainSaw.h index 700370a..2ce66c0 100644 --- a/Sources/Models/headers/Enemies/Headman/ChainSaw.h +++ b/Sources/Models/headers/Enemies/Headman/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/FireCrackerHead.h b/Sources/Models/headers/Enemies/Headman/FireCrackerHead.h index ca0581e..f44fc52 100644 --- a/Sources/Models/headers/Enemies/Headman/FireCrackerHead.h +++ b/Sources/Models/headers/Enemies/Headman/FireCrackerHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKERHEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/Head.h b/Sources/Models/headers/Enemies/Headman/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/headers/Enemies/Headman/Head.h +++ b/Sources/Models/headers/Enemies/Headman/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/Projectile/Blade.h b/Sources/Models/headers/Enemies/Headman/Projectile/Blade.h index c14f474..6f35d41 100644 --- a/Sources/Models/headers/Enemies/Headman/Projectile/Blade.h +++ b/Sources/Models/headers/Enemies/Headman/Projectile/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_ROTATING 0 diff --git a/Sources/Models/headers/Enemies/Headman/Projectile/Bomb.h b/Sources/Models/headers/Enemies/Headman/Projectile/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/headers/Enemies/Headman/Projectile/Bomb.h +++ b/Sources/Models/headers/Enemies/Headman/Projectile/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/Projectile/FireCracker.h b/Sources/Models/headers/Enemies/Headman/Projectile/FireCracker.h index de127f8..877a000 100644 --- a/Sources/Models/headers/Enemies/Headman/Projectile/FireCracker.h +++ b/Sources/Models/headers/Enemies/Headman/Projectile/FireCracker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRECRACKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/Projectile/FireTrail.h b/Sources/Models/headers/Enemies/Headman/Projectile/FireTrail.h index 6b479cc..0e0f4a2 100644 --- a/Sources/Models/headers/Enemies/Headman/Projectile/FireTrail.h +++ b/Sources/Models/headers/Enemies/Headman/Projectile/FireTrail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRETRAIL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/RocketLauncher.h b/Sources/Models/headers/Enemies/Headman/RocketLauncher.h index 480c42b..51dd9da 100644 --- a/Sources/Models/headers/Enemies/Headman/RocketLauncher.h +++ b/Sources/Models/headers/Enemies/Headman/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/Saw.h b/Sources/Models/headers/Enemies/Headman/Saw.h index 940c18b..212b0f7 100644 --- a/Sources/Models/headers/Enemies/Headman/Saw.h +++ b/Sources/Models/headers/Enemies/Headman/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_ROTATE 0 diff --git a/Sources/Models/headers/Enemies/Headman/Stick.h b/Sources/Models/headers/Enemies/Headman/Stick.h index 1710d0a..f33de58 100644 --- a/Sources/Models/headers/Enemies/Headman/Stick.h +++ b/Sources/Models/headers/Enemies/Headman/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT 0 diff --git a/Sources/Models/headers/Enemies/Headman/headman.h b/Sources/Models/headers/Enemies/Headman/headman.h index 6d7faef..80e655f 100644 --- a/Sources/Models/headers/Enemies/Headman/headman.h +++ b/Sources/Models/headers/Enemies/Headman/headman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Headman/headmantest.h b/Sources/Models/headers/Enemies/Headman/headmantest.h index 6898309..3541af0 100644 --- a/Sources/Models/headers/Enemies/Headman/headmantest.h +++ b/Sources/Models/headers/Enemies/Headman/headmantest.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADMANTEST_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HuanMan/Huanman.h b/Sources/Models/headers/Enemies/HuanMan/Huanman.h index 4b5b157..ba88481 100644 --- a/Sources/Models/headers/Enemies/HuanMan/Huanman.h +++ b/Sources/Models/headers/Enemies/HuanMan/Huanman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HUANMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HuanMan/Projectile/Flare.h b/Sources/Models/headers/Enemies/HuanMan/Projectile/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/headers/Enemies/HuanMan/Projectile/Flare.h +++ b/Sources/Models/headers/Enemies/HuanMan/Projectile/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HuanMan/Projectile/Projectile.h b/Sources/Models/headers/Enemies/HuanMan/Projectile/Projectile.h index 18f51c9..dfd418f 100644 --- a/Sources/Models/headers/Enemies/HuanMan/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/HuanMan/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/HuanMan/Projectile/tmp/Projectile.h b/Sources/Models/headers/Enemies/HuanMan/Projectile/tmp/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/HuanMan/Projectile/tmp/Projectile.h +++ b/Sources/Models/headers/Enemies/HuanMan/Projectile/tmp/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/MAMUTMAN/Mamutman.h b/Sources/Models/headers/Enemies/MAMUTMAN/Mamutman.h index fbfe2b3..82e03d1 100644 --- a/Sources/Models/headers/Enemies/MAMUTMAN/Mamutman.h +++ b/Sources/Models/headers/Enemies/MAMUTMAN/Mamutman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUTMAN_ANIM_ATTACK01 0 diff --git a/Sources/Models/headers/Enemies/MANTAMAN/Projectile/Projectile.h b/Sources/Models/headers/Enemies/MANTAMAN/Projectile/Projectile.h index 5003bcc..d41d08b 100644 --- a/Sources/Models/headers/Enemies/MANTAMAN/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/MANTAMAN/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/MANTAMAN/mantaman.h b/Sources/Models/headers/Enemies/MANTAMAN/mantaman.h index badfaa7..0b36298 100644 --- a/Sources/Models/headers/Enemies/MANTAMAN/mantaman.h +++ b/Sources/Models/headers/Enemies/MANTAMAN/mantaman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MANTAMAN_ANIM_DEFAULT_ANIMATION01 0 diff --git a/Sources/Models/headers/Enemies/Mamut/OBJECTS/mamut.h b/Sources/Models/headers/Enemies/Mamut/OBJECTS/mamut.h index de5bfc3..02f1e23 100644 --- a/Sources/Models/headers/Enemies/Mamut/OBJECTS/mamut.h +++ b/Sources/Models/headers/Enemies/Mamut/OBJECTS/mamut.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUT_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Mamut/Projectile/MamutProjectile.h b/Sources/Models/headers/Enemies/Mamut/Projectile/MamutProjectile.h index 0759046..8c43aed 100644 --- a/Sources/Models/headers/Enemies/Mamut/Projectile/MamutProjectile.h +++ b/Sources/Models/headers/Enemies/Mamut/Projectile/MamutProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MAMUTPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/DrivingWheel/Robot.h b/Sources/Models/headers/Enemies/Robots/DrivingWheel/Robot.h index 4392158..571d12e 100644 --- a/Sources/Models/headers/Enemies/Robots/DrivingWheel/Robot.h +++ b/Sources/Models/headers/Enemies/Robots/DrivingWheel/Robot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROBOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/FloatBall/Robot.h b/Sources/Models/headers/Enemies/Robots/FloatBall/Robot.h index 4392158..571d12e 100644 --- a/Sources/Models/headers/Enemies/Robots/FloatBall/Robot.h +++ b/Sources/Models/headers/Enemies/Robots/FloatBall/Robot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROBOT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/FlyingFighter/Ship.h b/Sources/Models/headers/Enemies/Robots/FlyingFighter/Ship.h index 5d3a487..b2334cc 100644 --- a/Sources/Models/headers/Enemies/Robots/FlyingFighter/Ship.h +++ b/Sources/Models/headers/Enemies/Robots/FlyingFighter/Ship.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIP_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/SentryBall/Ball.h b/Sources/Models/headers/Enemies/Robots/SentryBall/Ball.h index 81b0beb..873a3b7 100644 --- a/Sources/Models/headers/Enemies/Robots/SentryBall/Ball.h +++ b/Sources/Models/headers/Enemies/Robots/SentryBall/Ball.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/SentryBall/Effect.h b/Sources/Models/headers/Enemies/Robots/SentryBall/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/headers/Enemies/Robots/SentryBall/Effect.h +++ b/Sources/Models/headers/Enemies/Robots/SentryBall/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Robots/SentryBall/SentryBall.h b/Sources/Models/headers/Enemies/Robots/SentryBall/SentryBall.h index f17e229..d980f9a 100644 --- a/Sources/Models/headers/Enemies/Robots/SentryBall/SentryBall.h +++ b/Sources/Models/headers/Enemies/Robots/SentryBall/SentryBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SENTRYBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/SCORPMAN/Flare.h b/Sources/Models/headers/Enemies/SCORPMAN/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/headers/Enemies/SCORPMAN/Flare.h +++ b/Sources/Models/headers/Enemies/SCORPMAN/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/SCORPMAN/Gun.h b/Sources/Models/headers/Enemies/SCORPMAN/Gun.h index e64d6b5..45bded1 100644 --- a/Sources/Models/headers/Enemies/SCORPMAN/Gun.h +++ b/Sources/Models/headers/Enemies/SCORPMAN/Gun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUN_ANIM_DEFAULT 0 diff --git a/Sources/Models/headers/Enemies/SCORPMAN/scorpman.h b/Sources/Models/headers/Enemies/SCORPMAN/scorpman.h index 2486cae..fbd4790 100644 --- a/Sources/Models/headers/Enemies/SCORPMAN/scorpman.h +++ b/Sources/Models/headers/Enemies/SCORPMAN/scorpman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SCORPMAN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Walker/Laser.h b/Sources/Models/headers/Enemies/Walker/Laser.h index 2371057..e3a9dc9 100644 --- a/Sources/Models/headers/Enemies/Walker/Laser.h +++ b/Sources/Models/headers/Enemies/Walker/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Walker/RocketLauncher.h b/Sources/Models/headers/Enemies/Walker/RocketLauncher.h index 3935749..5b1cc00 100644 --- a/Sources/Models/headers/Enemies/Walker/RocketLauncher.h +++ b/Sources/Models/headers/Enemies/Walker/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_LEFT 0 diff --git a/Sources/Models/headers/Enemies/Walker/Walker.h b/Sources/Models/headers/Enemies/Walker/Walker.h index a88e384..70fde40 100644 --- a/Sources/Models/headers/Enemies/Walker/Walker.h +++ b/Sources/Models/headers/Enemies/Walker/Walker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WALKER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/WereBull/WereBull.h b/Sources/Models/headers/Enemies/WereBull/WereBull.h index 9017dbf..12af822 100644 --- a/Sources/Models/headers/Enemies/WereBull/WereBull.h +++ b/Sources/Models/headers/Enemies/WereBull/WereBull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WEREBULL_ANIM_DEFAULT 0 diff --git a/Sources/Models/headers/Enemies/WereBullOld/WereBull.h b/Sources/Models/headers/Enemies/WereBullOld/WereBull.h index 1311b54..14c72d1 100644 --- a/Sources/Models/headers/Enemies/WereBullOld/WereBull.h +++ b/Sources/Models/headers/Enemies/WereBullOld/WereBull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WEREBULL_ANIM_STANDREST 0 diff --git a/Sources/Models/headers/Enemies/Woman/Projectile/Projectile.h b/Sources/Models/headers/Enemies/Woman/Projectile/Projectile.h index 5a54d85..7a53b14 100644 --- a/Sources/Models/headers/Enemies/Woman/Projectile/Projectile.h +++ b/Sources/Models/headers/Enemies/Woman/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CATMANFIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Enemies/Woman/Woman.h b/Sources/Models/headers/Enemies/Woman/Woman.h index 041f6bb..13fc3a7 100644 --- a/Sources/Models/headers/Enemies/Woman/Woman.h +++ b/Sources/Models/headers/Enemies/Woman/Woman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOMAN_ANIM_AIRATTACK01 0 diff --git a/Sources/Models/headers/Enemies/Woman/WomanForArtwork.h b/Sources/Models/headers/Enemies/Woman/WomanForArtwork.h index 5c902cf..9ce350d 100644 --- a/Sources/Models/headers/Enemies/Woman/WomanForArtwork.h +++ b/Sources/Models/headers/Enemies/Woman/WomanForArtwork.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOMANFORARTWORK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/IHVTest/CurvedSurfaces.h b/Sources/Models/headers/IHVTest/CurvedSurfaces.h index 15756e4..2a1b71c 100644 --- a/Sources/Models/headers/IHVTest/CurvedSurfaces.h +++ b/Sources/Models/headers/IHVTest/CurvedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CURVEDSURFACES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/IHVTest/GlassCurvedSurfaces.h b/Sources/Models/headers/IHVTest/GlassCurvedSurfaces.h index bdd13e2..22e0543 100644 --- a/Sources/Models/headers/IHVTest/GlassCurvedSurfaces.h +++ b/Sources/Models/headers/IHVTest/GlassCurvedSurfaces.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSCURVEDSURFACES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/IHVTest/Lightning.h b/Sources/Models/headers/IHVTest/Lightning.h index f6a5844..5a1043e 100644 --- a/Sources/Models/headers/IHVTest/Lightning.h +++ b/Sources/Models/headers/IHVTest/Lightning.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTNING_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Bullets/Bullets.h b/Sources/Models/headers/Items/Ammo/Bullets/Bullets.h index 9f2199c..540d3ec 100644 --- a/Sources/Models/headers/Items/Ammo/Bullets/Bullets.h +++ b/Sources/Models/headers/Items/Ammo/Bullets/Bullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Cannonball/CannonBall.h b/Sources/Models/headers/Items/Ammo/Cannonball/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/headers/Items/Ammo/Cannonball/CannonBall.h +++ b/Sources/Models/headers/Items/Ammo/Cannonball/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Cannonball/CannonBallQuad.h b/Sources/Models/headers/Items/Ammo/Cannonball/CannonBallQuad.h index 6ca4f58..ceafc02 100644 --- a/Sources/Models/headers/Items/Ammo/Cannonball/CannonBallQuad.h +++ b/Sources/Models/headers/Items/Ammo/Cannonball/CannonBallQuad.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALLQUAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Electricity/Effect.h b/Sources/Models/headers/Items/Ammo/Electricity/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/headers/Items/Ammo/Electricity/Effect.h +++ b/Sources/Models/headers/Items/Ammo/Electricity/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Electricity/Effect2.h b/Sources/Models/headers/Items/Ammo/Electricity/Effect2.h index e8cbb50..8266393 100644 --- a/Sources/Models/headers/Items/Ammo/Electricity/Effect2.h +++ b/Sources/Models/headers/Items/Ammo/Electricity/Effect2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Electricity/Electricity.h b/Sources/Models/headers/Items/Ammo/Electricity/Electricity.h index e765117..221e0d7 100644 --- a/Sources/Models/headers/Items/Ammo/Electricity/Electricity.h +++ b/Sources/Models/headers/Items/Ammo/Electricity/Electricity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Grenades/Grenades.h b/Sources/Models/headers/Items/Ammo/Grenades/Grenades.h index 0f34ac2..9dd5845 100644 --- a/Sources/Models/headers/Items/Ammo/Grenades/Grenades.h +++ b/Sources/Models/headers/Items/Ammo/Grenades/Grenades.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Napalm/Napalm.h b/Sources/Models/headers/Items/Ammo/Napalm/Napalm.h index 1524a50..205f3ae 100644 --- a/Sources/Models/headers/Items/Ammo/Napalm/Napalm.h +++ b/Sources/Models/headers/Items/Ammo/Napalm/Napalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAPALM_ANIM_DEFAULT 0 diff --git a/Sources/Models/headers/Items/Ammo/Rockets/Rockets.h b/Sources/Models/headers/Items/Ammo/Rockets/Rockets.h index 1ea9350..2a32d20 100644 --- a/Sources/Models/headers/Items/Ammo/Rockets/Rockets.h +++ b/Sources/Models/headers/Items/Ammo/Rockets/Rockets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/Shells/Shells.h b/Sources/Models/headers/Items/Ammo/Shells/Shells.h index 04d38cf..693e5b4 100644 --- a/Sources/Models/headers/Items/Ammo/Shells/Shells.h +++ b/Sources/Models/headers/Items/Ammo/Shells/Shells.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELLS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Bullets/Bullets.h b/Sources/Models/headers/Items/Ammo/_Old/Bullets/Bullets.h index ea60211..7304a93 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Bullets/Bullets.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Bullets/Bullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBall.h b/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBall.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBallQuad.h b/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBallQuad.h index 6ca4f58..ceafc02 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBallQuad.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Cannonball/CannonBallQuad.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALLQUAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect.h b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect.h index 5425ed1..300a4b3 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect2.h b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect2.h index e8cbb50..8266393 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect2.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Effect2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT2_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Electricity.h b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Electricity.h index 4dea2dc..505b306 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Electricity/Electricity.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Electricity/Electricity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenade.h b/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenade.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenades.h b/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenades.h index 353e287..d0fbfdb 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenades.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Grenades/Grenades.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rocket01.h b/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rocket01.h index 143dc03..35a279e 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rocket01.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rocket01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rockets.h b/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rockets.h index 49a643a..5526ee6 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rockets.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Rockets/Rockets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Ammo/_Old/Shells/Shells.h b/Sources/Models/headers/Items/Ammo/_Old/Shells/Shells.h index 48f5491..ddc7932 100644 --- a/Sources/Models/headers/Items/Ammo/_Old/Shells/Shells.h +++ b/Sources/Models/headers/Items/Ammo/_Old/Shells/Shells.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELLS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Armor/Armor_1.h b/Sources/Models/headers/Items/Armor/Armor_1.h index e623d4a..271d09b 100644 --- a/Sources/Models/headers/Items/Armor/Armor_1.h +++ b/Sources/Models/headers/Items/Armor/Armor_1.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_1_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Armor/Armor_100.h b/Sources/Models/headers/Items/Armor/Armor_100.h index 1c81046..7ac4c05 100644 --- a/Sources/Models/headers/Items/Armor/Armor_100.h +++ b/Sources/Models/headers/Items/Armor/Armor_100.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_100_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Armor/Armor_200.h b/Sources/Models/headers/Items/Armor/Armor_200.h index d3b5bde..10e76b1 100644 --- a/Sources/Models/headers/Items/Armor/Armor_200.h +++ b/Sources/Models/headers/Items/Armor/Armor_200.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_200_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Armor/Armor_25.h b/Sources/Models/headers/Items/Armor/Armor_25.h index 32f6eb2..d7b8c8e 100644 --- a/Sources/Models/headers/Items/Armor/Armor_25.h +++ b/Sources/Models/headers/Items/Armor/Armor_25.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_25_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Armor/Armor_50.h b/Sources/Models/headers/Items/Armor/Armor_50.h index 3341f24..bc9e703 100644 --- a/Sources/Models/headers/Items/Armor/Armor_50.h +++ b/Sources/Models/headers/Items/Armor/Armor_50.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_50_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Flares/Flare.h b/Sources/Models/headers/Items/Flares/Flare.h index 8a179fb..0a8eff3 100644 --- a/Sources/Models/headers/Items/Flares/Flare.h +++ b/Sources/Models/headers/Items/Flares/Flare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Health/Large/Large.h b/Sources/Models/headers/Items/Health/Large/Large.h index 8a5238b..07ad354 100644 --- a/Sources/Models/headers/Items/Health/Large/Large.h +++ b/Sources/Models/headers/Items/Health/Large/Large.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LARGE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Health/Medium/Medium.h b/Sources/Models/headers/Items/Health/Medium/Medium.h index 8549b21..0be6a5b 100644 --- a/Sources/Models/headers/Items/Health/Medium/Medium.h +++ b/Sources/Models/headers/Items/Health/Medium/Medium.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MEDIUM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Health/Pill/Pill.h b/Sources/Models/headers/Items/Health/Pill/Pill.h index 4d6b444..7e5d83b 100644 --- a/Sources/Models/headers/Items/Health/Pill/Pill.h +++ b/Sources/Models/headers/Items/Health/Pill/Pill.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PILL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Health/Small/Small.h b/Sources/Models/headers/Items/Health/Small/Small.h index 08fabeb..bdde7a4 100644 --- a/Sources/Models/headers/Items/Health/Small/Small.h +++ b/Sources/Models/headers/Items/Health/Small/Small.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SMALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Health/Super/Super.h b/Sources/Models/headers/Items/Health/Super/Super.h index d423770..0c7d4f9 100644 --- a/Sources/Models/headers/Items/Health/Super/Super.h +++ b/Sources/Models/headers/Items/Health/Super/Super.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUPER_ANIM_HEARTBIT 0 diff --git a/Sources/Models/headers/Items/Health/SuperOrg/Super.h b/Sources/Models/headers/Items/Health/SuperOrg/Super.h index 283bc95..ec2f9a8 100644 --- a/Sources/Models/headers/Items/Health/SuperOrg/Super.h +++ b/Sources/Models/headers/Items/Health/SuperOrg/Super.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/ItemHolder/ItemHolder.h b/Sources/Models/headers/Items/ItemHolder/ItemHolder.h index 1dd7adc..877457f 100644 --- a/Sources/Models/headers/Items/ItemHolder/ItemHolder.h +++ b/Sources/Models/headers/Items/ItemHolder/ItemHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ITEMHOLDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Keys/AnkhGold/Ankh.h b/Sources/Models/headers/Items/Keys/AnkhGold/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/headers/Items/Keys/AnkhGold/Ankh.h +++ b/Sources/Models/headers/Items/Keys/AnkhGold/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Keys/AnkhStone/Ankh.h b/Sources/Models/headers/Items/Keys/AnkhStone/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/headers/Items/Keys/AnkhStone/Ankh.h +++ b/Sources/Models/headers/Items/Keys/AnkhStone/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/Keys/AnkhWood/Ankh.h b/Sources/Models/headers/Items/Keys/AnkhWood/Ankh.h index 3428143..257f74c 100644 --- a/Sources/Models/headers/Items/Keys/AnkhWood/Ankh.h +++ b/Sources/Models/headers/Items/Keys/AnkhWood/Ankh.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ANKH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/PowerUps/BackPack/BackPack.h b/Sources/Models/headers/Items/PowerUps/BackPack/BackPack.h index 32bddf3..0a0d67f 100644 --- a/Sources/Models/headers/Items/PowerUps/BackPack/BackPack.h +++ b/Sources/Models/headers/Items/PowerUps/BackPack/BackPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BACKPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/PowerUps/SeriousPack/SeriousPack.h b/Sources/Models/headers/Items/PowerUps/SeriousPack/SeriousPack.h index fd4f34a..f03166a 100644 --- a/Sources/Models/headers/Items/PowerUps/SeriousPack/SeriousPack.h +++ b/Sources/Models/headers/Items/PowerUps/SeriousPack/SeriousPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Items/PowerUps/_Old/SeriousPack/SeriousPack.h b/Sources/Models/headers/Items/PowerUps/_Old/SeriousPack/SeriousPack.h index ae626e4..1d979dc 100644 --- a/Sources/Models/headers/Items/PowerUps/_Old/SeriousPack/SeriousPack.h +++ b/Sources/Models/headers/Items/PowerUps/_Old/SeriousPack/SeriousPack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSPACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSam/Body.h b/Sources/Models/headers/Player/SeriousSam/Body.h index 05ee277..98be80a 100644 --- a/Sources/Models/headers/Player/SeriousSam/Body.h +++ b/Sources/Models/headers/Player/SeriousSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSam/Glasses.h b/Sources/Models/headers/Player/SeriousSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/Models/headers/Player/SeriousSam/Glasses.h +++ b/Sources/Models/headers/Player/SeriousSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSam/Head.h b/Sources/Models/headers/Player/SeriousSam/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/Models/headers/Player/SeriousSam/Head.h +++ b/Sources/Models/headers/Player/SeriousSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSam/Player.h b/Sources/Models/headers/Player/SeriousSam/Player.h index b2fd615..9ae9f9e 100644 --- a/Sources/Models/headers/Player/SeriousSam/Player.h +++ b/Sources/Models/headers/Player/SeriousSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSamOld/Body.h b/Sources/Models/headers/Player/SeriousSamOld/Body.h index 585da9b..34d188a 100644 --- a/Sources/Models/headers/Player/SeriousSamOld/Body.h +++ b/Sources/Models/headers/Player/SeriousSamOld/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_FORMIPMODELS 0 diff --git a/Sources/Models/headers/Player/SeriousSamOld/Head.h b/Sources/Models/headers/Player/SeriousSamOld/Head.h index afba81b..f50849a 100644 --- a/Sources/Models/headers/Player/SeriousSamOld/Head.h +++ b/Sources/Models/headers/Player/SeriousSamOld/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Player/SeriousSamOld/Player.h b/Sources/Models/headers/Player/SeriousSamOld/Player.h index 2d7037b..2607729 100644 --- a/Sources/Models/headers/Player/SeriousSamOld/Player.h +++ b/Sources/Models/headers/Player/SeriousSamOld/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Switches/Switch01/Switch.h b/Sources/Models/headers/Switches/Switch01/Switch.h index fd433db..438f9e4 100644 --- a/Sources/Models/headers/Switches/Switch01/Switch.h +++ b/Sources/Models/headers/Switches/Switch01/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_STANDING 0 diff --git a/Sources/Models/headers/Weapons/Cannon/Body.h b/Sources/Models/headers/Weapons/Cannon/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/Cannon/Body.h +++ b/Sources/Models/headers/Weapons/Cannon/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Cannon/Cannon.h b/Sources/Models/headers/Weapons/Cannon/Cannon.h index 80ca92f..37aa72a 100644 --- a/Sources/Models/headers/Weapons/Cannon/Cannon.h +++ b/Sources/Models/headers/Weapons/Cannon/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/Cannon/Flame.h b/Sources/Models/headers/Weapons/Cannon/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/headers/Weapons/Cannon/Flame.h +++ b/Sources/Models/headers/Weapons/Cannon/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Cannon/Light.h b/Sources/Models/headers/Weapons/Cannon/Light.h index 3f5251b..870331f 100644 --- a/Sources/Models/headers/Weapons/Cannon/Light.h +++ b/Sources/Models/headers/Weapons/Cannon/Light.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Cannon/NukeBox.h b/Sources/Models/headers/Weapons/Cannon/NukeBox.h index 09bd89e..6cc67f3 100644 --- a/Sources/Models/headers/Weapons/Cannon/NukeBox.h +++ b/Sources/Models/headers/Weapons/Cannon/NukeBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NUKEBOX_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Cannon/Projectile/CannonBall.h b/Sources/Models/headers/Weapons/Cannon/Projectile/CannonBall.h index 8692c4b..2b51699 100644 --- a/Sources/Models/headers/Weapons/Cannon/Projectile/CannonBall.h +++ b/Sources/Models/headers/Weapons/Cannon/Projectile/CannonBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNONBALL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Colt/ColtBullets.h b/Sources/Models/headers/Weapons/Colt/ColtBullets.h index fc219e3..cd5bc91 100644 --- a/Sources/Models/headers/Weapons/Colt/ColtBullets.h +++ b/Sources/Models/headers/Weapons/Colt/ColtBullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTBULLETS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Colt/ColtCock.h b/Sources/Models/headers/Weapons/Colt/ColtCock.h index 344f1c1..458b460 100644 --- a/Sources/Models/headers/Weapons/Colt/ColtCock.h +++ b/Sources/Models/headers/Weapons/Colt/ColtCock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTCOCK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Colt/ColtItem.h b/Sources/Models/headers/Weapons/Colt/ColtItem.h index 92a6b39..26c6912 100644 --- a/Sources/Models/headers/Weapons/Colt/ColtItem.h +++ b/Sources/Models/headers/Weapons/Colt/ColtItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/Colt/ColtMain.h b/Sources/Models/headers/Weapons/Colt/ColtMain.h index 72bd800..837bd58 100644 --- a/Sources/Models/headers/Weapons/Colt/ColtMain.h +++ b/Sources/Models/headers/Weapons/Colt/ColtMain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLTMAIN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Colt/colt.h b/Sources/Models/headers/Weapons/Colt/colt.h index ce533fa..3f62f02 100644 --- a/Sources/Models/headers/Weapons/Colt/colt.h +++ b/Sources/Models/headers/Weapons/Colt/colt.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLT_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/Ammo.h b/Sources/Models/headers/Weapons/DoubleShotgun/Ammo.h index e4cfce8..99cff20 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/Ammo.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/Ammo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AMMO_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgun.h b/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgun.h index 5eb9c08..0635fa9 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgun.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgunItem.h b/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgunItem.h index 96d71ca..6622eb8 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgunItem.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/DoubleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOUBLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunbarrels.h b/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunbarrels.h index 897e6df..a13e120 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunbarrels.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunbarrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNBARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunhandle.h b/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunhandle.h index 7e72a92..f362fb8 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunhandle.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/Dshotgunhandle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DSHOTGUNHANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/HandWithAmmo.h b/Sources/Models/headers/Weapons/DoubleShotgun/HandWithAmmo.h index 19feb46..bed8869 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/HandWithAmmo.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/HandWithAmmo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHAMMO_ANIM_HOLDAMMO 0 diff --git a/Sources/Models/headers/Weapons/DoubleShotgun/Switch.h b/Sources/Models/headers/Weapons/DoubleShotgun/Switch.h index 691ad6b..2c2353b 100644 --- a/Sources/Models/headers/Weapons/DoubleShotgun/Switch.h +++ b/Sources/Models/headers/Weapons/DoubleShotgun/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/Body.h b/Sources/Models/headers/Weapons/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/Flamer/Body.h +++ b/Sources/Models/headers/Weapons/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/Flame.h b/Sources/Models/headers/Weapons/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/Models/headers/Weapons/Flamer/Flame.h +++ b/Sources/Models/headers/Weapons/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/Flamer.h b/Sources/Models/headers/Weapons/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/Models/headers/Weapons/Flamer/Flamer.h +++ b/Sources/Models/headers/Weapons/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/FlamerItem.h b/Sources/Models/headers/Weapons/Flamer/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/Models/headers/Weapons/Flamer/FlamerItem.h +++ b/Sources/Models/headers/Weapons/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/FuelReservoir.h b/Sources/Models/headers/Weapons/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/headers/Weapons/Flamer/FuelReservoir.h +++ b/Sources/Models/headers/Weapons/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Flamer/Projectile/Invisible.h b/Sources/Models/headers/Weapons/Flamer/Projectile/Invisible.h index b8ee17c..67598f6 100644 --- a/Sources/Models/headers/Weapons/Flamer/Projectile/Invisible.h +++ b/Sources/Models/headers/Weapons/Flamer/Projectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/FlamerNew/Body.h b/Sources/Models/headers/Weapons/FlamerNew/Body.h index 2a3c385..07e3f03 100644 --- a/Sources/Models/headers/Weapons/FlamerNew/Body.h +++ b/Sources/Models/headers/Weapons/FlamerNew/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/FlamerNew/FuelReservoir.h b/Sources/Models/headers/Weapons/FlamerNew/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/Models/headers/Weapons/FlamerNew/FuelReservoir.h +++ b/Sources/Models/headers/Weapons/FlamerNew/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/Body.h b/Sources/Models/headers/Weapons/GhostBuster/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/Body.h +++ b/Sources/Models/headers/Weapons/GhostBuster/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/Effect01.h b/Sources/Models/headers/Weapons/GhostBuster/Effect01.h index cd76de3..6fd6453 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/Effect01.h +++ b/Sources/Models/headers/Weapons/GhostBuster/Effect01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECT01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/EffectFlare.h b/Sources/Models/headers/Weapons/GhostBuster/EffectFlare.h index b0857c0..759921a 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/EffectFlare.h +++ b/Sources/Models/headers/Weapons/GhostBuster/EffectFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/EffectFlare01.h b/Sources/Models/headers/Weapons/GhostBuster/EffectFlare01.h index 6a28421..2b272fb 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/EffectFlare01.h +++ b/Sources/Models/headers/Weapons/GhostBuster/EffectFlare01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/GhostBuster.h b/Sources/Models/headers/Weapons/GhostBuster/GhostBuster.h index f097980..43833b2 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/GhostBuster.h +++ b/Sources/Models/headers/Weapons/GhostBuster/GhostBuster.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTER_ANIM_DEFAULT 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/GhostBusterItem.h b/Sources/Models/headers/Weapons/GhostBuster/GhostBusterItem.h index 6b5f2be..13fcee2 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/GhostBusterItem.h +++ b/Sources/Models/headers/Weapons/GhostBuster/GhostBusterItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GHOSTBUSTERITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/Projectile/Ray.h b/Sources/Models/headers/Weapons/GhostBuster/Projectile/Ray.h index 92c07d4..f450503 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/Projectile/Ray.h +++ b/Sources/Models/headers/Weapons/GhostBuster/Projectile/Ray.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define RAY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GhostBuster/Rotator.h b/Sources/Models/headers/Weapons/GhostBuster/Rotator.h index 4cbbac6..bcf2a87 100644 --- a/Sources/Models/headers/Weapons/GhostBuster/Rotator.h +++ b/Sources/Models/headers/Weapons/GhostBuster/Rotator.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/Body.h b/Sources/Models/headers/Weapons/GrenadeLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/Body.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/Grenade/Grenade.h b/Sources/Models/headers/Weapons/GrenadeLauncher/Grenade/Grenade.h index bd8b747..58dc06d 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/Grenade/Grenade.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeBack.h b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeBack.h index d51a779..43eb6ac 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeBack.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeBack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADEBACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncher.h b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncher.h index f75419a..5502803 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncher.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncherItem.h b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncherItem.h index 2dfe0d2..38b7cdd 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncherItem.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/GrenadeLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/GrenadeLauncher/MovingPipe.h b/Sources/Models/headers/Weapons/GrenadeLauncher/MovingPipe.h index 0f8a2f5..974076f 100644 --- a/Sources/Models/headers/Weapons/GrenadeLauncher/MovingPipe.h +++ b/Sources/Models/headers/Weapons/GrenadeLauncher/MovingPipe.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGPIPE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Knife/Knife.h b/Sources/Models/headers/Weapons/Knife/Knife.h index e8c54c5..6638138 100644 --- a/Sources/Models/headers/Weapons/Knife/Knife.h +++ b/Sources/Models/headers/Weapons/Knife/Knife.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Knife/KnifeItem.h b/Sources/Models/headers/Weapons/Knife/KnifeItem.h index 7f300b2..096395a 100644 --- a/Sources/Models/headers/Weapons/Knife/KnifeItem.h +++ b/Sources/Models/headers/Weapons/Knife/KnifeItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KNIFEITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/Barrel.h b/Sources/Models/headers/Weapons/Laser/Barrel.h index 9eb9ba7..5b03485 100644 --- a/Sources/Models/headers/Weapons/Laser/Barrel.h +++ b/Sources/Models/headers/Weapons/Laser/Barrel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/Body.h b/Sources/Models/headers/Weapons/Laser/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/Laser/Body.h +++ b/Sources/Models/headers/Weapons/Laser/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/Laser.h b/Sources/Models/headers/Weapons/Laser/Laser.h index 778c39a..930bcc5 100644 --- a/Sources/Models/headers/Weapons/Laser/Laser.h +++ b/Sources/Models/headers/Weapons/Laser/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/LaserItem.h b/Sources/Models/headers/Weapons/Laser/LaserItem.h index 5c6b2fd..0555a46 100644 --- a/Sources/Models/headers/Weapons/Laser/LaserItem.h +++ b/Sources/Models/headers/Weapons/Laser/LaserItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectile.h b/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectile.h index 448ef36..0de397e 100644 --- a/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectile.h +++ b/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectileGlow01.h b/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectileGlow01.h index 9012be4..0058eaf 100644 --- a/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectileGlow01.h +++ b/Sources/Models/headers/Weapons/Laser/Projectile/LaserProjectileGlow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERPROJECTILEGLOW01_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/Barrels.h b/Sources/Models/headers/Weapons/MiniGun/Barrels.h index ba1b969..edc5e4c 100644 --- a/Sources/Models/headers/Weapons/MiniGun/Barrels.h +++ b/Sources/Models/headers/Weapons/MiniGun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/Body.h b/Sources/Models/headers/Weapons/MiniGun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/headers/Weapons/MiniGun/Body.h +++ b/Sources/Models/headers/Weapons/MiniGun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/Engine.h b/Sources/Models/headers/Weapons/MiniGun/Engine.h index 5414aaf..864b295 100644 --- a/Sources/Models/headers/Weapons/MiniGun/Engine.h +++ b/Sources/Models/headers/Weapons/MiniGun/Engine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENGINE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/Handle.h b/Sources/Models/headers/Weapons/MiniGun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/headers/Weapons/MiniGun/Handle.h +++ b/Sources/Models/headers/Weapons/MiniGun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/MiniGunItem.h b/Sources/Models/headers/Weapons/MiniGun/MiniGunItem.h index eca3952..e2ead62 100644 --- a/Sources/Models/headers/Weapons/MiniGun/MiniGunItem.h +++ b/Sources/Models/headers/Weapons/MiniGun/MiniGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/Shell/Shell.h b/Sources/Models/headers/Weapons/MiniGun/Shell/Shell.h index b324ec5..d052b15 100644 --- a/Sources/Models/headers/Weapons/MiniGun/Shell/Shell.h +++ b/Sources/Models/headers/Weapons/MiniGun/Shell/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/MiniGun/minigun.h b/Sources/Models/headers/Weapons/MiniGun/minigun.h index e11de4f..1ed9553 100644 --- a/Sources/Models/headers/Weapons/MiniGun/minigun.h +++ b/Sources/Models/headers/Weapons/MiniGun/minigun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINIGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/Bomb.h b/Sources/Models/headers/Weapons/PipeBomb/Bomb.h index 2adc5f9..670ba8c 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/Bomb.h +++ b/Sources/Models/headers/Weapons/PipeBomb/Bomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/Button.h b/Sources/Models/headers/Weapons/PipeBomb/Button.h index 0a37920..79896f1 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/Button.h +++ b/Sources/Models/headers/Weapons/PipeBomb/Button.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUTTON_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/Grenade/Grenade.h b/Sources/Models/headers/Weapons/PipeBomb/Grenade/Grenade.h index a184e98..8db2058 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/Grenade/Grenade.h +++ b/Sources/Models/headers/Weapons/PipeBomb/Grenade/Grenade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/HandWithBomb.h b/Sources/Models/headers/Weapons/PipeBomb/HandWithBomb.h index ff21e00..0324d23 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/HandWithBomb.h +++ b/Sources/Models/headers/Weapons/PipeBomb/HandWithBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHBOMB_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/HandWithStick.h b/Sources/Models/headers/Weapons/PipeBomb/HandWithStick.h index 720e652..71aafda 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/HandWithStick.h +++ b/Sources/Models/headers/Weapons/PipeBomb/HandWithStick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDWITHSTICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/Shield.h b/Sources/Models/headers/Weapons/PipeBomb/Shield.h index 8132e9f..9ad105c 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/Shield.h +++ b/Sources/Models/headers/Weapons/PipeBomb/Shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/Stick.h b/Sources/Models/headers/Weapons/PipeBomb/Stick.h index ac4bd6e..fa300c8 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/Stick.h +++ b/Sources/Models/headers/Weapons/PipeBomb/Stick.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/PipeBomb/StickItem.h b/Sources/Models/headers/Weapons/PipeBomb/StickItem.h index 9edfc5e..5d689d0 100644 --- a/Sources/Models/headers/Weapons/PipeBomb/StickItem.h +++ b/Sources/Models/headers/Weapons/PipeBomb/StickItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STICKITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/RocketLauncher/Body.h b/Sources/Models/headers/Weapons/RocketLauncher/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/RocketLauncher/Body.h +++ b/Sources/Models/headers/Weapons/RocketLauncher/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/RocketLauncher/Projectile/Rocket.h b/Sources/Models/headers/Weapons/RocketLauncher/Projectile/Rocket.h index 926615e..45856ea 100644 --- a/Sources/Models/headers/Weapons/RocketLauncher/Projectile/Rocket.h +++ b/Sources/Models/headers/Weapons/RocketLauncher/Projectile/Rocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncher.h b/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncher.h index 7e2f43e..c62d265 100644 --- a/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncher.h +++ b/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncherItem.h b/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncherItem.h index 350dd7d..3bfc01a 100644 --- a/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncherItem.h +++ b/Sources/Models/headers/Weapons/RocketLauncher/RocketLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKETLAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/RocketLauncher/Rotatingpart.h b/Sources/Models/headers/Weapons/RocketLauncher/Rotatingpart.h index ba30be2..c8e3f48 100644 --- a/Sources/Models/headers/Weapons/RocketLauncher/Rotatingpart.h +++ b/Sources/Models/headers/Weapons/RocketLauncher/Rotatingpart.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGPART_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/Barrels.h b/Sources/Models/headers/Weapons/SingleShotgun/Barrels.h index 32045d4..e84516d 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/Barrels.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/Barrels.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARRELS_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/Handle.h b/Sources/Models/headers/Weapons/SingleShotgun/Handle.h index 8b5093d..22d6c3b 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/Handle.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/Handle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HANDLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/Shell/Shell.h b/Sources/Models/headers/Weapons/SingleShotgun/Shell/Shell.h index b324ec5..d052b15 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/Shell/Shell.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/Shell/Shell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHELL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/SingleShotGun.h b/Sources/Models/headers/Weapons/SingleShotgun/SingleShotGun.h index 7e357cd..9c3aa61 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/SingleShotGun.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/SingleShotGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/SingleShotgunItem.h b/Sources/Models/headers/Weapons/SingleShotgun/SingleShotgunItem.h index cad116d..eabc036 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/SingleShotgunItem.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/SingleShotgunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SINGLESHOTGUNITEM_ANIM_CENTERED 0 diff --git a/Sources/Models/headers/Weapons/SingleShotgun/Slider.h b/Sources/Models/headers/Weapons/SingleShotgun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/headers/Weapons/SingleShotgun/Slider.h +++ b/Sources/Models/headers/Weapons/SingleShotgun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Sniper/Body.h b/Sources/Models/headers/Weapons/Sniper/Body.h index 3651c07..11d37ad 100644 --- a/Sources/Models/headers/Weapons/Sniper/Body.h +++ b/Sources/Models/headers/Weapons/Sniper/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/Sniper/Sniper.h b/Sources/Models/headers/Weapons/Sniper/Sniper.h index 412de9f..5a2631c 100644 --- a/Sources/Models/headers/Weapons/Sniper/Sniper.h +++ b/Sources/Models/headers/Weapons/Sniper/Sniper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/TommyGun/Body.h b/Sources/Models/headers/Weapons/TommyGun/Body.h index 03232e1..3872a83 100644 --- a/Sources/Models/headers/Weapons/TommyGun/Body.h +++ b/Sources/Models/headers/Weapons/TommyGun/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/TommyGun/Slider.h b/Sources/Models/headers/Weapons/TommyGun/Slider.h index 5103380..ced8943 100644 --- a/Sources/Models/headers/Weapons/TommyGun/Slider.h +++ b/Sources/Models/headers/Weapons/TommyGun/Slider.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SLIDER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/TommyGun/TommyGun.h b/Sources/Models/headers/Weapons/TommyGun/TommyGun.h index 2b3e674..6afb866 100644 --- a/Sources/Models/headers/Weapons/TommyGun/TommyGun.h +++ b/Sources/Models/headers/Weapons/TommyGun/TommyGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUN_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/Models/headers/Weapons/TommyGun/TommyGunItem.h b/Sources/Models/headers/Weapons/TommyGun/TommyGunItem.h index 40766ab..667ed03 100644 --- a/Sources/Models/headers/Weapons/TommyGun/TommyGunItem.h +++ b/Sources/Models/headers/Weapons/TommyGun/TommyGunItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOMMYGUNITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Babylon/BabylonColumn/Column.h b/Sources/ModelsMP/Babylon/BabylonColumn/Column.h index 52c0f09..21d199a 100644 --- a/Sources/ModelsMP/Babylon/BabylonColumn/Column.h +++ b/Sources/ModelsMP/Babylon/BabylonColumn/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/BabylonTower/CornerTower.h b/Sources/ModelsMP/Babylon/BabylonTower/CornerTower.h index 9e6d1f3..e747f59 100644 --- a/Sources/ModelsMP/Babylon/BabylonTower/CornerTower.h +++ b/Sources/ModelsMP/Babylon/BabylonTower/CornerTower.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CORNERTOWER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/BabylonTower/Tower.h b/Sources/ModelsMP/Babylon/BabylonTower/Tower.h index 9e9ce46..4cda76b 100644 --- a/Sources/ModelsMP/Babylon/BabylonTower/Tower.h +++ b/Sources/ModelsMP/Babylon/BabylonTower/Tower.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/BabylonTowerIvy/Ivy.h b/Sources/ModelsMP/Babylon/BabylonTowerIvy/Ivy.h index 67a1c61..3840a02 100644 --- a/Sources/ModelsMP/Babylon/BabylonTowerIvy/Ivy.h +++ b/Sources/ModelsMP/Babylon/BabylonTowerIvy/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Column01/Column.h b/Sources/ModelsMP/Babylon/Column01/Column.h index 52c0f09..21d199a 100644 --- a/Sources/ModelsMP/Babylon/Column01/Column.h +++ b/Sources/ModelsMP/Babylon/Column01/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Dome01/Dome.h b/Sources/ModelsMP/Babylon/Dome01/Dome.h index 59c2665..6ad7c04 100644 --- a/Sources/ModelsMP/Babylon/Dome01/Dome.h +++ b/Sources/ModelsMP/Babylon/Dome01/Dome.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOME_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/DoorPortal/Portal.h b/Sources/ModelsMP/Babylon/DoorPortal/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/Babylon/DoorPortal/Portal.h +++ b/Sources/ModelsMP/Babylon/DoorPortal/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/DoorPortal02/Portal.h b/Sources/ModelsMP/Babylon/DoorPortal02/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/Babylon/DoorPortal02/Portal.h +++ b/Sources/ModelsMP/Babylon/DoorPortal02/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Elephant/Elephant.h b/Sources/ModelsMP/Babylon/Elephant/Elephant.h index 7e7a12b..747bb8f 100644 --- a/Sources/ModelsMP/Babylon/Elephant/Elephant.h +++ b/Sources/ModelsMP/Babylon/Elephant/Elephant.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEPHANT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder01/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder01/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder01/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder01/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder02/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder02/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder02/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder02/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder03/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder03/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder03/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder03/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder04/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder04/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder04/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder04/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder05/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder05/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder05/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder05/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder06/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder06/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder06/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder06/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder07/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder07/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder07/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder07/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder09/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder09/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder09/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder09/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/FireHolder10/FireHolder.h b/Sources/ModelsMP/Babylon/FireHolder10/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/Babylon/FireHolder10/FireHolder.h +++ b/Sources/ModelsMP/Babylon/FireHolder10/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Horse/Horse.h b/Sources/ModelsMP/Babylon/Horse/Horse.h index c8624f1..dc672dc 100644 --- a/Sources/ModelsMP/Babylon/Horse/Horse.h +++ b/Sources/ModelsMP/Babylon/Horse/Horse.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORSE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/LionStatue/LionStatue-test.h b/Sources/ModelsMP/Babylon/LionStatue/LionStatue-test.h index dbc81bd..e44e60f 100644 --- a/Sources/ModelsMP/Babylon/LionStatue/LionStatue-test.h +++ b/Sources/ModelsMP/Babylon/LionStatue/LionStatue-test.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIONSTATUE-TEST_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/LionStatue/LionStatue.h b/Sources/ModelsMP/Babylon/LionStatue/LionStatue.h index 8a3b680..5965e1a 100644 --- a/Sources/ModelsMP/Babylon/LionStatue/LionStatue.h +++ b/Sources/ModelsMP/Babylon/LionStatue/LionStatue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIONSTATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/ManStatue/Statue.h b/Sources/ModelsMP/Babylon/ManStatue/Statue.h index acf13de..f9f2348 100644 --- a/Sources/ModelsMP/Babylon/ManStatue/Statue.h +++ b/Sources/ModelsMP/Babylon/ManStatue/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Persepolis/Egg.h b/Sources/ModelsMP/Babylon/Persepolis/Egg.h index 4088124..0e24604 100644 --- a/Sources/ModelsMP/Babylon/Persepolis/Egg.h +++ b/Sources/ModelsMP/Babylon/Persepolis/Egg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EGG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/PersepolisTemple/TempleColumn.h b/Sources/ModelsMP/Babylon/PersepolisTemple/TempleColumn.h index ca16dfe..907c3df 100644 --- a/Sources/ModelsMP/Babylon/PersepolisTemple/TempleColumn.h +++ b/Sources/ModelsMP/Babylon/PersepolisTemple/TempleColumn.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEMPLECOLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Portal02/Portal.h b/Sources/ModelsMP/Babylon/Portal02/Portal.h index 5d717ea..346f6cd 100644 --- a/Sources/ModelsMP/Babylon/Portal02/Portal.h +++ b/Sources/ModelsMP/Babylon/Portal02/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/PotPlant01/Plant.h b/Sources/ModelsMP/Babylon/PotPlant01/Plant.h index eec1e07..08879e0 100644 --- a/Sources/ModelsMP/Babylon/PotPlant01/Plant.h +++ b/Sources/ModelsMP/Babylon/PotPlant01/Plant.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLANT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/PotPlant01/Pot.h b/Sources/ModelsMP/Babylon/PotPlant01/Pot.h index 65704dc..b8cf462 100644 --- a/Sources/ModelsMP/Babylon/PotPlant01/Pot.h +++ b/Sources/ModelsMP/Babylon/PotPlant01/Pot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define POT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Tower01/Tower.h b/Sources/ModelsMP/Babylon/Tower01/Tower.h index 9e9ce46..4cda76b 100644 --- a/Sources/ModelsMP/Babylon/Tower01/Tower.h +++ b/Sources/ModelsMP/Babylon/Tower01/Tower.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Tower01/TowerQuadric.h b/Sources/ModelsMP/Babylon/Tower01/TowerQuadric.h index 7328fd0..0a431d4 100644 --- a/Sources/ModelsMP/Babylon/Tower01/TowerQuadric.h +++ b/Sources/ModelsMP/Babylon/Tower01/TowerQuadric.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWERQUADRIC_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Vase01/Vase.h b/Sources/ModelsMP/Babylon/Vase01/Vase.h index 9e8cac6..560c9da 100644 --- a/Sources/ModelsMP/Babylon/Vase01/Vase.h +++ b/Sources/ModelsMP/Babylon/Vase01/Vase.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VASE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/Vase02/Vase.h b/Sources/ModelsMP/Babylon/Vase02/Vase.h index 9e8cac6..560c9da 100644 --- a/Sources/ModelsMP/Babylon/Vase02/Vase.h +++ b/Sources/ModelsMP/Babylon/Vase02/Vase.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VASE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Babylon/WallShooter/Shooter.h b/Sources/ModelsMP/Babylon/WallShooter/Shooter.h index 93f9a84..773462f 100644 --- a/Sources/ModelsMP/Babylon/WallShooter/Shooter.h +++ b/Sources/ModelsMP/Babylon/WallShooter/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Computer/Floor.h b/Sources/ModelsMP/Computer/Floor.h index 962409d..8cc8c30 100644 --- a/Sources/ModelsMP/Computer/Floor.h +++ b/Sources/ModelsMP/Computer/Floor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOOR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/CutSequences/Book/Book.h b/Sources/ModelsMP/CutSequences/Book/Book.h index 1111fd6..7d7d772 100644 --- a/Sources/ModelsMP/CutSequences/Book/Book.h +++ b/Sources/ModelsMP/CutSequences/Book/Book.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOOK_ANIM_CLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/Book/CoverPages.h b/Sources/ModelsMP/CutSequences/Book/CoverPages.h index 889f465..7f322f7 100644 --- a/Sources/ModelsMP/CutSequences/Book/CoverPages.h +++ b/Sources/ModelsMP/CutSequences/Book/CoverPages.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COVERPAGES_ANIM_LEFTCLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/Church/Arch.h b/Sources/ModelsMP/CutSequences/Church/Arch.h index ddacad8..14f6962 100644 --- a/Sources/ModelsMP/CutSequences/Church/Arch.h +++ b/Sources/ModelsMP/CutSequences/Church/Arch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Church/Bench.h b/Sources/ModelsMP/CutSequences/Church/Bench.h index 2cde71e..cc062aa 100644 --- a/Sources/ModelsMP/CutSequences/Church/Bench.h +++ b/Sources/ModelsMP/CutSequences/Church/Bench.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BENCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Church/Column.h b/Sources/ModelsMP/CutSequences/Church/Column.h index 52c0f09..21d199a 100644 --- a/Sources/ModelsMP/CutSequences/Church/Column.h +++ b/Sources/ModelsMP/CutSequences/Church/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Church/ConfessionBox.h b/Sources/ModelsMP/CutSequences/Church/ConfessionBox.h index 2bfa0fc..5cf39f2 100644 --- a/Sources/ModelsMP/CutSequences/Church/ConfessionBox.h +++ b/Sources/ModelsMP/CutSequences/Church/ConfessionBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CONFESSIONBOX_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Church/Vitrage_Big.h b/Sources/ModelsMP/CutSequences/Church/Vitrage_Big.h index e5e8c3f..fb8b92a 100644 --- a/Sources/ModelsMP/CutSequences/Church/Vitrage_Big.h +++ b/Sources/ModelsMP/CutSequences/Church/Vitrage_Big.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VITRAGE_BIG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Church/Vitrage_Small.h b/Sources/ModelsMP/CutSequences/Church/Vitrage_Small.h index fa3feb6..c144212 100644 --- a/Sources/ModelsMP/CutSequences/Church/Vitrage_Small.h +++ b/Sources/ModelsMP/CutSequences/Church/Vitrage_Small.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VITRAGE_SMALL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/ChurchRoof/CurchRoof.h b/Sources/ModelsMP/CutSequences/ChurchRoof/CurchRoof.h index 354f5e1..cc48dd0 100644 --- a/Sources/ModelsMP/CutSequences/ChurchRoof/CurchRoof.h +++ b/Sources/ModelsMP/CutSequences/ChurchRoof/CurchRoof.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CURCHROOF_ANIM_CLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/CrateBus/CrateBus.h b/Sources/ModelsMP/CutSequences/CrateBus/CrateBus.h index cabb854..bd069db 100644 --- a/Sources/ModelsMP/CutSequences/CrateBus/CrateBus.h +++ b/Sources/ModelsMP/CutSequences/CrateBus/CrateBus.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CRATEBUS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/CrateBus/CrateBus_Crashed.h b/Sources/ModelsMP/CutSequences/CrateBus/CrateBus_Crashed.h index bcbbfaf..5657e6f 100644 --- a/Sources/ModelsMP/CutSequences/CrateBus/CrateBus_Crashed.h +++ b/Sources/ModelsMP/CutSequences/CrateBus/CrateBus_Crashed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CRATEBUS_CRASHED_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Curtain/Curtain.h b/Sources/ModelsMP/CutSequences/Curtain/Curtain.h index 9cb0f7e..51e7bff 100644 --- a/Sources/ModelsMP/CutSequences/Curtain/Curtain.h +++ b/Sources/ModelsMP/CutSequences/Curtain/Curtain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CURTAIN_ANIM_CLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/DiscoBall/DiscoBall.h b/Sources/ModelsMP/CutSequences/DiscoBall/DiscoBall.h index 7974e6f..841bb85 100644 --- a/Sources/ModelsMP/CutSequences/DiscoBall/DiscoBall.h +++ b/Sources/ModelsMP/CutSequences/DiscoBall/DiscoBall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DISCOBALL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/DiscoBall/Microphone.h b/Sources/ModelsMP/CutSequences/DiscoBall/Microphone.h index aa6a982..f4af94d 100644 --- a/Sources/ModelsMP/CutSequences/DiscoBall/Microphone.h +++ b/Sources/ModelsMP/CutSequences/DiscoBall/Microphone.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MICROPHONE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Ball.h b/Sources/ModelsMP/CutSequences/EgyptSet/Ball.h index c6de6a2..2852ed0 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Ball.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Ball.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BALL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Body.h b/Sources/ModelsMP/CutSequences/EgyptSet/Body.h index 832d5fa..6429958 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Body.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_MINIGUN_FIRESHORT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/CameraTracks.h b/Sources/ModelsMP/CutSequences/EgyptSet/CameraTracks.h index 183ed92..3125560 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/CameraTracks.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/CameraTracks.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAMERATRACKS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Chair.h b/Sources/ModelsMP/CutSequences/EgyptSet/Chair.h index 454c2a2..36f4b7d 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Chair.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Chair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAIR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Devil.h b/Sources/ModelsMP/CutSequences/EgyptSet/Devil.h index 647a123..a6d535e 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Devil.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Devil.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Devil2.h b/Sources/ModelsMP/CutSequences/EgyptSet/Devil2.h index 22a4603..3b60b32 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Devil2.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Devil2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEVIL2_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Head.h b/Sources/ModelsMP/CutSequences/EgyptSet/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Head.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Player.h b/Sources/ModelsMP/CutSequences/EgyptSet/Player.h index e9b9240..7446623 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Player.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/CutSequences/EgyptSet/Toys.h b/Sources/ModelsMP/CutSequences/EgyptSet/Toys.h index 8350012..5b0650c 100644 --- a/Sources/ModelsMP/CutSequences/EgyptSet/Toys.h +++ b/Sources/ModelsMP/CutSequences/EgyptSet/Toys.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOYS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Intro/log.h b/Sources/ModelsMP/CutSequences/Intro/log.h index 8aaea84..15bd8db 100644 --- a/Sources/ModelsMP/CutSequences/Intro/log.h +++ b/Sources/ModelsMP/CutSequences/Intro/log.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LOG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Museum/Container.h b/Sources/ModelsMP/CutSequences/Museum/Container.h index 8497955..e4f8cf3 100644 --- a/Sources/ModelsMP/CutSequences/Museum/Container.h +++ b/Sources/ModelsMP/CutSequences/Museum/Container.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CONTAINER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Museum/Question.h b/Sources/ModelsMP/CutSequences/Museum/Question.h index 92c0491..8dd6e4f 100644 --- a/Sources/ModelsMP/CutSequences/Museum/Question.h +++ b/Sources/ModelsMP/CutSequences/Museum/Question.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define QUESTION_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Museum/Ughzy.h b/Sources/ModelsMP/CutSequences/Museum/Ughzy.h index f4e6ed1..c3305ae 100644 --- a/Sources/ModelsMP/CutSequences/Museum/Ughzy.h +++ b/Sources/ModelsMP/CutSequences/Museum/Ughzy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define UGHZY_ANIM_3RD 0 diff --git a/Sources/ModelsMP/CutSequences/PokerTable/Table.h b/Sources/ModelsMP/CutSequences/PokerTable/Table.h index 6e76495..6604b09 100644 --- a/Sources/ModelsMP/CutSequences/PokerTable/Table.h +++ b/Sources/ModelsMP/CutSequences/PokerTable/Table.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TABLE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/PumpkinField/Head.h b/Sources/ModelsMP/CutSequences/PumpkinField/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/CutSequences/PumpkinField/Head.h +++ b/Sources/ModelsMP/CutSequences/PumpkinField/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Reflector/Reflector.h b/Sources/ModelsMP/CutSequences/Reflector/Reflector.h index 5ae6dc3..14ad255 100644 --- a/Sources/ModelsMP/CutSequences/Reflector/Reflector.h +++ b/Sources/ModelsMP/CutSequences/Reflector/Reflector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define REFLECTOR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Rocket/Rocket.h b/Sources/ModelsMP/CutSequences/Rocket/Rocket.h index 60e0710..a62feb6 100644 --- a/Sources/ModelsMP/CutSequences/Rocket/Rocket.h +++ b/Sources/ModelsMP/CutSequences/Rocket/Rocket.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCKET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Santa/Bag.h b/Sources/ModelsMP/CutSequences/Santa/Bag.h index 7a8dae1..508f04c 100644 --- a/Sources/ModelsMP/CutSequences/Santa/Bag.h +++ b/Sources/ModelsMP/CutSequences/Santa/Bag.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BAG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Santa/Body.h b/Sources/ModelsMP/CutSequences/Santa/Body.h index f358513..ac90a7a 100644 --- a/Sources/ModelsMP/CutSequences/Santa/Body.h +++ b/Sources/ModelsMP/CutSequences/Santa/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/CutSequences/Santa/Player.h b/Sources/ModelsMP/CutSequences/Santa/Player.h index 6e8f534..266b067 100644 --- a/Sources/ModelsMP/CutSequences/Santa/Player.h +++ b/Sources/ModelsMP/CutSequences/Santa/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_RUN 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachine.h b/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachine.h index a08dc07..acab99c 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachine.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAMMACHINE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachineRim.h b/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachineRim.h index 1f17767..4602f31 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachineRim.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/BeamMachineRim.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAMMACHINERIM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/Body.h b/Sources/ModelsMP/CutSequences/SpaceShip/Body.h index 64b0d4b..34823c5 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/Body.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/BottomFlare.h b/Sources/ModelsMP/CutSequences/SpaceShip/BottomFlare.h index 2b86509..d10a53b 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/BottomFlare.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/BottomFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOTTOMFLARE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/Door.h b/Sources/ModelsMP/CutSequences/SpaceShip/Door.h index 09c978d..e4394c1 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/Door.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/Door.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DOOR_ANIM_CLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/FillIn.h b/Sources/ModelsMP/CutSequences/SpaceShip/FillIn.h index ff17f71..2a3bd8c 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/FillIn.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/FillIn.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FILLIN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/LightBeam.h b/Sources/ModelsMP/CutSequences/SpaceShip/LightBeam.h index c83cd93..9b3ccba 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/LightBeam.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/PowerRing.h b/Sources/ModelsMP/CutSequences/SpaceShip/PowerRing.h index cd21363..d68b7fc 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/PowerRing.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/PowerRing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define POWERRING_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/SpaceShip/SpaceShip.h b/Sources/ModelsMP/CutSequences/SpaceShip/SpaceShip.h index 9f420f1..4d3144a 100644 --- a/Sources/ModelsMP/CutSequences/SpaceShip/SpaceShip.h +++ b/Sources/ModelsMP/CutSequences/SpaceShip/SpaceShip.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPACESHIP_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/TelephoneBooth/TelephoneBooth.h b/Sources/ModelsMP/CutSequences/TelephoneBooth/TelephoneBooth.h index 815a593..cc0e86a 100644 --- a/Sources/ModelsMP/CutSequences/TelephoneBooth/TelephoneBooth.h +++ b/Sources/ModelsMP/CutSequences/TelephoneBooth/TelephoneBooth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TELEPHONEBOOTH_ANIM_CLOSED 0 diff --git a/Sources/ModelsMP/CutSequences/ToiletTime/Bullet.h b/Sources/ModelsMP/CutSequences/ToiletTime/Bullet.h index 8899b16..c3a0a8d 100644 --- a/Sources/ModelsMP/CutSequences/ToiletTime/Bullet.h +++ b/Sources/ModelsMP/CutSequences/ToiletTime/Bullet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BULLET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/ToiletTime/Toilet.h b/Sources/ModelsMP/CutSequences/ToiletTime/Toilet.h index eb9d94b..1202af6 100644 --- a/Sources/ModelsMP/CutSequences/ToiletTime/Toilet.h +++ b/Sources/ModelsMP/CutSequences/ToiletTime/Toilet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOILET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/ToiletTime/ToiletBooth.h b/Sources/ModelsMP/CutSequences/ToiletTime/ToiletBooth.h index d2490fe..6be6bf2 100644 --- a/Sources/ModelsMP/CutSequences/ToiletTime/ToiletBooth.h +++ b/Sources/ModelsMP/CutSequences/ToiletTime/ToiletBooth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOILETBOOTH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/TriggerAnimated/TriggerAnimated.h b/Sources/ModelsMP/CutSequences/TriggerAnimated/TriggerAnimated.h index 3a5f134..541ed09 100644 --- a/Sources/ModelsMP/CutSequences/TriggerAnimated/TriggerAnimated.h +++ b/Sources/ModelsMP/CutSequences/TriggerAnimated/TriggerAnimated.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TRIGGERANIMATED_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Wood/UnderConstruction.h b/Sources/ModelsMP/CutSequences/Wood/UnderConstruction.h index 5eba0c3..8554eaa 100644 --- a/Sources/ModelsMP/CutSequences/Wood/UnderConstruction.h +++ b/Sources/ModelsMP/CutSequences/Wood/UnderConstruction.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define UNDERCONSTRUCTION_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/CutSequences/Wood/Wood.h b/Sources/ModelsMP/CutSequences/Wood/Wood.h index 1eef9d0..eb3546b 100644 --- a/Sources/ModelsMP/CutSequences/Wood/Wood.h +++ b/Sources/ModelsMP/CutSequences/Wood/Wood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOOD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/DeathMatch/Bonner/Bonner.h b/Sources/ModelsMP/DeathMatch/Bonner/Bonner.h index a6cd8a4..737f21d 100644 --- a/Sources/ModelsMP/DeathMatch/Bonner/Bonner.h +++ b/Sources/ModelsMP/DeathMatch/Bonner/Bonner.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BONNER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/DeathMatch/Rope/Rope.h b/Sources/ModelsMP/DeathMatch/Rope/Rope.h index a96c39c..789856e 100644 --- a/Sources/ModelsMP/DeathMatch/Rope/Rope.h +++ b/Sources/ModelsMP/DeathMatch/Rope/Rope.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROPE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/Damager.h b/Sources/ModelsMP/Editor/Damager.h index 41e0270..d58877a 100644 --- a/Sources/ModelsMP/Editor/Damager.h +++ b/Sources/ModelsMP/Editor/Damager.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DAMAGER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/Debug_EntityStack.h b/Sources/ModelsMP/Editor/Debug_EntityStack.h index 237749e..8d9f34e 100644 --- a/Sources/ModelsMP/Editor/Debug_EntityStack.h +++ b/Sources/ModelsMP/Editor/Debug_EntityStack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEBUG_ENTITYSTACK_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/EffectMarker.h b/Sources/ModelsMP/Editor/EffectMarker.h index 97c1c46..a1ba7b7 100644 --- a/Sources/ModelsMP/Editor/EffectMarker.h +++ b/Sources/ModelsMP/Editor/EffectMarker.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTMARKER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/EnvironmentParticlesHolder.h b/Sources/ModelsMP/Editor/EnvironmentParticlesHolder.h index 9e36578..643b980 100644 --- a/Sources/ModelsMP/Editor/EnvironmentParticlesHolder.h +++ b/Sources/ModelsMP/Editor/EnvironmentParticlesHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENVIROMENTPARTICLESHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/TacticsChanger.h b/Sources/ModelsMP/Editor/TacticsChanger.h index d80b0d4..e5d9977 100644 --- a/Sources/ModelsMP/Editor/TacticsChanger.h +++ b/Sources/ModelsMP/Editor/TacticsChanger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TACTICSCHANGER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/TacticsHolder.h b/Sources/ModelsMP/Editor/TacticsHolder.h index 310782a..24025f0 100644 --- a/Sources/ModelsMP/Editor/TacticsHolder.h +++ b/Sources/ModelsMP/Editor/TacticsHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TACTICSHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/TacticsManager.h b/Sources/ModelsMP/Editor/TacticsManager.h index 3e1ffa2..30aa2be 100644 --- a/Sources/ModelsMP/Editor/TacticsManager.h +++ b/Sources/ModelsMP/Editor/TacticsManager.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TACTICSMANAGER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Editor/TimeControler.h b/Sources/ModelsMP/Editor/TimeControler.h index fde2f25..406f231 100644 --- a/Sources/ModelsMP/Editor/TimeControler.h +++ b/Sources/ModelsMP/Editor/TimeControler.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TIMECONTROLER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Effects/Debris/Tree/TREE.h b/Sources/ModelsMP/Effects/Debris/Tree/TREE.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Effects/Debris/Tree/TREE.h +++ b/Sources/ModelsMP/Effects/Debris/Tree/TREE.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Effects/Fire03/Fire.h b/Sources/ModelsMP/Effects/Fire03/Fire.h index 8ebb1cb..183833a 100644 --- a/Sources/ModelsMP/Effects/Fire03/Fire.h +++ b/Sources/ModelsMP/Effects/Fire03/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Effects/GreenFire/Fire.h b/Sources/ModelsMP/Effects/GreenFire/Fire.h index f6d1668..00cf7e5 100644 --- a/Sources/ModelsMP/Effects/GreenFire/Fire.h +++ b/Sources/ModelsMP/Effects/GreenFire/Fire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIRE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Effects/GreenFire/FireFar.h b/Sources/ModelsMP/Effects/GreenFire/FireFar.h index d69b821..e17570c 100644 --- a/Sources/ModelsMP/Effects/GreenFire/FireFar.h +++ b/Sources/ModelsMP/Effects/GreenFire/FireFar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREFAR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Effects/Laser/Border.h b/Sources/ModelsMP/Effects/Laser/Border.h index bce010a..6807385 100644 --- a/Sources/ModelsMP/Effects/Laser/Border.h +++ b/Sources/ModelsMP/Effects/Laser/Border.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BORDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Effects/Laser/Laser.h b/Sources/ModelsMP/Effects/Laser/Laser.h index 385b72e..b482a9d 100644 --- a/Sources/ModelsMP/Effects/Laser/Laser.h +++ b/Sources/ModelsMP/Effects/Laser/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Effects/Laser/Laser_Red.h b/Sources/ModelsMP/Effects/Laser/Laser_Red.h index c18aad4..a0b982d 100644 --- a/Sources/ModelsMP/Effects/Laser/Laser_Red.h +++ b/Sources/ModelsMP/Effects/Laser/Laser_Red.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_RED_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Effects/LightBeam04/LightBeam.h b/Sources/ModelsMP/Effects/LightBeam04/LightBeam.h index b39007f..4542c58 100644 --- a/Sources/ModelsMP/Effects/LightBeam04/LightBeam.h +++ b/Sources/ModelsMP/Effects/LightBeam04/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Effects/LightBeam05/LightBeam.h b/Sources/ModelsMP/Effects/LightBeam05/LightBeam.h index 8aca2ea..78bd715 100644 --- a/Sources/ModelsMP/Effects/LightBeam05/LightBeam.h +++ b/Sources/ModelsMP/Effects/LightBeam05/LightBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTBEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/AirElemental.h b/Sources/ModelsMP/Enemies/AirElemental/AirElemental.h index 4165585..77b9614 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/AirElemental.h +++ b/Sources/ModelsMP/Enemies/AirElemental/AirElemental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AIRELEMENTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/Elemental.h b/Sources/ModelsMP/Enemies/AirElemental/Elemental.h index 9624e97..fc4df86 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/Elemental.h +++ b/Sources/ModelsMP/Enemies/AirElemental/Elemental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEMENTAL_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/Projectile/Projectile.h b/Sources/ModelsMP/Enemies/AirElemental/Projectile/Projectile.h index 78f535a..b16a362 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/Projectile/Projectile.h +++ b/Sources/ModelsMP/Enemies/AirElemental/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_ROTATE 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/ShockWave.h b/Sources/ModelsMP/Enemies/AirElemental/ShockWave.h index 38e6f5f..1624cac 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/ShockWave.h +++ b/Sources/ModelsMP/Enemies/AirElemental/ShockWave.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/ShockWaveBase.h b/Sources/ModelsMP/Enemies/AirElemental/ShockWaveBase.h index 9bab986..538a540 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/ShockWaveBase.h +++ b/Sources/ModelsMP/Enemies/AirElemental/ShockWaveBase.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOCKWAVEBASE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/AirElemental/Twister.h b/Sources/ModelsMP/Enemies/AirElemental/Twister.h index 1d82818..ee0b292 100644 --- a/Sources/ModelsMP/Enemies/AirElemental/Twister.h +++ b/Sources/ModelsMP/Enemies/AirElemental/Twister.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TWISTER_ANIM_GROWING 0 diff --git a/Sources/ModelsMP/Enemies/CannonRotating/Debris/Cannon.h b/Sources/ModelsMP/Enemies/CannonRotating/Debris/Cannon.h index d606a30..4553de1 100644 --- a/Sources/ModelsMP/Enemies/CannonRotating/Debris/Cannon.h +++ b/Sources/ModelsMP/Enemies/CannonRotating/Debris/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonRotating/Debris/RotatingMechanism.h b/Sources/ModelsMP/Enemies/CannonRotating/Debris/RotatingMechanism.h index c5e0535..67e6ab4 100644 --- a/Sources/ModelsMP/Enemies/CannonRotating/Debris/RotatingMechanism.h +++ b/Sources/ModelsMP/Enemies/CannonRotating/Debris/RotatingMechanism.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGMECHANISM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonRotating/Debris/Turret.h b/Sources/ModelsMP/Enemies/CannonRotating/Debris/Turret.h index 648c781..9accd76 100644 --- a/Sources/ModelsMP/Enemies/CannonRotating/Debris/Turret.h +++ b/Sources/ModelsMP/Enemies/CannonRotating/Debris/Turret.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TURRET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonRotating/RotatingMechanism.h b/Sources/ModelsMP/Enemies/CannonRotating/RotatingMechanism.h index c477c50..b3a9d2f 100644 --- a/Sources/ModelsMP/Enemies/CannonRotating/RotatingMechanism.h +++ b/Sources/ModelsMP/Enemies/CannonRotating/RotatingMechanism.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROTATINGMECHANISM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonRotating/Turret.h b/Sources/ModelsMP/Enemies/CannonRotating/Turret.h index 6b308da..175229a 100644 --- a/Sources/ModelsMP/Enemies/CannonRotating/Turret.h +++ b/Sources/ModelsMP/Enemies/CannonRotating/Turret.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TURRET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonStatic/Cannon.h b/Sources/ModelsMP/Enemies/CannonStatic/Cannon.h index d606a30..4553de1 100644 --- a/Sources/ModelsMP/Enemies/CannonStatic/Cannon.h +++ b/Sources/ModelsMP/Enemies/CannonStatic/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Cannon.h b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Cannon.h index d606a30..4553de1 100644 --- a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Cannon.h +++ b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Cannon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANNON_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wheel.h b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wheel.h index 14613df..b5e0a15 100644 --- a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wheel.h +++ b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wheel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WHEEL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wood.h b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wood.h index 1eef9d0..eb3546b 100644 --- a/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wood.h +++ b/Sources/ModelsMP/Enemies/CannonStatic/Debris/Wood.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOOD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/CannonStatic/Turret.h b/Sources/ModelsMP/Enemies/CannonStatic/Turret.h index 602b890..59603f0 100644 --- a/Sources/ModelsMP/Enemies/CannonStatic/Turret.h +++ b/Sources/ModelsMP/Enemies/CannonStatic/Turret.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TURRET_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ChainSawFreak/Freak.h b/Sources/ModelsMP/Enemies/ChainSawFreak/Freak.h index c5b0c3a..f6f9c19 100644 --- a/Sources/ModelsMP/Enemies/ChainSawFreak/Freak.h +++ b/Sources/ModelsMP/Enemies/ChainSawFreak/Freak.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FREAK_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ChainSawFreak/Saw.h b/Sources/ModelsMP/Enemies/ChainSawFreak/Saw.h index 9ae4603..d1468d2 100644 --- a/Sources/ModelsMP/Enemies/ChainSawFreak/Saw.h +++ b/Sources/ModelsMP/Enemies/ChainSawFreak/Saw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Enemies/Demon/Demon.h b/Sources/ModelsMP/Enemies/Demon/Demon.h index 08d678e..bfcc420 100644 --- a/Sources/ModelsMP/Enemies/Demon/Demon.h +++ b/Sources/ModelsMP/Enemies/Demon/Demon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEMON_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Demon/Projectile/Projectile.h b/Sources/ModelsMP/Enemies/Demon/Projectile/Projectile.h index 56bd215..6be748d 100644 --- a/Sources/ModelsMP/Enemies/Demon/Projectile/Projectile.h +++ b/Sources/ModelsMP/Enemies/Demon/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Arm.h b/Sources/ModelsMP/Enemies/ExotechLarva/Arm.h index afddcc3..a8184e1 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Arm.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Arm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/BackArms.h b/Sources/ModelsMP/Enemies/ExotechLarva/BackArms.h index a0839e3..20e31f4 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/BackArms.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/BackArms.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BACKARMS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Beam.h b/Sources/ModelsMP/Enemies/ExotechLarva/Beam.h index 1ab92f3..e6e6a59 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Beam.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Beam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Body.h b/Sources/ModelsMP/Enemies/ExotechLarva/Body.h index 0a94f78..f3c7610 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Body.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Beam.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Beam.h index 1ab92f3..e6e6a59 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Beam.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Beam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricBeam.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricBeam.h index 686b19c..6d52a2b 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricBeam.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICBEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Electricity.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Electricity.h index 6617d15..fcd31e0 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Electricity.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/Electricity.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricityBeams.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricityBeams.h index 9c2968e..8ab4d4b 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricityBeams.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/ElectricityBeams.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELECTRICITYBEAMS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/FloorCharger.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/FloorCharger.h index 2aa3764..534fd7e 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/FloorCharger.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/FloorCharger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLOORCHARGER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/PlasmaBeam.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/PlasmaBeam.h index 3a8fb86..aaed3c7 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/PlasmaBeam.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/PlasmaBeam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLASMABEAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/WallCharger.h b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/WallCharger.h index 827f25f..cc9b716 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Charger/WallCharger.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Charger/WallCharger.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WALLCHARGER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/BodyDebris.h b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/BodyDebris.h index aa911a5..8eb34b8 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/BodyDebris.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/BodyDebris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYDEBRIS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris01.h b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris01.h index 7e6bab7..471c266 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris01.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TAILDEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris02.h b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris02.h index ae02262..9cdc5a7 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris02.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Debris/TailDebris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TAILDEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/EffectFlare.h b/Sources/ModelsMP/Enemies/ExotechLarva/EffectFlare.h index 1596f05..685d327 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/EffectFlare.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/EffectFlare.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EFFECTFLARE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/EnergyBeams.h b/Sources/ModelsMP/Enemies/ExotechLarva/EnergyBeams.h index 0c59f2b..836d764 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/EnergyBeams.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/EnergyBeams.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENERGYBEAMS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/ExotechLarva.h b/Sources/ModelsMP/Enemies/ExotechLarva/ExotechLarva.h index 54493eb..20ebabc 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/ExotechLarva.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/ExotechLarva.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXOTECHLARVA_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/Projectile.h b/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/Projectile.h index 1457736..c836dce 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/Projectile.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/Projectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PROJECTILE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/TailProjectile.h b/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/TailProjectile.h index d31462a..7c45d55 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/TailProjectile.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Projectile/TailProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TAILPROJECTILE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/Weapons/PlasmaGun.h b/Sources/ModelsMP/Enemies/ExotechLarva/Weapons/PlasmaGun.h index 487e6e8..8c16afd 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/Weapons/PlasmaGun.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/Weapons/PlasmaGun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLASMAGUN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Arm.h b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Arm.h index afddcc3..a8184e1 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Arm.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Arm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Body.h b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Body.h index 0176790..5089aee 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Body.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/ExotechLarva.h b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/ExotechLarva.h index 631f709..2f111c6 100644 --- a/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/ExotechLarva.h +++ b/Sources/ModelsMP/Enemies/ExotechLarva/______Work/Bck2/ExotechLarva.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define EXOTECHLARVA_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Grunt/Grunt.h b/Sources/ModelsMP/Enemies/Grunt/Grunt.h index dbe3181..d9e5c31 100644 --- a/Sources/ModelsMP/Enemies/Grunt/Grunt.h +++ b/Sources/ModelsMP/Enemies/Grunt/Grunt.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRUNT_ANIM_PATROLPOSE 0 diff --git a/Sources/ModelsMP/Enemies/Grunt/Gun.h b/Sources/ModelsMP/Enemies/Grunt/Gun.h index 96fa902..4e3df31 100644 --- a/Sources/ModelsMP/Enemies/Grunt/Gun.h +++ b/Sources/ModelsMP/Enemies/Grunt/Gun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Grunt/Gun_Commander.h b/Sources/ModelsMP/Enemies/Grunt/Gun_Commander.h index 50fb5f7..b30c6a8 100644 --- a/Sources/ModelsMP/Enemies/Grunt/Gun_Commander.h +++ b/Sources/ModelsMP/Enemies/Grunt/Gun_Commander.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUN_COMMANDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Grunt/Projectile/GruntProjectile.h b/Sources/ModelsMP/Enemies/Grunt/Projectile/GruntProjectile.h index 0ee35b3..9d79cc4 100644 --- a/Sources/ModelsMP/Enemies/Grunt/Projectile/GruntProjectile.h +++ b/Sources/ModelsMP/Enemies/Grunt/Projectile/GruntProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRUNTPROJECTILE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Guffy/Guffy.h b/Sources/ModelsMP/Enemies/Guffy/Guffy.h index feac39a..794b696 100644 --- a/Sources/ModelsMP/Enemies/Guffy/Guffy.h +++ b/Sources/ModelsMP/Enemies/Guffy/Guffy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUFFY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Guffy/Gun.h b/Sources/ModelsMP/Enemies/Guffy/Gun.h index 96fa902..4e3df31 100644 --- a/Sources/ModelsMP/Enemies/Guffy/Gun.h +++ b/Sources/ModelsMP/Enemies/Guffy/Gun.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Guffy/Projectile/GuffyProjectile.h b/Sources/ModelsMP/Enemies/Guffy/Projectile/GuffyProjectile.h index 572de73..3c78372 100644 --- a/Sources/ModelsMP/Enemies/Guffy/Projectile/GuffyProjectile.h +++ b/Sources/ModelsMP/Enemies/Guffy/Projectile/GuffyProjectile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GUFFYPROJECTILE_ANIM_ROTATE01 0 diff --git a/Sources/ModelsMP/Enemies/Mental/01Mental.h b/Sources/ModelsMP/Enemies/Mental/01Mental.h index 1b9c70b..1aa64af 100644 --- a/Sources/ModelsMP/Enemies/Mental/01Mental.h +++ b/Sources/ModelsMP/Enemies/Mental/01Mental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define _01MENTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/Aura.h b/Sources/ModelsMP/Enemies/Mental/Aura.h index 4b9682c..54848e0 100644 --- a/Sources/ModelsMP/Enemies/Mental/Aura.h +++ b/Sources/ModelsMP/Enemies/Mental/Aura.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AURA_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/BrainBottle.h b/Sources/ModelsMP/Enemies/Mental/BrainBottle.h index 58185df..4f6c500 100644 --- a/Sources/ModelsMP/Enemies/Mental/BrainBottle.h +++ b/Sources/ModelsMP/Enemies/Mental/BrainBottle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINBOTTLE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/BrainDrain.h b/Sources/ModelsMP/Enemies/Mental/BrainDrain.h index 02332dd..3442121 100644 --- a/Sources/ModelsMP/Enemies/Mental/BrainDrain.h +++ b/Sources/ModelsMP/Enemies/Mental/BrainDrain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINDRAIN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/BrainHoses.h b/Sources/ModelsMP/Enemies/Mental/BrainHoses.h index 9515ad9..624c3e3 100644 --- a/Sources/ModelsMP/Enemies/Mental/BrainHoses.h +++ b/Sources/ModelsMP/Enemies/Mental/BrainHoses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRAINHOSES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/Head.h b/Sources/ModelsMP/Enemies/Mental/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/Enemies/Mental/Head.h +++ b/Sources/ModelsMP/Enemies/Mental/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/Head2.h b/Sources/ModelsMP/Enemies/Mental/Head2.h index c7a610c..a7fd093 100644 --- a/Sources/ModelsMP/Enemies/Mental/Head2.h +++ b/Sources/ModelsMP/Enemies/Mental/Head2.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD2_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/Horns.h b/Sources/ModelsMP/Enemies/Mental/Horns.h index c77950d..d95f96e 100644 --- a/Sources/ModelsMP/Enemies/Mental/Horns.h +++ b/Sources/ModelsMP/Enemies/Mental/Horns.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HORNS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Mental/Mental.h b/Sources/ModelsMP/Enemies/Mental/Mental.h index df2438b..c6e3cb0 100644 --- a/Sources/ModelsMP/Enemies/Mental/Mental.h +++ b/Sources/ModelsMP/Enemies/Mental/Mental.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MENTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Shooters/Arrow01.h b/Sources/ModelsMP/Enemies/Shooters/Arrow01.h index b393862..9a7d70c 100644 --- a/Sources/ModelsMP/Enemies/Shooters/Arrow01.h +++ b/Sources/ModelsMP/Enemies/Shooters/Arrow01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARROW01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth01.h b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth01.h index 9f34fe9..73a1b9e 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth01.h +++ b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CLOTH01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth02.h b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth02.h index 3753685..6e16458 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth02.h +++ b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CLOTH02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth03.h b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth03.h index a8f9ae5..2c51aef 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth03.h +++ b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CLOTH03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth04.h b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth04.h index 6e4d8cd..61e1ac6 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth04.h +++ b/Sources/ModelsMP/Enemies/Summoner/Debris/Cloth04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CLOTH04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/SpawnerProjectile/Invisible.h b/Sources/ModelsMP/Enemies/Summoner/SpawnerProjectile/Invisible.h index b8ee17c..67598f6 100644 --- a/Sources/ModelsMP/Enemies/Summoner/SpawnerProjectile/Invisible.h +++ b/Sources/ModelsMP/Enemies/Summoner/SpawnerProjectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Staff.h b/Sources/ModelsMP/Enemies/Summoner/Staff.h index b121fcc..f0fe7a9 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Staff.h +++ b/Sources/ModelsMP/Enemies/Summoner/Staff.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAFF_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Enemies/Summoner/Summoner.h b/Sources/ModelsMP/Enemies/Summoner/Summoner.h index a0ad98c..e0ac31f 100644 --- a/Sources/ModelsMP/Enemies/Summoner/Summoner.h +++ b/Sources/ModelsMP/Enemies/Summoner/Summoner.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUMMONER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Enemies/Woman/Woman.h b/Sources/ModelsMP/Enemies/Woman/Woman.h index 6fe2d98..ba3baa4 100644 --- a/Sources/ModelsMP/Enemies/Woman/Woman.h +++ b/Sources/ModelsMP/Enemies/Woman/Woman.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WOMAN_ANIM_AIRATTACK01 0 diff --git a/Sources/ModelsMP/Gothic/Axe01/Axe.h b/Sources/ModelsMP/Gothic/Axe01/Axe.h index d9be2c1..3916afb 100644 --- a/Sources/ModelsMP/Gothic/Axe01/Axe.h +++ b/Sources/ModelsMP/Gothic/Axe01/Axe.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define AXE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Barrel/Barrel.h b/Sources/ModelsMP/Gothic/Barrel/Barrel.h index 744c1ff..c0cc50f 100644 --- a/Sources/ModelsMP/Gothic/Barrel/Barrel.h +++ b/Sources/ModelsMP/Gothic/Barrel/Barrel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Bench/Bench.h b/Sources/ModelsMP/Gothic/Bench/Bench.h index 2cde71e..cc062aa 100644 --- a/Sources/ModelsMP/Gothic/Bench/Bench.h +++ b/Sources/ModelsMP/Gothic/Bench/Bench.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BENCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence01.h b/Sources/ModelsMP/Gothic/Castle/Fence01.h index f387ce4..aaf735a 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence01.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence02.h b/Sources/ModelsMP/Gothic/Castle/Fence02.h index fc09ecb..591c662 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence02.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence03.h b/Sources/ModelsMP/Gothic/Castle/Fence03.h index d20872b..e89110f 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence03.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence04.h b/Sources/ModelsMP/Gothic/Castle/Fence04.h index 67ea23d..30f7fbc 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence04.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence05.h b/Sources/ModelsMP/Gothic/Castle/Fence05.h index 5f58330..29284f2 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence05.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE05_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence06.h b/Sources/ModelsMP/Gothic/Castle/Fence06.h index 6258b0b..47131c0 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence06.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence06.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE06_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Fence07.h b/Sources/ModelsMP/Gothic/Castle/Fence07.h index bfe5a34..80f6537 100644 --- a/Sources/ModelsMP/Gothic/Castle/Fence07.h +++ b/Sources/ModelsMP/Gothic/Castle/Fence07.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FENCE07_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Tower01.h b/Sources/ModelsMP/Gothic/Castle/Tower01.h index 6e342ee..21ea975 100644 --- a/Sources/ModelsMP/Gothic/Castle/Tower01.h +++ b/Sources/ModelsMP/Gothic/Castle/Tower01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Tower02.h b/Sources/ModelsMP/Gothic/Castle/Tower02.h index eb1419a..8c70e2f 100644 --- a/Sources/ModelsMP/Gothic/Castle/Tower02.h +++ b/Sources/ModelsMP/Gothic/Castle/Tower02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Castle/Tower03.h b/Sources/ModelsMP/Gothic/Castle/Tower03.h index dd5bc94..33875c7 100644 --- a/Sources/ModelsMP/Gothic/Castle/Tower03.h +++ b/Sources/ModelsMP/Gothic/Castle/Tower03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Chimney01/chimney.h b/Sources/ModelsMP/Gothic/Chimney01/chimney.h index da3674f..02ded63 100644 --- a/Sources/ModelsMP/Gothic/Chimney01/chimney.h +++ b/Sources/ModelsMP/Gothic/Chimney01/chimney.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHIMNEY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Church/Arch.h b/Sources/ModelsMP/Gothic/Church/Arch.h index ddacad8..14f6962 100644 --- a/Sources/ModelsMP/Gothic/Church/Arch.h +++ b/Sources/ModelsMP/Gothic/Church/Arch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Church/Roof01.h b/Sources/ModelsMP/Gothic/Church/Roof01.h index 8bc9e75..fa9875f 100644 --- a/Sources/ModelsMP/Gothic/Church/Roof01.h +++ b/Sources/ModelsMP/Gothic/Church/Roof01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROOF01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Church/Roof02.h b/Sources/ModelsMP/Gothic/Church/Roof02.h index fc32ac6..c684355 100644 --- a/Sources/ModelsMP/Gothic/Church/Roof02.h +++ b/Sources/ModelsMP/Gothic/Church/Roof02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROOF02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/ChurchBell/ChurchBell.h b/Sources/ModelsMP/Gothic/ChurchBell/ChurchBell.h index ab85546..176e666 100644 --- a/Sources/ModelsMP/Gothic/ChurchBell/ChurchBell.h +++ b/Sources/ModelsMP/Gothic/ChurchBell/ChurchBell.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHURCHBELL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/ChurchPortal/Portal.h b/Sources/ModelsMP/Gothic/ChurchPortal/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/Gothic/ChurchPortal/Portal.h +++ b/Sources/ModelsMP/Gothic/ChurchPortal/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Column01/Column.h b/Sources/ModelsMP/Gothic/Column01/Column.h index 52c0f09..21d199a 100644 --- a/Sources/ModelsMP/Gothic/Column01/Column.h +++ b/Sources/ModelsMP/Gothic/Column01/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Bridge.h b/Sources/ModelsMP/Gothic/Corridor/Bridge.h index cfbaa33..e733940 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Bridge.h +++ b/Sources/ModelsMP/Gothic/Corridor/Bridge.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRIDGE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/ChurchPortal.h b/Sources/ModelsMP/Gothic/Corridor/ChurchPortal.h index 99bb2dc..168fab5 100644 --- a/Sources/ModelsMP/Gothic/Corridor/ChurchPortal.h +++ b/Sources/ModelsMP/Gothic/Corridor/ChurchPortal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHURCHPORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Column.h b/Sources/ModelsMP/Gothic/Corridor/Column.h index 52c0f09..21d199a 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Column.h +++ b/Sources/ModelsMP/Gothic/Corridor/Column.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/DD.h b/Sources/ModelsMP/Gothic/Corridor/DD.h index e8baf16..c838508 100644 --- a/Sources/ModelsMP/Gothic/Corridor/DD.h +++ b/Sources/ModelsMP/Gothic/Corridor/DD.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Pumpkin.h b/Sources/ModelsMP/Gothic/Corridor/Pumpkin.h index f677d50..2bb9531 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Pumpkin.h +++ b/Sources/ModelsMP/Gothic/Corridor/Pumpkin.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PUMPKIN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Tower.h b/Sources/ModelsMP/Gothic/Corridor/Tower.h index 9e9ce46..4cda76b 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Tower.h +++ b/Sources/ModelsMP/Gothic/Corridor/Tower.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Tower02.h b/Sources/ModelsMP/Gothic/Corridor/Tower02.h index eb1419a..8c70e2f 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Tower02.h +++ b/Sources/ModelsMP/Gothic/Corridor/Tower02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Tower03.h b/Sources/ModelsMP/Gothic/Corridor/Tower03.h index dd5bc94..33875c7 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Tower03.h +++ b/Sources/ModelsMP/Gothic/Corridor/Tower03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Corridor/Tower04.h b/Sources/ModelsMP/Gothic/Corridor/Tower04.h index f7ab672..5706b11 100644 --- a/Sources/ModelsMP/Gothic/Corridor/Tower04.h +++ b/Sources/ModelsMP/Gothic/Corridor/Tower04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOWER04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross01/Cross.h b/Sources/ModelsMP/Gothic/Cross01/Cross.h index e860eff..488315d 100644 --- a/Sources/ModelsMP/Gothic/Cross01/Cross.h +++ b/Sources/ModelsMP/Gothic/Cross01/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross02/Cross.h b/Sources/ModelsMP/Gothic/Cross02/Cross.h index 33f52e0..fb3f1f1 100644 --- a/Sources/ModelsMP/Gothic/Cross02/Cross.h +++ b/Sources/ModelsMP/Gothic/Cross02/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross02/JesusSam.h b/Sources/ModelsMP/Gothic/Cross02/JesusSam.h index 5d5541f..cad4035 100644 --- a/Sources/ModelsMP/Gothic/Cross02/JesusSam.h +++ b/Sources/ModelsMP/Gothic/Cross02/JesusSam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JESUSSAM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross03/Cross.h b/Sources/ModelsMP/Gothic/Cross03/Cross.h index e860eff..488315d 100644 --- a/Sources/ModelsMP/Gothic/Cross03/Cross.h +++ b/Sources/ModelsMP/Gothic/Cross03/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross03/Cross01.h b/Sources/ModelsMP/Gothic/Cross03/Cross01.h index 8aec07f..b241c6f 100644 --- a/Sources/ModelsMP/Gothic/Cross03/Cross01.h +++ b/Sources/ModelsMP/Gothic/Cross03/Cross01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross03/CrossChurch.h b/Sources/ModelsMP/Gothic/Cross03/CrossChurch.h index e622ce8..eba20eb 100644 --- a/Sources/ModelsMP/Gothic/Cross03/CrossChurch.h +++ b/Sources/ModelsMP/Gothic/Cross03/CrossChurch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSSCHURCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Cross03/DeanCross.h b/Sources/ModelsMP/Gothic/Cross03/DeanCross.h index 4d7af30..36b53d7 100644 --- a/Sources/ModelsMP/Gothic/Cross03/DeanCross.h +++ b/Sources/ModelsMP/Gothic/Cross03/DeanCross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEANCROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/DemonStatue/Demon.h b/Sources/ModelsMP/Gothic/DemonStatue/Demon.h index 6fc4b2d..d2904c1 100644 --- a/Sources/ModelsMP/Gothic/DemonStatue/Demon.h +++ b/Sources/ModelsMP/Gothic/DemonStatue/Demon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DEMON_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Fountain/Fountain.h b/Sources/ModelsMP/Gothic/Fountain/Fountain.h index 400f661..16c919a 100644 --- a/Sources/ModelsMP/Gothic/Fountain/Fountain.h +++ b/Sources/ModelsMP/Gothic/Fountain/Fountain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FOUNTAIN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Glove/Glove.h b/Sources/ModelsMP/Gothic/Glove/Glove.h index 831de27..261470b 100644 --- a/Sources/ModelsMP/Gothic/Glove/Glove.h +++ b/Sources/ModelsMP/Gothic/Glove/Glove.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLOVE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Grave/Grave.h b/Sources/ModelsMP/Gothic/Grave/Grave.h index ea51e28..cee7833 100644 --- a/Sources/ModelsMP/Gothic/Grave/Grave.h +++ b/Sources/ModelsMP/Gothic/Grave/Grave.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAVE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/LandOfDamned/Player.h b/Sources/ModelsMP/Gothic/LandOfDamned/Player.h index 57f0388..62952e7 100644 --- a/Sources/ModelsMP/Gothic/LandOfDamned/Player.h +++ b/Sources/ModelsMP/Gothic/LandOfDamned/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/LandOfDamned/Portal.h b/Sources/ModelsMP/Gothic/LandOfDamned/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/Gothic/LandOfDamned/Portal.h +++ b/Sources/ModelsMP/Gothic/LandOfDamned/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/LightSource03/LightSource.h b/Sources/ModelsMP/Gothic/LightSource03/LightSource.h index e0fbfed..cf091a6 100644 --- a/Sources/ModelsMP/Gothic/LightSource03/LightSource.h +++ b/Sources/ModelsMP/Gothic/LightSource03/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/LightSource04/LightSource.h b/Sources/ModelsMP/Gothic/LightSource04/LightSource.h index e0fbfed..cf091a6 100644 --- a/Sources/ModelsMP/Gothic/LightSource04/LightSource.h +++ b/Sources/ModelsMP/Gothic/LightSource04/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/LightSource05/LightSource.h b/Sources/ModelsMP/Gothic/LightSource05/LightSource.h index e0fbfed..cf091a6 100644 --- a/Sources/ModelsMP/Gothic/LightSource05/LightSource.h +++ b/Sources/ModelsMP/Gothic/LightSource05/LightSource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Lightsource01/Candle.h b/Sources/ModelsMP/Gothic/Lightsource01/Candle.h index 77e277a..241e64f 100644 --- a/Sources/ModelsMP/Gothic/Lightsource01/Candle.h +++ b/Sources/ModelsMP/Gothic/Lightsource01/Candle.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CANDLE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Lightsource02/Lightsource.h b/Sources/ModelsMP/Gothic/Lightsource02/Lightsource.h index e0fbfed..cf091a6 100644 --- a/Sources/ModelsMP/Gothic/Lightsource02/Lightsource.h +++ b/Sources/ModelsMP/Gothic/Lightsource02/Lightsource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LIGHTSOURCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Painting01/Painting.h b/Sources/ModelsMP/Gothic/Painting01/Painting.h index 49434c8..15de744 100644 --- a/Sources/ModelsMP/Gothic/Painting01/Painting.h +++ b/Sources/ModelsMP/Gothic/Painting01/Painting.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PAINTING_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Portal/Portal.h b/Sources/ModelsMP/Gothic/Portal/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/Gothic/Portal/Portal.h +++ b/Sources/ModelsMP/Gothic/Portal/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Shield01/Shield.h b/Sources/ModelsMP/Gothic/Shield01/Shield.h index 3d29b9f..b930221 100644 --- a/Sources/ModelsMP/Gothic/Shield01/Shield.h +++ b/Sources/ModelsMP/Gothic/Shield01/Shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Shield02/Shield.h b/Sources/ModelsMP/Gothic/Shield02/Shield.h index 3d29b9f..b930221 100644 --- a/Sources/ModelsMP/Gothic/Shield02/Shield.h +++ b/Sources/ModelsMP/Gothic/Shield02/Shield.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHIELD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Shooter02/Shooter.h b/Sources/ModelsMP/Gothic/Shooter02/Shooter.h index 93f9a84..773462f 100644 --- a/Sources/ModelsMP/Gothic/Shooter02/Shooter.h +++ b/Sources/ModelsMP/Gothic/Shooter02/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Snow/Snow.h b/Sources/ModelsMP/Gothic/Snow/Snow.h index 833a513..a1c4d43 100644 --- a/Sources/ModelsMP/Gothic/Snow/Snow.h +++ b/Sources/ModelsMP/Gothic/Snow/Snow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNOW_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/SnowMan/SnowMan.h b/Sources/ModelsMP/Gothic/SnowMan/SnowMan.h index d8555cd..05b60cd 100644 --- a/Sources/ModelsMP/Gothic/SnowMan/SnowMan.h +++ b/Sources/ModelsMP/Gothic/SnowMan/SnowMan.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNOWMAN_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Statue01/Statue.h b/Sources/ModelsMP/Gothic/Statue01/Statue.h index 915299b..6f12a85 100644 --- a/Sources/ModelsMP/Gothic/Statue01/Statue.h +++ b/Sources/ModelsMP/Gothic/Statue01/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Gothic/Volcano/Volcano.h b/Sources/ModelsMP/Gothic/Volcano/Volcano.h index 20abfc8..7dbe8e6 100644 --- a/Sources/ModelsMP/Gothic/Volcano/Volcano.h +++ b/Sources/ModelsMP/Gothic/Volcano/Volcano.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define VOLCANO_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Ammo/Napalm/Napalm.h b/Sources/ModelsMP/Items/Ammo/Napalm/Napalm.h index 1524a50..205f3ae 100644 --- a/Sources/ModelsMP/Items/Ammo/Napalm/Napalm.h +++ b/Sources/ModelsMP/Items/Ammo/Napalm/Napalm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define NAPALM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Ammo/SniperBullets/SniperBullets.h b/Sources/ModelsMP/Items/Ammo/SniperBullets/SniperBullets.h index cf346fd..ede8d39 100644 --- a/Sources/ModelsMP/Items/Ammo/SniperBullets/SniperBullets.h +++ b/Sources/ModelsMP/Items/Ammo/SniperBullets/SniperBullets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPERBULLETS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Armor/Armor_5.h b/Sources/ModelsMP/Items/Armor/Armor_5.h index 54c303a..9745cf8 100644 --- a/Sources/ModelsMP/Items/Armor/Armor_5.h +++ b/Sources/ModelsMP/Items/Armor/Armor_5.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ARMOR_5_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Armor/Helm.h b/Sources/ModelsMP/Items/Armor/Helm.h index 51feb6d..93daac4 100644 --- a/Sources/ModelsMP/Items/Armor/Helm.h +++ b/Sources/ModelsMP/Items/Armor/Helm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HELM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/BookOfWisdom/Book.h b/Sources/ModelsMP/Items/Keys/BookOfWisdom/Book.h index 3a5cc63..cbd6c13 100644 --- a/Sources/ModelsMP/Items/Keys/BookOfWisdom/Book.h +++ b/Sources/ModelsMP/Items/Keys/BookOfWisdom/Book.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOOK_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/BookOfWisdom/BookHolder.h b/Sources/ModelsMP/Items/Keys/BookOfWisdom/BookHolder.h index 36dc7e1..8518098 100644 --- a/Sources/ModelsMP/Items/Keys/BookOfWisdom/BookHolder.h +++ b/Sources/ModelsMP/Items/Keys/BookOfWisdom/BookHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BOOKHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/Cross/Cross.h b/Sources/ModelsMP/Items/Keys/Cross/Cross.h index e860eff..488315d 100644 --- a/Sources/ModelsMP/Items/Keys/Cross/Cross.h +++ b/Sources/ModelsMP/Items/Keys/Cross/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/CrystalSkull/Skull.h b/Sources/ModelsMP/Items/Keys/CrystalSkull/Skull.h index 13d5380..2db023f 100644 --- a/Sources/ModelsMP/Items/Keys/CrystalSkull/Skull.h +++ b/Sources/ModelsMP/Items/Keys/CrystalSkull/Skull.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/EntranceKey/EntranceKey.h b/Sources/ModelsMP/Items/Keys/EntranceKey/EntranceKey.h index 391eb94..32e7b28 100644 --- a/Sources/ModelsMP/Items/Keys/EntranceKey/EntranceKey.h +++ b/Sources/ModelsMP/Items/Keys/EntranceKey/EntranceKey.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENTRANCEKEY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/GoldCross/Cross.h b/Sources/ModelsMP/Items/Keys/GoldCross/Cross.h index e860eff..488315d 100644 --- a/Sources/ModelsMP/Items/Keys/GoldCross/Cross.h +++ b/Sources/ModelsMP/Items/Keys/GoldCross/Cross.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CROSS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/GoldElephant/Elephant.h b/Sources/ModelsMP/Items/Keys/GoldElephant/Elephant.h index 7e7a12b..747bb8f 100644 --- a/Sources/ModelsMP/Items/Keys/GoldElephant/Elephant.h +++ b/Sources/ModelsMP/Items/Keys/GoldElephant/Elephant.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ELEPHANT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/GoldJaguar/Jaguar.h b/Sources/ModelsMP/Items/Keys/GoldJaguar/Jaguar.h index 22c6515..b25cb74 100644 --- a/Sources/ModelsMP/Items/Keys/GoldJaguar/Jaguar.h +++ b/Sources/ModelsMP/Items/Keys/GoldJaguar/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/GothicPapyrus/Papyrus.h b/Sources/ModelsMP/Items/Keys/GothicPapyrus/Papyrus.h index 41f1b8f..41bcf43 100644 --- a/Sources/ModelsMP/Items/Keys/GothicPapyrus/Papyrus.h +++ b/Sources/ModelsMP/Items/Keys/GothicPapyrus/Papyrus.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PAPYRUS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/HawkWings/WingLeft.h b/Sources/ModelsMP/Items/Keys/HawkWings/WingLeft.h index 6084a44..8062405 100644 --- a/Sources/ModelsMP/Items/Keys/HawkWings/WingLeft.h +++ b/Sources/ModelsMP/Items/Keys/HawkWings/WingLeft.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WINGLEFT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/HawkWings/WingRight.h b/Sources/ModelsMP/Items/Keys/HawkWings/WingRight.h index f5a6de6..dcc45d3 100644 --- a/Sources/ModelsMP/Items/Keys/HawkWings/WingRight.h +++ b/Sources/ModelsMP/Items/Keys/HawkWings/WingRight.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WINGRIGHT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/HolyGrail/Grail.h b/Sources/ModelsMP/Items/Keys/HolyGrail/Grail.h index 20d7256..0420c79 100644 --- a/Sources/ModelsMP/Items/Keys/HolyGrail/Grail.h +++ b/Sources/ModelsMP/Items/Keys/HolyGrail/Grail.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRAIL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/ManStatue/Statue.h b/Sources/ModelsMP/Items/Keys/ManStatue/Statue.h index 915299b..6f12a85 100644 --- a/Sources/ModelsMP/Items/Keys/ManStatue/Statue.h +++ b/Sources/ModelsMP/Items/Keys/ManStatue/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/MoonSymbol/MoonSymbol.h b/Sources/ModelsMP/Items/Keys/MoonSymbol/MoonSymbol.h index 6553708..4c01419 100644 --- a/Sources/ModelsMP/Items/Keys/MoonSymbol/MoonSymbol.h +++ b/Sources/ModelsMP/Items/Keys/MoonSymbol/MoonSymbol.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOONSYMBOL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/Statue01/Statue.h b/Sources/ModelsMP/Items/Keys/Statue01/Statue.h index 915299b..6f12a85 100644 --- a/Sources/ModelsMP/Items/Keys/Statue01/Statue.h +++ b/Sources/ModelsMP/Items/Keys/Statue01/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/Statue02/Statue.h b/Sources/ModelsMP/Items/Keys/Statue02/Statue.h index 915299b..6f12a85 100644 --- a/Sources/ModelsMP/Items/Keys/Statue02/Statue.h +++ b/Sources/ModelsMP/Items/Keys/Statue02/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/Statue03/Statue.h b/Sources/ModelsMP/Items/Keys/Statue03/Statue.h index 915299b..6f12a85 100644 --- a/Sources/ModelsMP/Items/Keys/Statue03/Statue.h +++ b/Sources/ModelsMP/Items/Keys/Statue03/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/SunSymbol/SunSymbol.h b/Sources/ModelsMP/Items/Keys/SunSymbol/SunSymbol.h index c111767..fab34b5 100644 --- a/Sources/ModelsMP/Items/Keys/SunSymbol/SunSymbol.h +++ b/Sources/ModelsMP/Items/Keys/SunSymbol/SunSymbol.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SUNSYMBOL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/TablesOfWisdom/Tables.h b/Sources/ModelsMP/Items/Keys/TablesOfWisdom/Tables.h index 594e5cf..290445f 100644 --- a/Sources/ModelsMP/Items/Keys/TablesOfWisdom/Tables.h +++ b/Sources/ModelsMP/Items/Keys/TablesOfWisdom/Tables.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TABLES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/WingLion/WingLion.h b/Sources/ModelsMP/Items/Keys/WingLion/WingLion.h index fa99e62..9b2dc06 100644 --- a/Sources/ModelsMP/Items/Keys/WingLion/WingLion.h +++ b/Sources/ModelsMP/Items/Keys/WingLion/WingLion.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define WINGLION_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/Keys/key01/Key.h b/Sources/ModelsMP/Items/Keys/key01/Key.h index dca03ed..a5097ff 100644 --- a/Sources/ModelsMP/Items/Keys/key01/Key.h +++ b/Sources/ModelsMP/Items/Keys/key01/Key.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define KEY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/PowerUps/Invisibility/Invinsibility.h b/Sources/ModelsMP/Items/PowerUps/Invisibility/Invinsibility.h index 0c64ca4..4688c00 100644 --- a/Sources/ModelsMP/Items/PowerUps/Invisibility/Invinsibility.h +++ b/Sources/ModelsMP/Items/PowerUps/Invisibility/Invinsibility.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVINSIBILITY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/PowerUps/Invisibility/Invisibility.h b/Sources/ModelsMP/Items/PowerUps/Invisibility/Invisibility.h index 08efa9b..2c9e616 100644 --- a/Sources/ModelsMP/Items/PowerUps/Invisibility/Invisibility.h +++ b/Sources/ModelsMP/Items/PowerUps/Invisibility/Invisibility.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBILITY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/PowerUps/Invulnerability/Invulnerability.h b/Sources/ModelsMP/Items/PowerUps/Invulnerability/Invulnerability.h index 478f95a..0b33340 100644 --- a/Sources/ModelsMP/Items/PowerUps/Invulnerability/Invulnerability.h +++ b/Sources/ModelsMP/Items/PowerUps/Invulnerability/Invulnerability.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVULNERABILITY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/PowerUps/SeriousBomb/SeriousBomb.h b/Sources/ModelsMP/Items/PowerUps/SeriousBomb/SeriousBomb.h index ea9f15e..5a6bf39 100644 --- a/Sources/ModelsMP/Items/PowerUps/SeriousBomb/SeriousBomb.h +++ b/Sources/ModelsMP/Items/PowerUps/SeriousBomb/SeriousBomb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSBOMB_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Items/PowerUps/SeriousDamage/SeriousDamage.h b/Sources/ModelsMP/Items/PowerUps/SeriousDamage/SeriousDamage.h index 35d20fa..3f0d8d7 100644 --- a/Sources/ModelsMP/Items/PowerUps/SeriousDamage/SeriousDamage.h +++ b/Sources/ModelsMP/Items/PowerUps/SeriousDamage/SeriousDamage.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSDAMAGE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Items/PowerUps/SeriousSpeed/SeriousSpeed.h b/Sources/ModelsMP/Items/PowerUps/SeriousSpeed/SeriousSpeed.h index 29787a6..cb1da96 100644 --- a/Sources/ModelsMP/Items/PowerUps/SeriousSpeed/SeriousSpeed.h +++ b/Sources/ModelsMP/Items/PowerUps/SeriousSpeed/SeriousSpeed.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SERIOUSSPEED_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Objects/Flag01/Flag.h b/Sources/ModelsMP/Objects/Flag01/Flag.h index b56e296..3c40f03 100644 --- a/Sources/ModelsMP/Objects/Flag01/Flag.h +++ b/Sources/ModelsMP/Objects/Flag01/Flag.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Objects/FlagPole/FlagPole.h b/Sources/ModelsMP/Objects/FlagPole/FlagPole.h index b6eff3a..b91bded 100644 --- a/Sources/ModelsMP/Objects/FlagPole/FlagPole.h +++ b/Sources/ModelsMP/Objects/FlagPole/FlagPole.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAGPOLE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush10/Bush.h b/Sources/ModelsMP/Plants/Bush10/Bush.h index a804772..3fa221d 100644 --- a/Sources/ModelsMP/Plants/Bush10/Bush.h +++ b/Sources/ModelsMP/Plants/Bush10/Bush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush10/Bush_Debris.h b/Sources/ModelsMP/Plants/Bush10/Bush_Debris.h index 3b47e3d..33ca39d 100644 --- a/Sources/ModelsMP/Plants/Bush10/Bush_Debris.h +++ b/Sources/ModelsMP/Plants/Bush10/Bush_Debris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH_DEBRIS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush11/Bush01.h b/Sources/ModelsMP/Plants/Bush11/Bush01.h index 72501cb..d8c879b 100644 --- a/Sources/ModelsMP/Plants/Bush11/Bush01.h +++ b/Sources/ModelsMP/Plants/Bush11/Bush01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush12/Bush01.h b/Sources/ModelsMP/Plants/Bush12/Bush01.h index 72501cb..d8c879b 100644 --- a/Sources/ModelsMP/Plants/Bush12/Bush01.h +++ b/Sources/ModelsMP/Plants/Bush12/Bush01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush12/Bush02.h b/Sources/ModelsMP/Plants/Bush12/Bush02.h index 69fb424..a25b788 100644 --- a/Sources/ModelsMP/Plants/Bush12/Bush02.h +++ b/Sources/ModelsMP/Plants/Bush12/Bush02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush13/Barks01.h b/Sources/ModelsMP/Plants/Bush13/Barks01.h index ca11f52..7838e5d 100644 --- a/Sources/ModelsMP/Plants/Bush13/Barks01.h +++ b/Sources/ModelsMP/Plants/Bush13/Barks01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARKS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush13/Bush02.h b/Sources/ModelsMP/Plants/Bush13/Bush02.h index 3c13cf0..f53fd0a 100644 --- a/Sources/ModelsMP/Plants/Bush13/Bush02.h +++ b/Sources/ModelsMP/Plants/Bush13/Bush02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSH02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Bush13/BushCoat.h b/Sources/ModelsMP/Plants/Bush13/BushCoat.h index bf05f19..d301d71 100644 --- a/Sources/ModelsMP/Plants/Bush13/BushCoat.h +++ b/Sources/ModelsMP/Plants/Bush13/BushCoat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BUSHCOAT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Grass01/GRASS.h b/Sources/ModelsMP/Plants/Grass01/GRASS.h index b795135..08bc9b3 100644 --- a/Sources/ModelsMP/Plants/Grass01/GRASS.h +++ b/Sources/ModelsMP/Plants/Grass01/GRASS.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRASS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/OldTree02/Tree.h b/Sources/ModelsMP/Plants/OldTree02/Tree.h index 4176540..ff41010 100644 --- a/Sources/ModelsMP/Plants/OldTree02/Tree.h +++ b/Sources/ModelsMP/Plants/OldTree02/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Plants/OldTree02/Tree_Branch.h b/Sources/ModelsMP/Plants/OldTree02/Tree_Branch.h index 981e2f5..ec642ae 100644 --- a/Sources/ModelsMP/Plants/OldTree02/Tree_Branch.h +++ b/Sources/ModelsMP/Plants/OldTree02/Tree_Branch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_BRANCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/OldTree02/Tree_Debris01.h b/Sources/ModelsMP/Plants/OldTree02/Tree_Debris01.h index de1d5aa..4300daf 100644 --- a/Sources/ModelsMP/Plants/OldTree02/Tree_Debris01.h +++ b/Sources/ModelsMP/Plants/OldTree02/Tree_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm.h b/Sources/ModelsMP/Plants/Palm20/Palm.h index 7c69067..6cd07c3 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02.h b/Sources/ModelsMP/Plants/Palm20/Palm02.h index d1bef02..c26e0ad 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris.h b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris.h index caabdee..ab1742b 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_DEBRIS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris00.h b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris00.h index 5e5b057..0e68b66 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris00.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_DEBRIS00_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris01.h b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris01.h index 5764bec..0227be9 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris01.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris02.h b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris02.h index 46e420f..8762bac 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02_Debris02.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02_Debris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_DEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm02_Leaf.h b/Sources/ModelsMP/Plants/Palm20/Palm02_Leaf.h index 798fd53..f5ea6b7 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm02_Leaf.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm02_Leaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM02_LEAF_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Palm20/Palm03.h b/Sources/ModelsMP/Plants/Palm20/Palm03.h index c487826..b98c39d 100644 --- a/Sources/ModelsMP/Plants/Palm20/Palm03.h +++ b/Sources/ModelsMP/Plants/Palm20/Palm03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALM03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush01.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush01.h index caaa3bb..04e6e22 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush01.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush02.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush02.h index ac35299..e786e9f 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush02.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush03.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush03.h index d042945..dfb0951 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush03.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush04.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush04.h index 69e581d..82dbdcb 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush04.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush04Bark.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush04Bark.h index 7349560..627f8b9 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush04Bark.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush04Bark.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH04BARK_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/PalmBush/PalmBush_Debris.h b/Sources/ModelsMP/Plants/PalmBush/PalmBush_Debris.h index b61503b..9124800 100644 --- a/Sources/ModelsMP/Plants/PalmBush/PalmBush_Debris.h +++ b/Sources/ModelsMP/Plants/PalmBush/PalmBush_Debris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PALMBUSH_DEBRIS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/TREE.h b/Sources/ModelsMP/Plants/Tree01/TREE.h index fc1de26..c3f258e 100644 --- a/Sources/ModelsMP/Plants/Tree01/TREE.h +++ b/Sources/ModelsMP/Plants/Tree01/TREE.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/TREE_Branch.h b/Sources/ModelsMP/Plants/Tree01/TREE_Branch.h index 981e2f5..ec642ae 100644 --- a/Sources/ModelsMP/Plants/Tree01/TREE_Branch.h +++ b/Sources/ModelsMP/Plants/Tree01/TREE_Branch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_BRANCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/TREE_Leaf.h b/Sources/ModelsMP/Plants/Tree01/TREE_Leaf.h index c9f017e..1a25a6b 100644 --- a/Sources/ModelsMP/Plants/Tree01/TREE_Leaf.h +++ b/Sources/ModelsMP/Plants/Tree01/TREE_Leaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_LEAF_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/Tree_Debris00.h b/Sources/ModelsMP/Plants/Tree01/Tree_Debris00.h index 4ba437c..501987e 100644 --- a/Sources/ModelsMP/Plants/Tree01/Tree_Debris00.h +++ b/Sources/ModelsMP/Plants/Tree01/Tree_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS00_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/Tree_Debris01.h b/Sources/ModelsMP/Plants/Tree01/Tree_Debris01.h index 8e7cf03..01c32c2 100644 --- a/Sources/ModelsMP/Plants/Tree01/Tree_Debris01.h +++ b/Sources/ModelsMP/Plants/Tree01/Tree_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/Tree_Debris02.h b/Sources/ModelsMP/Plants/Tree01/Tree_Debris02.h index 9daf3b7..0edb8f7 100644 --- a/Sources/ModelsMP/Plants/Tree01/Tree_Debris02.h +++ b/Sources/ModelsMP/Plants/Tree01/Tree_Debris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/Tree_Debris03.h b/Sources/ModelsMP/Plants/Tree01/Tree_Debris03.h index 2e3d2c4..b793f8a 100644 --- a/Sources/ModelsMP/Plants/Tree01/Tree_Debris03.h +++ b/Sources/ModelsMP/Plants/Tree01/Tree_Debris03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree01/Tree_Debris04.h b/Sources/ModelsMP/Plants/Tree01/Tree_Debris04.h index c48b2d8..ae6b54f 100644 --- a/Sources/ModelsMP/Plants/Tree01/Tree_Debris04.h +++ b/Sources/ModelsMP/Plants/Tree01/Tree_Debris04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_DEBRIS04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree10/Tree.h b/Sources/ModelsMP/Plants/Tree10/Tree.h index 4176540..ff41010 100644 --- a/Sources/ModelsMP/Plants/Tree10/Tree.h +++ b/Sources/ModelsMP/Plants/Tree10/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Plants/Tree12/TREE.h b/Sources/ModelsMP/Plants/Tree12/TREE.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Plants/Tree12/TREE.h +++ b/Sources/ModelsMP/Plants/Tree12/TREE.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Cherry03.h b/Sources/ModelsMP/Plants/Tree13/Cherry03.h index 9b58c6f..6558c53 100644 --- a/Sources/ModelsMP/Plants/Tree13/Cherry03.h +++ b/Sources/ModelsMP/Plants/Tree13/Cherry03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHERRY03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Cherry03_Branch.h b/Sources/ModelsMP/Plants/Tree13/Cherry03_Branch.h index ea0bc1c..6adda84 100644 --- a/Sources/ModelsMP/Plants/Tree13/Cherry03_Branch.h +++ b/Sources/ModelsMP/Plants/Tree13/Cherry03_Branch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHERRY03_BRANCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris00.h b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris00.h index 706a04c..449d5cd 100644 --- a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris00.h +++ b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHERRY03_DEBRIS00_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris01.h b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris01.h index 7eaa59b..1e31da2 100644 --- a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris01.h +++ b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHERRY03_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris02.h b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris02.h index cca4498..959a1ff 100644 --- a/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris02.h +++ b/Sources/ModelsMP/Plants/Tree13/Cherry03_Debris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHERRY03_DEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree13/Leaves.h b/Sources/ModelsMP/Plants/Tree13/Leaves.h index 4d51d4f..1371454 100644 --- a/Sources/ModelsMP/Plants/Tree13/Leaves.h +++ b/Sources/ModelsMP/Plants/Tree13/Leaves.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LEAVES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree.h b/Sources/ModelsMP/Plants/Tree15/Tree.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree02.h b/Sources/ModelsMP/Plants/Tree15/Tree02.h index 73bf643..5fb049d 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree02.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree02_Branch.h b/Sources/ModelsMP/Plants/Tree15/Tree02_Branch.h index c4a6c14..92061d9 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree02_Branch.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree02_Branch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_BRANCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree02_Debris00.h b/Sources/ModelsMP/Plants/Tree15/Tree02_Debris00.h index 3c32463..ecdf6be 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree02_Debris00.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree02_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_DEBRIS00_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree02_Debris01.h b/Sources/ModelsMP/Plants/Tree15/Tree02_Debris01.h index 30f6a4a..6c58561 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree02_Debris01.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree02_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree02_Leaf.h b/Sources/ModelsMP/Plants/Tree15/Tree02_Leaf.h index ac87b82..bbb9aa6 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree02_Leaf.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree02_Leaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_LEAF_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree03.h b/Sources/ModelsMP/Plants/Tree15/Tree03.h index 1b812d5..dea32d0 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree03.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree15/Tree04.h b/Sources/ModelsMP/Plants/Tree15/Tree04.h index ce9cb36..46c710b 100644 --- a/Sources/ModelsMP/Plants/Tree15/Tree04.h +++ b/Sources/ModelsMP/Plants/Tree15/Tree04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree16/Tree04.h b/Sources/ModelsMP/Plants/Tree16/Tree04.h index ce9cb36..46c710b 100644 --- a/Sources/ModelsMP/Plants/Tree16/Tree04.h +++ b/Sources/ModelsMP/Plants/Tree16/Tree04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree02.h b/Sources/ModelsMP/Plants/Tree17/Tree02.h index 865782a..d540d3b 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree02.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree03.h b/Sources/ModelsMP/Plants/Tree17/Tree03.h index 1b812d5..dea32d0 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree03.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree04.h b/Sources/ModelsMP/Plants/Tree17/Tree04.h index ce9cb36..46c710b 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree04.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05.h b/Sources/ModelsMP/Plants/Tree17/Tree05.h index 4d00804..66f77b7 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05_Branch.h b/Sources/ModelsMP/Plants/Tree17/Tree05_Branch.h index 941361f..3694ea7 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05_Branch.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05_Branch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_BRANCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris00.h b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris00.h index 3ac5ba4..9da979a 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris00.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_DEBRIS00_ANIM_SHAKE 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris01.h b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris01.h index 5b7c57f..babe46e 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris01.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris02.h b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris02.h index daba200..40e374c 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05_Debris02.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05_Debris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_DEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree17/Tree05_Leaf.h b/Sources/ModelsMP/Plants/Tree17/Tree05_Leaf.h index a86a35c..3cf9b85 100644 --- a/Sources/ModelsMP/Plants/Tree17/Tree05_Leaf.h +++ b/Sources/ModelsMP/Plants/Tree17/Tree05_Leaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE05_LEAF_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree18/Tree.h b/Sources/ModelsMP/Plants/Tree18/Tree.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Plants/Tree18/Tree.h +++ b/Sources/ModelsMP/Plants/Tree18/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree19/Tree.h b/Sources/ModelsMP/Plants/Tree19/Tree.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Plants/Tree19/Tree.h +++ b/Sources/ModelsMP/Plants/Tree19/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree.h b/Sources/ModelsMP/Plants/Tree20/Tree.h index 94b6309..f6e9007 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree02.h b/Sources/ModelsMP/Plants/Tree20/Tree02.h index 73bf643..5fb049d 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree02.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris00.h b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris00.h index 3c32463..ecdf6be 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris00.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris00.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_DEBRIS00_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris01.h b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris01.h index 30f6a4a..6c58561 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris01.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_DEBRIS01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris02.h b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris02.h index d87a41b..1c93c92 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree02_Debris02.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree02_Debris02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_DEBRIS02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree02_Leaf.h b/Sources/ModelsMP/Plants/Tree20/Tree02_Leaf.h index ac87b82..bbb9aa6 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree02_Leaf.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree02_Leaf.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE02_LEAF_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/Tree20/Tree03.h b/Sources/ModelsMP/Plants/Tree20/Tree03.h index 4decac4..4f6d664 100644 --- a/Sources/ModelsMP/Plants/Tree20/Tree03.h +++ b/Sources/ModelsMP/Plants/Tree20/Tree03.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TREE03_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WallIvy01/Ivy.h b/Sources/ModelsMP/Plants/WallIvy01/Ivy.h index 2bd7dab..899497c 100644 --- a/Sources/ModelsMP/Plants/WallIvy01/Ivy.h +++ b/Sources/ModelsMP/Plants/WallIvy01/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WallIvy03/Ivy.h b/Sources/ModelsMP/Plants/WallIvy03/Ivy.h index cb5bfc3..3c2908e 100644 --- a/Sources/ModelsMP/Plants/WallIvy03/Ivy.h +++ b/Sources/ModelsMP/Plants/WallIvy03/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WallIvy04/Ivy.h b/Sources/ModelsMP/Plants/WallIvy04/Ivy.h index 2bd7dab..899497c 100644 --- a/Sources/ModelsMP/Plants/WallIvy04/Ivy.h +++ b/Sources/ModelsMP/Plants/WallIvy04/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WallIvy05/Ivy.h b/Sources/ModelsMP/Plants/WallIvy05/Ivy.h index 2bd7dab..899497c 100644 --- a/Sources/ModelsMP/Plants/WallIvy05/Ivy.h +++ b/Sources/ModelsMP/Plants/WallIvy05/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WaterPlant/Plant.h b/Sources/ModelsMP/Plants/WaterPlant/Plant.h index 2f1c806..af2ef54 100644 --- a/Sources/ModelsMP/Plants/WaterPlant/Plant.h +++ b/Sources/ModelsMP/Plants/WaterPlant/Plant.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLANT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/WaterPlant/Plant02.h b/Sources/ModelsMP/Plants/WaterPlant/Plant02.h index 2dd565c..0cf6b90 100644 --- a/Sources/ModelsMP/Plants/WaterPlant/Plant02.h +++ b/Sources/ModelsMP/Plants/WaterPlant/Plant02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLANT02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/ivy/Ivy.h b/Sources/ModelsMP/Plants/ivy/Ivy.h index 2bd7dab..899497c 100644 --- a/Sources/ModelsMP/Plants/ivy/Ivy.h +++ b/Sources/ModelsMP/Plants/ivy/Ivy.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Plants/ivy/Ivy_Debris.h b/Sources/ModelsMP/Plants/ivy/Ivy_Debris.h index b19fb64..f07c8ce 100644 --- a/Sources/ModelsMP/Plants/ivy/Ivy_Debris.h +++ b/Sources/ModelsMP/Plants/ivy/Ivy_Debris.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define IVY_DEBRIS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/BoxerBarry/Body.h b/Sources/ModelsMP/Player/BoxerBarry/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/ModelsMP/Player/BoxerBarry/Body.h +++ b/Sources/ModelsMP/Player/BoxerBarry/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/BoxerBarry/Head.h b/Sources/ModelsMP/Player/BoxerBarry/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/Player/BoxerBarry/Head.h +++ b/Sources/ModelsMP/Player/BoxerBarry/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/BoxerBarry/Player.h b/Sources/ModelsMP/Player/BoxerBarry/Player.h index 351d89f..c2f3967 100644 --- a/Sources/ModelsMP/Player/BoxerBarry/Player.h +++ b/Sources/ModelsMP/Player/BoxerBarry/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Body.h b/Sources/ModelsMP/Player/DiscoDan/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Body.h +++ b/Sources/ModelsMP/Player/DiscoDan/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Glasses.h b/Sources/ModelsMP/Player/DiscoDan/Glasses.h index dc3587a..7266340 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Glasses.h +++ b/Sources/ModelsMP/Player/DiscoDan/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Hair.h b/Sources/ModelsMP/Player/DiscoDan/Hair.h index 0f66d89..7d66f2b 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Hair.h +++ b/Sources/ModelsMP/Player/DiscoDan/Hair.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAIR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Hat.h b/Sources/ModelsMP/Player/DiscoDan/Hat.h index 1686ac0..5124958 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Hat.h +++ b/Sources/ModelsMP/Player/DiscoDan/Hat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Head.h b/Sources/ModelsMP/Player/DiscoDan/Head.h index c9642ae..7d769ca 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Head.h +++ b/Sources/ModelsMP/Player/DiscoDan/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/DiscoDan/Player.h b/Sources/ModelsMP/Player/DiscoDan/Player.h index 351d89f..c2f3967 100644 --- a/Sources/ModelsMP/Player/DiscoDan/Player.h +++ b/Sources/ModelsMP/Player/DiscoDan/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/KleerKenny/Body.h b/Sources/ModelsMP/Player/KleerKenny/Body.h index 5306056..dbe322a 100644 --- a/Sources/ModelsMP/Player/KleerKenny/Body.h +++ b/Sources/ModelsMP/Player/KleerKenny/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/KleerKenny/Head.h b/Sources/ModelsMP/Player/KleerKenny/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/Player/KleerKenny/Head.h +++ b/Sources/ModelsMP/Player/KleerKenny/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/KleerKenny/Player.h b/Sources/ModelsMP/Player/KleerKenny/Player.h index 351d89f..c2f3967 100644 --- a/Sources/ModelsMP/Player/KleerKenny/Player.h +++ b/Sources/ModelsMP/Player/KleerKenny/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/MightyMarvin/Body.h b/Sources/ModelsMP/Player/MightyMarvin/Body.h index a667dcd..52fc6b8 100644 --- a/Sources/ModelsMP/Player/MightyMarvin/Body.h +++ b/Sources/ModelsMP/Player/MightyMarvin/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/MightyMarvin/Glasses.h b/Sources/ModelsMP/Player/MightyMarvin/Glasses.h index dc3587a..7266340 100644 --- a/Sources/ModelsMP/Player/MightyMarvin/Glasses.h +++ b/Sources/ModelsMP/Player/MightyMarvin/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/MightyMarvin/Head.h b/Sources/ModelsMP/Player/MightyMarvin/Head.h index 7831b71..52d11cb 100644 --- a/Sources/ModelsMP/Player/MightyMarvin/Head.h +++ b/Sources/ModelsMP/Player/MightyMarvin/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/MightyMarvin/Player.h b/Sources/ModelsMP/Player/MightyMarvin/Player.h index 351d89f..c2f3967 100644 --- a/Sources/ModelsMP/Player/MightyMarvin/Player.h +++ b/Sources/ModelsMP/Player/MightyMarvin/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/SeriousSam/Body.h b/Sources/ModelsMP/Player/SeriousSam/Body.h index a02c831..f8236b8 100644 --- a/Sources/ModelsMP/Player/SeriousSam/Body.h +++ b/Sources/ModelsMP/Player/SeriousSam/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/SeriousSam/Glasses.h b/Sources/ModelsMP/Player/SeriousSam/Glasses.h index e9b36a4..f9ca088 100644 --- a/Sources/ModelsMP/Player/SeriousSam/Glasses.h +++ b/Sources/ModelsMP/Player/SeriousSam/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/SeriousSam/Head.h b/Sources/ModelsMP/Player/SeriousSam/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/ModelsMP/Player/SeriousSam/Head.h +++ b/Sources/ModelsMP/Player/SeriousSam/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/SeriousSam/Player.h b/Sources/ModelsMP/Player/SeriousSam/Player.h index 6558bd0..da8b7a8 100644 --- a/Sources/ModelsMP/Player/SeriousSam/Player.h +++ b/Sources/ModelsMP/Player/SeriousSam/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/Swdm/Body.h b/Sources/ModelsMP/Player/Swdm/Body.h index 27266d1..c818415 100644 --- a/Sources/ModelsMP/Player/Swdm/Body.h +++ b/Sources/ModelsMP/Player/Swdm/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/Swdm/Glasses.h b/Sources/ModelsMP/Player/Swdm/Glasses.h index dc3587a..7266340 100644 --- a/Sources/ModelsMP/Player/Swdm/Glasses.h +++ b/Sources/ModelsMP/Player/Swdm/Glasses.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GLASSES_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/Swdm/Head.h b/Sources/ModelsMP/Player/Swdm/Head.h index 06e53f5..ad2913d 100644 --- a/Sources/ModelsMP/Player/Swdm/Head.h +++ b/Sources/ModelsMP/Player/Swdm/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/Swdm/Player.h b/Sources/ModelsMP/Player/Swdm/Player.h index d996002..0f8a97d 100644 --- a/Sources/ModelsMP/Player/Swdm/Player.h +++ b/Sources/ModelsMP/Player/Swdm/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/Zorg/Body.h b/Sources/ModelsMP/Player/Zorg/Body.h index 5306056..dbe322a 100644 --- a/Sources/ModelsMP/Player/Zorg/Body.h +++ b/Sources/ModelsMP/Player/Zorg/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Player/Zorg/Head.h b/Sources/ModelsMP/Player/Zorg/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/Player/Zorg/Head.h +++ b/Sources/ModelsMP/Player/Zorg/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Player/Zorg/Player.h b/Sources/ModelsMP/Player/Zorg/Player.h index 0a220fa..ed482be 100644 --- a/Sources/ModelsMP/Player/Zorg/Player.h +++ b/Sources/ModelsMP/Player/Zorg/Player.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PLAYER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/SouthAmerica/Altar/Altar.h b/Sources/ModelsMP/SouthAmerica/Altar/Altar.h index 0d2eb97..98cd409 100644 --- a/Sources/ModelsMP/SouthAmerica/Altar/Altar.h +++ b/Sources/ModelsMP/SouthAmerica/Altar/Altar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ALTAR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Bridge/Bridge.h b/Sources/ModelsMP/SouthAmerica/Bridge/Bridge.h index cfbaa33..e733940 100644 --- a/Sources/ModelsMP/SouthAmerica/Bridge/Bridge.h +++ b/Sources/ModelsMP/SouthAmerica/Bridge/Bridge.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRIDGE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Bridge/BridgeSupport.h b/Sources/ModelsMP/SouthAmerica/Bridge/BridgeSupport.h index 6a71365..dc31827 100644 --- a/Sources/ModelsMP/SouthAmerica/Bridge/BridgeSupport.h +++ b/Sources/ModelsMP/SouthAmerica/Bridge/BridgeSupport.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BRIDGESUPPORT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/CaveEntrance/CaveEntrance.h b/Sources/ModelsMP/SouthAmerica/CaveEntrance/CaveEntrance.h index bc74229..d527076 100644 --- a/Sources/ModelsMP/SouthAmerica/CaveEntrance/CaveEntrance.h +++ b/Sources/ModelsMP/SouthAmerica/CaveEntrance/CaveEntrance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CAVEENTRANCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Column01/Columns.h b/Sources/ModelsMP/SouthAmerica/Column01/Columns.h index 412a489..a69281a 100644 --- a/Sources/ModelsMP/SouthAmerica/Column01/Columns.h +++ b/Sources/ModelsMP/SouthAmerica/Column01/Columns.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define COLUMNS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull04.h b/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull04.h index 75d5e8c..531f9b2 100644 --- a/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull04.h +++ b/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull04.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL04_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull05.h b/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull05.h index 029aed2..7858ee0 100644 --- a/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull05.h +++ b/Sources/ModelsMP/SouthAmerica/CrystalSkull/Skull05.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SKULL05_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/DragonHead01/Head.h b/Sources/ModelsMP/SouthAmerica/DragonHead01/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/SouthAmerica/DragonHead01/Head.h +++ b/Sources/ModelsMP/SouthAmerica/DragonHead01/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/DragonHead02/Head.h b/Sources/ModelsMP/SouthAmerica/DragonHead02/Head.h index 1a4a8bd..5f1f089 100644 --- a/Sources/ModelsMP/SouthAmerica/DragonHead02/Head.h +++ b/Sources/ModelsMP/SouthAmerica/DragonHead02/Head.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/DragonHead03/DragonHead.h b/Sources/ModelsMP/SouthAmerica/DragonHead03/DragonHead.h index 5f6de66..8388606 100644 --- a/Sources/ModelsMP/SouthAmerica/DragonHead03/DragonHead.h +++ b/Sources/ModelsMP/SouthAmerica/DragonHead03/DragonHead.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define DRAGONHEAD_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder01/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder01/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder01/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder01/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder02/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder02/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder02/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder02/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder03/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder03/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder03/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder03/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder04/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder04/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder04/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder04/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder05/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder05/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder05/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder05/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder06/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder06/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder06/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder06/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolder.h index 8109fa3..a4cacb6 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolderNoFire.h b/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolderNoFire.h index 52d228d..fc80468 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolderNoFire.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder07/FireHolderNoFire.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDERNOFIRE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/FireHolder08/FireHolder.h b/Sources/ModelsMP/SouthAmerica/FireHolder08/FireHolder.h index 6f5a40a..d4803b1 100644 --- a/Sources/ModelsMP/SouthAmerica/FireHolder08/FireHolder.h +++ b/Sources/ModelsMP/SouthAmerica/FireHolder08/FireHolder.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FIREHOLDER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Hand/Hand.h b/Sources/ModelsMP/SouthAmerica/Hand/Hand.h index ef453ea..6f73a14 100644 --- a/Sources/ModelsMP/SouthAmerica/Hand/Hand.h +++ b/Sources/ModelsMP/SouthAmerica/Hand/Hand.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HAND_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/HeadEntrance/Entrance.h b/Sources/ModelsMP/SouthAmerica/HeadEntrance/Entrance.h index 0e112f4..8312256 100644 --- a/Sources/ModelsMP/SouthAmerica/HeadEntrance/Entrance.h +++ b/Sources/ModelsMP/SouthAmerica/HeadEntrance/Entrance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ENTRANCE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/HeadStatue01/HeadStatue.h b/Sources/ModelsMP/SouthAmerica/HeadStatue01/HeadStatue.h index cf6f25d..9532a2a 100644 --- a/Sources/ModelsMP/SouthAmerica/HeadStatue01/HeadStatue.h +++ b/Sources/ModelsMP/SouthAmerica/HeadStatue01/HeadStatue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define HEADSTATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Jaguar/Body.h b/Sources/ModelsMP/SouthAmerica/Jaguar/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/ModelsMP/SouthAmerica/Jaguar/Body.h +++ b/Sources/ModelsMP/SouthAmerica/Jaguar/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Jaguar/Jaguar.h b/Sources/ModelsMP/SouthAmerica/Jaguar/Jaguar.h index dbe4d02..0916d81 100644 --- a/Sources/ModelsMP/SouthAmerica/Jaguar/Jaguar.h +++ b/Sources/ModelsMP/SouthAmerica/Jaguar/Jaguar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define JAGUAR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/LaserMechanism/LaserMechanism.h b/Sources/ModelsMP/SouthAmerica/LaserMechanism/LaserMechanism.h index 531ec41..16ff4ba 100644 --- a/Sources/ModelsMP/SouthAmerica/LaserMechanism/LaserMechanism.h +++ b/Sources/ModelsMP/SouthAmerica/LaserMechanism/LaserMechanism.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERMECHANISM_ANIM_DISABLED 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid/Pyramid.h b/Sources/ModelsMP/SouthAmerica/Pyramid/Pyramid.h index c4fa663..75936a0 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid/Pyramid.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid/Pyramid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PYRAMID_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid/PyramidSmall.h b/Sources/ModelsMP/SouthAmerica/Pyramid/PyramidSmall.h index af15799..7f633a5 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid/PyramidSmall.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid/PyramidSmall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PYRAMIDSMALL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid/Stairs.h b/Sources/ModelsMP/SouthAmerica/Pyramid/Stairs.h index 0f86b3c..7e1a920 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid/Stairs.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid/Stairs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAIRS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid02/Pyramid.h b/Sources/ModelsMP/SouthAmerica/Pyramid02/Pyramid.h index 8838fa7..3f83376 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid02/Pyramid.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid02/Pyramid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PYRAMID_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid02/Stairs.h b/Sources/ModelsMP/SouthAmerica/Pyramid02/Stairs.h index 0f86b3c..7e1a920 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid02/Stairs.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid02/Stairs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAIRS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid03/Pyramid.h b/Sources/ModelsMP/SouthAmerica/Pyramid03/Pyramid.h index c4fa663..75936a0 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid03/Pyramid.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid03/Pyramid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PYRAMID_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid03/PyramidSmall.h b/Sources/ModelsMP/SouthAmerica/Pyramid03/PyramidSmall.h index af15799..7f633a5 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid03/PyramidSmall.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid03/PyramidSmall.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PYRAMIDSMALL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Pyramid03/Stairs.h b/Sources/ModelsMP/SouthAmerica/Pyramid03/Stairs.h index 0f86b3c..7e1a920 100644 --- a/Sources/ModelsMP/SouthAmerica/Pyramid03/Stairs.h +++ b/Sources/ModelsMP/SouthAmerica/Pyramid03/Stairs.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STAIRS_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Rocks/Rock.h b/Sources/ModelsMP/SouthAmerica/Rocks/Rock.h index 67660ef..3fa90a7 100644 --- a/Sources/ModelsMP/SouthAmerica/Rocks/Rock.h +++ b/Sources/ModelsMP/SouthAmerica/Rocks/Rock.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define ROCK_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter.h b/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter.h index 6869285..303c0cc 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter02.h b/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter02.h index 544fa75..fcf1c95 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter02.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter01/Shooter02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter.h b/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter.h index 93f9a84..773462f 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter02.h b/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter02.h index 544fa75..fcf1c95 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter02.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter02/Shooter02.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER02_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter03/Shooter.h b/Sources/ModelsMP/SouthAmerica/Shooter03/Shooter.h index 93f9a84..773462f 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter03/Shooter.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter03/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Shooter04/Shooter.h b/Sources/ModelsMP/SouthAmerica/Shooter04/Shooter.h index 93f9a84..773462f 100644 --- a/Sources/ModelsMP/SouthAmerica/Shooter04/Shooter.h +++ b/Sources/ModelsMP/SouthAmerica/Shooter04/Shooter.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SHOOTER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/SpiderWeb/SpiderWeb.h b/Sources/ModelsMP/SouthAmerica/SpiderWeb/SpiderWeb.h index 03f5d00..5dce386 100644 --- a/Sources/ModelsMP/SouthAmerica/SpiderWeb/SpiderWeb.h +++ b/Sources/ModelsMP/SouthAmerica/SpiderWeb/SpiderWeb.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SPIDERWEB_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Statue05/Statue.h b/Sources/ModelsMP/SouthAmerica/Statue05/Statue.h index 3cadb51..591e7de 100644 --- a/Sources/ModelsMP/SouthAmerica/Statue05/Statue.h +++ b/Sources/ModelsMP/SouthAmerica/Statue05/Statue.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define STATUE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/SunOltar/Oltar.h b/Sources/ModelsMP/SouthAmerica/SunOltar/Oltar.h index 17ed0f0..c27de86 100644 --- a/Sources/ModelsMP/SouthAmerica/SunOltar/Oltar.h +++ b/Sources/ModelsMP/SouthAmerica/SunOltar/Oltar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define OLTAR_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Torch04/Torch.h b/Sources/ModelsMP/SouthAmerica/Torch04/Torch.h index ca6f3d7..a28b24e 100644 --- a/Sources/ModelsMP/SouthAmerica/Torch04/Torch.h +++ b/Sources/ModelsMP/SouthAmerica/Torch04/Torch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TORCH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Totem01/Totem01.h b/Sources/ModelsMP/SouthAmerica/Totem01/Totem01.h index 6f043df..532711e 100644 --- a/Sources/ModelsMP/SouthAmerica/Totem01/Totem01.h +++ b/Sources/ModelsMP/SouthAmerica/Totem01/Totem01.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTEM01_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/Totem02/Totem.h b/Sources/ModelsMP/SouthAmerica/Totem02/Totem.h index 05b4022..c74404e 100644 --- a/Sources/ModelsMP/SouthAmerica/Totem02/Totem.h +++ b/Sources/ModelsMP/SouthAmerica/Totem02/Totem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOTEM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/SouthAmerica/TwoHeadSnake/Snake.h b/Sources/ModelsMP/SouthAmerica/TwoHeadSnake/Snake.h index 2d22c19..2bc8677 100644 --- a/Sources/ModelsMP/SouthAmerica/TwoHeadSnake/Snake.h +++ b/Sources/ModelsMP/SouthAmerica/TwoHeadSnake/Snake.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNAKE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Switches/Switch01/Switch.h b/Sources/ModelsMP/Switches/Switch01/Switch.h index fd433db..438f9e4 100644 --- a/Sources/ModelsMP/Switches/Switch01/Switch.h +++ b/Sources/ModelsMP/Switches/Switch01/Switch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SWITCH_ANIM_STANDING 0 diff --git a/Sources/ModelsMP/TechTest/TruForm/BioMech.h b/Sources/ModelsMP/TechTest/TruForm/BioMech.h index c29d1b4..3b7df45 100644 --- a/Sources/ModelsMP/TechTest/TruForm/BioMech.h +++ b/Sources/ModelsMP/TechTest/TruForm/BioMech.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BIOMECH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/TechTest/TruForm/Portal.h b/Sources/ModelsMP/TechTest/TruForm/Portal.h index 978fadd..c704aa7 100644 --- a/Sources/ModelsMP/TechTest/TruForm/Portal.h +++ b/Sources/ModelsMP/TechTest/TruForm/Portal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define PORTAL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/TechTest/TruForm/Teapot.h b/Sources/ModelsMP/TechTest/TruForm/Teapot.h index 066b85a..5673153 100644 --- a/Sources/ModelsMP/TechTest/TruForm/Teapot.h +++ b/Sources/ModelsMP/TechTest/TruForm/Teapot.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEAPOT_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/TechTest/TruForm/Toroid.h b/Sources/ModelsMP/TechTest/TruForm/Toroid.h index 20b4185..d44acbb 100644 --- a/Sources/ModelsMP/TechTest/TruForm/Toroid.h +++ b/Sources/ModelsMP/TechTest/TruForm/Toroid.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TOROID_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/CPPR/Body.h b/Sources/ModelsMP/Warped/CPPR/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/ModelsMP/Warped/CPPR/Body.h +++ b/Sources/ModelsMP/Warped/CPPR/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/CPPR/GrenadeBack.h b/Sources/ModelsMP/Warped/CPPR/GrenadeBack.h index d51a779..43eb6ac 100644 --- a/Sources/ModelsMP/Warped/CPPR/GrenadeBack.h +++ b/Sources/ModelsMP/Warped/CPPR/GrenadeBack.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADEBACK_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Warped/CPPR/GrenadeLauncher.h b/Sources/ModelsMP/Warped/CPPR/GrenadeLauncher.h index f75419a..5502803 100644 --- a/Sources/ModelsMP/Warped/CPPR/GrenadeLauncher.h +++ b/Sources/ModelsMP/Warped/CPPR/GrenadeLauncher.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHER_ANIM_CENTERED 0 diff --git a/Sources/ModelsMP/Warped/CPPR/GrenadeLauncherItem.h b/Sources/ModelsMP/Warped/CPPR/GrenadeLauncherItem.h index 2dfe0d2..38b7cdd 100644 --- a/Sources/ModelsMP/Warped/CPPR/GrenadeLauncherItem.h +++ b/Sources/ModelsMP/Warped/CPPR/GrenadeLauncherItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define GRENADELAUNCHERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Warped/CPPR/MovingPipe.h b/Sources/ModelsMP/Warped/CPPR/MovingPipe.h index d20060f..3cb5293 100644 --- a/Sources/ModelsMP/Warped/CPPR/MovingPipe.h +++ b/Sources/ModelsMP/Warped/CPPR/MovingPipe.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MOVINGPIPE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/Laser/Barrel.h b/Sources/ModelsMP/Warped/Laser/Barrel.h index 391ee47..ae04e8a 100644 --- a/Sources/ModelsMP/Warped/Laser/Barrel.h +++ b/Sources/ModelsMP/Warped/Laser/Barrel.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/Laser/Barrel_big.h b/Sources/ModelsMP/Warped/Laser/Barrel_big.h index aeb4eeb..d981545 100644 --- a/Sources/ModelsMP/Warped/Laser/Barrel_big.h +++ b/Sources/ModelsMP/Warped/Laser/Barrel_big.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BARREL_BIG_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/Laser/Body.h b/Sources/ModelsMP/Warped/Laser/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/ModelsMP/Warped/Laser/Body.h +++ b/Sources/ModelsMP/Warped/Laser/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Warped/Laser/Laser.h b/Sources/ModelsMP/Warped/Laser/Laser.h index 778c39a..930bcc5 100644 --- a/Sources/ModelsMP/Warped/Laser/Laser.h +++ b/Sources/ModelsMP/Warped/Laser/Laser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Warped/Laser/LaserItem.h b/Sources/ModelsMP/Warped/Laser/LaserItem.h index 5c6b2fd..0555a46 100644 --- a/Sources/ModelsMP/Warped/Laser/LaserItem.h +++ b/Sources/ModelsMP/Warped/Laser/LaserItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define LASERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Warped/Projectile/Mine.h b/Sources/ModelsMP/Warped/Projectile/Mine.h index ecef47c..c3b4a45 100644 --- a/Sources/ModelsMP/Warped/Projectile/Mine.h +++ b/Sources/ModelsMP/Warped/Projectile/Mine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define MINE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/Blade.h b/Sources/ModelsMP/Weapons/ChainSaw/Blade.h index dc34563..ba10ea5 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/Blade.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/BladeForPlayer.h b/Sources/ModelsMP/Weapons/ChainSaw/BladeForPlayer.h index 5de314f..26fb3f1 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/BladeForPlayer.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/BladeForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADEFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/Body.h b/Sources/ModelsMP/Weapons/ChainSaw/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/Body.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/BodyForPlayer.h b/Sources/ModelsMP/Weapons/ChainSaw/BodyForPlayer.h index e273c8b..114ee1b 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/BodyForPlayer.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/BodyForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/ChainSaw.h b/Sources/ModelsMP/Weapons/ChainSaw/ChainSaw.h index 562b7fb..4790d65 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/ChainSaw.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/ChainsawForPlayer.h b/Sources/ModelsMP/Weapons/ChainSaw/ChainsawForPlayer.h index 372dc12..8709414 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/ChainsawForPlayer.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/ChainsawForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAWFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/ChainsawItem.h b/Sources/ModelsMP/Weapons/ChainSaw/ChainsawItem.h index 80b65d5..6419467 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/ChainsawItem.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/ChainsawItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAWITEM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/Teeth.h b/Sources/ModelsMP/Weapons/ChainSaw/Teeth.h index fb0a16f..0ed4192 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/Teeth.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/Teeth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEETH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/ChainSaw/TeethForPlayer.h b/Sources/ModelsMP/Weapons/ChainSaw/TeethForPlayer.h index 9aae903..e1deb85 100644 --- a/Sources/ModelsMP/Weapons/ChainSaw/TeethForPlayer.h +++ b/Sources/ModelsMP/Weapons/ChainSaw/TeethForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEETHFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/Body.h b/Sources/ModelsMP/Weapons/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/ModelsMP/Weapons/Flamer/Body.h +++ b/Sources/ModelsMP/Weapons/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/Flame.h b/Sources/ModelsMP/Weapons/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/ModelsMP/Weapons/Flamer/Flame.h +++ b/Sources/ModelsMP/Weapons/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/Flamer.h b/Sources/ModelsMP/Weapons/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/ModelsMP/Weapons/Flamer/Flamer.h +++ b/Sources/ModelsMP/Weapons/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/FlamerItem.h b/Sources/ModelsMP/Weapons/Flamer/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/ModelsMP/Weapons/Flamer/FlamerItem.h +++ b/Sources/ModelsMP/Weapons/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/FuelReservoir.h b/Sources/ModelsMP/Weapons/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/ModelsMP/Weapons/Flamer/FuelReservoir.h +++ b/Sources/ModelsMP/Weapons/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Flamer/Projectile/Invisible.h b/Sources/ModelsMP/Weapons/Flamer/Projectile/Invisible.h index cf81552..c8f68aa 100644 --- a/Sources/ModelsMP/Weapons/Flamer/Projectile/Invisible.h +++ b/Sources/ModelsMP/Weapons/Flamer/Projectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Sniper/Body.h b/Sources/ModelsMP/Weapons/Sniper/Body.h index d51c2ed..6c4bcd4 100644 --- a/Sources/ModelsMP/Weapons/Sniper/Body.h +++ b/Sources/ModelsMP/Weapons/Sniper/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Sniper/Sniper.h b/Sources/ModelsMP/Weapons/Sniper/Sniper.h index b65935b..06e8bd6 100644 --- a/Sources/ModelsMP/Weapons/Sniper/Sniper.h +++ b/Sources/ModelsMP/Weapons/Sniper/Sniper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Sniper/SniperItem.h b/Sources/ModelsMP/Weapons/Sniper/SniperItem.h index 7ee75fc..073bf96 100644 --- a/Sources/ModelsMP/Weapons/Sniper/SniperItem.h +++ b/Sources/ModelsMP/Weapons/Sniper/SniperItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPERITEM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Blade.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Blade.h index dc34563..ba10ea5 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Blade.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Blade.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADE_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BladeForPlayer.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BladeForPlayer.h index 5de314f..26fb3f1 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BladeForPlayer.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BladeForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BLADEFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Body.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Body.h index 4b204f9..3eb4cf2 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Body.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BodyForPlayer.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BodyForPlayer.h index e273c8b..114ee1b 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BodyForPlayer.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/BodyForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainSaw.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainSaw.h index 562b7fb..4790d65 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainSaw.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainSaw.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAW_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawForPlayer.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawForPlayer.h index 372dc12..8709414 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawForPlayer.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAWFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawItem.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawItem.h index 80b65d5..6419467 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawItem.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/ChainsawItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define CHAINSAWITEM_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Teeth.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Teeth.h index fb0a16f..0ed4192 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Teeth.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/Teeth.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEETH_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/TeethForPlayer.h b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/TeethForPlayer.h index 9aae903..e1deb85 100644 --- a/Sources/ModelsMP/Weapons/Weapons/ChainSaw/TeethForPlayer.h +++ b/Sources/ModelsMP/Weapons/Weapons/ChainSaw/TeethForPlayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define TEETHFORPLAYER_ANIM_DEFAULT 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Backup/Flamer.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Backup/Flamer.h index c88597d..b427339 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Backup/Flamer.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Backup/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Body.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Body.h index 3651c07..11d37ad 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Body.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Flame.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Flame.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Flamer.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Flamer.h index c88597d..b427339 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Flamer.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/FlamerItem.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/FlamerItem.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/FuelReservoir.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/FuelReservoir.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/BodyOpened.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/BodyOpened.h index e78723c..0a365c6 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/BodyOpened.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/BodyOpened.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODYOPENED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/FuelReservoirOpened.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/FuelReservoirOpened.h index 1ff2128..1627fcb 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/FuelReservoirOpened.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Opened/FuelReservoirOpened.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIROPENED_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Projectile/Invisible.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Projectile/Invisible.h index b8ee17c..67598f6 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Projectile/Invisible.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Projectile/Invisible.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define INVISIBLE_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/Body.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/Body.h index 2a3c385..07e3f03 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/Body.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/FuelReservoir.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/FuelReservoir.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/Work/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Body.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Body.h index 3651c07..11d37ad 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Body.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flame.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flame.h index b95bf4b..90bc044 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flame.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAME_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flamer.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flamer.h index c88597d..b427339 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flamer.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/Flamer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FlamerItem.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FlamerItem.h index 8572c0d..c54bcaa 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FlamerItem.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FlamerItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FLAMERITEM_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FuelReservoir.h b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FuelReservoir.h index 98fe817..fec4819 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FuelReservoir.h +++ b/Sources/ModelsMP/Weapons/Weapons/Flamer/ok/FuelReservoir.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define FUELRESERVOIR_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Sniper/Body.h b/Sources/ModelsMP/Weapons/Weapons/Sniper/Body.h index 03232e1..3872a83 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Sniper/Body.h +++ b/Sources/ModelsMP/Weapons/Weapons/Sniper/Body.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define BODY_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Sniper/Sniper.h b/Sources/ModelsMP/Weapons/Weapons/Sniper/Sniper.h index b65935b..06e8bd6 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Sniper/Sniper.h +++ b/Sources/ModelsMP/Weapons/Weapons/Sniper/Sniper.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPER_ANIM_DEFAULT_ANIMATION 0 diff --git a/Sources/ModelsMP/Weapons/Weapons/Sniper/SniperItem.h b/Sources/ModelsMP/Weapons/Weapons/Sniper/SniperItem.h index 7ee75fc..073bf96 100644 --- a/Sources/ModelsMP/Weapons/Weapons/Sniper/SniperItem.h +++ b/Sources/ModelsMP/Weapons/Weapons/Sniper/SniperItem.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Animation names #define SNIPERITEM_ANIM_DEFAULT 0 diff --git a/Sources/RCon/RCon.cpp b/Sources/RCon/RCon.cpp index 44d307f..22b5988 100644 --- a/Sources/RCon/RCon.cpp +++ b/Sources/RCon/RCon.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // RCon.cpp : Defines the class behaviors for the application. // diff --git a/Sources/RCon/RCon.h b/Sources/RCon/RCon.h index 158d67c..df83fb0 100644 --- a/Sources/RCon/RCon.h +++ b/Sources/RCon/RCon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // RCon.h : main header file for the RCON application // diff --git a/Sources/RCon/RConDlg.cpp b/Sources/RCon/RConDlg.cpp index 7e21893..830bb55 100644 --- a/Sources/RCon/RConDlg.cpp +++ b/Sources/RCon/RConDlg.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // RConDlg.cpp : implementation file // diff --git a/Sources/RCon/RConDlg.h b/Sources/RCon/RConDlg.h index d1cb006..1645167 100644 --- a/Sources/RCon/RConDlg.h +++ b/Sources/RCon/RConDlg.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // RConDlg.h : header file // diff --git a/Sources/RCon/StdAfx.cpp b/Sources/RCon/StdAfx.cpp index e7f22e0..b165bff 100644 --- a/Sources/RCon/StdAfx.cpp +++ b/Sources/RCon/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // RCon.pch will be the pre-compiled header diff --git a/Sources/RCon/StdAfx.h b/Sources/RCon/StdAfx.h index 2aea570..e71a9b2 100644 --- a/Sources/RCon/StdAfx.h +++ b/Sources/RCon/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but diff --git a/Sources/RCon/resource.h b/Sources/RCon/resource.h index 99461c3..ec384d4 100644 --- a/Sources/RCon/resource.h +++ b/Sources/RCon/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/SeriousSam/CDCheck.h b/Sources/SeriousSam/CDCheck.h index ae09a68..eab3510 100644 --- a/Sources/SeriousSam/CDCheck.h +++ b/Sources/SeriousSam/CDCheck.h @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define CD_CHECK 1 diff --git a/Sources/SeriousSam/CmdLine.cpp b/Sources/SeriousSam/CmdLine.cpp index bf46e62..e83f14c 100644 --- a/Sources/SeriousSam/CmdLine.cpp +++ b/Sources/SeriousSam/CmdLine.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/CmdLine.h b/Sources/SeriousSam/CmdLine.h index 598b566..a74e37d 100644 --- a/Sources/SeriousSam/CmdLine.h +++ b/Sources/SeriousSam/CmdLine.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CMDLINE_H #define SE_INCL_CMDLINE_H diff --git a/Sources/SeriousSam/Credits.cpp b/Sources/SeriousSam/Credits.cpp index f99dad5..2cd8059 100644 --- a/Sources/SeriousSam/Credits.cpp +++ b/Sources/SeriousSam/Credits.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/SeriousSam/Credits.h b/Sources/SeriousSam/Credits.h index 17831ca..0a8ced8 100644 --- a/Sources/SeriousSam/Credits.h +++ b/Sources/SeriousSam/Credits.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CREDITS_H #define SE_INCL_CREDITS_H diff --git a/Sources/SeriousSam/GLSettings.cpp b/Sources/SeriousSam/GLSettings.cpp index ccd78f4..75eb15a 100644 --- a/Sources/SeriousSam/GLSettings.cpp +++ b/Sources/SeriousSam/GLSettings.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/SeriousSam/GLSettings.h b/Sources/SeriousSam/GLSettings.h index 7207a2b..467335f 100644 --- a/Sources/SeriousSam/GLSettings.h +++ b/Sources/SeriousSam/GLSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern void InitGLSettings(void); extern void ApplyGLSettings(BOOL bForce); diff --git a/Sources/SeriousSam/LCDDrawing.cpp b/Sources/SeriousSam/LCDDrawing.cpp index d933f2c..ec5f8b5 100644 --- a/Sources/SeriousSam/LCDDrawing.cpp +++ b/Sources/SeriousSam/LCDDrawing.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "Stdh.h" #include "LCDDrawing.h" diff --git a/Sources/SeriousSam/LCDDrawing.h b/Sources/SeriousSam/LCDDrawing.h index 5e336df..f726a2c 100644 --- a/Sources/SeriousSam/LCDDrawing.h +++ b/Sources/SeriousSam/LCDDrawing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LCDDRAWING_H #define SE_INCL_LCDDRAWING_H diff --git a/Sources/SeriousSam/LevelInfo.cpp b/Sources/SeriousSam/LevelInfo.cpp index 2b3c80d..5b1260e 100644 --- a/Sources/SeriousSam/LevelInfo.cpp +++ b/Sources/SeriousSam/LevelInfo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "LevelInfo.h" diff --git a/Sources/SeriousSam/LevelInfo.h b/Sources/SeriousSam/LevelInfo.h index 9e9c3d0..df9e2ff 100644 --- a/Sources/SeriousSam/LevelInfo.h +++ b/Sources/SeriousSam/LevelInfo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern CListHead _lhAutoDemos; diff --git a/Sources/SeriousSam/MainWindow.cpp b/Sources/SeriousSam/MainWindow.cpp index 677c4fc..2ddcd4e 100644 --- a/Sources/SeriousSam/MainWindow.cpp +++ b/Sources/SeriousSam/MainWindow.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "MainWindow.h" diff --git a/Sources/SeriousSam/MainWindow.h b/Sources/SeriousSam/MainWindow.h index 5531439..5ed4d15 100644 --- a/Sources/SeriousSam/MainWindow.h +++ b/Sources/SeriousSam/MainWindow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern BOOL _bWindowChanging; // ignores window messages while this is set extern HWND _hwndMain; diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index f4f7a8f..aa2f63e 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/Menu.h b/Sources/SeriousSam/Menu.h index 0091361..148eb00 100644 --- a/Sources/SeriousSam/Menu.h +++ b/Sources/SeriousSam/Menu.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // set new thumbnail void SetThumbnail(CTFileName fn); diff --git a/Sources/SeriousSam/MenuGadgets.cpp b/Sources/SeriousSam/MenuGadgets.cpp index 45aef34..953271e 100644 --- a/Sources/SeriousSam/MenuGadgets.cpp +++ b/Sources/SeriousSam/MenuGadgets.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/MenuGadgets.h b/Sources/SeriousSam/MenuGadgets.h index 3583832..a734766 100644 --- a/Sources/SeriousSam/MenuGadgets.h +++ b/Sources/SeriousSam/MenuGadgets.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define DOING_NOTHING 0 #define PRESS_KEY_WAITING 1 diff --git a/Sources/SeriousSam/MenuPrinting.cpp b/Sources/SeriousSam/MenuPrinting.cpp index f74abb3..bff301e 100644 --- a/Sources/SeriousSam/MenuPrinting.cpp +++ b/Sources/SeriousSam/MenuPrinting.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/MenuPrinting.h b/Sources/SeriousSam/MenuPrinting.h index b28acc6..f3e14ac 100644 --- a/Sources/SeriousSam/MenuPrinting.h +++ b/Sources/SeriousSam/MenuPrinting.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENUPRINTING_H #define SE_INCL_MENUPRINTING_H diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index 2211f75..f8cb5a6 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/SeriousSam.h b/Sources/SeriousSam/SeriousSam.h index 6afc32d..88fbf8a 100644 --- a/Sources/SeriousSam/SeriousSam.h +++ b/Sources/SeriousSam/SeriousSam.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define APPLICATION_NAME "SeriousSam" #include "CDCheck.h" @@ -21,4 +34,4 @@ struct KeyData { char *kd_strASCII; }; -extern CGame *_pGame; \ No newline at end of file +extern CGame *_pGame; diff --git a/Sources/SeriousSam/SplashScreen.cpp b/Sources/SeriousSam/SplashScreen.cpp index afc6843..eb23954 100644 --- a/Sources/SeriousSam/SplashScreen.cpp +++ b/Sources/SeriousSam/SplashScreen.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "resource.h" @@ -107,4 +120,4 @@ void HideSplashScreen(void) DestroyWindow(hwnd); DeleteObject(_hbmSplash); DeleteObject(_hbmSplashMask); -} \ No newline at end of file +} diff --git a/Sources/SeriousSam/SplashScreen.h b/Sources/SeriousSam/SplashScreen.h index c5b290f..c41c8ce 100644 --- a/Sources/SeriousSam/SplashScreen.h +++ b/Sources/SeriousSam/SplashScreen.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ void ShowSplashScreen(HINSTANCE hInstance); -void HideSplashScreen(void); \ No newline at end of file +void HideSplashScreen(void); diff --git a/Sources/SeriousSam/StdH.cpp b/Sources/SeriousSam/StdH.cpp index a0fb0be..322326e 100644 --- a/Sources/SeriousSam/StdH.cpp +++ b/Sources/SeriousSam/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -#include "StdH.h" \ No newline at end of file + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#include "StdH.h" diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index 41b6065..26c7a5c 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include @@ -24,4 +37,4 @@ #include "SeriousSam.h" #include "Menu.h" -#include "MenuGadgets.h" \ No newline at end of file +#include "MenuGadgets.h" diff --git a/Sources/SeriousSam/VarList.cpp b/Sources/SeriousSam/VarList.cpp index 350a055..384d5b1 100644 --- a/Sources/SeriousSam/VarList.cpp +++ b/Sources/SeriousSam/VarList.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/VarList.h b/Sources/SeriousSam/VarList.h index da12450..b87ca0e 100644 --- a/Sources/SeriousSam/VarList.h +++ b/Sources/SeriousSam/VarList.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_VARLIST_H #define SE_INCL_VARLIST_H diff --git a/Sources/SeriousSam/resource.h b/Sources/SeriousSam/resource.h index 252c84c..57006de 100644 --- a/Sources/SeriousSam/resource.h +++ b/Sources/SeriousSam/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/SeriousSkaStudio/CheckBox.cpp b/Sources/SeriousSkaStudio/CheckBox.cpp index 4daffe4..531ecfe 100644 --- a/Sources/SeriousSkaStudio/CheckBox.cpp +++ b/Sources/SeriousSkaStudio/CheckBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CheckBox.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/CheckBox.h b/Sources/SeriousSkaStudio/CheckBox.h index 2212369..055628f 100644 --- a/Sources/SeriousSkaStudio/CheckBox.h +++ b/Sources/SeriousSkaStudio/CheckBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CHECKBOX_H__E1BBA3F7_AEB5_47EA_9593_99FA773F60C0__INCLUDED_) #define AFX_CHECKBOX_H__E1BBA3F7_AEB5_47EA_9593_99FA773F60C0__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/ChildFrm.cpp b/Sources/SeriousSkaStudio/ChildFrm.cpp index 6b12421..d4e4394 100644 --- a/Sources/SeriousSkaStudio/ChildFrm.cpp +++ b/Sources/SeriousSkaStudio/ChildFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.cpp : implementation of the CChildFrame class // diff --git a/Sources/SeriousSkaStudio/ChildFrm.h b/Sources/SeriousSkaStudio/ChildFrm.h index 54d718a..6da66fa 100644 --- a/Sources/SeriousSkaStudio/ChildFrm.h +++ b/Sources/SeriousSkaStudio/ChildFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.h : interface of the CChildFrame class // diff --git a/Sources/SeriousSkaStudio/ColoredButton.cpp b/Sources/SeriousSkaStudio/ColoredButton.cpp index ebfe104..d447e1b 100644 --- a/Sources/SeriousSkaStudio/ColoredButton.cpp +++ b/Sources/SeriousSkaStudio/ColoredButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/ColoredButton.h b/Sources/SeriousSkaStudio/ColoredButton.h index bf29410..a14c3f7 100644 --- a/Sources/SeriousSkaStudio/ColoredButton.h +++ b/Sources/SeriousSkaStudio/ColoredButton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.h : header file // diff --git a/Sources/SeriousSkaStudio/DlgBarTreeView.cpp b/Sources/SeriousSkaStudio/DlgBarTreeView.cpp index c424260..6d59fdb 100644 --- a/Sources/SeriousSkaStudio/DlgBarTreeView.cpp +++ b/Sources/SeriousSkaStudio/DlgBarTreeView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgBarTreeView.cpp: implementation of the CDlgBarTreeView class. // diff --git a/Sources/SeriousSkaStudio/DlgBarTreeView.h b/Sources/SeriousSkaStudio/DlgBarTreeView.h index 8d6dac2..bb43947 100644 --- a/Sources/SeriousSkaStudio/DlgBarTreeView.h +++ b/Sources/SeriousSkaStudio/DlgBarTreeView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgBarTreeView.h: interface for the CDlgBarTreeView class. // diff --git a/Sources/SeriousSkaStudio/DlgClient.cpp b/Sources/SeriousSkaStudio/DlgClient.cpp index b08f2ec..4990dc8 100644 --- a/Sources/SeriousSkaStudio/DlgClient.cpp +++ b/Sources/SeriousSkaStudio/DlgClient.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgClient.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/DlgClient.h b/Sources/SeriousSkaStudio/DlgClient.h index d271684..368aea4 100644 --- a/Sources/SeriousSkaStudio/DlgClient.h +++ b/Sources/SeriousSkaStudio/DlgClient.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCLIENT_H__820F46A0_EEF3_408E_9EB4_BB12E4A657FB__INCLUDED_) #define AFX_DLGCLIENT_H__820F46A0_EEF3_408E_9EB4_BB12E4A657FB__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/DlgTemplate.cpp b/Sources/SeriousSkaStudio/DlgTemplate.cpp index 7104cd0..07f803a 100644 --- a/Sources/SeriousSkaStudio/DlgTemplate.cpp +++ b/Sources/SeriousSkaStudio/DlgTemplate.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "SeriousSkaStudio.h" diff --git a/Sources/SeriousSkaStudio/DlgTemplate.h b/Sources/SeriousSkaStudio/DlgTemplate.h index 9ccf041..27c9dd7 100644 --- a/Sources/SeriousSkaStudio/DlgTemplate.h +++ b/Sources/SeriousSkaStudio/DlgTemplate.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLG_TEMPLATE_INCLUDED_) #define AFX_DLG_TEMPLATE_INCLUDED_ diff --git a/Sources/SeriousSkaStudio/DropDown.cpp b/Sources/SeriousSkaStudio/DropDown.cpp index 1992a65..5cfdf59 100644 --- a/Sources/SeriousSkaStudio/DropDown.cpp +++ b/Sources/SeriousSkaStudio/DropDown.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DropDown.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/DropDown.h b/Sources/SeriousSkaStudio/DropDown.h index caf10b5..40d7975 100644 --- a/Sources/SeriousSkaStudio/DropDown.h +++ b/Sources/SeriousSkaStudio/DropDown.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DROPDOWN_H__8736EA9E_5675_44BB_AD38_E72FB7FF7C76__INCLUDED_) #define AFX_DROPDOWN_H__8736EA9E_5675_44BB_AD38_E72FB7FF7C76__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/MDIClientWnd.cpp b/Sources/SeriousSkaStudio/MDIClientWnd.cpp index 0d33a19..07a823c 100644 --- a/Sources/SeriousSkaStudio/MDIClientWnd.cpp +++ b/Sources/SeriousSkaStudio/MDIClientWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MDIClientWnd.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/MDIClientWnd.h b/Sources/SeriousSkaStudio/MDIClientWnd.h index 6166397..e871eff 100644 --- a/Sources/SeriousSkaStudio/MDIClientWnd.h +++ b/Sources/SeriousSkaStudio/MDIClientWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_MDICLIENTWND_H__BA0F202B_D135_430A_A145_5068DD6DE1F2__INCLUDED_) #define AFX_MDICLIENTWND_H__BA0F202B_D135_430A_A145_5068DD6DE1F2__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/MainFrm.cpp b/Sources/SeriousSkaStudio/MainFrm.cpp index d0d30fd..495b72c 100644 --- a/Sources/SeriousSkaStudio/MainFrm.cpp +++ b/Sources/SeriousSkaStudio/MainFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "SeriousSkaStudio.h" diff --git a/Sources/SeriousSkaStudio/MainFrm.h b/Sources/SeriousSkaStudio/MainFrm.h index e5f3fd3..7d27516 100644 --- a/Sources/SeriousSkaStudio/MainFrm.h +++ b/Sources/SeriousSkaStudio/MainFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MainFrm.h : interface of the CMainFrame class // diff --git a/Sources/SeriousSkaStudio/ModelTreeCtrl.cpp b/Sources/SeriousSkaStudio/ModelTreeCtrl.cpp index 1099ed3..f0705b3 100644 --- a/Sources/SeriousSkaStudio/ModelTreeCtrl.cpp +++ b/Sources/SeriousSkaStudio/ModelTreeCtrl.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelTreeCtrl.cpp: implementation of the CModelTreeCtrl class. // diff --git a/Sources/SeriousSkaStudio/ModelTreeCtrl.h b/Sources/SeriousSkaStudio/ModelTreeCtrl.h index 14df91e..86d2fc4 100644 --- a/Sources/SeriousSkaStudio/ModelTreeCtrl.h +++ b/Sources/SeriousSkaStudio/ModelTreeCtrl.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ModelTreeCtrl.h: interface for the CModelTreeCtrl class. // diff --git a/Sources/SeriousSkaStudio/ParsingSymbols.h b/Sources/SeriousSkaStudio/ParsingSymbols.h index 07c988e..e7a9220 100644 --- a/Sources/SeriousSkaStudio/ParsingSymbols.h +++ b/Sources/SeriousSkaStudio/ParsingSymbols.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // needed for parser and scanner extern int yylex(void); diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudio.cpp b/Sources/SeriousSkaStudio/SeriousSkaStudio.cpp index ea2af18..ef0dbda 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudio.cpp +++ b/Sources/SeriousSkaStudio/SeriousSkaStudio.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "SeriousSkaStudio.h" diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudio.h b/Sources/SeriousSkaStudio/SeriousSkaStudio.h index 16c4592..3ef098a 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudio.h +++ b/Sources/SeriousSkaStudio/SeriousSkaStudio.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SeriousSkaStudio.h : main header file for the SERIOUSSKASTUDIO application // diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.cpp b/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.cpp index fd69976..b4c9285 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.cpp +++ b/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SeriousSkaStudioDoc.cpp : implementation of the CSeriousSkaStudioDoc class // diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.h b/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.h index b1402c9..36d8390 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.h +++ b/Sources/SeriousSkaStudio/SeriousSkaStudioDoc.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SeriousSkaStudioDoc.h : interface of the CSeriousSkaStudioDoc class // diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudioView.cpp b/Sources/SeriousSkaStudio/SeriousSkaStudioView.cpp index 475e6fc..3579476 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudioView.cpp +++ b/Sources/SeriousSkaStudio/SeriousSkaStudioView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SeriousSkaStudioView.cpp : implementation of the CSeriousSkaStudioView class // diff --git a/Sources/SeriousSkaStudio/SeriousSkaStudioView.h b/Sources/SeriousSkaStudio/SeriousSkaStudioView.h index 2ef981a..b5690ea 100644 --- a/Sources/SeriousSkaStudio/SeriousSkaStudioView.h +++ b/Sources/SeriousSkaStudio/SeriousSkaStudioView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SeriousSkaStudioView.h : interface of the CSeriousSkaStudioView class // diff --git a/Sources/SeriousSkaStudio/SplitterFrame.cpp b/Sources/SeriousSkaStudio/SplitterFrame.cpp index 19a6db8..4681ba5 100644 --- a/Sources/SeriousSkaStudio/SplitterFrame.cpp +++ b/Sources/SeriousSkaStudio/SplitterFrame.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SplitterFrame.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/SplitterFrame.h b/Sources/SeriousSkaStudio/SplitterFrame.h index b697a43..8d108ea 100644 --- a/Sources/SeriousSkaStudio/SplitterFrame.h +++ b/Sources/SeriousSkaStudio/SplitterFrame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_SPLITTERFRAME_H__1F06C2AF_EF87_4728_9A83_7BD10DD1F70E__INCLUDED_) #define AFX_SPLITTERFRAME_H__1F06C2AF_EF87_4728_9A83_7BD10DD1F70E__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/StdAfx.cpp b/Sources/SeriousSkaStudio/StdAfx.cpp index 35b27f0..c706dfd 100644 --- a/Sources/SeriousSkaStudio/StdAfx.cpp +++ b/Sources/SeriousSkaStudio/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // SeriousSkaStudio.pch will be the pre-compiled header diff --git a/Sources/SeriousSkaStudio/StdAfx.h b/Sources/SeriousSkaStudio/StdAfx.h index 2d2b378..5be525f 100644 --- a/Sources/SeriousSkaStudio/StdAfx.h +++ b/Sources/SeriousSkaStudio/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but diff --git a/Sources/SeriousSkaStudio/TexView.cpp b/Sources/SeriousSkaStudio/TexView.cpp index aed2826..18a745b 100644 --- a/Sources/SeriousSkaStudio/TexView.cpp +++ b/Sources/SeriousSkaStudio/TexView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TexView.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/TexView.h b/Sources/SeriousSkaStudio/TexView.h index 7784182..975bc49 100644 --- a/Sources/SeriousSkaStudio/TexView.h +++ b/Sources/SeriousSkaStudio/TexView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_TEXVIEW_H__F222519C_8EA7_41DC_B346_5A788032B2C2__INCLUDED_) #define AFX_TEXVIEW_H__F222519C_8EA7_41DC_B346_5A788032B2C2__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/TextBox.cpp b/Sources/SeriousSkaStudio/TextBox.cpp index b61de0e..a4bc653 100644 --- a/Sources/SeriousSkaStudio/TextBox.cpp +++ b/Sources/SeriousSkaStudio/TextBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TextBox.cpp : implementation file // diff --git a/Sources/SeriousSkaStudio/TextBox.h b/Sources/SeriousSkaStudio/TextBox.h index 2c2e28f..be38048 100644 --- a/Sources/SeriousSkaStudio/TextBox.h +++ b/Sources/SeriousSkaStudio/TextBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_TEXTBOX_H__F08BF4CB_B32A_11D5_8AB4_00C0262D9BFE__INCLUDED_) #define AFX_TEXTBOX_H__F08BF4CB_B32A_11D5_8AB4_00C0262D9BFE__INCLUDED_ diff --git a/Sources/SeriousSkaStudio/resource.h b/Sources/SeriousSkaStudio/resource.h index 2be6727..c0c943a 100644 --- a/Sources/SeriousSkaStudio/resource.h +++ b/Sources/SeriousSkaStudio/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. diff --git a/Sources/SeriousSkaStudio/unistd.h b/Sources/SeriousSkaStudio/unistd.h index 80f9f8e..c9c1cb0 100644 --- a/Sources/SeriousSkaStudio/unistd.h +++ b/Sources/SeriousSkaStudio/unistd.h @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -#include \ No newline at end of file + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#include diff --git a/Sources/Shaders/AddShader.cpp b/Sources/Shaders/AddShader.cpp index 8e3cea4..d97be3e 100644 --- a/Sources/Shaders/AddShader.cpp +++ b/Sources/Shaders/AddShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -54,4 +67,4 @@ SHADER_DESC(Add,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Add shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/AddShaderDS.cpp b/Sources/Shaders/AddShaderDS.cpp index 637e5da..a347752 100644 --- a/Sources/Shaders/AddShaderDS.cpp +++ b/Sources/Shaders/AddShaderDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -65,4 +78,4 @@ SHADER_DESC(AddDS,ShaderDesc &shDesc) shDesc.sd_astrTexCoordNames[0] = "AddDS uvmap"; shDesc.sd_astrColorNames[0] = "AddDS color"; shDesc.sd_strShaderInfo = "AddDS shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/BaseShader.cpp b/Sources/Shaders/BaseShader.cpp index fb95d4b..2819735 100644 --- a/Sources/Shaders/BaseShader.cpp +++ b/Sources/Shaders/BaseShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -79,4 +92,4 @@ SHADER_DESC(Base,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/BaseShaderDS.cpp b/Sources/Shaders/BaseShaderDS.cpp index d96dd86..1e692dd 100644 --- a/Sources/Shaders/BaseShaderDS.cpp +++ b/Sources/Shaders/BaseShaderDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -63,4 +76,4 @@ SHADER_DESC(BaseDS,ShaderDesc &shDesc) shDesc.sd_astrTexCoordNames[0] = "Base uvmap"; shDesc.sd_astrColorNames[0] = "Base color"; shDesc.sd_strShaderInfo = "Double sided basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/BaseTransparent.cpp b/Sources/Shaders/BaseTransparent.cpp index de94e04..6aaebc2 100644 --- a/Sources/Shaders/BaseTransparent.cpp +++ b/Sources/Shaders/BaseTransparent.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -61,4 +74,4 @@ SHADER_DESC(Base_Transparent,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/BaseTransparentDS.cpp b/Sources/Shaders/BaseTransparentDS.cpp index 9fa7742..4f42918 100644 --- a/Sources/Shaders/BaseTransparentDS.cpp +++ b/Sources/Shaders/BaseTransparentDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -54,4 +67,4 @@ SHADER_DESC(Base_TransparentDS,ShaderDesc &shDesc) shDesc.sd_astrColorNames[0] = "Base color"; // shDesc.sd_astrFloatNames[0] = "Double sided"; shDesc.sd_strShaderInfo = "Basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/ColorShader.cpp b/Sources/Shaders/ColorShader.cpp index 84867a5..6eefe92 100644 --- a/Sources/Shaders/ColorShader.cpp +++ b/Sources/Shaders/ColorShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -44,4 +57,4 @@ SHADER_DESC(Color,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Color shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/Common.cpp b/Sources/Shaders/Common.cpp index 6fe28b8..9811b0a 100644 --- a/Sources/Shaders/Common.cpp +++ b/Sources/Shaders/Common.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/Shaders/Common.h b/Sources/Shaders/Common.h index 7569131..2bf0742 100644 --- a/Sources/Shaders/Common.h +++ b/Sources/Shaders/Common.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_SHADER_COMMON_H #define SE_INCL_SHADER_COMMON_H diff --git a/Sources/Shaders/DetailShader.cpp b/Sources/Shaders/DetailShader.cpp index f0c5645..4535b36 100644 --- a/Sources/Shaders/DetailShader.cpp +++ b/Sources/Shaders/DetailShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -144,4 +157,4 @@ SHADER_DESC(Detail,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Detail shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/DisplaceShader.cpp b/Sources/Shaders/DisplaceShader.cpp index 16a8bd1..548a019 100644 --- a/Sources/Shaders/DisplaceShader.cpp +++ b/Sources/Shaders/DisplaceShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/Shaders/InvisibleShader.cpp b/Sources/Shaders/InvisibleShader.cpp index e49aca2..1bf501f 100644 --- a/Sources/Shaders/InvisibleShader.cpp +++ b/Sources/Shaders/InvisibleShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -23,4 +36,4 @@ SHADER_DESC(Invisible,ShaderDesc &shDesc) shDesc.sd_astrTexCoordNames.New(UVMAPS_COUNT); shDesc.sd_astrColorNames.New(COLOR_COUNT); shDesc.sd_astrFloatNames.New(FLOAT_COUNT); -} \ No newline at end of file +} diff --git a/Sources/Shaders/MultiLayerShader.cpp b/Sources/Shaders/MultiLayerShader.cpp index 44a48be..e61f838 100644 --- a/Sources/Shaders/MultiLayerShader.cpp +++ b/Sources/Shaders/MultiLayerShader.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -134,4 +147,4 @@ SHADER_DESC(MultiLayer, ShaderDesc &shDesc) shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Multi Layer shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/Reflection.cpp b/Sources/Shaders/Reflection.cpp index dc4033c..50445e7 100644 --- a/Sources/Shaders/Reflection.cpp +++ b/Sources/Shaders/Reflection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -71,4 +84,4 @@ SHADER_DESC(Reflection,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Basic shader"; shDesc.sd_astrColorNames[1] = "Reflection color"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/ReflectionDS.cpp b/Sources/Shaders/ReflectionDS.cpp index 020e61e..f1fbe68 100644 --- a/Sources/Shaders/ReflectionDS.cpp +++ b/Sources/Shaders/ReflectionDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -67,4 +80,4 @@ SHADER_DESC(ReflectionDS,ShaderDesc &shDesc) shDesc.sd_astrColorNames[0] = "Base color"; shDesc.sd_strShaderInfo = "Basic shader"; shDesc.sd_astrColorNames[1] = "Reflection color"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/ReftectionAndSpecular.cpp b/Sources/Shaders/ReftectionAndSpecular.cpp index cc2addc..0b4434e 100644 --- a/Sources/Shaders/ReftectionAndSpecular.cpp +++ b/Sources/Shaders/ReftectionAndSpecular.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -76,4 +89,4 @@ SHADER_DESC(ReflectionAndSpecular,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/ReftectionAndSpecularDS.cpp b/Sources/Shaders/ReftectionAndSpecularDS.cpp index 936c357..cbc0696 100644 --- a/Sources/Shaders/ReftectionAndSpecularDS.cpp +++ b/Sources/Shaders/ReftectionAndSpecularDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -72,4 +85,4 @@ SHADER_DESC(ReflectionAndSpecularDS,ShaderDesc &shDesc) shDesc.sd_strShaderInfo = "Basic shader"; shDesc.sd_astrColorNames[1] = "Reflection color"; shDesc.sd_astrColorNames[2] = "Specular color"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/Specular.cpp b/Sources/Shaders/Specular.cpp index 64b648a..e9b33dd 100644 --- a/Sources/Shaders/Specular.cpp +++ b/Sources/Shaders/Specular.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -83,4 +96,4 @@ SHADER_DESC(Specular,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Basic shader"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/SpecularDS.cpp b/Sources/Shaders/SpecularDS.cpp index 4c1ab11..fc1d8f4 100644 --- a/Sources/Shaders/SpecularDS.cpp +++ b/Sources/Shaders/SpecularDS.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include @@ -67,4 +80,4 @@ SHADER_DESC(SpecularDS,ShaderDesc &shDesc) shDesc.sd_astrColorNames[0] = "Base color"; shDesc.sd_strShaderInfo = "Basic shader"; shDesc.sd_astrColorNames[1] = "Specular color"; -} \ No newline at end of file +} diff --git a/Sources/Shaders/StdH.cpp b/Sources/Shaders/StdH.cpp index a0fb0be..322326e 100644 --- a/Sources/Shaders/StdH.cpp +++ b/Sources/Shaders/StdH.cpp @@ -1,3 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation -#include "StdH.h" \ No newline at end of file + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#include "StdH.h" diff --git a/Sources/Shaders/StdH.h b/Sources/Shaders/StdH.h index cccb432..65dd3ab 100644 --- a/Sources/Shaders/StdH.h +++ b/Sources/Shaders/StdH.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/Shaders/Translucent.cpp b/Sources/Shaders/Translucent.cpp index 1032fcb..7283883 100644 --- a/Sources/Shaders/Translucent.cpp +++ b/Sources/Shaders/Translucent.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" @@ -56,4 +69,4 @@ SHADER_DESC(Translucent,ShaderDesc &shDesc) shDesc.sd_astrFlagNames[0] = "Double sided"; shDesc.sd_astrFlagNames[1] = "Full bright"; shDesc.sd_strShaderInfo = "Translucent shader"; -} \ No newline at end of file +} diff --git a/Sources/WorldEditor/ActiveTextureWnd.cpp b/Sources/WorldEditor/ActiveTextureWnd.cpp index 3dfcbd6..4df0b98 100644 --- a/Sources/WorldEditor/ActiveTextureWnd.cpp +++ b/Sources/WorldEditor/ActiveTextureWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ActiveTextureWnd.cpp : implementation file // diff --git a/Sources/WorldEditor/ActiveTextureWnd.h b/Sources/WorldEditor/ActiveTextureWnd.h index 04f940f..2f28b78 100644 --- a/Sources/WorldEditor/ActiveTextureWnd.h +++ b/Sources/WorldEditor/ActiveTextureWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ActiveTextureWnd.h : header file // diff --git a/Sources/WorldEditor/BrowseWindow.cpp b/Sources/WorldEditor/BrowseWindow.cpp index 0516185..63c9ffb 100644 --- a/Sources/WorldEditor/BrowseWindow.cpp +++ b/Sources/WorldEditor/BrowseWindow.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // BrowseWindow.cpp : implementation file // diff --git a/Sources/WorldEditor/Browser.cpp b/Sources/WorldEditor/Browser.cpp index 3ec702b..2a28cd3 100644 --- a/Sources/WorldEditor/Browser.cpp +++ b/Sources/WorldEditor/Browser.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Browser.cpp : implementation file // diff --git a/Sources/WorldEditor/Browser.h b/Sources/WorldEditor/Browser.h index 3ec5c5f..c1e124f 100644 --- a/Sources/WorldEditor/Browser.h +++ b/Sources/WorldEditor/Browser.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // Browser.h : header file // diff --git a/Sources/WorldEditor/BrushPaletteWnd.cpp b/Sources/WorldEditor/BrushPaletteWnd.cpp index a13dd1a..a218d26 100644 --- a/Sources/WorldEditor/BrushPaletteWnd.cpp +++ b/Sources/WorldEditor/BrushPaletteWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // BrushPaletteWnd.cpp : implementation file // diff --git a/Sources/WorldEditor/BrushPaletteWnd.h b/Sources/WorldEditor/BrushPaletteWnd.h index 9c2d710..52eca26 100644 --- a/Sources/WorldEditor/BrushPaletteWnd.h +++ b/Sources/WorldEditor/BrushPaletteWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_BRUSHPALETTEWND_H__E0E5728A_563A_43BA_AD10_187D83BE8E55__INCLUDED_) #define AFX_BRUSHPALETTEWND_H__E0E5728A_563A_43BA_AD10_187D83BE8E55__INCLUDED_ diff --git a/Sources/WorldEditor/CSGDesitnationCombo.cpp b/Sources/WorldEditor/CSGDesitnationCombo.cpp index ed64a36..40567de 100644 --- a/Sources/WorldEditor/CSGDesitnationCombo.cpp +++ b/Sources/WorldEditor/CSGDesitnationCombo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CSGDesitnationCombo.cpp : implementation file // diff --git a/Sources/WorldEditor/CSGDesitnationCombo.h b/Sources/WorldEditor/CSGDesitnationCombo.h index a3637f9..3fe36d7 100644 --- a/Sources/WorldEditor/CSGDesitnationCombo.h +++ b/Sources/WorldEditor/CSGDesitnationCombo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CSGDesitnationCombo.h : header file // diff --git a/Sources/WorldEditor/ChildFrm.cpp b/Sources/WorldEditor/ChildFrm.cpp index d78efaf..4be330a 100644 --- a/Sources/WorldEditor/ChildFrm.cpp +++ b/Sources/WorldEditor/ChildFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.cpp : implementation of the CChildFrame class // diff --git a/Sources/WorldEditor/ChildFrm.h b/Sources/WorldEditor/ChildFrm.h index c2233f4..9748007 100644 --- a/Sources/WorldEditor/ChildFrm.h +++ b/Sources/WorldEditor/ChildFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ChildFrm.h : interface of the CChildFrame class // diff --git a/Sources/WorldEditor/ColorPaletteWnd.cpp b/Sources/WorldEditor/ColorPaletteWnd.cpp index 11efe6e..f0a8f2d 100644 --- a/Sources/WorldEditor/ColorPaletteWnd.cpp +++ b/Sources/WorldEditor/ColorPaletteWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColorPaletteWnd.cpp : implementation file // diff --git a/Sources/WorldEditor/ColorPaletteWnd.h b/Sources/WorldEditor/ColorPaletteWnd.h index 21d9fe9..1ea9a3a 100644 --- a/Sources/WorldEditor/ColorPaletteWnd.h +++ b/Sources/WorldEditor/ColorPaletteWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColorPaletteWnd.h : header file // diff --git a/Sources/WorldEditor/ColoredButton.cpp b/Sources/WorldEditor/ColoredButton.cpp index 67f8638..5ca1fa3 100644 --- a/Sources/WorldEditor/ColoredButton.cpp +++ b/Sources/WorldEditor/ColoredButton.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.cpp : implementation file // diff --git a/Sources/WorldEditor/CtlTipOfTheDayText.cpp b/Sources/WorldEditor/CtlTipOfTheDayText.cpp index 12341cc..9982447 100644 --- a/Sources/WorldEditor/CtlTipOfTheDayText.cpp +++ b/Sources/WorldEditor/CtlTipOfTheDayText.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtlTipOfTheDayText.cpp : implementation file // diff --git a/Sources/WorldEditor/CtlTipOfTheDayText.h b/Sources/WorldEditor/CtlTipOfTheDayText.h index 9a735e5..47bf1ac 100644 --- a/Sources/WorldEditor/CtlTipOfTheDayText.h +++ b/Sources/WorldEditor/CtlTipOfTheDayText.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CTLTIPOFTHEDAYTEXT_H__F7006AF5_44F1_11D4_93A2_004095812ACC__INCLUDED_) #define AFX_CTLTIPOFTHEDAYTEXT_H__F7006AF5_44F1_11D4_93A2_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/CtrlAxisRadio.cpp b/Sources/WorldEditor/CtrlAxisRadio.cpp index ef61d1b..2926af3 100644 --- a/Sources/WorldEditor/CtrlAxisRadio.cpp +++ b/Sources/WorldEditor/CtrlAxisRadio.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlAxisRadio.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlBrowseFile.cpp b/Sources/WorldEditor/CtrlBrowseFile.cpp index 3291488..d3b8ee1 100644 --- a/Sources/WorldEditor/CtrlBrowseFile.cpp +++ b/Sources/WorldEditor/CtrlBrowseFile.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlBrowseFile.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlBrowseFile.h b/Sources/WorldEditor/CtrlBrowseFile.h index 4f8d4f8..ba95b79 100644 --- a/Sources/WorldEditor/CtrlBrowseFile.h +++ b/Sources/WorldEditor/CtrlBrowseFile.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlBrowseFile.h : header file // diff --git a/Sources/WorldEditor/CtrlColorBrowsingModeRadio.cpp b/Sources/WorldEditor/CtrlColorBrowsingModeRadio.cpp index 970f0db..c9d5532 100644 --- a/Sources/WorldEditor/CtrlColorBrowsingModeRadio.cpp +++ b/Sources/WorldEditor/CtrlColorBrowsingModeRadio.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlColorBrowsingModeRadio.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlColorBrowsingModeRadio.h b/Sources/WorldEditor/CtrlColorBrowsingModeRadio.h index 09054b3..1b6563e 100644 --- a/Sources/WorldEditor/CtrlColorBrowsingModeRadio.h +++ b/Sources/WorldEditor/CtrlColorBrowsingModeRadio.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CTRLCOLORBROWSINGMODERADIO_H__9322F8B3_0DAA_11D2_8327_004095812ACC__INCLUDED_) #define AFX_CTRLCOLORBROWSINGMODERADIO_H__9322F8B3_0DAA_11D2_8327_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/CtrlEditBoolean.cpp b/Sources/WorldEditor/CtrlEditBoolean.cpp index fa18de1..25f78ac 100644 --- a/Sources/WorldEditor/CtrlEditBoolean.cpp +++ b/Sources/WorldEditor/CtrlEditBoolean.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditBoolean.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlEditBoolean.h b/Sources/WorldEditor/CtrlEditBoolean.h index 8ec1589..cd14c5c 100644 --- a/Sources/WorldEditor/CtrlEditBoolean.h +++ b/Sources/WorldEditor/CtrlEditBoolean.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditBoolean.h : header file // @@ -44,4 +57,4 @@ protected: }; ///////////////////////////////////////////////////////////////////////////// -#endif // CTRLEDITBOOLEAN_H \ No newline at end of file +#endif // CTRLEDITBOOLEAN_H diff --git a/Sources/WorldEditor/CtrlEditFlags.cpp b/Sources/WorldEditor/CtrlEditFlags.cpp index 5ef7eeb..f28cfa4 100644 --- a/Sources/WorldEditor/CtrlEditFlags.cpp +++ b/Sources/WorldEditor/CtrlEditFlags.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditFlags.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlEditFlags.h b/Sources/WorldEditor/CtrlEditFlags.h index 0ad478c..e8802aa 100644 --- a/Sources/WorldEditor/CtrlEditFlags.h +++ b/Sources/WorldEditor/CtrlEditFlags.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CTRLEDITFLAGS_H__759EB1B4_55C4_11D5_86CA_00002103143B__INCLUDED_) #define AFX_CTRLEDITFLAGS_H__759EB1B4_55C4_11D5_86CA_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/CtrlEditFloat.cpp b/Sources/WorldEditor/CtrlEditFloat.cpp index 31b960f..63a3290 100644 --- a/Sources/WorldEditor/CtrlEditFloat.cpp +++ b/Sources/WorldEditor/CtrlEditFloat.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditFloat.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlEditFloat.h b/Sources/WorldEditor/CtrlEditFloat.h index b5f886f..d8f32d8 100644 --- a/Sources/WorldEditor/CtrlEditFloat.h +++ b/Sources/WorldEditor/CtrlEditFloat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditFloat.h : header file // @@ -45,4 +58,4 @@ protected: }; ///////////////////////////////////////////////////////////////////////////// -#endif // CTRLEDITFLOAT_H \ No newline at end of file +#endif // CTRLEDITFLOAT_H diff --git a/Sources/WorldEditor/CtrlEditString.cpp b/Sources/WorldEditor/CtrlEditString.cpp index de13734..edd604e 100644 --- a/Sources/WorldEditor/CtrlEditString.cpp +++ b/Sources/WorldEditor/CtrlEditString.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditString.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlEditString.h b/Sources/WorldEditor/CtrlEditString.h index 86794ae..8b22d41 100644 --- a/Sources/WorldEditor/CtrlEditString.h +++ b/Sources/WorldEditor/CtrlEditString.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEditString.h : header file // diff --git a/Sources/WorldEditor/CtrlEnumCombo.cpp b/Sources/WorldEditor/CtrlEnumCombo.cpp index 49d707c..6f29fbc 100644 --- a/Sources/WorldEditor/CtrlEnumCombo.cpp +++ b/Sources/WorldEditor/CtrlEnumCombo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEnumCombo.cpp : implementation file // diff --git a/Sources/WorldEditor/CtrlEnumCombo.h b/Sources/WorldEditor/CtrlEnumCombo.h index 9b9de63..088f478 100644 --- a/Sources/WorldEditor/CtrlEnumCombo.h +++ b/Sources/WorldEditor/CtrlEnumCombo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlEnumCombo.h : header file // diff --git a/Sources/WorldEditor/CustomComboWnd.cpp b/Sources/WorldEditor/CustomComboWnd.cpp index 7461f33..0c23ef4 100644 --- a/Sources/WorldEditor/CustomComboWnd.cpp +++ b/Sources/WorldEditor/CustomComboWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CustomComboWnd.cpp : implementation file // diff --git a/Sources/WorldEditor/CustomComboWnd.h b/Sources/WorldEditor/CustomComboWnd.h index c52f105..61b92c5 100644 --- a/Sources/WorldEditor/CustomComboWnd.h +++ b/Sources/WorldEditor/CustomComboWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_CUSTOMCOMBOWND_H__6C892711_24F7_4340_8D42_6AA0869A266B__INCLUDED_) #define AFX_CUSTOMCOMBOWND_H__6C892711_24F7_4340_8D42_6AA0869A266B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgAllignVertices.cpp b/Sources/WorldEditor/DlgAllignVertices.cpp index 794a2d9..f05eb8f 100644 --- a/Sources/WorldEditor/DlgAllignVertices.cpp +++ b/Sources/WorldEditor/DlgAllignVertices.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAllignVertices.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgAllignVertices.h b/Sources/WorldEditor/DlgAllignVertices.h index 09713d4..e0a94b2 100644 --- a/Sources/WorldEditor/DlgAllignVertices.h +++ b/Sources/WorldEditor/DlgAllignVertices.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGALLIGNVERTICES_H__BE198008_81A4_11D5_871A_00002103143B__INCLUDED_) #define AFX_DLGALLIGNVERTICES_H__BE198008_81A4_11D5_871A_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgAutTexturize.cpp b/Sources/WorldEditor/DlgAutTexturize.cpp index 94432eb..302cade 100644 --- a/Sources/WorldEditor/DlgAutTexturize.cpp +++ b/Sources/WorldEditor/DlgAutTexturize.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAutTexturize.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgAutTexturize.h b/Sources/WorldEditor/DlgAutTexturize.h index 085319f..3990dcc 100644 --- a/Sources/WorldEditor/DlgAutTexturize.h +++ b/Sources/WorldEditor/DlgAutTexturize.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGAUTTEXTURIZE_H__17E4B1E3_B1A2_11D5_8748_00002103143B__INCLUDED_) #define AFX_DLGAUTTEXTURIZE_H__17E4B1E3_B1A2_11D5_8748_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgAutoDeltaCSG.cpp b/Sources/WorldEditor/DlgAutoDeltaCSG.cpp index 67a6428..106f218 100644 --- a/Sources/WorldEditor/DlgAutoDeltaCSG.cpp +++ b/Sources/WorldEditor/DlgAutoDeltaCSG.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAutoDeltaCSG.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgAutoDeltaCSG.h b/Sources/WorldEditor/DlgAutoDeltaCSG.h index 2ae43c3..c0e1855 100644 --- a/Sources/WorldEditor/DlgAutoDeltaCSG.h +++ b/Sources/WorldEditor/DlgAutoDeltaCSG.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgAutoDeltaCSG.h : header file // diff --git a/Sources/WorldEditor/DlgBrowseByClass.cpp b/Sources/WorldEditor/DlgBrowseByClass.cpp index 1ef3534..63e138a 100644 --- a/Sources/WorldEditor/DlgBrowseByClass.cpp +++ b/Sources/WorldEditor/DlgBrowseByClass.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgBrowseByClass.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgBrowseByClass.h b/Sources/WorldEditor/DlgBrowseByClass.h index 9f848b7..be4265f 100644 --- a/Sources/WorldEditor/DlgBrowseByClass.h +++ b/Sources/WorldEditor/DlgBrowseByClass.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGBROWSEBYCLASS_H__A1C15CF4_D8A2_11D1_8270_000000000000__INCLUDED_) #define AFX_DLGBROWSEBYCLASS_H__A1C15CF4_D8A2_11D1_8270_000000000000__INCLUDED_ diff --git a/Sources/WorldEditor/DlgComment.cpp b/Sources/WorldEditor/DlgComment.cpp index 8d32292..841e2da 100644 --- a/Sources/WorldEditor/DlgComment.cpp +++ b/Sources/WorldEditor/DlgComment.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgComment.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgComment.h b/Sources/WorldEditor/DlgComment.h index d898b50..f515b5d 100644 --- a/Sources/WorldEditor/DlgComment.h +++ b/Sources/WorldEditor/DlgComment.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGCOMMENT_H__AC7EDCA5_C9D0_11D4_85BB_000021291DC7__INCLUDED_) #define AFX_DLGCOMMENT_H__AC7EDCA5_C9D0_11D4_85BB_000021291DC7__INCLUDED_ diff --git a/Sources/WorldEditor/DlgCreateVirtualDirectory.cpp b/Sources/WorldEditor/DlgCreateVirtualDirectory.cpp index 39f2f90..3332597 100644 --- a/Sources/WorldEditor/DlgCreateVirtualDirectory.cpp +++ b/Sources/WorldEditor/DlgCreateVirtualDirectory.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateVirtualDirectory.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgCreateVirtualDirectory.h b/Sources/WorldEditor/DlgCreateVirtualDirectory.h index 46e1f73..62c8c39 100644 --- a/Sources/WorldEditor/DlgCreateVirtualDirectory.h +++ b/Sources/WorldEditor/DlgCreateVirtualDirectory.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgCreateVirtualDirectory.h : header file // diff --git a/Sources/WorldEditor/DlgDisplaceMapSize.cpp b/Sources/WorldEditor/DlgDisplaceMapSize.cpp index c0ea7e8..472bee4 100644 --- a/Sources/WorldEditor/DlgDisplaceMapSize.cpp +++ b/Sources/WorldEditor/DlgDisplaceMapSize.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgDisplaceMapSize.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgDisplaceMapSize.h b/Sources/WorldEditor/DlgDisplaceMapSize.h index 5b414f7..69d40a7 100644 --- a/Sources/WorldEditor/DlgDisplaceMapSize.h +++ b/Sources/WorldEditor/DlgDisplaceMapSize.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGDISPLACEMAPSIZE_H__E70A7D13_781F_11D4_851E_000021291DC7__INCLUDED_) #define AFX_DLGDISPLACEMAPSIZE_H__E70A7D13_781F_11D4_851E_000021291DC7__INCLUDED_ diff --git a/Sources/WorldEditor/DlgEditFloat.cpp b/Sources/WorldEditor/DlgEditFloat.cpp index baeb473..2f63ba8 100644 --- a/Sources/WorldEditor/DlgEditFloat.cpp +++ b/Sources/WorldEditor/DlgEditFloat.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgEditFloat.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgEditFloat.h b/Sources/WorldEditor/DlgEditFloat.h index 4bda46f..246529e 100644 --- a/Sources/WorldEditor/DlgEditFloat.h +++ b/Sources/WorldEditor/DlgEditFloat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGEDITFLOAT_H__A6E6E355_868D_4D46_B2A5_0C3458E0FB1B__INCLUDED_) #define AFX_DLGEDITFLOAT_H__A6E6E355_868D_4D46_B2A5_0C3458E0FB1B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgEditTerrainBrush.cpp b/Sources/WorldEditor/DlgEditTerrainBrush.cpp index 8a24f2a..644bfc6 100644 --- a/Sources/WorldEditor/DlgEditTerrainBrush.cpp +++ b/Sources/WorldEditor/DlgEditTerrainBrush.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgEditTerrainBrush.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgEditTerrainBrush.h b/Sources/WorldEditor/DlgEditTerrainBrush.h index 84338e0..d111d13 100644 --- a/Sources/WorldEditor/DlgEditTerrainBrush.h +++ b/Sources/WorldEditor/DlgEditTerrainBrush.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGEDITTERRAINBRUSH_H__A349A7AF_EA7F_4EC3_8B44_7C191475F493__INCLUDED_) #define AFX_DLGEDITTERRAINBRUSH_H__A349A7AF_EA7F_4EC3_8B44_7C191475F493__INCLUDED_ diff --git a/Sources/WorldEditor/DlgEditTerrainLayer.cpp b/Sources/WorldEditor/DlgEditTerrainLayer.cpp index a51071a..ee034e3 100644 --- a/Sources/WorldEditor/DlgEditTerrainLayer.cpp +++ b/Sources/WorldEditor/DlgEditTerrainLayer.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgEditTerrainLayer.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgEditTerrainLayer.h b/Sources/WorldEditor/DlgEditTerrainLayer.h index 9689417..324d91a 100644 --- a/Sources/WorldEditor/DlgEditTerrainLayer.h +++ b/Sources/WorldEditor/DlgEditTerrainLayer.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGEDITTERRAINLAYER_H__985474D0_7967_4656_8ED1_DB317AE52FA3__INCLUDED_) #define AFX_DLGEDITTERRAINLAYER_H__985474D0_7967_4656_8ED1_DB317AE52FA3__INCLUDED_ diff --git a/Sources/WorldEditor/DlgFilterPolygonSelection.cpp b/Sources/WorldEditor/DlgFilterPolygonSelection.cpp index 4d15961..1aa9860 100644 --- a/Sources/WorldEditor/DlgFilterPolygonSelection.cpp +++ b/Sources/WorldEditor/DlgFilterPolygonSelection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgFilterPolygonSelection.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgFilterPolygonSelection.h b/Sources/WorldEditor/DlgFilterPolygonSelection.h index 25ada4d..721d621 100644 --- a/Sources/WorldEditor/DlgFilterPolygonSelection.h +++ b/Sources/WorldEditor/DlgFilterPolygonSelection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGFILTERPOLYGONSELECTION_H__AC59EE33_FCCF_11D3_8409_004095812ACC__INCLUDED_) #define AFX_DLGFILTERPOLYGONSELECTION_H__AC59EE33_FCCF_11D3_8409_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgFilterVertexSelection.cpp b/Sources/WorldEditor/DlgFilterVertexSelection.cpp index 37ab2ec..76b8c90 100644 --- a/Sources/WorldEditor/DlgFilterVertexSelection.cpp +++ b/Sources/WorldEditor/DlgFilterVertexSelection.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgFilterVertexSelection.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgFilterVertexSelection.h b/Sources/WorldEditor/DlgFilterVertexSelection.h index 1985d30..123225d 100644 --- a/Sources/WorldEditor/DlgFilterVertexSelection.h +++ b/Sources/WorldEditor/DlgFilterVertexSelection.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGFILTERVERTEXSELECTION_H__BE198003_81A4_11D5_871A_00002103143B__INCLUDED_) #define AFX_DLGFILTERVERTEXSELECTION_H__BE198003_81A4_11D5_871A_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgGenerateFBM.cpp b/Sources/WorldEditor/DlgGenerateFBM.cpp index dc1d797..0a2c76a 100644 --- a/Sources/WorldEditor/DlgGenerateFBM.cpp +++ b/Sources/WorldEditor/DlgGenerateFBM.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgGenerateFBM.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgGenerateFBM.h b/Sources/WorldEditor/DlgGenerateFBM.h index 6289751..5d0025e 100644 --- a/Sources/WorldEditor/DlgGenerateFBM.h +++ b/Sources/WorldEditor/DlgGenerateFBM.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGGENERATEFBM_H__E9D18A4D_B090_48B0_A0D5_C1CEAADEFBA8__INCLUDED_) #define AFX_DLGGENERATEFBM_H__E9D18A4D_B090_48B0_A0D5_C1CEAADEFBA8__INCLUDED_ diff --git a/Sources/WorldEditor/DlgLightAnimationEditor.cpp b/Sources/WorldEditor/DlgLightAnimationEditor.cpp index a4863e4..cb77dd3 100644 --- a/Sources/WorldEditor/DlgLightAnimationEditor.cpp +++ b/Sources/WorldEditor/DlgLightAnimationEditor.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgLightAnimationEditor.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgLightAnimationEditor.h b/Sources/WorldEditor/DlgLightAnimationEditor.h index 54cde17..68933cd 100644 --- a/Sources/WorldEditor/DlgLightAnimationEditor.h +++ b/Sources/WorldEditor/DlgLightAnimationEditor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGLIGHTANIMATIONEDITOR_H__4C1D90B3_7FA9_11D2_844A_004095812ACC__INCLUDED_) #define AFX_DLGLIGHTANIMATIONEDITOR_H__4C1D90B3_7FA9_11D2_844A_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgLinkTree.cpp b/Sources/WorldEditor/DlgLinkTree.cpp index 0b1ee20..1ab1adc 100644 --- a/Sources/WorldEditor/DlgLinkTree.cpp +++ b/Sources/WorldEditor/DlgLinkTree.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgLinkTree.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgLinkTree.h b/Sources/WorldEditor/DlgLinkTree.h index d7041ca..36499dc 100644 --- a/Sources/WorldEditor/DlgLinkTree.h +++ b/Sources/WorldEditor/DlgLinkTree.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGLINKTREE_H__F16898A5_5BF2_11D5_86D8_00002103143B__INCLUDED_) #define AFX_DLGLINKTREE_H__F16898A5_5BF2_11D5_86D8_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgMirrorAndStretch.cpp b/Sources/WorldEditor/DlgMirrorAndStretch.cpp index baaabc9..3067f6d 100644 --- a/Sources/WorldEditor/DlgMirrorAndStretch.cpp +++ b/Sources/WorldEditor/DlgMirrorAndStretch.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgMirrorAndStretch.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgMirrorAndStretch.h b/Sources/WorldEditor/DlgMirrorAndStretch.h index 32cd8a5..3435104 100644 --- a/Sources/WorldEditor/DlgMirrorAndStretch.h +++ b/Sources/WorldEditor/DlgMirrorAndStretch.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGMIRRORANDSTRETCH_H__74A2E0E6_311B_11D3_8611_004095812ACC__INCLUDED_) #define AFX_DLGMIRRORANDSTRETCH_H__74A2E0E6_311B_11D3_8611_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgNumericAlpha.cpp b/Sources/WorldEditor/DlgNumericAlpha.cpp index 705a4e6..2f8a3bf 100644 --- a/Sources/WorldEditor/DlgNumericAlpha.cpp +++ b/Sources/WorldEditor/DlgNumericAlpha.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgNumericAlpha.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgNumericAlpha.h b/Sources/WorldEditor/DlgNumericAlpha.h index e1cf762..7f6a0c4 100644 --- a/Sources/WorldEditor/DlgNumericAlpha.h +++ b/Sources/WorldEditor/DlgNumericAlpha.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGNUMERICALPHA_H__6F241AC3_9D8B_11D2_8490_004095812ACC__INCLUDED_) #define AFX_DLGNUMERICALPHA_H__6F241AC3_9D8B_11D2_8490_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgPgGlobal.cpp b/Sources/WorldEditor/DlgPgGlobal.cpp index bdd71a1..45e9e06 100644 --- a/Sources/WorldEditor/DlgPgGlobal.cpp +++ b/Sources/WorldEditor/DlgPgGlobal.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgGlobal.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgGlobal.h b/Sources/WorldEditor/DlgPgGlobal.h index 4d17ed6..5d3615a 100644 --- a/Sources/WorldEditor/DlgPgGlobal.h +++ b/Sources/WorldEditor/DlgPgGlobal.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgGlobal.h : header file // diff --git a/Sources/WorldEditor/DlgPgPolygon.cpp b/Sources/WorldEditor/DlgPgPolygon.cpp index d9ab87b..2035d2e 100644 --- a/Sources/WorldEditor/DlgPgPolygon.cpp +++ b/Sources/WorldEditor/DlgPgPolygon.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPolygon.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgPolygon.h b/Sources/WorldEditor/DlgPgPolygon.h index ad63f35..e5122aa 100644 --- a/Sources/WorldEditor/DlgPgPolygon.h +++ b/Sources/WorldEditor/DlgPgPolygon.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPolygon.h : header file // diff --git a/Sources/WorldEditor/DlgPgPosition.cpp b/Sources/WorldEditor/DlgPgPosition.cpp index bad6ee6..8cf5535 100644 --- a/Sources/WorldEditor/DlgPgPosition.cpp +++ b/Sources/WorldEditor/DlgPgPosition.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPosition.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgPosition.h b/Sources/WorldEditor/DlgPgPosition.h index db6154d..07a2335 100644 --- a/Sources/WorldEditor/DlgPgPosition.h +++ b/Sources/WorldEditor/DlgPgPosition.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPosition.h : header file // diff --git a/Sources/WorldEditor/DlgPgPrimitive.cpp b/Sources/WorldEditor/DlgPgPrimitive.cpp index 6d7b093..46449c5 100644 --- a/Sources/WorldEditor/DlgPgPrimitive.cpp +++ b/Sources/WorldEditor/DlgPgPrimitive.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPrimitive.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgPrimitive.h b/Sources/WorldEditor/DlgPgPrimitive.h index 90921db..ed91853 100644 --- a/Sources/WorldEditor/DlgPgPrimitive.h +++ b/Sources/WorldEditor/DlgPgPrimitive.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgPrimitive.h : header file // diff --git a/Sources/WorldEditor/DlgPgRenderingStatistics.cpp b/Sources/WorldEditor/DlgPgRenderingStatistics.cpp index ee024ab..08510c5 100644 --- a/Sources/WorldEditor/DlgPgRenderingStatistics.cpp +++ b/Sources/WorldEditor/DlgPgRenderingStatistics.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgRenderingStatistics.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgRenderingStatistics.h b/Sources/WorldEditor/DlgPgRenderingStatistics.h index 00cb136..7b6c5b1 100644 --- a/Sources/WorldEditor/DlgPgRenderingStatistics.h +++ b/Sources/WorldEditor/DlgPgRenderingStatistics.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgRenderingStatistics.h : header file // diff --git a/Sources/WorldEditor/DlgPgSector.cpp b/Sources/WorldEditor/DlgPgSector.cpp index b46643d..d5ed720 100644 --- a/Sources/WorldEditor/DlgPgSector.cpp +++ b/Sources/WorldEditor/DlgPgSector.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgSector.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgSector.h b/Sources/WorldEditor/DlgPgSector.h index 70c4d40..ea38846 100644 --- a/Sources/WorldEditor/DlgPgSector.h +++ b/Sources/WorldEditor/DlgPgSector.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_) #define AFX_DLGPGSECTOR_H__92165BC6_C826_11D1_8244_000000000000__INCLUDED_ diff --git a/Sources/WorldEditor/DlgPgShadow.cpp b/Sources/WorldEditor/DlgPgShadow.cpp index 21ba22f..1891514 100644 --- a/Sources/WorldEditor/DlgPgShadow.cpp +++ b/Sources/WorldEditor/DlgPgShadow.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgShadow.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgShadow.h b/Sources/WorldEditor/DlgPgShadow.h index 93b4c8f..2a96138 100644 --- a/Sources/WorldEditor/DlgPgShadow.h +++ b/Sources/WorldEditor/DlgPgShadow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGSHADOW_H__A1A8F835_D928_11D2_8513_004095812ACC__INCLUDED_) #define AFX_DLGPGSHADOW_H__A1A8F835_D928_11D2_8513_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgPgTerrain.cpp b/Sources/WorldEditor/DlgPgTerrain.cpp index d07fc2a..0ddc316 100644 --- a/Sources/WorldEditor/DlgPgTerrain.cpp +++ b/Sources/WorldEditor/DlgPgTerrain.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgTerrain.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgTerrain.h b/Sources/WorldEditor/DlgPgTerrain.h index 98626e2..ca5856a 100644 --- a/Sources/WorldEditor/DlgPgTerrain.h +++ b/Sources/WorldEditor/DlgPgTerrain.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGTERRAIN_H__975072E6_95F9_4E23_B861_89835AF46634__INCLUDED_) #define AFX_DLGPGTERRAIN_H__975072E6_95F9_4E23_B861_89835AF46634__INCLUDED_ diff --git a/Sources/WorldEditor/DlgPgTexture.cpp b/Sources/WorldEditor/DlgPgTexture.cpp index 00de822..9b49dc7 100644 --- a/Sources/WorldEditor/DlgPgTexture.cpp +++ b/Sources/WorldEditor/DlgPgTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPgTexture.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPgTexture.h b/Sources/WorldEditor/DlgPgTexture.h index 61080ed..0e9907b 100644 --- a/Sources/WorldEditor/DlgPgTexture.h +++ b/Sources/WorldEditor/DlgPgTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_) #define AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgPreferences.cpp b/Sources/WorldEditor/DlgPreferences.cpp index 41e00b9..e8178f4 100644 --- a/Sources/WorldEditor/DlgPreferences.cpp +++ b/Sources/WorldEditor/DlgPreferences.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPreferences.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgPreferences.h b/Sources/WorldEditor/DlgPreferences.h index 4399907..383bd3d 100644 --- a/Sources/WorldEditor/DlgPreferences.h +++ b/Sources/WorldEditor/DlgPreferences.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgPreferences.h : header file // diff --git a/Sources/WorldEditor/DlgProgress.cpp b/Sources/WorldEditor/DlgProgress.cpp index 17885b7..d94ee6f 100644 --- a/Sources/WorldEditor/DlgProgress.cpp +++ b/Sources/WorldEditor/DlgProgress.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgProgress.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgProgress.h b/Sources/WorldEditor/DlgProgress.h index 2ae09b9..f3b8ea9 100644 --- a/Sources/WorldEditor/DlgProgress.h +++ b/Sources/WorldEditor/DlgProgress.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgProgress.h : header file // diff --git a/Sources/WorldEditor/DlgRenderingPreferences.cpp b/Sources/WorldEditor/DlgRenderingPreferences.cpp index 6333e1d..a2ff9cc 100644 --- a/Sources/WorldEditor/DlgRenderingPreferences.cpp +++ b/Sources/WorldEditor/DlgRenderingPreferences.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgRenderingPreferences.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgRenderingPreferences.h b/Sources/WorldEditor/DlgRenderingPreferences.h index ca11872..c9b0bc4 100644 --- a/Sources/WorldEditor/DlgRenderingPreferences.h +++ b/Sources/WorldEditor/DlgRenderingPreferences.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgRenderingPreferences.h : header file // diff --git a/Sources/WorldEditor/DlgSelectByName.cpp b/Sources/WorldEditor/DlgSelectByName.cpp index c536084..b8dc895 100644 --- a/Sources/WorldEditor/DlgSelectByName.cpp +++ b/Sources/WorldEditor/DlgSelectByName.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgSelectByName.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgSelectByName.h b/Sources/WorldEditor/DlgSelectByName.h index ccd8b84..4b19549 100644 --- a/Sources/WorldEditor/DlgSelectByName.h +++ b/Sources/WorldEditor/DlgSelectByName.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgSelectByName.h : header file // diff --git a/Sources/WorldEditor/DlgSnapVertex.cpp b/Sources/WorldEditor/DlgSnapVertex.cpp index 4d2b11c..ff850fe 100644 --- a/Sources/WorldEditor/DlgSnapVertex.cpp +++ b/Sources/WorldEditor/DlgSnapVertex.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgSnapVertex.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgSnapVertex.h b/Sources/WorldEditor/DlgSnapVertex.h index 2639a17..055a023 100644 --- a/Sources/WorldEditor/DlgSnapVertex.h +++ b/Sources/WorldEditor/DlgSnapVertex.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGSNAPVERTEX_H__BE198005_81A4_11D5_871A_00002103143B__INCLUDED_) #define AFX_DLGSNAPVERTEX_H__BE198005_81A4_11D5_871A_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgStretchChildOffset.cpp b/Sources/WorldEditor/DlgStretchChildOffset.cpp index 11a1582..39af185 100644 --- a/Sources/WorldEditor/DlgStretchChildOffset.cpp +++ b/Sources/WorldEditor/DlgStretchChildOffset.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgStretchChildOffset.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgStretchChildOffset.h b/Sources/WorldEditor/DlgStretchChildOffset.h index 339486f..405ccfc 100644 --- a/Sources/WorldEditor/DlgStretchChildOffset.h +++ b/Sources/WorldEditor/DlgStretchChildOffset.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGSTRETCHCHILDOFFSET_H__55BF42F3_BE28_11D5_8763_00002103143B__INCLUDED_) #define AFX_DLGSTRETCHCHILDOFFSET_H__55BF42F3_BE28_11D5_8763_00002103143B__INCLUDED_ diff --git a/Sources/WorldEditor/DlgTEOperationSettings.cpp b/Sources/WorldEditor/DlgTEOperationSettings.cpp index 22b29c3..3441b0d 100644 --- a/Sources/WorldEditor/DlgTEOperationSettings.cpp +++ b/Sources/WorldEditor/DlgTEOperationSettings.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgTEOperationSettings.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgTEOperationSettings.h b/Sources/WorldEditor/DlgTEOperationSettings.h index 35395a9..75e7601 100644 --- a/Sources/WorldEditor/DlgTEOperationSettings.h +++ b/Sources/WorldEditor/DlgTEOperationSettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_) #define AFX_DLGTEOPERATIONSETTINGS_H__81F7BA10_AB5C_4B29_B028_F45E397EAF40__INCLUDED_ diff --git a/Sources/WorldEditor/DlgTerrainProperties.cpp b/Sources/WorldEditor/DlgTerrainProperties.cpp index 7e2762f..81820a9 100644 --- a/Sources/WorldEditor/DlgTerrainProperties.cpp +++ b/Sources/WorldEditor/DlgTerrainProperties.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgTerrainProperties.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgTerrainProperties.h b/Sources/WorldEditor/DlgTerrainProperties.h index 2319dcb..118e8b9 100644 --- a/Sources/WorldEditor/DlgTerrainProperties.h +++ b/Sources/WorldEditor/DlgTerrainProperties.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGTERRAINPROPERTIES_H__44370841_18E0_4F93_8BF8_C0640205AE46__INCLUDED_) #define AFX_DLGTERRAINPROPERTIES_H__44370841_18E0_4F93_8BF8_C0640205AE46__INCLUDED_ diff --git a/Sources/WorldEditor/DlgTipOfTheDay.cpp b/Sources/WorldEditor/DlgTipOfTheDay.cpp index ac496b5..0ad1169 100644 --- a/Sources/WorldEditor/DlgTipOfTheDay.cpp +++ b/Sources/WorldEditor/DlgTipOfTheDay.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgTipOfTheDay.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgTipOfTheDay.h b/Sources/WorldEditor/DlgTipOfTheDay.h index 6573879..5d54948 100644 --- a/Sources/WorldEditor/DlgTipOfTheDay.h +++ b/Sources/WorldEditor/DlgTipOfTheDay.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGTIPOFTHEDAY_H__F7006AF6_44F1_11D4_93A2_004095812ACC__INCLUDED_) #define AFX_DLGTIPOFTHEDAY_H__F7006AF6_44F1_11D4_93A2_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/DlgTreeShortcuts.cpp b/Sources/WorldEditor/DlgTreeShortcuts.cpp index 0750bb4..3aec9f8 100644 --- a/Sources/WorldEditor/DlgTreeShortcuts.cpp +++ b/Sources/WorldEditor/DlgTreeShortcuts.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgTreeShortcuts.cpp : implementation file // diff --git a/Sources/WorldEditor/DlgTreeShortcuts.h b/Sources/WorldEditor/DlgTreeShortcuts.h index d148e1e..9161cae 100644 --- a/Sources/WorldEditor/DlgTreeShortcuts.h +++ b/Sources/WorldEditor/DlgTreeShortcuts.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGTREESHORTCUTS_H__A1C15CF3_D8A2_11D1_8270_000000000000__INCLUDED_) #define AFX_DLGTREESHORTCUTS_H__A1C15CF3_D8A2_11D1_8270_000000000000__INCLUDED_ diff --git a/Sources/WorldEditor/DlgWorldSettings.cpp b/Sources/WorldEditor/DlgWorldSettings.cpp index cd4b84d..08784ba 100644 --- a/Sources/WorldEditor/DlgWorldSettings.cpp +++ b/Sources/WorldEditor/DlgWorldSettings.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgWorldSettings.cpp : implementation file // diff --git a/Sources/WorldEditor/EditMipSwitchDistance.cpp b/Sources/WorldEditor/EditMipSwitchDistance.cpp index e9f3f9e..972dc58 100644 --- a/Sources/WorldEditor/EditMipSwitchDistance.cpp +++ b/Sources/WorldEditor/EditMipSwitchDistance.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // EditMipSwitchDistance.cpp : implementation file // diff --git a/Sources/WorldEditor/EditMipSwitchDistance.h b/Sources/WorldEditor/EditMipSwitchDistance.h index 53e7e14..6571c52 100644 --- a/Sources/WorldEditor/EditMipSwitchDistance.h +++ b/Sources/WorldEditor/EditMipSwitchDistance.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_EDITMIPSWITCHDISTANCE_H__2D4950D3_5FC1_11D4_84EC_000021291DC7__INCLUDED_) #define AFX_EDITMIPSWITCHDISTANCE_H__2D4950D3_5FC1_11D4_84EC_000021291DC7__INCLUDED_ diff --git a/Sources/WorldEditor/EntitySelectionListBox.cpp b/Sources/WorldEditor/EntitySelectionListBox.cpp index f90655c..b1ecca0 100644 --- a/Sources/WorldEditor/EntitySelectionListBox.cpp +++ b/Sources/WorldEditor/EntitySelectionListBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // EntitySelectionListBox.cpp : implementation file // diff --git a/Sources/WorldEditor/EntitySelectionListBox.h b/Sources/WorldEditor/EntitySelectionListBox.h index 18bad91..33e0d9a 100644 --- a/Sources/WorldEditor/EntitySelectionListBox.h +++ b/Sources/WorldEditor/EntitySelectionListBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // EntitySelectionListBox.h : header file // diff --git a/Sources/WorldEditor/InfoFrame.cpp b/Sources/WorldEditor/InfoFrame.cpp index fa0489c..96a45c9 100644 --- a/Sources/WorldEditor/InfoFrame.cpp +++ b/Sources/WorldEditor/InfoFrame.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // InfoFrame.cpp : implementation file // diff --git a/Sources/WorldEditor/InfoFrame.h b/Sources/WorldEditor/InfoFrame.h index 2d07fb7..42b7eb8 100644 --- a/Sources/WorldEditor/InfoFrame.h +++ b/Sources/WorldEditor/InfoFrame.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // InfoFrame.h : header file // diff --git a/Sources/WorldEditor/InfoSheet.cpp b/Sources/WorldEditor/InfoSheet.cpp index 68c0cc4..12049e8 100644 --- a/Sources/WorldEditor/InfoSheet.cpp +++ b/Sources/WorldEditor/InfoSheet.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // InfoSheet.cpp : implementation file // diff --git a/Sources/WorldEditor/InfoSheet.h b/Sources/WorldEditor/InfoSheet.h index 3beb8d4..eb7236a 100644 --- a/Sources/WorldEditor/InfoSheet.h +++ b/Sources/WorldEditor/InfoSheet.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // InfoSheet.h : header file // diff --git a/Sources/WorldEditor/MainFrm.cpp b/Sources/WorldEditor/MainFrm.cpp index 287352c..740edb9 100644 --- a/Sources/WorldEditor/MainFrm.cpp +++ b/Sources/WorldEditor/MainFrm.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MainFrm.cpp : implementation of the CMainFrame class diff --git a/Sources/WorldEditor/MainFrm.h b/Sources/WorldEditor/MainFrm.h index b23c56d..a2a2e11 100644 --- a/Sources/WorldEditor/MainFrm.h +++ b/Sources/WorldEditor/MainFrm.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // MainFrm.h : interface of the CMainFrame class // diff --git a/Sources/WorldEditor/PrimitiveHistoryCombo.cpp b/Sources/WorldEditor/PrimitiveHistoryCombo.cpp index 8732f7c..e83ca24 100644 --- a/Sources/WorldEditor/PrimitiveHistoryCombo.cpp +++ b/Sources/WorldEditor/PrimitiveHistoryCombo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PrimitiveHistoryCombo.cpp : implementation file // diff --git a/Sources/WorldEditor/PrimitiveHistoryCombo.h b/Sources/WorldEditor/PrimitiveHistoryCombo.h index 5f8eccb..5d6c657 100644 --- a/Sources/WorldEditor/PrimitiveHistoryCombo.h +++ b/Sources/WorldEditor/PrimitiveHistoryCombo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_PRIMITIVEHISTORYCOMBO_H__6365B946_B440_11D2_84C0_004095812ACC__INCLUDED_) #define AFX_PRIMITIVEHISTORYCOMBO_H__6365B946_B440_11D2_84C0_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/PropertyComboBar.cpp b/Sources/WorldEditor/PropertyComboBar.cpp index ba1c337..f6a3c7f 100644 --- a/Sources/WorldEditor/PropertyComboBar.cpp +++ b/Sources/WorldEditor/PropertyComboBar.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PropertyComboBar.cpp : implementation file // diff --git a/Sources/WorldEditor/PropertyComboBar.h b/Sources/WorldEditor/PropertyComboBar.h index b5846dd..1af4d30 100644 --- a/Sources/WorldEditor/PropertyComboBar.h +++ b/Sources/WorldEditor/PropertyComboBar.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PropertyComboBar.h : header file // diff --git a/Sources/WorldEditor/PropertyComboBox.cpp b/Sources/WorldEditor/PropertyComboBox.cpp index ec1ee02..a80d581 100644 --- a/Sources/WorldEditor/PropertyComboBox.cpp +++ b/Sources/WorldEditor/PropertyComboBox.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PropertyComboBox.cpp : implementation file // diff --git a/Sources/WorldEditor/PropertyComboBox.h b/Sources/WorldEditor/PropertyComboBox.h index 6f5c470..949e8aa 100644 --- a/Sources/WorldEditor/PropertyComboBox.h +++ b/Sources/WorldEditor/PropertyComboBox.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // PropertyComboBox.h : header file // diff --git a/Sources/WorldEditor/SkyFloat.cpp b/Sources/WorldEditor/SkyFloat.cpp index fc420e1..7da314b 100644 --- a/Sources/WorldEditor/SkyFloat.cpp +++ b/Sources/WorldEditor/SkyFloat.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SkyFloat.cpp : implementation of DDX_SkyFloat diff --git a/Sources/WorldEditor/SkyFloat.h b/Sources/WorldEditor/SkyFloat.h index 7c4082c..b580f65 100644 --- a/Sources/WorldEditor/SkyFloat.h +++ b/Sources/WorldEditor/SkyFloat.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // SkyFloat.h : header file // diff --git a/Sources/WorldEditor/StdAfx.cpp b/Sources/WorldEditor/StdAfx.cpp index 3c8f02d..4c9854f 100644 --- a/Sources/WorldEditor/StdAfx.cpp +++ b/Sources/WorldEditor/StdAfx.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.cpp : source file that includes just the standard includes // WorldEditor.pch will be the pre-compiled header diff --git a/Sources/WorldEditor/StdAfx.h b/Sources/WorldEditor/StdAfx.h index ab3e727..abe74f0 100644 --- a/Sources/WorldEditor/StdAfx.h +++ b/Sources/WorldEditor/StdAfx.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but @@ -26,4 +39,4 @@ #include "WorldEditor.h" -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") \ No newline at end of file +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") diff --git a/Sources/WorldEditor/TerrainEditing.cpp b/Sources/WorldEditor/TerrainEditing.cpp index 86e3289..ec42bd2 100644 --- a/Sources/WorldEditor/TerrainEditing.cpp +++ b/Sources/WorldEditor/TerrainEditing.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include diff --git a/Sources/WorldEditor/TerrainEditing.h b/Sources/WorldEditor/TerrainEditing.h index a9fdc21..f1bd909 100644 --- a/Sources/WorldEditor/TerrainEditing.h +++ b/Sources/WorldEditor/TerrainEditing.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef TERRAINEDITING_H @@ -127,4 +140,4 @@ void TerrainEditBegin(void); void TerrainEditEnd(void); void ObtainLayerTileInfo(CDynamicContainer *pdcTileInfo, CTextureData *ptdTexture, INDEX &ctTilesPerRaw); -#endif // TERRAINEDITING_H \ No newline at end of file +#endif // TERRAINEDITING_H diff --git a/Sources/WorldEditor/TerrainInterface.cpp b/Sources/WorldEditor/TerrainInterface.cpp index 6e9290e..6a042c2 100644 --- a/Sources/WorldEditor/TerrainInterface.cpp +++ b/Sources/WorldEditor/TerrainInterface.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TerrainInterface.cpp : implementation file // diff --git a/Sources/WorldEditor/TerrainInterface.h b/Sources/WorldEditor/TerrainInterface.h index 94f2f0e..670bc1c 100644 --- a/Sources/WorldEditor/TerrainInterface.h +++ b/Sources/WorldEditor/TerrainInterface.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_TERRAININTERFACE_H__539D0786_D5B8_4079_A285_DA2C86EC7543__INCLUDED_) #define AFX_TERRAININTERFACE_H__539D0786_D5B8_4079_A285_DA2C86EC7543__INCLUDED_ diff --git a/Sources/WorldEditor/ToolTipWnd.cpp b/Sources/WorldEditor/ToolTipWnd.cpp index e60fe9b..e996e64 100644 --- a/Sources/WorldEditor/ToolTipWnd.cpp +++ b/Sources/WorldEditor/ToolTipWnd.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ToolTipWnd.cpp : implementation file // diff --git a/Sources/WorldEditor/ToolTipWnd.h b/Sources/WorldEditor/ToolTipWnd.h index 774b693..8fef9a7 100644 --- a/Sources/WorldEditor/ToolTipWnd.h +++ b/Sources/WorldEditor/ToolTipWnd.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_TOOLTIPWND_H__93C6AAC8_0090_11D3_8573_004095812ACC__INCLUDED_) #define AFX_TOOLTIPWND_H__93C6AAC8_0090_11D3_8573_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/TriangularisationCombo.cpp b/Sources/WorldEditor/TriangularisationCombo.cpp index 1c539c3..1fe8cc7 100644 --- a/Sources/WorldEditor/TriangularisationCombo.cpp +++ b/Sources/WorldEditor/TriangularisationCombo.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // TriangularisationCombo.cpp : implementation file // diff --git a/Sources/WorldEditor/TriangularisationCombo.h b/Sources/WorldEditor/TriangularisationCombo.h index 6b9865e..dd8374d 100644 --- a/Sources/WorldEditor/TriangularisationCombo.h +++ b/Sources/WorldEditor/TriangularisationCombo.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CSGDesitnationCombo.h : header file // diff --git a/Sources/WorldEditor/ViewTexture.cpp b/Sources/WorldEditor/ViewTexture.cpp index eb079eb..cf82a1b 100644 --- a/Sources/WorldEditor/ViewTexture.cpp +++ b/Sources/WorldEditor/ViewTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ViewTexture.cpp : implementation file // diff --git a/Sources/WorldEditor/ViewTexture.h b/Sources/WorldEditor/ViewTexture.h index 20eee77..28975ef 100644 --- a/Sources/WorldEditor/ViewTexture.h +++ b/Sources/WorldEditor/ViewTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_VIEWTEXTURE_H__00278257_91BC_11D2_8478_004095812ACC__INCLUDED_) #define AFX_VIEWTEXTURE_H__00278257_91BC_11D2_8478_004095812ACC__INCLUDED_ diff --git a/Sources/WorldEditor/Viewers.cpp b/Sources/WorldEditor/Viewers.cpp index ddfe64c..a4b27ec 100644 --- a/Sources/WorldEditor/Viewers.cpp +++ b/Sources/WorldEditor/Viewers.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdAfx.h" #include "WorldEditor.h" diff --git a/Sources/WorldEditor/Viewers.h b/Sources/WorldEditor/Viewers.h index 720009a..38f6cec 100644 --- a/Sources/WorldEditor/Viewers.h +++ b/Sources/WorldEditor/Viewers.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef VIEWERS_H #define VIEWERS_H diff --git a/Sources/WorldEditor/VirtualTreeCtrl.cpp b/Sources/WorldEditor/VirtualTreeCtrl.cpp index fb2e182..9baf97e 100644 --- a/Sources/WorldEditor/VirtualTreeCtrl.cpp +++ b/Sources/WorldEditor/VirtualTreeCtrl.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // VirtualTreeCtrl.cpp : implementation file // diff --git a/Sources/WorldEditor/VirtualTreeCtrl.h b/Sources/WorldEditor/VirtualTreeCtrl.h index f896ff9..924bbe4 100644 --- a/Sources/WorldEditor/VirtualTreeCtrl.h +++ b/Sources/WorldEditor/VirtualTreeCtrl.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // VirtualTreeCtrl.h : header file // diff --git a/Sources/WorldEditor/VirtualTreeNode.cpp b/Sources/WorldEditor/VirtualTreeNode.cpp index 6a3b6f3..7932474 100644 --- a/Sources/WorldEditor/VirtualTreeNode.cpp +++ b/Sources/WorldEditor/VirtualTreeNode.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdafx.h" #include "WorldEditor.h" diff --git a/Sources/WorldEditor/VirtualTreeNode.h b/Sources/WorldEditor/VirtualTreeNode.h index 36cec14..8d7888f 100644 --- a/Sources/WorldEditor/VirtualTreeNode.h +++ b/Sources/WorldEditor/VirtualTreeNode.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // VirtualTreeNode.h : main header file for the Virtual Tree Class // diff --git a/Sources/WorldEditor/WndAnimationFrames.cpp b/Sources/WorldEditor/WndAnimationFrames.cpp index e10dcc6..6a4e48d 100644 --- a/Sources/WorldEditor/WndAnimationFrames.cpp +++ b/Sources/WorldEditor/WndAnimationFrames.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndAnimationFrames.cpp : implementation file // diff --git a/Sources/WorldEditor/WndAnimationFrames.h b/Sources/WorldEditor/WndAnimationFrames.h index dc6c224..848fdc2 100644 --- a/Sources/WorldEditor/WndAnimationFrames.h +++ b/Sources/WorldEditor/WndAnimationFrames.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndAnimationFrames.h : header file // diff --git a/Sources/WorldEditor/WndDisplayTexture.cpp b/Sources/WorldEditor/WndDisplayTexture.cpp index a2ea687..8fea409 100644 --- a/Sources/WorldEditor/WndDisplayTexture.cpp +++ b/Sources/WorldEditor/WndDisplayTexture.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndDisplayTexture.cpp : implementation file // diff --git a/Sources/WorldEditor/WndDisplayTexture.h b/Sources/WorldEditor/WndDisplayTexture.h index e37591d..73903f6 100644 --- a/Sources/WorldEditor/WndDisplayTexture.h +++ b/Sources/WorldEditor/WndDisplayTexture.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_WNDDISPLAYTEXTURE_H__D9AF4DBF_9E24_4F24_AC82_3A9440AFD256__INCLUDED_) #define AFX_WNDDISPLAYTEXTURE_H__D9AF4DBF_9E24_4F24_AC82_3A9440AFD256__INCLUDED_ diff --git a/Sources/WorldEditor/WndTerrainTilePalette.cpp b/Sources/WorldEditor/WndTerrainTilePalette.cpp index 1d64a75..04e154f 100644 --- a/Sources/WorldEditor/WndTerrainTilePalette.cpp +++ b/Sources/WorldEditor/WndTerrainTilePalette.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndTerrainTilePalette.cpp : implementation file // diff --git a/Sources/WorldEditor/WndTerrainTilePalette.h b/Sources/WorldEditor/WndTerrainTilePalette.h index 43e1fe0..47240d6 100644 --- a/Sources/WorldEditor/WndTerrainTilePalette.h +++ b/Sources/WorldEditor/WndTerrainTilePalette.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_WNDTERRAINTILEPALETTE_H__C3228E4D_AEA7_4300_B202_77149FD3B92C__INCLUDED_) #define AFX_WNDTERRAINTILEPALETTE_H__C3228E4D_AEA7_4300_B202_77149FD3B92C__INCLUDED_ diff --git a/Sources/WorldEditor/WndTestAnimation.cpp b/Sources/WorldEditor/WndTestAnimation.cpp index 8bb8a3a..825651d 100644 --- a/Sources/WorldEditor/WndTestAnimation.cpp +++ b/Sources/WorldEditor/WndTestAnimation.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndTestAnimation.cpp : implementation file // diff --git a/Sources/WorldEditor/WndTestAnimation.h b/Sources/WorldEditor/WndTestAnimation.h index a9ff62a..74c362a 100644 --- a/Sources/WorldEditor/WndTestAnimation.h +++ b/Sources/WorldEditor/WndTestAnimation.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WndTestAnimation.h : header file // diff --git a/Sources/WorldEditor/WorldEditor.cpp b/Sources/WorldEditor/WorldEditor.cpp index d533987..cac325f 100644 --- a/Sources/WorldEditor/WorldEditor.cpp +++ b/Sources/WorldEditor/WorldEditor.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditor.cpp : Defines the class behaviors for the application. // diff --git a/Sources/WorldEditor/WorldEditor.h b/Sources/WorldEditor/WorldEditor.h index e9b5679..73f23bc 100644 --- a/Sources/WorldEditor/WorldEditor.h +++ b/Sources/WorldEditor/WorldEditor.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditor.h : main header file for the WORLDEDITOR application // diff --git a/Sources/WorldEditor/WorldEditorDoc.cpp b/Sources/WorldEditor/WorldEditorDoc.cpp index 736a84f..92c909f 100644 --- a/Sources/WorldEditor/WorldEditorDoc.cpp +++ b/Sources/WorldEditor/WorldEditorDoc.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditorDoc.cpp : implementation of the CWorldEditorDoc class // diff --git a/Sources/WorldEditor/WorldEditorDoc.h b/Sources/WorldEditor/WorldEditorDoc.h index 64bf163..ab88de9 100644 --- a/Sources/WorldEditor/WorldEditorDoc.h +++ b/Sources/WorldEditor/WorldEditorDoc.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditorDoc.h : interface of the CWorldEditorDoc class // diff --git a/Sources/WorldEditor/WorldEditorView.cpp b/Sources/WorldEditor/WorldEditorView.cpp index 2d5dd41..1741198 100644 --- a/Sources/WorldEditor/WorldEditorView.cpp +++ b/Sources/WorldEditor/WorldEditorView.cpp @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditorView.cpp : implementation of the CWorldEditorView class // diff --git a/Sources/WorldEditor/WorldEditorView.h b/Sources/WorldEditor/WorldEditorView.h index e57e811..b26eeba 100644 --- a/Sources/WorldEditor/WorldEditorView.h +++ b/Sources/WorldEditor/WorldEditorView.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // WorldEditorView.h : interface of the CWorldEditorView class // diff --git a/Sources/WorldEditor/browsewindow.h b/Sources/WorldEditor/browsewindow.h index 2726314..5f86831 100644 --- a/Sources/WorldEditor/browsewindow.h +++ b/Sources/WorldEditor/browsewindow.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // BrowseWindow.h : header file // diff --git a/Sources/WorldEditor/coloredbutton.h b/Sources/WorldEditor/coloredbutton.h index 707f6de..08e269e 100644 --- a/Sources/WorldEditor/coloredbutton.h +++ b/Sources/WorldEditor/coloredbutton.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // ColoredButton.h : header file // diff --git a/Sources/WorldEditor/ctrlaxisradio.h b/Sources/WorldEditor/ctrlaxisradio.h index b7541a5..1a0e1f7 100644 --- a/Sources/WorldEditor/ctrlaxisradio.h +++ b/Sources/WorldEditor/ctrlaxisradio.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // CtrlAxisRadio.h : header file // diff --git a/Sources/WorldEditor/dlgworldsettings.h b/Sources/WorldEditor/dlgworldsettings.h index 1777bca..0455fb1 100644 --- a/Sources/WorldEditor/dlgworldsettings.h +++ b/Sources/WorldEditor/dlgworldsettings.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ // DlgWorldSettings.h : header file // diff --git a/Sources/WorldEditor/resource.h b/Sources/WorldEditor/resource.h index c67320d..6be117c 100644 --- a/Sources/WorldEditor/resource.h +++ b/Sources/WorldEditor/resource.h @@ -1,4 +1,17 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. From 0eed45413f47529889b62ef291d80c20555d647a Mon Sep 17 00:00:00 2001 From: Andy Boyett Date: Fri, 11 Mar 2016 17:18:30 -0800 Subject: [PATCH 09/62] README.md: fix "Serious Sam" spelling Minor typo fix in the name of an awesome game. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38e38f3..878c1e2 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ IFeel support is disabled in the open source version of Serious Engine 1 due to Running ------- -This version of the engine comes with a set of resources (`\SE1_10.GRO`) that allow you to freely use the engine without any additional resources required. However if you want to open or modify levels from Serios Sam Classic: The First Encounter or The Second Encounter (including most user-made levels), you will have to copy the game's resources (.GRO files) into the engine folder. You can buy the original games on Steam, as a part of a bundle with Serious Sam Revolution ( http://store.steampowered.com/app/227780 ) +This version of the engine comes with a set of resources (`\SE1_10.GRO`) that allow you to freely use the engine without any additional resources required. However if you want to open or modify levels from Serious Sam Classic: The First Encounter or The Second Encounter (including most user-made levels), you will have to copy the game's resources (.GRO files) into the engine folder. You can buy the original games on Steam, as a part of a bundle with Serious Sam Revolution ( http://store.steampowered.com/app/227780 ) When running a selected project, make sure its project settings on Debugging is set to the right command: * For debug: From 3b5fdcd03d5ae6cb859e19a3f166f1d0dafe8bb4 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 12:45:47 +0300 Subject: [PATCH 10/62] Fix mistake in the Console Window No description --- Sources/GameGUIMP/GameGUI.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/GameGUIMP/GameGUI.rc b/Sources/GameGUIMP/GameGUI.rc index 1a54c62..8e201fd 100644 --- a/Sources/GameGUIMP/GameGUI.rc +++ b/Sources/GameGUIMP/GameGUI.rc @@ -273,7 +273,7 @@ BEGIN EDITTEXT IDC_CONSOLE_OUTPUT,7,7,429,169,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL - LTEXT "Available symols:",IDC_STATIC,7,181,69,8 + LTEXT "Available symbols:",IDC_STATIC,7,181,69,8 COMBOBOX IDC_CONSOLE_SYMBOLS,76,179,360,108,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP END From 216246cf15eec4fc2b62cd131513f1aeef514487 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 18:25:48 +0300 Subject: [PATCH 11/62] GameExecutable: Separate Menu.h into multiple files. Too many classes definitions in one file. Preparing for separation Menu.cpp --- Sources/SeriousSam/ArrowDir.h | 2 +- Sources/SeriousSam/FileInfo.h | 18 ++ Sources/SeriousSam/GameMenu.h | 39 +++ Sources/SeriousSam/MAudioOptions.h | 18 ++ Sources/SeriousSam/MConfirm.h | 22 ++ Sources/SeriousSam/MControls.h | 21 ++ Sources/SeriousSam/MCredits.h | 17 ++ Sources/SeriousSam/MCustomizeAxis.h | 22 ++ Sources/SeriousSam/MCustomizeKeyboard.h | 20 ++ Sources/SeriousSam/MDisabled.h | 17 ++ Sources/SeriousSam/MHighScore.h | 18 ++ Sources/SeriousSam/MInGame.h | 18 ++ Sources/SeriousSam/MLevels.h | 19 ++ Sources/SeriousSam/MLoadSave.h | 50 ++++ Sources/SeriousSam/MMain.h | 18 ++ Sources/SeriousSam/MNetwork.h | 18 ++ Sources/SeriousSam/MNetworkJoin.h | 17 ++ Sources/SeriousSam/MNetworkOpen.h | 19 ++ Sources/SeriousSam/MNetworkStart.h | 19 ++ Sources/SeriousSam/MOptions.h | 17 ++ Sources/SeriousSam/MPlayerProfile.h | 24 ++ Sources/SeriousSam/MRenderingOptions.h | 18 ++ Sources/SeriousSam/MSelectPlayers.h | 21 ++ Sources/SeriousSam/MServers.h | 22 ++ Sources/SeriousSam/MSinglePlayer.h | 18 ++ Sources/SeriousSam/MSinglePlayerNew.h | 18 ++ Sources/SeriousSam/MSplitScreen.h | 18 ++ Sources/SeriousSam/MSplitStart.h | 19 ++ Sources/SeriousSam/MVar.h | 22 ++ Sources/SeriousSam/MVideoOptions.h | 18 ++ Sources/SeriousSam/Menu.cpp | 26 ++ Sources/SeriousSam/Menu.h | 271 +----------------- Sources/SeriousSam/SeriousSam.vcxproj | 29 ++ Sources/SeriousSam/SeriousSam.vcxproj.filters | 219 ++++++++++---- 34 files changed, 833 insertions(+), 319 deletions(-) create mode 100644 Sources/SeriousSam/FileInfo.h create mode 100644 Sources/SeriousSam/GameMenu.h create mode 100644 Sources/SeriousSam/MAudioOptions.h create mode 100644 Sources/SeriousSam/MConfirm.h create mode 100644 Sources/SeriousSam/MControls.h create mode 100644 Sources/SeriousSam/MCredits.h create mode 100644 Sources/SeriousSam/MCustomizeAxis.h create mode 100644 Sources/SeriousSam/MCustomizeKeyboard.h create mode 100644 Sources/SeriousSam/MDisabled.h create mode 100644 Sources/SeriousSam/MHighScore.h create mode 100644 Sources/SeriousSam/MInGame.h create mode 100644 Sources/SeriousSam/MLevels.h create mode 100644 Sources/SeriousSam/MLoadSave.h create mode 100644 Sources/SeriousSam/MMain.h create mode 100644 Sources/SeriousSam/MNetwork.h create mode 100644 Sources/SeriousSam/MNetworkJoin.h create mode 100644 Sources/SeriousSam/MNetworkOpen.h create mode 100644 Sources/SeriousSam/MNetworkStart.h create mode 100644 Sources/SeriousSam/MOptions.h create mode 100644 Sources/SeriousSam/MPlayerProfile.h create mode 100644 Sources/SeriousSam/MRenderingOptions.h create mode 100644 Sources/SeriousSam/MSelectPlayers.h create mode 100644 Sources/SeriousSam/MServers.h create mode 100644 Sources/SeriousSam/MSinglePlayer.h create mode 100644 Sources/SeriousSam/MSinglePlayerNew.h create mode 100644 Sources/SeriousSam/MSplitScreen.h create mode 100644 Sources/SeriousSam/MSplitStart.h create mode 100644 Sources/SeriousSam/MVar.h create mode 100644 Sources/SeriousSam/MVideoOptions.h diff --git a/Sources/SeriousSam/ArrowDir.h b/Sources/SeriousSam/ArrowDir.h index 30a11aa..6d7f41e 100644 --- a/Sources/SeriousSam/ArrowDir.h +++ b/Sources/SeriousSam/ArrowDir.h @@ -6,6 +6,7 @@ #pragma once #endif + enum ArrowDir { AD_NONE, AD_UP, @@ -14,5 +15,4 @@ enum ArrowDir { AD_RIGHT, }; - #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/FileInfo.h b/Sources/SeriousSam/FileInfo.h new file mode 100644 index 0000000..cd24acd --- /dev/null +++ b/Sources/SeriousSam/FileInfo.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_FILEINFO_H +#define SE_INCL_FILEINFO_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +class CFileInfo { +public: + CListNode fi_lnNode; + CTFileName fi_fnFile; + CTString fi_strName; +}; + + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GameMenu.h b/Sources/SeriousSam/GameMenu.h new file mode 100644 index 0000000..c1c852a --- /dev/null +++ b/Sources/SeriousSam/GameMenu.h @@ -0,0 +1,39 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_H +#define SE_INCL_GAME_MENU_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +class CGameMenu { +public: + CListHead gm_lhGadgets; + CGameMenu *gm_pgmParentMenu; + BOOL gm_bPopup; + const char *gm_strName; // menu name (for mod interface only) + class CMenuGadget *gm_pmgSelectedByDefault; + class CMenuGadget *gm_pmgArrowUp; + class CMenuGadget *gm_pmgArrowDn; + class CMenuGadget *gm_pmgListTop; + class CMenuGadget *gm_pmgListBottom; + INDEX gm_iListOffset; + INDEX gm_iListWantedItem; // item you want to focus initially + INDEX gm_ctListVisible; + INDEX gm_ctListTotal; + CGameMenu(void); + void ScrollList(INDEX iDir); + void KillAllFocuses(void); + virtual void Initialize_t(void); + virtual void Destroy(void); + virtual void StartMenu(void); + virtual void FillListItems(void); + virtual void EndMenu(void); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + virtual BOOL OnChar(MSG msg); + virtual void Think(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MAudioOptions.h b/Sources/SeriousSam/MAudioOptions.h new file mode 100644 index 0000000..cf4a94b --- /dev/null +++ b/Sources/SeriousSam/MAudioOptions.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_AUDIOOPTIONS_H +#define SE_INCL_GAME_MENU_AUDIOOPTIONS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CAudioOptionsMenu : public CGameMenu { +public: + void StartMenu(void); + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MConfirm.h b/Sources/SeriousSam/MConfirm.h new file mode 100644 index 0000000..ee40979 --- /dev/null +++ b/Sources/SeriousSam/MConfirm.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_CONFIRM_H +#define SE_INCL_GAME_MENU_CONFIRM_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CConfirmMenu : public CGameMenu { +public: + void Initialize_t(void); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + + void BeLarge(void); + void BeSmall(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MControls.h b/Sources/SeriousSam/MControls.h new file mode 100644 index 0000000..949e17e --- /dev/null +++ b/Sources/SeriousSam/MControls.h @@ -0,0 +1,21 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_CONTROLS_H +#define SE_INCL_GAME_MENU_CONTROLS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CControlsMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void ObtainActionSettings(void); + void ApplyActionSettings(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MCredits.h b/Sources/SeriousSam/MCredits.h new file mode 100644 index 0000000..10f602b --- /dev/null +++ b/Sources/SeriousSam/MCredits.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_CREDITS_H +#define SE_INCL_GAME_MENU_CREDITS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CCreditsMenu : public CGameMenu { +public: + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MCustomizeAxis.h b/Sources/SeriousSam/MCustomizeAxis.h new file mode 100644 index 0000000..0bba4d8 --- /dev/null +++ b/Sources/SeriousSam/MCustomizeAxis.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_CUSTOMIZEAXIS_H +#define SE_INCL_GAME_MENU_CUSTOMIZEAXIS_H +#ifdef PRAGMA_ONCE +#pragma once +#endif + +#include "GameMenu.h" + + +class CCustomizeAxisMenu : public CGameMenu { +public: + ~CCustomizeAxisMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void ObtainActionSettings(void); + void ApplyActionSettings(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MCustomizeKeyboard.h b/Sources/SeriousSam/MCustomizeKeyboard.h new file mode 100644 index 0000000..c95a6c8 --- /dev/null +++ b/Sources/SeriousSam/MCustomizeKeyboard.h @@ -0,0 +1,20 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_CUSTOMIZEKEYBOARD_H +#define SE_INCL_GAME_MENU_CUSTOMIZEKEYBOARD_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CCustomizeKeyboardMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void FillListItems(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MDisabled.h b/Sources/SeriousSam/MDisabled.h new file mode 100644 index 0000000..7d372f5 --- /dev/null +++ b/Sources/SeriousSam/MDisabled.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_DISABLED_H +#define SE_INCL_GAME_MENU_DISABLED_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CDisabledMenu : public CGameMenu { +public: + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MHighScore.h b/Sources/SeriousSam/MHighScore.h new file mode 100644 index 0000000..622e82e --- /dev/null +++ b/Sources/SeriousSam/MHighScore.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_HIGHSCORE_H +#define SE_INCL_GAME_MENU_HIGHSCORE_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CHighScoreMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MInGame.h b/Sources/SeriousSam/MInGame.h new file mode 100644 index 0000000..53e7e03 --- /dev/null +++ b/Sources/SeriousSam/MInGame.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_INGAME_H +#define SE_INCL_GAME_MENU_INGAME_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CInGameMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MLevels.h b/Sources/SeriousSam/MLevels.h new file mode 100644 index 0000000..174a86a --- /dev/null +++ b/Sources/SeriousSam/MLevels.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_LEVELS_H +#define SE_INCL_GAME_MENU_LEVELS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CLevelsMenu : public CGameMenu { +public: + void Initialize_t(void); + void FillListItems(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MLoadSave.h b/Sources/SeriousSam/MLoadSave.h new file mode 100644 index 0000000..b51b971 --- /dev/null +++ b/Sources/SeriousSam/MLoadSave.h @@ -0,0 +1,50 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_LOADSAVE_H +#define SE_INCL_GAME_MENU_LOADSAVE_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CLoadSaveMenu : public CGameMenu { +public: + // settings adjusted before starting the menu + CGameMenu *gm_pgmNextMenu; // menu to go to after selecting a file (if null, use parent menu) + CTFileName gm_fnmSelected; // file that is selected initially + CTFileName gm_fnmDirectory; // directory that should be read + CTFileName gm_fnmBaseName; // base file name for saving (numbers are auto-added) + CTFileName gm_fnmExt; // accepted file extension + BOOL gm_bSave; // set when chosing file for saving + BOOL gm_bManage; // set if managing (rename/delet is enabled) + CTString gm_strSaveDes; // default description (if saving) + BOOL gm_bAllowThumbnails; // set when chosing file for saving + BOOL gm_bNoEscape; // forbid exiting with escape/rmb +#define LSSORT_NONE 0 +#define LSSORT_NAMEUP 1 +#define LSSORT_NAMEDN 2 +#define LSSORT_FILEUP 3 +#define LSSORT_FILEDN 4 + INDEX gm_iSortType; // sort type + + // function to activate when file is chosen + // return true if saving succeeded - description is saved automatically + // always return true for loading + BOOL(*gm_pAfterFileChosen)(const CTFileName &fnm); + + // internal properties + CListHead gm_lhFileInfos; // all file infos to list + INDEX gm_iLastFile; // index of last saved file in numbered format + + // called to get info of a file from directory, or to skip it + BOOL ParseFile(const CTFileName &fnm, CTString &strName); + + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void FillListItems(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MMain.h b/Sources/SeriousSam/MMain.h new file mode 100644 index 0000000..30a9d91 --- /dev/null +++ b/Sources/SeriousSam/MMain.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_MAIN_H +#define SE_INCL_GAME_MENU_MAIN_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CMainMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MNetwork.h b/Sources/SeriousSam/MNetwork.h new file mode 100644 index 0000000..6b0364a --- /dev/null +++ b/Sources/SeriousSam/MNetwork.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_NETWORK_H +#define SE_INCL_GAME_MENU_NETWORK_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CNetworkMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MNetworkJoin.h b/Sources/SeriousSam/MNetworkJoin.h new file mode 100644 index 0000000..d38984e --- /dev/null +++ b/Sources/SeriousSam/MNetworkJoin.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_NETWORKJOIN_H +#define SE_INCL_GAME_MENU_NETWORKJOIN_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CNetworkJoinMenu : public CGameMenu { +public: + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MNetworkOpen.h b/Sources/SeriousSam/MNetworkOpen.h new file mode 100644 index 0000000..c526b4e --- /dev/null +++ b/Sources/SeriousSam/MNetworkOpen.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_NETWORKOPEN_H +#define SE_INCL_GAME_MENU_NETWORKOPEN_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CNetworkOpenMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MNetworkStart.h b/Sources/SeriousSam/MNetworkStart.h new file mode 100644 index 0000000..2072e6e --- /dev/null +++ b/Sources/SeriousSam/MNetworkStart.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_NETWORKSTART_H +#define SE_INCL_GAME_MENU_NETWORKSTART_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CNetworkStartMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MOptions.h b/Sources/SeriousSam/MOptions.h new file mode 100644 index 0000000..f42cdac --- /dev/null +++ b/Sources/SeriousSam/MOptions.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_OPTIONS_H +#define SE_INCL_GAME_MENU_OPTIONS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class COptionsMenu : public CGameMenu { +public: + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MPlayerProfile.h b/Sources/SeriousSam/MPlayerProfile.h new file mode 100644 index 0000000..0541e5b --- /dev/null +++ b/Sources/SeriousSam/MPlayerProfile.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_PLAYERPROFILE_H +#define SE_INCL_GAME_MENU_PLAYERPROFILE_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CPlayerProfileMenu : public CGameMenu { +public: + INDEX *gm_piCurrentPlayer; + void Initialize_t(void); + INDEX ComboFromPlayer(INDEX iPlayer); + INDEX PlayerFromCombo(INDEX iCombo); + void SelectPlayer(INDEX iPlayer); + void ApplyComboPlayer(INDEX iPlayer); + void StartMenu(void); + void EndMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MRenderingOptions.h b/Sources/SeriousSam/MRenderingOptions.h new file mode 100644 index 0000000..c41a546 --- /dev/null +++ b/Sources/SeriousSam/MRenderingOptions.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_RENDERINGOPTIONS_H +#define SE_INCL_GAME_MENU_RENDERINGOPTIONS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CRenderingOptionsMenu : public CGameMenu { +public: + void StartMenu(void); + void EndMenu(void); + void Initialize_t(void); +}; +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSelectPlayers.h b/Sources/SeriousSam/MSelectPlayers.h new file mode 100644 index 0000000..5d5f4da --- /dev/null +++ b/Sources/SeriousSam/MSelectPlayers.h @@ -0,0 +1,21 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SELECTPLAYERS_H +#define SE_INCL_GAME_MENU_SELECTPLAYERS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CSelectPlayersMenu : public CGameMenu { +public: + BOOL gm_bAllowDedicated; + BOOL gm_bAllowObserving; + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MServers.h b/Sources/SeriousSam/MServers.h new file mode 100644 index 0000000..c8e7304 --- /dev/null +++ b/Sources/SeriousSam/MServers.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SERVERS_H +#define SE_INCL_GAME_MENU_SERVERS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CServersMenu : public CGameMenu { +public: + BOOL m_bInternet; + void Initialize_t(void); + void StartMenu(void); + void Think(void); + + BOOL OnKeyDown(int iVKey); // __Evolution +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSinglePlayer.h b/Sources/SeriousSam/MSinglePlayer.h new file mode 100644 index 0000000..5443f6e --- /dev/null +++ b/Sources/SeriousSam/MSinglePlayer.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SINGLEPLAYER_H +#define SE_INCL_GAME_MENU_SINGLEPLAYER_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CSinglePlayerMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSinglePlayerNew.h b/Sources/SeriousSam/MSinglePlayerNew.h new file mode 100644 index 0000000..090a439 --- /dev/null +++ b/Sources/SeriousSam/MSinglePlayerNew.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SINGLEPLAYERNEW_H +#define SE_INCL_GAME_MENU_SINGLEPLAYERNEW_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CSinglePlayerNewMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSplitScreen.h b/Sources/SeriousSam/MSplitScreen.h new file mode 100644 index 0000000..72592fd --- /dev/null +++ b/Sources/SeriousSam/MSplitScreen.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SPLITSCREEN_H +#define SE_INCL_GAME_MENU_SPLITSCREEN_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CSplitScreenMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSplitStart.h b/Sources/SeriousSam/MSplitStart.h new file mode 100644 index 0000000..832a52c --- /dev/null +++ b/Sources/SeriousSam/MSplitStart.h @@ -0,0 +1,19 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_SPLITSTART_H +#define SE_INCL_GAME_MENU_SPLITSTART_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CSplitStartMenu : public CGameMenu { +public: + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MVar.h b/Sources/SeriousSam/MVar.h new file mode 100644 index 0000000..b688011 --- /dev/null +++ b/Sources/SeriousSam/MVar.h @@ -0,0 +1,22 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_VAR_H +#define SE_INCL_GAME_MENU_VAR_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CVarMenu : public CGameMenu { +public: + CTFileName gm_fnmMenuCFG; + void Initialize_t(void); + void FillListItems(void); + void StartMenu(void); + void EndMenu(void); + void Think(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MVideoOptions.h b/Sources/SeriousSam/MVideoOptions.h new file mode 100644 index 0000000..14572d3 --- /dev/null +++ b/Sources/SeriousSam/MVideoOptions.h @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_GAME_MENU_VIDEOOPTIONS_H +#define SE_INCL_GAME_MENU_VIDEOOPTIONS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +#include "GameMenu.h" + + +class CVideoOptionsMenu : public CGameMenu { +public: + void StartMenu(void); + void Initialize_t(void); +}; + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index f71c2a5..73f1f7c 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -12,6 +12,7 @@ #include "MenuPrinting.h" #include "LevelInfo.h" #include "VarList.h" +#include "FileInfo.h" #include "MGArrow.h" #include "MGButton.h" @@ -28,6 +29,31 @@ #include "MGTrigger.h" #include "MGVarButton.h" +#include "MAudioOptions.h" +#include "MConfirm.h" +#include "MControls.h" +#include "MCustomizeAxis.h" +#include "MCustomizeKeyboard.h" +#include "MCredits.h" +#include "MDisabled.h" +#include "MHighScore.h" +#include "MInGame.h" +#include "MLevels.h" +#include "MMain.h" +#include "MNetwork.h" +#include "MNetworkJoin.h" +#include "MNetworkOpen.h" +#include "MNetworkStart.h" +#include "MOptions.h" +#include "MRenderingOptions.h" +#include "MServers.h" +#include "MSinglePlayer.h" +#include "MSinglePlayerNew.h" +#include "MSplitScreen.h" +#include "MSplitStart.h" +#include "MVar.h" +#include "MVideoOptions.h" + // macros for translating radio button text arrays #define RADIOTRANS(str) ("ETRS" str) #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) diff --git a/Sources/SeriousSam/Menu.h b/Sources/SeriousSam/Menu.h index b39d62b..42091d4 100644 --- a/Sources/SeriousSam/Menu.h +++ b/Sources/SeriousSam/Menu.h @@ -1,5 +1,13 @@ /* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +#ifndef SE_INCL_MENU_H +#define SE_INCL_MENU_H +#ifdef PRAGMA_ONCE +#pragma once +#endif + + + // set new thumbnail void SetThumbnail(CTFileName fn); // remove thumbnail @@ -43,266 +51,13 @@ extern GameMode _gmRunningGameMode; extern CGameMenu *pgmCurrentMenu; -class CGameMenu { -public: - CListHead gm_lhGadgets; - CGameMenu *gm_pgmParentMenu; - BOOL gm_bPopup; - const char *gm_strName; // menu name (for mod interface only) - class CMenuGadget *gm_pmgSelectedByDefault; - class CMenuGadget *gm_pmgArrowUp; - class CMenuGadget *gm_pmgArrowDn; - class CMenuGadget *gm_pmgListTop; - class CMenuGadget *gm_pmgListBottom; - INDEX gm_iListOffset; - INDEX gm_iListWantedItem; // item you want to focus initially - INDEX gm_ctListVisible; - INDEX gm_ctListTotal; - CGameMenu(void); - void ScrollList(INDEX iDir); - void KillAllFocuses(void); - virtual void Initialize_t(void); - virtual void Destroy(void); - virtual void StartMenu(void); - virtual void FillListItems(void); - virtual void EndMenu(void); - // return TRUE if handled - virtual BOOL OnKeyDown( int iVKey); - virtual BOOL OnChar(MSG msg); - virtual void Think(void); -}; +#include "GameMenu.h" -class CConfirmMenu : public CGameMenu { -public: - void Initialize_t(void); - // return TRUE if handled - BOOL OnKeyDown( int iVKey); - - void BeLarge(void); - void BeSmall(void); -}; - -class CMainMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CInGameMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CSinglePlayerMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CCreditsMenu : public CGameMenu { -public: - void Initialize_t(void); -}; - -class CDisabledMenu : public CGameMenu { -public: - void Initialize_t(void); -}; - -class CSinglePlayerNewMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CLevelsMenu : public CGameMenu { -public: - void Initialize_t(void); - void FillListItems(void); - void StartMenu(void); -}; - -class CVarMenu : public CGameMenu { -public: - CTFileName gm_fnmMenuCFG; - void Initialize_t(void); - void FillListItems(void); - void StartMenu(void); - void EndMenu(void); - void Think(void); -}; - -class CServersMenu : public CGameMenu { -public: - BOOL m_bInternet; - void Initialize_t(void); - void StartMenu(void); - void Think(void); - - BOOL OnKeyDown(int iVKey); // __Evolution -}; - -class CPlayerProfileMenu : public CGameMenu { -public: - INDEX *gm_piCurrentPlayer; - void Initialize_t(void); - INDEX ComboFromPlayer(INDEX iPlayer); - INDEX PlayerFromCombo(INDEX iCombo); - void SelectPlayer(INDEX iPlayer); - void ApplyComboPlayer(INDEX iPlayer); - void StartMenu(void); - void EndMenu(void); -}; - -class CControlsMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void ObtainActionSettings(void); - void ApplyActionSettings(void); -}; - -class CFileInfo { -public: - CListNode fi_lnNode; - CTFileName fi_fnFile; - CTString fi_strName; -}; - -class CLoadSaveMenu : public CGameMenu { -public: - // settings adjusted before starting the menu - CGameMenu *gm_pgmNextMenu; // menu to go to after selecting a file (if null, use parent menu) - CTFileName gm_fnmSelected; // file that is selected initially - CTFileName gm_fnmDirectory; // directory that should be read - CTFileName gm_fnmBaseName; // base file name for saving (numbers are auto-added) - CTFileName gm_fnmExt; // accepted file extension - BOOL gm_bSave; // set when chosing file for saving - BOOL gm_bManage; // set if managing (rename/delet is enabled) - CTString gm_strSaveDes; // default description (if saving) - BOOL gm_bAllowThumbnails; // set when chosing file for saving - BOOL gm_bNoEscape; // forbid exiting with escape/rmb -#define LSSORT_NONE 0 -#define LSSORT_NAMEUP 1 -#define LSSORT_NAMEDN 2 -#define LSSORT_FILEUP 3 -#define LSSORT_FILEDN 4 - INDEX gm_iSortType; // sort type - - // function to activate when file is chosen - // return true if saving succeeded - description is saved automatically - // always return true for loading - BOOL (*gm_pAfterFileChosen)(const CTFileName &fnm); - - // internal properties - CListHead gm_lhFileInfos; // all file infos to list - INDEX gm_iLastFile; // index of last saved file in numbered format - - // called to get info of a file from directory, or to skip it - BOOL ParseFile(const CTFileName &fnm, CTString &strName); - - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void FillListItems(void); -}; +#include "MLoadSave.h" +#include "MPlayerProfile.h" +#include "MSelectPlayers.h" extern CLoadSaveMenu gmLoadSaveMenu; -class CHighScoreMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CNetworkMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CNetworkStartMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); -}; - -class CNetworkOpenMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); -}; - -class CNetworkJoinMenu : public CGameMenu { -public: - void Initialize_t(void); -}; - -class CSplitScreenMenu: public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); -}; - -class CSplitStartMenu: public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); -}; - -class CSelectPlayersMenu: public CGameMenu { -public: - BOOL gm_bAllowDedicated; - BOOL gm_bAllowObserving; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); -}; - -class COptionsMenu : public CGameMenu { -public: - void Initialize_t(void); -}; - -class CVideoOptionsMenu : public CGameMenu { -public: - void StartMenu(void); - void Initialize_t(void); -}; - -class CRenderingOptionsMenu : public CGameMenu { -public: - void StartMenu(void); - void EndMenu(void); - void Initialize_t(void); -}; - -class CAudioOptionsMenu : public CGameMenu { -public: - void StartMenu(void); - void Initialize_t(void); -}; - -class CCustomizeKeyboardMenu : public CGameMenu { -public: - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void FillListItems(void); -}; - -class CCustomizeAxisMenu : public CGameMenu { -public: - ~CCustomizeAxisMenu(void); - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void ObtainActionSettings(void); - void ApplyActionSettings(void); -}; +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index b221d0e..65e77f4 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -224,10 +224,19 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + + + + + + + @@ -245,6 +254,26 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + + + + + + + + + + + + + + + + + + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 8f48799..17a7967 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -19,6 +19,18 @@ {332d9393-d918-4caf-86b2-2e63c2cca9bd} + + {47ffb7e3-433b-480c-a22a-849524a5bd1e} + + + {3bc65fe2-8c15-4ecd-bf59-de962bb42275} + + + {df54d6d1-39c3-4f26-93f8-116311f5a0eb} + + + {9a04e8a8-ecfc-42c3-bf28-fe3d8b49e626} + @@ -39,9 +51,6 @@ Source Files - - Source Files - Source Files @@ -57,50 +66,53 @@ Source Files + + Source Files\Gadgets + - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - Source Files + Source Files\Gadgets - - Source Files + + Source Files\Menus @@ -125,9 +137,6 @@ Header Files - - Header Files - Header Files @@ -149,51 +158,141 @@ Header Files - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - + Header Files + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + Header Files - + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + Header Files + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + + + Header Files\Menus headers + From 7273b4bbb9ccfad862ccc0b6ff51518b6d8c2cc9 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Sat, 12 Mar 2016 22:46:30 +0300 Subject: [PATCH 12/62] Updaaaaaaaaaate .gitignore! Argh! The description was stolen! --- .gitignore | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 511d69e..35413f2 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,20 @@ *.sbr *.sdf *.suo -*.tlog \ No newline at end of file +*.tlog + +# Engine Generated Stuff +Sources/Engine/Classes/*.h +Sources/Engine/Classes/*.cpp + +# EntitiesMP Generated Stuff +Sources/EntitiesMP/*.cpp +Sources/EntitiesMP/*.h +!Sources/EntitiesMP/Common/* +!Sources/EntitiesMP/StdH/* + +# Game Generated Stuff +Data/*.bin +Data/*.gms +Players/* +Temp/ConsoleHistory.txt \ No newline at end of file From cfefaf581a64974b501b1a364fba57ebd74a311e Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 15:41:56 -0500 Subject: [PATCH 13/62] Fix for Ecc failing on empty files --- Sources/Ecc/Main.cpp | 128 ++++++++++++++++++++++++++++++++++++++++--- Sources/Ecc/StdH.h | 4 +- 2 files changed, 121 insertions(+), 11 deletions(-) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index 3cc2987..7c8f12a 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation @@ -63,7 +63,7 @@ char *LineDirective(int i) return strdup(str); } -SType SType::operator+(const SType &other) +SType SType::operator+(const SType &other) { SType sum; sum.strString = stradd(strString, other.strString); @@ -116,7 +116,7 @@ FILE *FOpen(const char *strFileName, char *strMode) /* * Print a header to an output file. */ -static void PrintHeader(FILE *f) +static void PrintHeader(FILE *f) { fprintf(f, "/*\n"); fprintf(f, " * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98\n"); @@ -174,13 +174,13 @@ void ReplaceFileRL(const char *strOld, const char *strNew) { continue; } - + // process each charachter for(int ich=0;ich0) && (*(pchNew-1)=='\\')) { } else bQuotes = !bQuotes; } @@ -227,8 +227,106 @@ void ReplaceFile(const char *strOld, const char *strNew) remove(strOld); rename(strNew, strOld); } + +enum ESStatus +{ + /* Appears to be non-empty, ready to parse. */ + Good, + /* Appears to be empty, ignore it. */ + Empty, + /* Error occured during status check. */ + Error, +}; + +/* Determine whether or not our target ES file is indeed valid input. */ +ESStatus GetESStatus(char *filename) +{ + ESStatus result = ESStatus::Good; + + // Read a temporary buffer of the entire file contents + fseek(_fInput, 0, SEEK_END); + size_t length = ftell(_fInput); + char* temporaryBuffer = (char*)malloc(length); + fseek(_fInput, 0, SEEK_SET); + fread(temporaryBuffer, length, 1, _fInput); + fclose(_fInput); + + // First, let's remove line comments + char *commentBegin = NULL; + while (commentBegin = strstr(temporaryBuffer, "//")) + { + size_t commentLength = length; + + char* lineEnding = strstr(commentBegin, "\n"); + if (lineEnding) + commentLength = (size_t)(lineEnding) - (size_t)commentBegin; + + memset(commentBegin, 0x20, commentLength); + } + + // Then block comments + commentBegin = NULL; + while (commentBegin = strstr(temporaryBuffer, "/*")) + { + size_t commentLength = length; + + char* commentEnd = strstr(commentBegin, "*/"); + if (commentEnd) + commentLength = (size_t)(commentEnd + 3) - (size_t)commentBegin; + else + { + result = ESStatus::Error; + break; + } + + memset(commentBegin, 0x20, commentLength); + } + + // If we return here, it was because of unbalanced block comments + if (result != ESStatus::Good) + { + free(temporaryBuffer); + return result; + } + + // Now we just loop through the buffer until we find something that's not 0x20 or \n + result = ESStatus::Empty; + for (size_t iteration = 0; iteration < length; iteration++) + if (temporaryBuffer[iteration] != 0x20 && temporaryBuffer[iteration] != '\n') + { + size_t checkLength = length; + char* checkStart = &temporaryBuffer[iteration]; + + char* lineEnding = strstr(checkStart, "\n"); + if (lineEnding) + checkLength = (size_t)(lineEnding) - (size_t)checkStart; + + // Loop through and use isdigit to check all the digits + checkStart[checkLength + 1] = 0x00; + + for (int digit = 0; digit < strlen(checkStart); digit++) + if (checkStart[digit] != 0x20 && checkStart[digit] != '\n' && isdigit(checkStart[digit])) + result = ESStatus::Good; + else if (checkStart[digit] != 0x20 && checkStart[digit] != '\n') + { + // If this occurs, then the first non-whitespace line we read wasn't a number. + result = ESStatus::Error; + break; + } + + break; + } + + + free(temporaryBuffer); + if (result == ESStatus::Good) + _fInput = FOpen(filename, "r"); + + return result; +} + /* Replace a file with a new file if they are different. - * Used to keep .h files from constantly changing when you change the implementation. + * Used to keep .h files from constantly changing when you change the implementation. */ void ReplaceIfChanged(const char *strOld, const char *strNew) { @@ -240,7 +338,7 @@ void ReplaceIfChanged(const char *strOld, const char *strNew) while (!feof(fOld)) { char strOldLine[4096] = "#l"; char strNewLine[4096] = "#l"; - + // skip #line directives while(strNewLine[0]=='#' && strNewLine[1]=='l' && !feof(fNew)) { fgets(strNewLine, sizeof(strNewLine)-1, fNew); @@ -283,6 +381,18 @@ int main(int argc, char *argv[]) } // open the input file _fInput = FOpen(argv[1], "r"); + + // Make sure we're loading a valid ES file + ESStatus status = GetESStatus(argv[1]); + + switch (status) + { + case ESStatus::Empty: + return EXIT_SUCCESS; + case ESStatus::Error: + return EXIT_FAILURE; + } + //printf("%s\n", argv[1]); // open all the output files char *strImplementation = ChangeFileNameExtension(argv[1], ".cpp_tmp"); @@ -333,7 +443,7 @@ int main(int argc, char *argv[]) ReplaceFile(strImplementationOld, strImplementation); ReplaceIfChanged(strDeclarationOld, strDeclaration); ReplaceIfChanged(strTablesOld, strTables); - + return EXIT_SUCCESS; // if there were errors } else { diff --git a/Sources/Ecc/StdH.h b/Sources/Ecc/StdH.h index 6def450..3482ed6 100644 --- a/Sources/Ecc/StdH.h +++ b/Sources/Ecc/StdH.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation @@ -13,6 +13,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include #include @@ -27,4 +28,3 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #define _fullpath(x, y, z) realpath(y, x) #endif - From 9f50d3ef84bb34ae70864927f73ef0b3fb0083c6 Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 16:45:43 -0500 Subject: [PATCH 14/62] Performance fix Ecc --- Sources/Ecc/Main.cpp | 121 ++++++++++++++++++++++--------------------- 1 file changed, 63 insertions(+), 58 deletions(-) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index 7c8f12a..a175910 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -241,7 +241,7 @@ enum ESStatus /* Determine whether or not our target ES file is indeed valid input. */ ESStatus GetESStatus(char *filename) { - ESStatus result = ESStatus::Good; + ESStatus result = ESStatus::Empty; // Read a temporary buffer of the entire file contents fseek(_fInput, 0, SEEK_END); @@ -251,72 +251,77 @@ ESStatus GetESStatus(char *filename) fread(temporaryBuffer, length, 1, _fInput); fclose(_fInput); - // First, let's remove line comments - char *commentBegin = NULL; - while (commentBegin = strstr(temporaryBuffer, "//")) + // Loop through each line + char* currentSequence = strtok(temporaryBuffer, "\n"); + + // No newlines, but it might still be valid. + if (!currentSequence) + currentSequence = temporaryBuffer; + + bool inBlockComment = false; + do { - size_t commentLength = length; + size_t sequenceLength = strlen(currentSequence); - char* lineEnding = strstr(commentBegin, "\n"); - if (lineEnding) - commentLength = (size_t)(lineEnding) - (size_t)commentBegin; - - memset(commentBegin, 0x20, commentLength); - } - - // Then block comments - commentBegin = NULL; - while (commentBegin = strstr(temporaryBuffer, "/*")) - { - size_t commentLength = length; - - char* commentEnd = strstr(commentBegin, "*/"); - if (commentEnd) - commentLength = (size_t)(commentEnd + 3) - (size_t)commentBegin; - else + for (size_t iteration = 0; iteration < sequenceLength; iteration++) { - result = ESStatus::Error; - break; - } - - memset(commentBegin, 0x20, commentLength); - } - - // If we return here, it was because of unbalanced block comments - if (result != ESStatus::Good) - { - free(temporaryBuffer); - return result; - } - - // Now we just loop through the buffer until we find something that's not 0x20 or \n - result = ESStatus::Empty; - for (size_t iteration = 0; iteration < length; iteration++) - if (temporaryBuffer[iteration] != 0x20 && temporaryBuffer[iteration] != '\n') - { - size_t checkLength = length; - char* checkStart = &temporaryBuffer[iteration]; - - char* lineEnding = strstr(checkStart, "\n"); - if (lineEnding) - checkLength = (size_t)(lineEnding) - (size_t)checkStart; - - // Loop through and use isdigit to check all the digits - checkStart[checkLength + 1] = 0x00; - - for (int digit = 0; digit < strlen(checkStart); digit++) - if (checkStart[digit] != 0x20 && checkStart[digit] != '\n' && isdigit(checkStart[digit])) - result = ESStatus::Good; - else if (checkStart[digit] != 0x20 && checkStart[digit] != '\n') + // If we're still in a block comment, find the closing */ + if (inBlockComment) + { + char* blockClosing = strstr(currentSequence, "*/"); + if (!blockClosing) + break; + else + { + inBlockComment = false; + iteration = ((size_t)blockClosing - (size_t)currentSequence) + 2; + } + } + + // If we find a // sequence, simply skip this line + if (currentSequence[iteration] == '/' && currentSequence[iteration + 1] == '/') + break; + + // If we find a /* on this line but not a closing */, skip this line + if (currentSequence[iteration] == '/' && currentSequence[iteration + 1] == '*') + { + // Is there a closing */ on this line? + char* blockClosing = strstr(currentSequence, "*/"); + + if (!blockClosing) + { + inBlockComment = true; + break; + } + else + { + iteration = ((size_t)blockClosing - (size_t)currentSequence) + 2; + inBlockComment = false; + continue; + } + } + + if (iteration >= sequenceLength) + break; + + // If we got to this point, we should be able to read only a number on this line + for (size_t checkIteration = 0; checkIteration < sequenceLength; checkIteration++) + if (currentSequence[checkIteration] != '\n' && currentSequence[checkIteration] != 0x20 && !isdigit(currentSequence[checkIteration])) { - // If this occurs, then the first non-whitespace line we read wasn't a number. result = ESStatus::Error; break; } + else if (currentSequence[checkIteration] != '\n' && currentSequence[checkIteration] != 0x20) + result = ESStatus::Good; - break; + free(temporaryBuffer); + if (result == ESStatus::Good) + _fInput = FOpen(filename, "r"); + + return result; } - + } + while(currentSequence = strtok(NULL, "\n")); free(temporaryBuffer); if (result == ESStatus::Good) From 609d71437f31408be46dfe96c9bc354f77afa3f5 Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 17:20:41 -0500 Subject: [PATCH 15/62] Remove close/reopen logic for file handle and fix Ecc crash on empty --- Sources/Ecc/Main.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index a175910..b478631 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -239,7 +239,7 @@ enum ESStatus }; /* Determine whether or not our target ES file is indeed valid input. */ -ESStatus GetESStatus(char *filename) +ESStatus GetESStatus() { ESStatus result = ESStatus::Empty; @@ -249,7 +249,7 @@ ESStatus GetESStatus(char *filename) char* temporaryBuffer = (char*)malloc(length); fseek(_fInput, 0, SEEK_SET); fread(temporaryBuffer, length, 1, _fInput); - fclose(_fInput); + fseek(_fInput, 0, SEEK_SET); // Loop through each line char* currentSequence = strtok(temporaryBuffer, "\n"); @@ -315,18 +315,11 @@ ESStatus GetESStatus(char *filename) result = ESStatus::Good; free(temporaryBuffer); - if (result == ESStatus::Good) - _fInput = FOpen(filename, "r"); - return result; } } while(currentSequence = strtok(NULL, "\n")); - free(temporaryBuffer); - if (result == ESStatus::Good) - _fInput = FOpen(filename, "r"); - return result; } @@ -388,7 +381,7 @@ int main(int argc, char *argv[]) _fInput = FOpen(argv[1], "r"); // Make sure we're loading a valid ES file - ESStatus status = GetESStatus(argv[1]); + ESStatus status = GetESStatus(); switch (status) { From d69cb55c21394a66cae01013ed48cae98427d786 Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 17:27:34 -0500 Subject: [PATCH 16/62] Add explicit 0-length check out of paranoia --- Sources/Ecc/Main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index b478631..71178aa 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -246,6 +246,11 @@ ESStatus GetESStatus() // Read a temporary buffer of the entire file contents fseek(_fInput, 0, SEEK_END); size_t length = ftell(_fInput); + + // Hard-stop on Empty out of paranoia + if (length == 0) + return result; + char* temporaryBuffer = (char*)malloc(length); fseek(_fInput, 0, SEEK_SET); fread(temporaryBuffer, length, 1, _fInput); From 9766df5f5b3c68e15769d624cfb8328eca9c303d Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 17:31:51 -0500 Subject: [PATCH 17/62] Forgot to close dangling file handles --- Sources/Ecc/Main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index 71178aa..8168f6e 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -391,9 +391,15 @@ int main(int argc, char *argv[]) switch (status) { case ESStatus::Empty: + { + fclose(_fInput); return EXIT_SUCCESS; + } case ESStatus::Error: + { + fclose(_fInput); return EXIT_FAILURE; + } } //printf("%s\n", argv[1]); From 1a50ba665a21676ec06b21bb6ba744b32ac2c4bf Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Sat, 12 Mar 2016 17:36:50 -0500 Subject: [PATCH 18/62] Check for NULL return from malloc in es vertification code and print error if es verification fails --- Sources/Ecc/Main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/Ecc/Main.cpp b/Sources/Ecc/Main.cpp index 8168f6e..3f88e62 100644 --- a/Sources/Ecc/Main.cpp +++ b/Sources/Ecc/Main.cpp @@ -252,6 +252,10 @@ ESStatus GetESStatus() return result; char* temporaryBuffer = (char*)malloc(length); + + if (!temporaryBuffer) + return ESStatus::Error; + fseek(_fInput, 0, SEEK_SET); fread(temporaryBuffer, length, 1, _fInput); fseek(_fInput, 0, SEEK_SET); @@ -398,6 +402,7 @@ int main(int argc, char *argv[]) case ESStatus::Error: { fclose(_fInput); + printf("Ecc encountered an error during the es verification.\n"); return EXIT_FAILURE; } } From fe24f3a2a46e741682b3a66df966a7b783872b81 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 01:52:16 +0200 Subject: [PATCH 19/62] Updated .gitignore and removed automatically generated files --- .gitignore | 48 + Scripts/PersistentSymbols.ini | 443 ------- Sources/Ecc/Scanner.cpp | 2211 --------------------------------- 3 files changed, 48 insertions(+), 2654 deletions(-) delete mode 100644 Scripts/PersistentSymbols.ini delete mode 100644 Sources/Ecc/Scanner.cpp diff --git a/.gitignore b/.gitignore index e4067d1..95388c3 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,51 @@ *.app !Bison.exe !Flex.exe + +# CMake Build dirs (temp) +Build/ +Debug/ + +# Visual Studio +*.vs +*.opendb +*.sdf +*.map +*.opensdf +*.suo +*.tlog + +# Generated configuration files +*.plr +Temp/ConsoleHistory.txt +*.log +*.rpt # crashinfo +*.gms +Scripts/PersistentSymbols.ini + +# Files generated by ECC +Sources/EntitiesMP/*.h +Sources/EntitiesMP/*.cpp +!Sources/EntitiesMP/Common/* +!Sources/EntitiesMP/StdH/* +Sources/Engine/Classes/*.h +Sources/Engine/Classes/*.cpp + +# Other generated files: +Sources/Engine/Ska/smcScan.cpp +Sources/Engine/Ska/smcPars.h +Sources/Engine/Ska/smcPars.cpp +Sources/Engine/Base/Parser.cpp +Sources/Engine/Base/Parser.h +Sources/Engine/Base/Scanner.cpp +Sources/Ecc/Parser.cpp +Sources/Ecc/Parser.h +Sources/Ecc/Scanner.cpp +Sources/SeriousSkaStudio/Parser.cpp +Sources/SeriousSkaStudio/Parser.h +Sources/SeriousSkaStudio/Scanner.cpp + + + + + diff --git a/Scripts/PersistentSymbols.ini b/Scripts/PersistentSymbols.ini deleted file mode 100644 index d61e379..0000000 --- a/Scripts/PersistentSymbols.ini +++ /dev/null @@ -1,443 +0,0 @@ -// automatically saved persistent symbols: -persistent extern user INDEX con_iLastLines=(INDEX)5; -tmp_af[0]=(FLOAT)0; -tmp_af[1]=(FLOAT)0; -tmp_af[2]=(FLOAT)0; -tmp_af[3]=(FLOAT)0; -tmp_af[4]=(FLOAT)0; -tmp_af[5]=(FLOAT)0; -tmp_af[6]=(FLOAT)0; -tmp_af[7]=(FLOAT)0; -tmp_af[8]=(FLOAT)0; -tmp_af[9]=(FLOAT)0; -tmp_ai[0]=(INDEX)0; -tmp_ai[1]=(INDEX)0; -tmp_ai[2]=(INDEX)0; -tmp_ai[3]=(INDEX)0; -tmp_ai[4]=(INDEX)0; -tmp_ai[5]=(INDEX)0; -tmp_ai[6]=(INDEX)0; -tmp_ai[7]=(INDEX)0; -tmp_ai[8]=(INDEX)0; -tmp_ai[9]=(INDEX)0; -persistent extern user INDEX tmp_i=(INDEX)0; -persistent extern user FLOAT tmp_fAdd=(FLOAT)0; -persistent extern user INDEX fil_bPreferZips=(INDEX)0; -persistent extern user INDEX ogl_bUseCompiledVertexArrays=(INDEX)101; -persistent extern user INDEX ogl_bExclusive=(INDEX)1; -persistent extern user INDEX ogl_bAllowQuadArrays=(INDEX)0; -persistent extern user INDEX ogl_iTextureCompressionType=(INDEX)1; -persistent extern user INDEX ogl_iMaxBurstSize=(INDEX)0; -persistent extern user INDEX ogl_bGrabDepthBuffer=(INDEX)0; -persistent extern user INDEX ogl_iFinish=(INDEX)1; -persistent extern user INDEX ogl_iTBufferEffect=(INDEX)0; -persistent extern user INDEX ogl_iTBufferSamples=(INDEX)2; -persistent extern user INDEX ogl_bTruformLinearNormals=(INDEX)1; -persistent extern user INDEX ogl_bAlternateClipPlane=(INDEX)0; -persistent extern user INDEX d3d_bUseHardwareTnL=(INDEX)1; -persistent extern user INDEX d3d_iMaxBurstSize=(INDEX)0; -persistent extern user INDEX d3d_iVertexBuffersSize=(INDEX)1024; -persistent extern user INDEX d3d_iVertexRangeTreshold=(INDEX)99; -persistent extern user INDEX d3d_bAlternateDepthReads=(INDEX)0; -persistent extern INDEX d3d_bFastUpload=(INDEX)1; -persistent extern user INDEX d3d_iFinish=(INDEX)0; -persistent extern user INDEX gap_iUseTextureUnits=(INDEX)4; -persistent extern user INDEX gap_iTextureFiltering=(INDEX)21; -persistent extern user INDEX gap_iTextureAnisotropy=(INDEX)1; -persistent extern user FLOAT gap_fTextureLODBias=(FLOAT)0; -persistent extern user INDEX gap_bAllowGrayTextures=(INDEX)1; -persistent extern user INDEX gap_bAllowSingleMipmap=(INDEX)1; -persistent extern user INDEX gap_bOptimizeStateChanges=(INDEX)1; -persistent extern user INDEX gap_iOptimizeDepthReads=(INDEX)1; -persistent extern user INDEX gap_iOptimizeClipping=(INDEX)2; -persistent extern user INDEX gap_iSwapInterval=(INDEX)0; -persistent extern user INDEX gap_iRefreshRate=(INDEX)0; -persistent extern user INDEX gap_iDithering=(INDEX)2; -persistent extern user INDEX gap_bForceTruform=(INDEX)0; -persistent extern user INDEX gap_iTruformLevel=(INDEX)0; -persistent extern user INDEX gap_iDepthBits=(INDEX)0; -persistent extern user INDEX gap_iStencilBits=(INDEX)0; -persistent extern user FLOAT mdl_fLODMul=(FLOAT)1; -persistent extern user FLOAT mdl_fLODAdd=(FLOAT)0; -persistent extern user INDEX mdl_iLODDisappear=(INDEX)1; -persistent extern user INDEX mdl_bRenderDetail=(INDEX)1; -persistent extern user INDEX mdl_bRenderSpecular=(INDEX)1; -persistent extern user INDEX mdl_bRenderReflection=(INDEX)1; -persistent extern user INDEX mdl_bAllowOverbright=(INDEX)1; -persistent extern user INDEX mdl_bFineQuality=(INDEX)1; -persistent extern user INDEX mdl_iShadowQuality=(INDEX)1; -persistent extern user FLOAT ska_fLODMul=(FLOAT)1; -persistent extern user FLOAT ska_fLODAdd=(FLOAT)0; -persistent extern user FLOAT gfx_tmProbeDecay=(FLOAT)30; -persistent extern user INDEX gfx_iProbeSize=(INDEX)256; -persistent extern user INDEX gfx_bClearScreen=(INDEX)0; -persistent extern user INDEX gfx_bDisableMultiMonSupport=(INDEX)1; -persistent extern user INDEX gfx_bDisableWindowsKeys=(INDEX)1; -persistent extern user INDEX gfx_bDecoratedText=(INDEX)1; -persistent extern user INDEX tex_iNormalQuality=(INDEX)22; -persistent extern user INDEX tex_iAnimationQuality=(INDEX)11; -persistent extern user INDEX tex_bFineEffect=(INDEX)0; -persistent extern user INDEX tex_bFineFog=(INDEX)1; -persistent extern user INDEX tex_iNormalSize=(INDEX)9; -persistent extern user INDEX tex_iAnimationSize=(INDEX)7; -persistent extern user INDEX tex_iEffectSize=(INDEX)7; -persistent extern user INDEX tex_iFogSize=(INDEX)7; -persistent extern user INDEX tex_bCompressAlphaChannel=(INDEX)0; -persistent extern user INDEX tex_bAlternateCompression=(INDEX)0; -persistent extern user INDEX tex_bDynamicMipmaps=(INDEX)0; -persistent extern user INDEX tex_iDithering=(INDEX)3; -persistent extern user INDEX tex_iFiltering=(INDEX)0; -persistent extern user INDEX tex_iEffectFiltering=(INDEX)4; -persistent extern user INDEX tex_bProgressiveFilter=(INDEX)0; -persistent extern user INDEX shd_iStaticSize=(INDEX)8; -persistent extern user INDEX shd_iDynamicSize=(INDEX)8; -persistent extern user INDEX shd_bFineQuality=(INDEX)1; -persistent extern user INDEX shd_iAllowDynamic=(INDEX)1; -persistent extern user INDEX shd_bDynamicMipmaps=(INDEX)1; -persistent extern user INDEX shd_iFiltering=(INDEX)3; -persistent extern user INDEX shd_iDithering=(INDEX)1; -persistent extern user FLOAT shd_tmFlushDelay=(FLOAT)30; -persistent extern user FLOAT shd_fCacheSize=(FLOAT)8; -persistent extern user INDEX shd_bCacheAll=(INDEX)0; -persistent extern user INDEX shd_bAllowFlats=(INDEX)1; -persistent extern INDEX shd_iForceFlats=(INDEX)0; -persistent extern user INDEX gfx_iLensFlareQuality=(INDEX)3; -persistent extern user INDEX wld_bTextureLayers=(INDEX)111; -persistent extern user INDEX wld_bRenderMirrors=(INDEX)1; -persistent extern user FLOAT wld_fEdgeOffsetI=(FLOAT)0; -persistent extern user FLOAT wld_fEdgeAdjustK=(FLOAT)1; -persistent extern user INDEX wld_iDetailRemovingBias=(INDEX)3; -persistent extern user INDEX wed_bUseBaseForReplacement=(INDEX)0; -persistent extern user INDEX tex_iHueShift=(INDEX)0; -persistent extern user FLOAT tex_fSaturation=(FLOAT)1; -persistent extern user INDEX shd_iHueShift=(INDEX)0; -persistent extern user FLOAT shd_fSaturation=(FLOAT)1; -persistent extern user INDEX gfx_iHueShift=(INDEX)0; -persistent extern user FLOAT gfx_fSaturation=(FLOAT)1; -persistent extern user FLOAT gfx_fBrightness=(FLOAT)0; -persistent extern user FLOAT gfx_fContrast=(FLOAT)1; -persistent extern user FLOAT gfx_fGamma=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasR=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasG=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasB=(FLOAT)1; -persistent extern user INDEX gfx_iLevels=(INDEX)256; -persistent extern user INDEX gfx_iStereo=(INDEX)0; -persistent extern user INDEX gfx_bStereoInvert=(INDEX)0; -persistent extern user INDEX gfx_iStereoOffset=(INDEX)10; -persistent extern user FLOAT gfx_fStereoSeparation=(FLOAT)0.25; -persistent extern user FLOAT snd_fEarsDistance=(FLOAT)0.2; -persistent extern user FLOAT snd_fDelaySoundSpeed=(FLOAT)1e+010; -persistent extern user FLOAT snd_fDopplerSoundSpeed=(FLOAT)330; -persistent extern user FLOAT snd_fPanStrength=(FLOAT)0.1; -persistent extern user FLOAT snd_fLRFilter=(FLOAT)3; -persistent extern user FLOAT snd_fBFilter=(FLOAT)5; -persistent extern user FLOAT snd_fUFilter=(FLOAT)1; -persistent extern user FLOAT snd_fDFilter=(FLOAT)3; -persistent extern user FLOAT snd_fSoundVolume=(FLOAT)1; -persistent extern user FLOAT snd_fMusicVolume=(FLOAT)1; -persistent extern user FLOAT snd_fNormalizer=(FLOAT)0.9; -persistent extern user FLOAT snd_tmMixAhead=(FLOAT)0.2; -persistent extern user INDEX snd_iInterface=(INDEX)1; -persistent extern user INDEX snd_iDevice=(INDEX)-1; -persistent extern user INDEX snd_iFormat=(INDEX)3; -persistent extern user INDEX snd_iMaxExtraChannels=(INDEX)32; -persistent extern user INDEX snd_iMaxOpenRetries=(INDEX)3; -persistent extern user FLOAT snd_tmOpenFailDelay=(FLOAT)0.5; -persistent extern user FLOAT snd_fEAXPanning=(FLOAT)0; -persistent extern user INDEX gam_bPretouch=(INDEX)0; -persistent extern user CTString cmd_cmdOnTick=""; -persistent extern user CTString cmd_cmdOnChat=""; -persistent extern user INDEX ent_bReportSpawnInWall=(INDEX)0; -persistent extern user FLOAT ser_tmSyncCheckFrequency=(FLOAT)1; -persistent extern user INDEX ser_iSyncCheckBuffer=(INDEX)60; -persistent extern user INDEX cli_bLerpActions=(INDEX)0; -persistent extern user INDEX cli_bReportPredicted=(INDEX)0; -persistent extern user INDEX net_iExactTimer=(INDEX)2; -persistent extern user CTString net_strLocalHost=""; -persistent extern user CTString net_strLocationCode=""; -persistent extern user INDEX ser_iExtensiveSyncCheck=(INDEX)0; -persistent extern user INDEX net_bLookupHostNames=(INDEX)0; -persistent extern user INDEX net_iCompression=(INDEX)1; -persistent extern user INDEX net_bReportPackets=(INDEX)0; -persistent extern user INDEX net_iMaxSendRetries=(INDEX)10; -persistent extern user FLOAT net_fSendRetryWait=(FLOAT)0.5; -persistent extern user INDEX net_bReportTraffic=(INDEX)0; -persistent extern user INDEX net_bReportICMPErrors=(INDEX)0; -persistent extern user INDEX net_bReportMiscErrors=(INDEX)0; -persistent extern user INDEX net_bLerping=(INDEX)1; -persistent extern user INDEX ser_bClientsMayPause=(INDEX)1; -persistent extern user INDEX ser_bEnumeration=(INDEX)1; -persistent extern user INDEX ser_bPingGameAgent=(INDEX)1; -persistent extern user FLOAT ser_tmKeepAlive=(FLOAT)0.1; -persistent extern user FLOAT ser_tmPingUpdate=(FLOAT)3; -persistent extern user INDEX ser_bWaitFirstPlayer=(INDEX)0; -persistent extern user INDEX ser_iMaxAllowedBPS=(INDEX)8000; -persistent extern user CTString ser_strIPMask=""; -persistent extern user CTString ser_strNameMask=""; -persistent extern user INDEX ser_bInverseBanning=(INDEX)0; -persistent extern user CTString ser_strMOTD=""; -persistent extern user INDEX cli_bAutoAdjustSettings=(INDEX)0; -persistent extern user FLOAT cli_tmAutoAdjustThreshold=(FLOAT)2; -persistent extern user INDEX cli_bPrediction=(INDEX)0; -persistent extern user INDEX cli_iMaxPredictionSteps=(INDEX)10; -persistent extern user INDEX cli_bPredictIfServer=(INDEX)0; -persistent extern user INDEX cli_bPredictLocalPlayers=(INDEX)1; -persistent extern user INDEX cli_bPredictRemotePlayers=(INDEX)0; -persistent extern user FLOAT cli_fPredictEntitiesRange=(FLOAT)20; -persistent extern user FLOAT cli_fPredictionFilter=(FLOAT)0.5; -persistent extern user INDEX cli_iSendBehind=(INDEX)3; -persistent extern user INDEX cli_iPredictionFlushing=(INDEX)1; -persistent extern user INDEX cli_iBufferActions=(INDEX)1; -persistent extern user INDEX cli_iMaxBPS=(INDEX)4000; -persistent extern user INDEX cli_iMinBPS=(INDEX)100; -persistent extern user INDEX net_iGraphBuffer=(INDEX)100; -persistent extern user INDEX gam_iPrecachePolicy=(INDEX)1; -persistent extern user INDEX inp_iKeyboardReadingMethod=(INDEX)2; -persistent extern user INDEX inp_bAllowMouseAcceleration=(INDEX)1; -persistent extern user FLOAT inp_fMouseSensitivity=(FLOAT)1; -persistent extern user INDEX inp_bMousePrecision=(INDEX)0; -persistent extern user FLOAT inp_fMousePrecisionFactor=(FLOAT)4; -persistent extern user FLOAT inp_fMousePrecisionThreshold=(FLOAT)10; -persistent extern user FLOAT inp_fMousePrecisionTimeout=(FLOAT)0.25; -persistent extern user INDEX inp_bInvertMouse=(INDEX)0; -persistent extern user INDEX inp_bFilterMouse=(INDEX)0; -persistent extern user INDEX inp_bAllowPrescan=(INDEX)1; -persistent extern user INDEX inp_i2ndMousePort=(INDEX)0; -persistent extern user INDEX inp_bInvert2ndMouse=(INDEX)0; -persistent extern user INDEX inp_bFilter2ndMouse=(INDEX)0; -persistent extern user FLOAT inp_f2ndMouseSensitivity=(FLOAT)1; -persistent extern user INDEX inp_b2ndMousePrecision=(INDEX)0; -persistent extern user FLOAT inp_f2ndMousePrecisionFactor=(FLOAT)4; -persistent extern user FLOAT inp_f2ndMousePrecisionThreshold=(FLOAT)10; -persistent extern user FLOAT inp_f2ndMousePrecisionTimeout=(FLOAT)0.25; -persistent extern user INDEX inp_bMsgDebugger=(INDEX)0; -persistent extern user INDEX inp_iMButton4Up=(INDEX)131072; -persistent extern user INDEX inp_iMButton4Dn=(INDEX)131136; -persistent extern user INDEX inp_iMButton5Up=(INDEX)65536; -persistent extern user INDEX inp_iMButton5Dn=(INDEX)65568; -persistent extern user INDEX inp_ctJoysticksAllowed=(INDEX)8; -persistent extern user INDEX inp_bForceJoystickPolling=(INDEX)0; -persistent extern user INDEX inp_bAutoDisableJoysticks=(INDEX)0; -persistent extern user INDEX wed_bUseGenericTextureReplacement=(INDEX)0; -persistent extern user FLOAT ctl_tmComputerDoubleClick=(FLOAT)0.5; -persistent extern user FLOAT ctl_fButtonRotationSpeedH=(FLOAT)300; -persistent extern user FLOAT ctl_fButtonRotationSpeedP=(FLOAT)150; -persistent extern user FLOAT ctl_fButtonRotationSpeedB=(FLOAT)150; -persistent extern user FLOAT ctl_fAxisStrafingModifier=(FLOAT)1; -persistent extern user FLOAT cli_fPredictPlayersRange=(FLOAT)0; -persistent extern user FLOAT cli_fPredictItemsRange=(FLOAT)3; -persistent extern user FLOAT cli_tmPredictFoe=(FLOAT)10; -persistent extern user FLOAT cli_tmPredictAlly=(FLOAT)10; -persistent extern user FLOAT cli_tmPredictEnemy=(FLOAT)10; -persistent extern user INDEX hud_bShowLatency=(INDEX)0; -persistent extern user INDEX hud_iShowPlayers=(INDEX)-1; -persistent extern user INDEX hud_iSortPlayers=(INDEX)-1; -persistent extern user INDEX hud_bShowWeapon=(INDEX)1; -persistent extern user INDEX hud_bShowMessages=(INDEX)1; -persistent extern user FLOAT hud_fScaling=(FLOAT)1; -persistent extern user FLOAT hud_fOpacity=(FLOAT)0.9; -persistent extern user FLOAT hud_tmWeaponsOnScreen=(FLOAT)3; -persistent extern user FLOAT hud_tmLatencySnapshot=(FLOAT)1; -persistent extern user FLOAT plr_fBreathingStrength=(FLOAT)0; -persistent extern user INDEX hud_bShowMatchInfo=(INDEX)1; -wpn_fRecoilSpeed[0]=(FLOAT)0; -wpn_fRecoilSpeed[1]=(FLOAT)0; -wpn_fRecoilSpeed[2]=(FLOAT)0; -wpn_fRecoilSpeed[3]=(FLOAT)0; -wpn_fRecoilSpeed[4]=(FLOAT)0; -wpn_fRecoilSpeed[5]=(FLOAT)0; -wpn_fRecoilSpeed[6]=(FLOAT)0; -wpn_fRecoilSpeed[7]=(FLOAT)0; -wpn_fRecoilSpeed[8]=(FLOAT)0; -wpn_fRecoilSpeed[9]=(FLOAT)0; -wpn_fRecoilSpeed[10]=(FLOAT)0; -wpn_fRecoilSpeed[11]=(FLOAT)0; -wpn_fRecoilSpeed[12]=(FLOAT)0; -wpn_fRecoilSpeed[13]=(FLOAT)0; -wpn_fRecoilSpeed[14]=(FLOAT)0; -wpn_fRecoilSpeed[15]=(FLOAT)0; -wpn_fRecoilSpeed[16]=(FLOAT)0; -wpn_fRecoilLimit[0]=(FLOAT)0; -wpn_fRecoilLimit[1]=(FLOAT)0; -wpn_fRecoilLimit[2]=(FLOAT)0; -wpn_fRecoilLimit[3]=(FLOAT)0; -wpn_fRecoilLimit[4]=(FLOAT)0; -wpn_fRecoilLimit[5]=(FLOAT)0; -wpn_fRecoilLimit[6]=(FLOAT)0; -wpn_fRecoilLimit[7]=(FLOAT)0; -wpn_fRecoilLimit[8]=(FLOAT)0; -wpn_fRecoilLimit[9]=(FLOAT)0; -wpn_fRecoilLimit[10]=(FLOAT)0; -wpn_fRecoilLimit[11]=(FLOAT)0; -wpn_fRecoilLimit[12]=(FLOAT)0; -wpn_fRecoilLimit[13]=(FLOAT)0; -wpn_fRecoilLimit[14]=(FLOAT)0; -wpn_fRecoilLimit[15]=(FLOAT)0; -wpn_fRecoilLimit[16]=(FLOAT)0; -wpn_fRecoilDampUp[0]=(FLOAT)0; -wpn_fRecoilDampUp[1]=(FLOAT)0; -wpn_fRecoilDampUp[2]=(FLOAT)0; -wpn_fRecoilDampUp[3]=(FLOAT)0; -wpn_fRecoilDampUp[4]=(FLOAT)0; -wpn_fRecoilDampUp[5]=(FLOAT)0; -wpn_fRecoilDampUp[6]=(FLOAT)0; -wpn_fRecoilDampUp[7]=(FLOAT)0; -wpn_fRecoilDampUp[8]=(FLOAT)0; -wpn_fRecoilDampUp[9]=(FLOAT)0; -wpn_fRecoilDampUp[10]=(FLOAT)0; -wpn_fRecoilDampUp[11]=(FLOAT)0; -wpn_fRecoilDampUp[12]=(FLOAT)0; -wpn_fRecoilDampUp[13]=(FLOAT)0; -wpn_fRecoilDampUp[14]=(FLOAT)0; -wpn_fRecoilDampUp[15]=(FLOAT)0; -wpn_fRecoilDampUp[16]=(FLOAT)0; -wpn_fRecoilDampDn[0]=(FLOAT)0; -wpn_fRecoilDampDn[1]=(FLOAT)0; -wpn_fRecoilDampDn[2]=(FLOAT)0; -wpn_fRecoilDampDn[3]=(FLOAT)0; -wpn_fRecoilDampDn[4]=(FLOAT)0; -wpn_fRecoilDampDn[5]=(FLOAT)0; -wpn_fRecoilDampDn[6]=(FLOAT)0; -wpn_fRecoilDampDn[7]=(FLOAT)0; -wpn_fRecoilDampDn[8]=(FLOAT)0; -wpn_fRecoilDampDn[9]=(FLOAT)0; -wpn_fRecoilDampDn[10]=(FLOAT)0; -wpn_fRecoilDampDn[11]=(FLOAT)0; -wpn_fRecoilDampDn[12]=(FLOAT)0; -wpn_fRecoilDampDn[13]=(FLOAT)0; -wpn_fRecoilDampDn[14]=(FLOAT)0; -wpn_fRecoilDampDn[15]=(FLOAT)0; -wpn_fRecoilDampDn[16]=(FLOAT)0; -wpn_fRecoilOffset[0]=(FLOAT)0; -wpn_fRecoilOffset[1]=(FLOAT)0; -wpn_fRecoilOffset[2]=(FLOAT)0; -wpn_fRecoilOffset[3]=(FLOAT)0; -wpn_fRecoilOffset[4]=(FLOAT)0; -wpn_fRecoilOffset[5]=(FLOAT)0; -wpn_fRecoilOffset[6]=(FLOAT)0; -wpn_fRecoilOffset[7]=(FLOAT)0; -wpn_fRecoilOffset[8]=(FLOAT)0; -wpn_fRecoilOffset[9]=(FLOAT)0; -wpn_fRecoilOffset[10]=(FLOAT)0; -wpn_fRecoilOffset[11]=(FLOAT)0; -wpn_fRecoilOffset[12]=(FLOAT)0; -wpn_fRecoilOffset[13]=(FLOAT)0; -wpn_fRecoilOffset[14]=(FLOAT)0; -wpn_fRecoilOffset[15]=(FLOAT)0; -wpn_fRecoilOffset[16]=(FLOAT)0; -wpn_fRecoilFactorP[0]=(FLOAT)0; -wpn_fRecoilFactorP[1]=(FLOAT)0; -wpn_fRecoilFactorP[2]=(FLOAT)0; -wpn_fRecoilFactorP[3]=(FLOAT)0; -wpn_fRecoilFactorP[4]=(FLOAT)0; -wpn_fRecoilFactorP[5]=(FLOAT)0; -wpn_fRecoilFactorP[6]=(FLOAT)0; -wpn_fRecoilFactorP[7]=(FLOAT)0; -wpn_fRecoilFactorP[8]=(FLOAT)0; -wpn_fRecoilFactorP[9]=(FLOAT)0; -wpn_fRecoilFactorP[10]=(FLOAT)0; -wpn_fRecoilFactorP[11]=(FLOAT)0; -wpn_fRecoilFactorP[12]=(FLOAT)0; -wpn_fRecoilFactorP[13]=(FLOAT)0; -wpn_fRecoilFactorP[14]=(FLOAT)0; -wpn_fRecoilFactorP[15]=(FLOAT)0; -wpn_fRecoilFactorP[16]=(FLOAT)0; -wpn_fRecoilFactorZ[0]=(FLOAT)0; -wpn_fRecoilFactorZ[1]=(FLOAT)0; -wpn_fRecoilFactorZ[2]=(FLOAT)0; -wpn_fRecoilFactorZ[3]=(FLOAT)0; -wpn_fRecoilFactorZ[4]=(FLOAT)0; -wpn_fRecoilFactorZ[5]=(FLOAT)0; -wpn_fRecoilFactorZ[6]=(FLOAT)0; -wpn_fRecoilFactorZ[7]=(FLOAT)0; -wpn_fRecoilFactorZ[8]=(FLOAT)0; -wpn_fRecoilFactorZ[9]=(FLOAT)0; -wpn_fRecoilFactorZ[10]=(FLOAT)0; -wpn_fRecoilFactorZ[11]=(FLOAT)0; -wpn_fRecoilFactorZ[12]=(FLOAT)0; -wpn_fRecoilFactorZ[13]=(FLOAT)0; -wpn_fRecoilFactorZ[14]=(FLOAT)0; -wpn_fRecoilFactorZ[15]=(FLOAT)0; -wpn_fRecoilFactorZ[16]=(FLOAT)0; -persistent extern user FLOAT plr_fFOV=(FLOAT)90; -persistent extern user FLOAT plr_fFrontClipDistance=(FLOAT)0.25; -persistent extern user INDEX plr_bRenderPicked=(INDEX)0; -persistent extern user INDEX plr_bRenderPickedParticles=(INDEX)0; -persistent extern user INDEX plr_bOnlySam=(INDEX)0; -persistent extern user INDEX ent_bReportBrokenChains=(INDEX)0; -persistent extern user FLOAT ent_tmMentalIn=(FLOAT)0.5; -persistent extern user FLOAT ent_tmMentalOut=(FLOAT)0.75; -persistent extern user FLOAT ent_tmMentalFade=(FLOAT)0.5; -persistent extern user FLOAT gfx_fEnvParticlesDensity=(FLOAT)1; -persistent extern user FLOAT gfx_fEnvParticlesRange=(FLOAT)1; -persistent extern user INDEX hud_bCrosshairFixed=(INDEX)0; -persistent extern user INDEX hud_bCrosshairColoring=(INDEX)1; -persistent extern user FLOAT hud_fCrosshairScale=(FLOAT)1; -persistent extern user FLOAT hud_fCrosshairRatio=(FLOAT)0.5; -persistent extern user FLOAT hud_fCrosshairOpacity=(FLOAT)1; -persistent extern user INDEX hud_bShowPlayerName=(INDEX)1; -persistent extern user INDEX hud_bShowCoords=(INDEX)0; -persistent extern user FLOAT plr_tmSnoopingTime=(FLOAT)1; -persistent extern user FLOAT plr_tmSnoopingDelay=(FLOAT)1; -persistent extern user FLOAT inp_fIFeelGain=(FLOAT)1; -persistent extern INDEX sam_bFullScreen=(INDEX)0; -persistent extern INDEX sam_iScreenSizeI=(INDEX)1024; -persistent extern INDEX sam_iScreenSizeJ=(INDEX)768; -persistent extern INDEX sam_iDisplayDepth=(INDEX)0; -persistent extern INDEX sam_iDisplayAdapter=(INDEX)0; -persistent extern INDEX sam_iGfxAPI=(INDEX)0; -persistent extern INDEX sam_bFirstStarted=(INDEX)0; -persistent extern INDEX sam_bAutoAdjustAudio=(INDEX)1; -persistent extern user INDEX sam_bWideScreen=(INDEX)0; -persistent extern user FLOAT sam_fPlayerOffset=(FLOAT)0; -persistent extern user INDEX sam_bAutoPlayDemos=(INDEX)1; -persistent extern user INDEX sam_iMaxFPSActive=(INDEX)500; -persistent extern user INDEX sam_iMaxFPSInactive=(INDEX)10; -persistent extern user INDEX sam_bPauseOnMinimize=(INDEX)1; -persistent extern user FLOAT sam_tmDisplayModeReport=(FLOAT)5; -persistent extern user CTString sam_strNetworkSettings=""; -persistent extern user CTString sam_strIntroLevel="Levels\\LevelsMP\\Intro.wld"; -persistent extern user CTString sam_strGameName="serioussamse"; -persistent extern INDEX sam_bShowAllLevels=(INDEX)0; -persistent extern INDEX sam_bMentalActivated=(INDEX)0; -persistent extern user INDEX sam_iVideoSetup=(INDEX)3; -persistent extern user INDEX hud_bShowTime=(INDEX)0; -persistent extern user INDEX hud_bShowClock=(INDEX)0; -persistent extern user INDEX dem_iProfileRate=(INDEX)5; -persistent extern user INDEX hud_bShowNetGraph=(INDEX)0; -persistent extern user FLOAT gam_fManaTransferFactor=(FLOAT)0.5; -persistent extern user FLOAT gam_fExtraEnemyStrength=(FLOAT)0; -persistent extern user FLOAT gam_fExtraEnemyStrengthPerPlayer=(FLOAT)0; -persistent extern user INDEX gam_iInitialMana=(INDEX)100; -persistent extern user INDEX gam_iScoreLimit=(INDEX)100000; -persistent extern user INDEX gam_iFragLimit=(INDEX)20; -persistent extern user INDEX gam_iTimeLimit=(INDEX)0; -persistent extern user INDEX gam_ctMaxPlayers=(INDEX)8; -persistent extern user INDEX gam_bWaitAllPlayers=(INDEX)0; -persistent extern user INDEX gam_bFriendlyFire=(INDEX)0; -persistent extern user INDEX gam_bPlayEntireGame=(INDEX)1; -persistent extern user INDEX gam_bWeaponsStay=(INDEX)1; -persistent extern user INDEX gam_bAmmoStays=(INDEX)1; -persistent extern user INDEX gam_bHealthArmorStays=(INDEX)1; -persistent extern user INDEX gam_bAllowHealth=(INDEX)1; -persistent extern user INDEX gam_bAllowArmor=(INDEX)1; -persistent extern user INDEX gam_bInfiniteAmmo=(INDEX)0; -persistent extern user INDEX gam_bRespawnInPlace=(INDEX)1; -persistent extern user INDEX gam_iCredits=(INDEX)-1; -persistent extern user FLOAT gam_tmSpawnInvulnerability=(FLOAT)3; -persistent extern user INDEX gam_iBlood=(INDEX)2; -persistent extern user INDEX gam_bGibs=(INDEX)1; -persistent extern user INDEX gam_bUseExtraEnemies=(INDEX)1; -persistent extern user INDEX gam_iStartDifficulty=(INDEX)1; -persistent extern user INDEX gam_iStartMode=(INDEX)-1; -persistent extern user CTString gam_strGameAgentExtras=""; -persistent extern user CTString gam_strCustomLevel=""; -persistent extern user CTString gam_strSessionName="Unnamed session"; -persistent extern user CTString gam_strJoinAddress="serveraddress"; -persistent extern user INDEX gam_bEnableAdvancedObserving=(INDEX)0; -persistent extern user FLOAT con_fHeightFactor=(FLOAT)0.5; -persistent extern user FLOAT con_tmLastLines=(FLOAT)5; -persistent extern user INDEX wed_iMaxFPSActive=(INDEX)500; -persistent extern user FLOAT wed_fFrontClipDistance=(FLOAT)0.5; -persistent extern CTString sam_strLastRenderer="none"; -persistent extern INDEX sam_iLastSetup=(INDEX)1; diff --git a/Sources/Ecc/Scanner.cpp b/Sources/Ecc/Scanner.cpp deleted file mode 100644 index d31f14b..0000000 --- a/Sources/Ecc/Scanner.cpp +++ /dev/null @@ -1,2211 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include -#include - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 84 -#define YY_END_OF_BUFFER 85 -static yyconst short int yy_accept[415] = - { 0, - 0, 0, 0, 0, 76, 76, 85, 83, 81, 82, - 65, 83, 65, 83, 65, 66, 66, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 79, 79, 76, 75, 76, 81, 0, 70, 73, - 0, 71, 77, 0, 68, 66, 0, 0, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 9, 72, 72, 72, - 72, 72, 72, 72, 72, 5, 72, 72, 72, 72, - 33, 72, 72, 72, 72, 72, 72, 72, 72, 72, - - 72, 72, 72, 72, 72, 78, 76, 74, 0, 80, - 68, 68, 0, 69, 67, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 4, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 69, 72, 72, 44, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 35, 3, 72, 72, 72, 6, 7, 72, 72, - 72, 72, 72, 72, 36, 72, 20, 72, 39, 72, - - 72, 72, 72, 72, 72, 37, 72, 72, 72, 23, - 72, 10, 32, 72, 58, 72, 72, 72, 72, 45, - 72, 72, 72, 72, 46, 72, 47, 48, 72, 72, - 8, 72, 11, 19, 72, 72, 64, 72, 72, 27, - 72, 72, 72, 72, 72, 26, 72, 72, 72, 72, - 72, 72, 1, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 24, 72, 72, 12, 72, 72, 72, 38, 15, - 13, 2, 72, 72, 72, 72, 62, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 61, 72, 72, 72, - - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 25, 72, 14, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 40, 72, 72, 72, 72, 72, 17, 16, - 72, 22, 72, 72, 72, 72, 72, 72, 59, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 30, 34, 72, 72, 21, 18, 72, - 72, 72, 72, 72, 72, 42, 72, 72, 72, 72, - 72, 72, 29, 31, 28, 52, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 57, 72, 72, 72, - 50, 54, 53, 72, 72, 72, 72, 63, 72, 72, - - 72, 72, 41, 55, 56, 72, 49, 51, 72, 72, - 43, 72, 60, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 4, 5, 1, 1, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 18, - 19, 18, 18, 18, 18, 18, 18, 20, 21, 22, - 23, 24, 25, 1, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 33, 33, 35, 36, 37, 38, 39, - 33, 40, 41, 42, 43, 33, 33, 44, 45, 33, - 46, 1, 47, 48, 33, 1, 49, 50, 51, 52, - - 53, 54, 55, 56, 57, 58, 33, 59, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 33, 73, 74, 75, 76, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[77] = - { 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 3, 3, 1, - 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, - 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 1, 1, 1, 3, 3, - 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 1, 1, 1, 1 - } ; - -static yyconst short int yy_base[423] = - { 0, - 0, 0, 74, 75, 76, 77, 511, 512, 508, 512, - 512, 504, 435, 499, 73, 73, 78, 469, 467, 68, - 0, 469, 64, 477, 434, 53, 439, 52, 65, 68, - 432, 437, 449, 20, 51, 444, 58, 61, 430, 73, - 83, 512, 479, 0, 512, 419, 491, 487, 512, 512, - 483, 512, 512, 487, 119, 128, 142, 0, 0, 108, - 451, 427, 426, 424, 450, 425, 421, 110, 444, 446, - 451, 442, 411, 89, 428, 92, 0, 410, 407, 421, - 410, 423, 422, 405, 408, 0, 409, 407, 414, 405, - 0, 408, 397, 400, 96, 393, 108, 403, 388, 390, - - 404, 391, 398, 397, 396, 512, 0, 0, 449, 512, - 147, 512, 150, 157, 0, 416, 414, 414, 391, 380, - 394, 407, 395, 375, 385, 374, 414, 396, 408, 405, - 374, 376, 381, 367, 369, 365, 377, 369, 367, 365, - 359, 370, 0, 373, 366, 359, 368, 367, 366, 352, - 120, 349, 348, 354, 347, 350, 345, 344, 350, 343, - 341, 355, 339, 346, 512, 374, 377, 0, 342, 344, - 347, 359, 347, 336, 337, 330, 352, 357, 348, 361, - 128, 0, 0, 324, 327, 321, 0, 0, 320, 321, - 317, 318, 316, 321, 0, 322, 0, 315, 0, 326, - - 325, 317, 311, 323, 317, 0, 322, 304, 321, 0, - 302, 0, 316, 315, 348, 324, 327, 297, 304, 0, - 309, 309, 307, 302, 161, 324, 0, 0, 308, 307, - 0, 294, 0, 0, 287, 288, 0, 295, 298, 0, - 280, 297, 283, 294, 285, 0, 294, 288, 278, 281, - 292, 271, 0, 310, 304, 287, 264, 148, 275, 296, - 296, 271, 302, 281, 280, 269, 259, 289, 266, 267, - 270, 0, 269, 259, 0, 263, 251, 251, 0, 0, - 0, 0, 264, 267, 256, 261, 0, 275, 254, 272, - 249, 259, 255, 257, 257, 250, 0, 254, 236, 253, - - 252, 274, 240, 231, 236, 230, 234, 228, 228, 235, - 0, 234, 0, 229, 252, 235, 225, 220, 227, 223, - 225, 222, 239, 230, 214, 217, 210, 234, 0, 0, - 208, 0, 208, 220, 219, 218, 211, 202, 0, 217, - 210, 199, 212, 197, 210, 209, 196, 198, 202, 205, - 238, 222, 189, 0, 0, 188, 187, 0, 0, 185, - 184, 190, 184, 204, 171, 183, 170, 147, 146, 197, - 186, 176, 0, 0, 0, 0, 146, 151, 142, 179, - 140, 144, 144, 185, 184, 173, 0, 162, 144, 145, - 0, 0, 0, 166, 128, 164, 163, 0, 149, 125, - - 136, 134, 0, 0, 0, 140, 0, 0, 121, 95, - 0, 89, 0, 512, 225, 229, 233, 237, 239, 243, - 247, 102 - } ; - -static yyconst short int yy_def[423] = - { 0, - 414, 1, 415, 415, 416, 416, 414, 414, 414, 414, - 414, 417, 414, 418, 414, 414, 414, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 414, 414, 420, 414, 420, 414, 417, 414, 414, - 418, 414, 414, 421, 414, 414, 414, 422, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 414, 420, 420, 421, 414, - 414, 414, 414, 414, 422, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 414, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 0, 414, 414, 414, 414, 414, 414, - 414, 414 - } ; - -static yyconst short int yy_nxt[589] = - { 0, - 8, 9, 10, 11, 12, 13, 11, 14, 11, 11, - 11, 11, 11, 11, 11, 15, 16, 17, 17, 11, - 11, 11, 11, 11, 11, 18, 19, 20, 21, 21, - 22, 21, 21, 23, 21, 21, 21, 21, 21, 24, - 21, 21, 21, 21, 21, 11, 11, 11, 25, 21, - 26, 27, 28, 29, 21, 21, 30, 31, 21, 32, - 33, 34, 35, 21, 36, 37, 38, 39, 40, 41, - 21, 21, 11, 11, 11, 11, 10, 10, 45, 45, - 91, 46, 46, 53, 43, 43, 92, 55, 54, 56, - 56, 56, 55, 62, 56, 56, 56, 63, 70, 93, - - 71, 74, 57, 64, 115, 65, 66, 57, 67, 68, - 78, 75, 79, 99, 76, 94, 100, 82, 413, 96, - 80, 86, 81, 83, 97, 57, 84, 98, 87, 102, - 57, 104, 85, 412, 103, 111, 111, 111, 105, 116, - 125, 117, 55, 58, 56, 56, 56, 132, 57, 112, - 126, 135, 136, 113, 133, 113, 155, 57, 114, 114, - 114, 152, 153, 111, 111, 111, 114, 114, 114, 156, - 200, 57, 112, 114, 114, 114, 57, 112, 229, 263, - 57, 291, 201, 411, 410, 292, 409, 165, 408, 407, - 406, 405, 404, 403, 402, 401, 400, 230, 399, 57, - - 112, 398, 397, 396, 395, 394, 393, 392, 391, 264, - 165, 390, 389, 388, 387, 386, 385, 384, 383, 382, - 265, 381, 380, 266, 267, 42, 42, 42, 42, 44, - 44, 44, 44, 48, 379, 48, 48, 51, 378, 51, - 51, 59, 59, 107, 377, 107, 107, 109, 109, 109, - 109, 376, 375, 374, 373, 372, 371, 370, 369, 368, - 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, - 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, - 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, - 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, - - 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, - 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, - 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, - 297, 296, 295, 294, 293, 290, 289, 288, 287, 286, - 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, - 275, 274, 273, 272, 271, 270, 269, 268, 262, 261, - 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, - 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, - 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, - 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, - - 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, - 208, 207, 206, 205, 204, 203, 202, 199, 198, 197, - 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, - 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, - 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, - 166, 110, 164, 163, 162, 161, 160, 159, 158, 157, - 154, 151, 150, 149, 148, 147, 146, 145, 144, 143, - 142, 141, 140, 139, 138, 137, 134, 131, 130, 129, - 128, 127, 124, 123, 122, 121, 120, 119, 118, 110, - 52, 49, 47, 108, 106, 101, 95, 90, 89, 88, - - 77, 73, 72, 69, 61, 60, 52, 50, 49, 47, - 414, 7, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414 - } ; - -static yyconst short int yy_chk[589] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, - 34, 5, 6, 15, 3, 4, 34, 16, 15, 16, - 16, 16, 17, 20, 17, 17, 17, 20, 23, 35, - - 23, 26, 16, 20, 422, 20, 20, 17, 20, 20, - 28, 26, 28, 38, 26, 35, 38, 29, 412, 37, - 28, 30, 28, 29, 37, 16, 29, 37, 30, 40, - 17, 41, 29, 410, 40, 55, 55, 55, 41, 60, - 68, 60, 56, 16, 56, 56, 56, 74, 55, 55, - 68, 76, 76, 57, 74, 57, 97, 56, 57, 57, - 57, 95, 95, 111, 111, 111, 113, 113, 113, 97, - 151, 55, 55, 114, 114, 114, 111, 111, 181, 225, - 56, 258, 151, 409, 406, 258, 402, 114, 401, 400, - 399, 397, 396, 395, 394, 390, 389, 181, 388, 111, - - 111, 386, 385, 384, 383, 382, 381, 380, 379, 225, - 114, 378, 377, 372, 371, 370, 369, 368, 367, 366, - 225, 365, 364, 225, 225, 415, 415, 415, 415, 416, - 416, 416, 416, 417, 363, 417, 417, 418, 362, 418, - 418, 419, 419, 420, 361, 420, 420, 421, 421, 421, - 421, 360, 357, 356, 353, 352, 351, 350, 349, 348, - 347, 346, 345, 344, 343, 342, 341, 340, 338, 337, - 336, 335, 334, 333, 331, 328, 327, 326, 325, 324, - 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, - 312, 310, 309, 308, 307, 306, 305, 304, 303, 302, - - 301, 300, 299, 298, 296, 295, 294, 293, 292, 291, - 290, 289, 288, 286, 285, 284, 283, 278, 277, 276, - 274, 273, 271, 270, 269, 268, 267, 266, 265, 264, - 263, 262, 261, 260, 259, 257, 256, 255, 254, 252, - 251, 250, 249, 248, 247, 245, 244, 243, 242, 241, - 239, 238, 236, 235, 232, 230, 229, 226, 224, 223, - 222, 221, 219, 218, 217, 216, 215, 214, 213, 211, - 209, 208, 207, 205, 204, 203, 202, 201, 200, 198, - 196, 194, 193, 192, 191, 190, 189, 186, 185, 184, - 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, - - 170, 169, 167, 166, 164, 163, 162, 161, 160, 159, - 158, 157, 156, 155, 154, 153, 152, 150, 149, 148, - 147, 146, 145, 144, 142, 141, 140, 139, 138, 137, - 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, - 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, - 116, 109, 105, 104, 103, 102, 101, 100, 99, 98, - 96, 94, 93, 92, 90, 89, 88, 87, 85, 84, - 83, 82, 81, 80, 79, 78, 75, 73, 72, 71, - 70, 69, 67, 66, 65, 64, 63, 62, 61, 54, - 51, 48, 47, 46, 43, 39, 36, 33, 32, 31, - - 27, 25, 24, 22, 19, 18, 14, 13, 12, 9, - 7, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -// rcg10042001 Changed to specify Ecc directory... -#include "Ecc/StdH.h" -#include "Ecc/Main.h" -#include "Ecc/Parser.h" - -#define YY_NEVER_INTERACTIVE 1 - - -int iLastLine = -1; - -#define RETURN(symbolname) \ - if (iLastLine==_iLinesCt || !_bTrackLineInformation){\ - yylval = yytext; \ - } else { \ - char strLine[200]; \ - sprintf(strLine, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ - yylval = SType(strLine)+yytext; \ - iLastLine=_iLinesCt; \ - } \ - return symbolname; - -char *_strCppBlock; - -#define COMMENT 1 - -#define CPPBLOCK 2 - -#line 660 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 38 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" - - - /* standard cpp-keywords */ -#line 811 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 512 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 41 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_while);} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 42 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_switch);} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 43 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_case);} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 44 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_for);} - YY_BREAK -case 5: -YY_RULE_SETUP -#line 45 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_if);} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 46 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_else);} - YY_BREAK -case 7: -YY_RULE_SETUP -#line 47 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_enum);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 48 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_class);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 49 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_do);} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 50 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_void);} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 51 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_const);} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 52 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_inline);} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 53 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_static);} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 54 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_virtual);} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 55 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_return);} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 56 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_autowait);} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 57 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_autocall);} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 58 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_waitevent);} - YY_BREAK -/* aditional keywords */ -case 19: -YY_RULE_SETUP -#line 61 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_event);} - YY_BREAK -case 20: -YY_RULE_SETUP -#line 62 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_name);} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 63 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_thumbnail);} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 64 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_features);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 65 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_uses);} - YY_BREAK -case 24: -YY_RULE_SETUP -#line 66 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_export);} - YY_BREAK -case 25: -YY_RULE_SETUP -#line 68 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_texture);} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 69 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_sound);} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 70 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_model);} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 72 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_properties);} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 73 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_components);} - YY_BREAK -case 30: -YY_RULE_SETUP -#line 74 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_functions);} - YY_BREAK -case 31: -YY_RULE_SETUP -#line 75 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_procedures);} - YY_BREAK -case 32: -YY_RULE_SETUP -#line 77 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_wait );} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 78 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_on );} - YY_BREAK -case 34: -YY_RULE_SETUP -#line 79 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_otherwise);} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 81 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_call );} - YY_BREAK -case 36: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_jump );} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_stop );} - YY_BREAK -case 38: -YY_RULE_SETUP -#line 84 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_resume );} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 85 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_pass );} - YY_BREAK -/* special data types */ -case 40: -YY_RULE_SETUP -#line 88 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTString);} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 89 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTStringTrans);} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 90 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTFileName);} - YY_BREAK -case 43: -YY_RULE_SETUP -#line 91 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTFileNameNoDep);} - YY_BREAK -case 44: -YY_RULE_SETUP -#line 92 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_BOOL);} - YY_BREAK -case 45: -YY_RULE_SETUP -#line 93 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_COLOR);} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOAT);} - YY_BREAK -case 47: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_INDEX);} - YY_BREAK -case 48: -YY_RULE_SETUP -#line 96 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_RANGE);} - YY_BREAK -case 49: -YY_RULE_SETUP -#line 97 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CEntityPointer);} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 98 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CModelObject);} - YY_BREAK -case 51: -YY_RULE_SETUP -#line 99 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CModelInstance);} - YY_BREAK -case 52: -YY_RULE_SETUP -#line 100 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CAnimObject);} - YY_BREAK -case 53: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CSoundObject);} - YY_BREAK -case 54: -YY_RULE_SETUP -#line 102 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CPlacement3D);} - YY_BREAK -case 55: -YY_RULE_SETUP -#line 103 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATaabbox3D);} - YY_BREAK -case 56: -YY_RULE_SETUP -#line 104 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATmatrix3D);} - YY_BREAK -case 57: -YY_RULE_SETUP -#line 105 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATquat3D);} - YY_BREAK -case 58: -YY_RULE_SETUP -#line 106 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANGLE);}; - YY_BREAK -case 59: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANIMATION);}; - YY_BREAK -case 60: -YY_RULE_SETUP -#line 108 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ILLUMINATIONTYPE);}; - YY_BREAK -case 61: -YY_RULE_SETUP -#line 109 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOAT3D);}; - YY_BREAK -case 62: -YY_RULE_SETUP -#line 110 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANGLE3D);}; - YY_BREAK -case 63: -YY_RULE_SETUP -#line 111 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATplane3D);}; - YY_BREAK -case 64: -YY_RULE_SETUP -#line 112 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLAGS);}; - YY_BREAK -/* single character operators and punctuations */ -case 65: -YY_RULE_SETUP -#line 115 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - RETURN(yytext[0]);} - YY_BREAK -/* constants */ -case 66: -YY_RULE_SETUP -#line 119 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 67: -YY_RULE_SETUP -#line 120 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int)}; - YY_BREAK -case 68: -YY_RULE_SETUP -#line 121 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 69: -YY_RULE_SETUP -#line 122 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 70: -YY_RULE_SETUP -#line 123 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_string); } - YY_BREAK -case 71: -YY_RULE_SETUP -#line 124 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_char); } - YY_BREAK -/* identifier */ -case 72: -YY_RULE_SETUP -#line 127 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(identifier);} - YY_BREAK -/* specially bracketed cpp blocks */ -case 73: -YY_RULE_SETUP -#line 130 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - char strLine[80]; - sprintf(strLine, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); - _strCppBlock = strdup(strLine); - BEGIN(CPPBLOCK); -} - YY_BREAK -case 74: -YY_RULE_SETUP -#line 136 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - BEGIN(INITIAL); - yylval = SType(_strCppBlock); - return cppblock; -} - YY_BREAK -case 75: -YY_RULE_SETUP -#line 141 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _iLinesCt++; - _strCppBlock = (SType(_strCppBlock)+yytext).strString; - } - YY_BREAK -case 76: -YY_RULE_SETUP -#line 145 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _strCppBlock = (SType(_strCppBlock)+yytext).strString; -} - YY_BREAK -/* eat up comments */ -case 77: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 78: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 79: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{} - YY_BREAK -case 80: -YY_RULE_SETUP -#line 153 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ _iLinesCt++; } - YY_BREAK -/* eat up whitespace */ -case 81: -YY_RULE_SETUP -#line 156 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 82: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _iLinesCt++; - } - YY_BREAK -/* for all unrecognized characters */ -case 83: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - // report an error - char strError[80]; - sprintf(strError, "Unrecognized character '%c' (ASCII 0x%02x)\n", - yytext[0], yytext[0] ); - yyerror(strError); -} - YY_BREAK -case 84: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1348 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(CPPBLOCK): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 414); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -yyconst char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 171 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" - - From 11db0d533a74ea484a87cd802a955fd3cd7c6aa9 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 01:55:29 +0200 Subject: [PATCH 20/62] Added more generated files to gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 95388c3..5213d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -45,9 +45,12 @@ Debug/ # Generated configuration files *.plr Temp/ConsoleHistory.txt +Temp/Profile_CSG.txt *.log *.rpt # crashinfo *.gms +Data/*.pri +Data/*.bin Scripts/PersistentSymbols.ini # Files generated by ECC From db1ad823cec3cf4d8379da9c10bb5c5aa041c872 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 01:57:46 +0200 Subject: [PATCH 21/62] Added another Visual Studio file to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5213d5f..149ffa9 100644 --- a/.gitignore +++ b/.gitignore @@ -41,6 +41,7 @@ Debug/ *.opensdf *.suo *.tlog +*.ipch # Generated configuration files *.plr From b2745c617f97f56398e78f749794987009428cfb Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 02:05:30 +0200 Subject: [PATCH 22/62] Removed more generated files --- Sources/Engine/Base/Scanner.cpp | 2037 ------------------------ Sources/Engine/Ska/smcPars.cpp | 1142 -------------- Sources/Engine/Ska/smcScan.cpp | 1869 ---------------------- Sources/SeriousSkaStudio/Scanner.cpp | 2146 -------------------------- 4 files changed, 7194 deletions(-) delete mode 100644 Sources/Engine/Base/Scanner.cpp delete mode 100644 Sources/Engine/Ska/smcPars.cpp delete mode 100644 Sources/Engine/Ska/smcScan.cpp delete mode 100644 Sources/SeriousSkaStudio/Scanner.cpp diff --git a/Sources/Engine/Base/Scanner.cpp b/Sources/Engine/Base/Scanner.cpp deleted file mode 100644 index f60f4a2..0000000 --- a/Sources/Engine/Base/Scanner.cpp +++ /dev/null @@ -1,2037 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" -#include "StdH.h" - -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.81 95/03/20 14:02:24 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -//#ifdef c_plusplus -//#ifndef __cplusplus -//#define __cplusplus -//#endif -//#endif - -#if 1 //def __cplusplus - - #include - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS - - /* The "const" storage-class-modifier is valid. */ - #define YY_USE_CONST - -#else /* ! __cplusplus */ - - #if __STDC__ - - #define YY_USE_PROTOS - #define YY_USE_CONST - - #endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( const char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( const char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -//static - void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 50 -#define YY_END_OF_BUFFER 51 -static yyconst short int yy_accept[165] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, - 51, 49, 47, 48, 29, 49, 49, 29, 29, 49, - 29, 30, 30, 29, 29, 29, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 38, 29, 39, - 45, 45, 42, 40, 41, 4, 4, 48, 2, 5, - 5, 6, 49, 6, 5, 47, 24, 0, 34, 0, - 37, 27, 0, 0, 43, 0, 32, 30, 0, 0, - 26, 21, 23, 22, 25, 36, 36, 36, 36, 36, - 36, 36, 36, 18, 36, 36, 36, 36, 36, 36, - 28, 44, 0, 3, 0, 2, 5, 5, 5, 0, - - 5, 0, 34, 37, 35, 35, 0, 46, 32, 32, - 0, 33, 31, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 15, 36, 36, 5, 33, 36, 36, - 36, 36, 19, 36, 17, 36, 36, 16, 12, 10, - 36, 7, 8, 11, 0, 36, 36, 36, 36, 36, - 0, 20, 14, 36, 36, 36, 20, 1, 36, 9, - 36, 36, 13, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 5, 6, 1, 7, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 21, 22, 23, - 24, 25, 26, 1, 27, 28, 29, 30, 31, 32, - 33, 33, 34, 33, 33, 35, 33, 36, 37, 33, - 33, 33, 38, 39, 33, 33, 33, 40, 33, 33, - 41, 42, 43, 44, 33, 1, 28, 28, 45, 46, - - 47, 48, 49, 50, 51, 33, 33, 52, 33, 53, - 54, 55, 33, 56, 57, 58, 59, 60, 33, 61, - 33, 33, 62, 63, 64, 65, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[66] = - { 0, - 1, 1, 2, 2, 1, 2, 1, 1, 1, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, - 1, 2, 1, 1, 1, 1, 5, 5, 5, 5, - 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, - 1, 1, 1, 1, 5, 5, 5, 5, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 1, 1, 1, 1 - } ; - -static yyconst short int yy_base[179] = - { 0, - 0, 0, 63, 64, 65, 66, 68, 76, 81, 89, - 323, 324, 71, 324, 298, 75, 0, 324, 312, 278, - 76, 79, 85, 77, 295, 82, 0, 279, 282, 280, - 261, 36, 267, 60, 65, 256, 258, 324, 248, 324, - 324, 292, 324, 324, 324, 303, 116, 302, 324, 265, - 131, 324, 103, 324, 82, 132, 324, 108, 324, 109, - 0, 324, 296, 295, 324, 301, 122, 127, 141, 0, - 324, 324, 324, 324, 324, 0, 265, 265, 271, 247, - 242, 240, 245, 0, 251, 239, 237, 246, 245, 240, - 324, 324, 284, 324, 160, 324, 247, 121, 135, 137, - - 324, 142, 143, 0, 324, 278, 284, 324, 156, 324, - 148, 161, 0, 228, 258, 253, 226, 235, 234, 225, - 206, 187, 150, 0, 151, 159, 150, 324, 146, 162, - 160, 140, 148, 141, 0, 137, 144, 0, 0, 0, - 143, 0, 0, 0, 155, 143, 137, 143, 129, 130, - 134, 0, 0, 131, 114, 122, 324, 0, 118, 0, - 85, 32, 0, 324, 209, 215, 221, 227, 233, 235, - 241, 244, 250, 256, 262, 265, 271, 274 - } ; - -static yyconst short int yy_def[179] = - { 0, - 164, 1, 165, 165, 166, 166, 167, 167, 168, 168, - 164, 164, 164, 164, 164, 169, 170, 164, 164, 171, - 164, 164, 164, 164, 164, 164, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 164, 164, 164, - 164, 164, 164, 164, 164, 173, 173, 173, 164, 174, - 174, 164, 175, 164, 174, 164, 164, 169, 164, 169, - 176, 164, 164, 164, 164, 177, 164, 164, 164, 178, - 164, 164, 164, 164, 164, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 164, 164, 173, 164, 173, 164, 174, 174, 174, 175, - - 164, 175, 169, 176, 164, 164, 177, 164, 164, 164, - 164, 164, 178, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 175, 164, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 164, 172, 172, 172, 172, 172, - 164, 172, 172, 172, 172, 172, 164, 172, 172, 172, - 172, 172, 172, 0, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yyconst short int yy_nxt[390] = - { 0, - 12, 13, 14, 13, 15, 16, 17, 18, 19, 20, - 18, 18, 18, 18, 18, 18, 18, 21, 22, 23, - 18, 18, 24, 25, 26, 18, 27, 27, 28, 27, - 27, 29, 27, 30, 27, 27, 27, 27, 27, 27, - 18, 12, 18, 18, 31, 27, 32, 27, 27, 33, - 34, 27, 27, 27, 35, 27, 27, 27, 36, 37, - 27, 38, 39, 40, 18, 14, 14, 14, 14, 47, - 48, 47, 56, 49, 56, 42, 42, 47, 48, 47, - 59, 49, 51, 52, 13, 97, 53, 81, 65, 163, - 51, 52, 13, 66, 53, 67, 82, 68, 68, 71, - - 72, 67, 54, 68, 68, 74, 75, 84, 101, 69, - 54, 86, 85, 59, 103, 69, 60, 95, 87, 95, - 88, 96, 55, 98, 97, 69, 44, 44, 45, 45, - 55, 69, 99, 56, 56, 56, 99, 162, 56, 70, - 109, 109, 101, 67, 102, 68, 68, 127, 59, 60, - 60, 145, 69, 110, 111, 101, 111, 69, 145, 112, - 112, 95, 98, 95, 161, 96, 112, 112, 69, 110, - 160, 159, 98, 69, 109, 109, 98, 158, 102, 112, - 112, 157, 156, 102, 60, 155, 69, 110, 154, 153, - 152, 102, 128, 150, 149, 148, 147, 144, 146, 143, - - 142, 141, 69, 110, 140, 151, 139, 138, 128, 41, - 41, 41, 41, 41, 41, 43, 43, 43, 43, 43, - 43, 46, 46, 46, 46, 46, 46, 50, 50, 50, - 50, 50, 50, 58, 58, 58, 58, 58, 58, 61, - 61, 63, 63, 137, 63, 63, 63, 76, 76, 76, - 93, 93, 93, 93, 93, 93, 97, 136, 97, 97, - 97, 97, 100, 100, 100, 100, 100, 100, 104, 104, - 104, 107, 107, 107, 107, 107, 107, 113, 113, 135, - 134, 133, 132, 131, 130, 129, 108, 105, 98, 94, - 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, - - 116, 115, 114, 108, 106, 105, 98, 94, 94, 92, - 91, 90, 89, 83, 80, 79, 78, 77, 73, 64, - 62, 57, 164, 11, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yyconst short int yy_chk[390] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 4, 5, 6, 7, - 7, 7, 13, 7, 13, 3, 4, 8, 8, 8, - 16, 8, 9, 9, 9, 55, 9, 32, 21, 162, - 10, 10, 10, 21, 10, 22, 32, 22, 22, 24, - - 24, 23, 9, 23, 23, 26, 26, 34, 53, 22, - 10, 35, 34, 58, 60, 23, 16, 47, 35, 47, - 35, 47, 9, 55, 98, 22, 5, 6, 5, 6, - 10, 23, 51, 56, 51, 56, 99, 161, 99, 22, - 67, 67, 100, 68, 53, 68, 68, 102, 103, 58, - 60, 133, 67, 67, 69, 127, 69, 68, 145, 69, - 69, 95, 98, 95, 159, 95, 111, 111, 67, 67, - 156, 155, 51, 68, 109, 109, 99, 154, 100, 112, - 112, 151, 150, 102, 103, 149, 109, 109, 148, 147, - 146, 127, 112, 141, 137, 136, 134, 132, 133, 131, - - 130, 129, 109, 109, 126, 145, 125, 123, 112, 165, - 165, 165, 165, 165, 165, 166, 166, 166, 166, 166, - 166, 167, 167, 167, 167, 167, 167, 168, 168, 168, - 168, 168, 168, 169, 169, 169, 169, 169, 169, 170, - 170, 171, 171, 122, 171, 171, 171, 172, 172, 172, - 173, 173, 173, 173, 173, 173, 174, 121, 174, 174, - 174, 174, 175, 175, 175, 175, 175, 175, 176, 176, - 176, 177, 177, 177, 177, 177, 177, 178, 178, 120, - 119, 118, 117, 116, 115, 114, 107, 106, 97, 93, - 90, 89, 88, 87, 86, 85, 83, 82, 81, 80, - - 79, 78, 77, 66, 64, 63, 50, 48, 46, 42, - 39, 37, 36, 33, 31, 30, 29, 28, 25, 20, - 19, 15, 11, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -#include "ParsingSymbols.h" -#include "Parser.h" - -#include -#include -#include -#include -#include - -#include - -#define YY_DECL int yylex (YYSTYPE *lvalp) -#define yylval (*lvalp) - -int yywrap(void) -{ - // no more bufers - return 1; -}; - -static int _iBlockDepth = 0; -static int _iDummyDepth = 0; -static CTString _strCmd = ""; // currently parsed command -static int _ctCmdParam = 1; // current parameter index -static BOOL _bCmdParamCountErrorReported = FALSE; - -void TranscriptEsc(CTString &str) -{ - char *pchSrc = (char *)(const char *)str; - char *pchDst = (char *)(const char *)str; - // if quoted - if (pchDst[0] == '"') { - int len = strlen(pchDst); - pchDst[len-1] = 0; - memmove(pchDst, pchDst+1, len-1); - } - for (;;pchSrc++, pchDst++) { - if (*pchSrc==0) { - break; - } - if (*pchSrc!='\\') { - *pchDst = *pchSrc; - continue; - } - pchSrc++; - switch(*pchSrc) { - case 'n': *pchDst = 10; break; - case 'r': *pchDst = 13; break; - default: *pchDst = *pchSrc; break; - } - } - *pchDst=0; -} - -#define COMMENT 1 - -#define DUMMYBLOCK 2 - -#define INCLUDE 3 - -#define COMMAND 4 - -#line 591 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 75 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" - - - /*\0 yyterminate();*/ - - /* Include file parsing. */ -#line 720 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 324 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 80 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -/* eat the whitespace until first quote */ - YY_BREAK -case 3: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ /* get the include file name until second quote */ - if (ShellGetBufferStackDepth() >= SHELL_MAX_INCLUDE_LEVEL) { - _pShell->ErrorF("Script files nested too deeply"); - } - char strFileName[256]; - strcpy(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - CTString strIncludeFile; - try { - strIncludeFile.Load_t(CTString(strFileName)); - ShellPushBuffer(strFileName, strIncludeFile, FALSE); - - } catch(char *strError) { - _pShell->ErrorF("Cannot load script file '%s': %s", yytext, strError); - } - BEGIN(INITIAL); -} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ /* something unrecognized inside include statement */ - _pShell->ErrorF("Wrong syntax for include statement"); - BEGIN(INITIAL); -} - YY_BREAK -/* command parsing */ -case 5: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ // for each parameter - _ctCmdParam++; - CTString strParam = yytext; - TranscriptEsc(strParam); - // insert the parameter in the command string - CTString strParamNo = CTString(1, "%%%d", _ctCmdParam); - if (strParam.FindSubstr(strParamNo)!=-1) { - _pShell->ErrorF("Parameter substitution recursion detected!"); - } else { - INDEX ctFound=0; - for(;; ctFound++) { - if (!_strCmd.ReplaceSubstr(strParamNo, strParam)) { - break; - } - } - // if not found and parameter count error not reported yet - if (ctFound==0 && !_bCmdParamCountErrorReported) { - // report error - _bCmdParamCountErrorReported = TRUE; - _pShell->ErrorF("Too many parameters for command expansion"); - } - } -} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 130 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // at the end of the command - - // switch to the new input buffer with that command - ShellPushBuffer(ShellGetBufferName(), _strCmd, FALSE); - BEGIN(INITIAL); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(DUMMYBLOCK): -case YY_STATE_EOF(INCLUDE): -case YY_STATE_EOF(COMMAND): -#line 138 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - if (ShellPopBuffer()) { - yyterminate(); - } -} - YY_BREAK -/* special data types */ -case 7: -YY_RULE_SETUP -#line 145 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_FLOAT);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 146 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_INDEX);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 147 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_CTString);} - YY_BREAK -/* keywords */ -case 10: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_void); } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_const); } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_user); } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 153 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_persistent); } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 154 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_extern); } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 155 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_pre); } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 156 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_post); } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 157 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_help); } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 158 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_if); } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_else); } - YY_BREAK -case 20: -YY_RULE_SETUP -#line 160 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_else_if); } - YY_BREAK -case 21: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LEQ); } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (GEQ); } - YY_BREAK -case 23: -YY_RULE_SETUP -#line 164 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (EQ); } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 165 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (NEQ); } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 167 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (SHR); } - YY_BREAK -case 26: -YY_RULE_SETUP -#line 168 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (SHL); } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 170 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LOGAND); } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LOGOR); } - YY_BREAK -/* single character operators and punctuations */ -case 29: -YY_RULE_SETUP -#line 174 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 30: -YY_RULE_SETUP -#line 178 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.iIndex = atoi(yytext); return(c_int); } - YY_BREAK -case 31: -YY_RULE_SETUP -#line 179 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.iIndex = strtoul(yytext+2, NULL, 16); return(c_int); } - YY_BREAK -case 32: -YY_RULE_SETUP -#line 180 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.fFloat = (float) atof(yytext); return(c_float); } - YY_BREAK -case 33: -YY_RULE_SETUP -#line 181 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.fFloat = (float) atof(yytext); return(c_float); } - YY_BREAK -case 34: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - CTString &strNew = _shell_astrTempStrings.Push(); - // remove double-quotes - strNew = yytext; - // parse escape symbols and remove double quotes - TranscriptEsc(strNew); - yylval.val.strString = (const char*)strNew; - return(c_string); -} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 191 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(c_char); } - YY_BREAK -/* identifier */ -case 36: -YY_RULE_SETUP -#line 194 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // get the symbol - yylval.pssSymbol = _pShell->GetSymbol(yytext, FALSE); - BOOL bCommand = FALSE; - // if it is string - if (_shell_ast[yylval.pssSymbol->ss_istType].st_sttType==STT_STRING) { - // get the value - CTString str = *(CTString*)yylval.pssSymbol->ss_pvValue; - // if the value tells that it is a command - if (str.RemovePrefix("!command ")) { - // parse the command - bCommand = TRUE; - _strCmd = str; - _ctCmdParam = 0; - _bCmdParamCountErrorReported = FALSE; - BEGIN(COMMAND); - } - } - // normally, just return the identifier - if (!bCommand) { - return(identifier); - } -} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 217 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ // special case of identifier, used to bypass command parsing - // get the symbol - yylval.pssSymbol = _pShell->GetSymbol(yytext+1, FALSE); - return(identifier); -} - YY_BREAK -/* eat up or execute blocks */ -case 38: -YY_RULE_SETUP -#line 224 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth++; - if (!_bExecNextBlock) { - _iDummyDepth++; - BEGIN(DUMMYBLOCK); - } - return block_beg; -} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 233 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth--; - if (_iBlockDepth<0) { - _pShell->ErrorF("Mismatched '}'"); - } - return block_end; -} - YY_BREAK -case 40: -YY_RULE_SETUP -#line 240 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth++; - _iDummyDepth++; -} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 244 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth--; - _iDummyDepth--; - if (_iDummyDepth==0) { - BEGIN(INITIAL); - return block_end; - } -} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 252 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{} - YY_BREAK -/* eat up comments */ -case 43: -YY_RULE_SETUP -#line 255 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 44: -YY_RULE_SETUP -#line 256 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 45: -YY_RULE_SETUP -#line 257 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 258 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ ShellCountOneLine(); } - YY_BREAK -/* eat up whitespace */ -case 47: -YY_RULE_SETUP -#line 262 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 48: -YY_RULE_SETUP -#line 265 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - ShellCountOneLine(); -} - YY_BREAK -/* for all unrecognized characters */ -case 49: -YY_RULE_SETUP -#line 270 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // report an error - _pShell->ErrorF("Unrecognized character '%c' (ASCII 0x%02x)", yytext[0], yytext[0] ); -} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 275 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1188 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 164); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -//static - void yyunput( int c, register char *yy_bp ) -#else -//static - void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#ifdef YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#ifdef YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( const char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -const char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( const char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -const char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#ifdef YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 275 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" - - diff --git a/Sources/Engine/Ska/smcPars.cpp b/Sources/Engine/Ska/smcPars.cpp deleted file mode 100644 index 6efa7c3..0000000 --- a/Sources/Engine/Ska/smcPars.cpp +++ /dev/null @@ -1,1142 +0,0 @@ - -/* A Bison parser, made from engine/ska/smcpars.y with Bison version GNU Bison version 1.24 - */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define yyparse syyparse -#define yylex syylex -#define yyerror syyerror -#define yylval syylval -#define yychar syychar -#define yydebug syydebug -#define yynerrs syynerrs -#define c_float 258 -#define c_int 259 -#define c_string 260 -#define c_modelinstance 261 -#define k_PARENTBONE 262 -#define k_SE_SMC 263 -#define k_SE_END 264 -#define k_NAME 265 -#define k_TFNM 266 -#define k_MESH 267 -#define k_SKELETON 268 -#define k_ANIMSET 269 -#define K_ANIMATION 270 -#define k_TEXTURES 271 -#define k_OFFSET 272 -#define k_COLISION 273 -#define k_ALLFRAMESBBOX 274 -#define k_ANIMSPEED 275 -#define k_COLOR 276 - -#line 1 "engine/ska/smcpars.y" - -#include -#include -#include -#include -#include -#include -#include -#include "ParsingSmbs.h" - -extern BOOL bRememberSourceFN; -BOOL bOffsetAllreadySet = FALSE; -#line 15 "engine/ska/smcpars.y" - -#define YYERROR_VERBOSE 0 -// if error occurs in parsing -void syyerror(char *str) -{ - // just report the string - _pShell->ErrorF("%s", str); -}; - -#line 27 "engine/ska/smcpars.y" -typedef union { - int i; - float f; - const char *str; - CModelInstance *pmi; - float f6[6]; -} YYSTYPE; - -#ifndef YYLTYPE -typedef - struct yyltype - { - int timestamp; - int first_line; - int first_column; - int last_line; - int last_column; - char *text; - } - yyltype; - -#define YYLTYPE yyltype -#endif - -#include - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif -#endif - - - -#define YYFINAL 123 -#define YYFLAG -32768 -#define YYNTBASE 26 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 276 ? yytranslate[x] : 55) - -static const char yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 25, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 22, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 23, 2, 24, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21 -}; - -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 1, 10, 11, 14, 16, 18, 20, 22, 24, - 26, 28, 30, 31, 33, 37, 42, 43, 45, 47, - 50, 66, 67, 69, 83, 84, 87, 101, 102, 114, - 115, 122, 127, 130, 135, 137, 140, 144, 145, 147, - 151, 152, 155, 160, 161, 164, 169, 171, 173 -}; - -static const short yyrhs[] = { -1, - 38, 10, 5, 22, 27, 23, 28, 24, 0, 0, - 29, 28, 0, 42, 0, 44, 0, 45, 0, 48, - 0, 40, 0, 32, 0, 36, 0, 30, 0, 0, - 31, 0, 21, 4, 22, 0, 18, 23, 33, 24, - 0, 0, 34, 0, 35, 0, 34, 35, 0, 5, - 23, 54, 25, 54, 25, 54, 25, 54, 25, 54, - 25, 54, 22, 24, 0, 0, 37, 0, 19, 54, - 25, 54, 25, 54, 25, 54, 25, 54, 25, 54, - 22, 0, 0, 39, 38, 0, 17, 54, 25, 54, - 25, 54, 25, 54, 25, 54, 25, 54, 22, 0, - 0, 7, 5, 22, 38, 10, 5, 22, 41, 23, - 28, 24, 0, 0, 12, 11, 5, 22, 43, 50, - 0, 13, 11, 5, 22, 0, 14, 47, 0, 14, - 23, 46, 24, 0, 47, 0, 46, 47, 0, 11, - 5, 22, 0, 0, 49, 0, 15, 5, 22, 0, - 0, 50, 51, 0, 16, 23, 52, 24, 0, 0, - 52, 53, 0, 5, 11, 5, 22, 0, 3, 0, - 4, 0, 4, 0 -}; - -#endif - -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 72, 91, 95, 96, 100, 101, 102, 103, 104, 105, - 106, 107, 111, 112, 116, 124, 130, 131, 135, 136, - 140, 150, 151, 155, 164, 174, 181, 200, 225, 234, - 240, 243, 250, 251, 255, 256, 260, 268, 269, 273, - 285, 286, 290, 294, 295, 299, 306, 310, 317 -}; - -static const char * const yytname[] = { "$","error","$undefined.","c_float", -"c_int","c_string","c_modelinstance","k_PARENTBONE","k_SE_SMC","k_SE_END","k_NAME", -"k_TFNM","k_MESH","k_SKELETON","k_ANIMSET","K_ANIMATION","k_TEXTURES","k_OFFSET", -"k_COLISION","k_ALLFRAMESBBOX","k_ANIMSPEED","k_COLOR","';'","'{'","'}'","','", -"parent_model","@1","components","component","mdl_color_opt","mdl_color","colision_header", -"colision_opt","colision_array","colision","all_frames_bbox_opt","all_frames_bbox", -"offset_opt","offset","child_model","@2","mesh","@3","skeleton","animset_header", -"animset_array","animset","animation_opt","animation","opt_textures","textures", -"textures_array","texture","float_const","\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735" -}; -#endif - -static const short yyr1[] = { 0, - 27, 26, 28, 28, 29, 29, 29, 29, 29, 29, - 29, 29, 30, 30, 31, 32, 33, 33, 34, 34, - 35, 36, 36, 37, 38, 38, 39, 41, 40, 43, - 42, 44, 45, 45, 46, 46, 47, 48, 48, 49, - 50, 50, 51, 52, 52, 53, 54, 54, -1 -}; - -static const short yyr2[] = { 0, - 0, 8, 0, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 0, 1, 3, 4, 0, 1, 1, 2, - 15, 0, 1, 13, 0, 2, 13, 0, 11, 0, - 6, 4, 2, 4, 1, 2, 3, 0, 1, 3, - 0, 2, 4, 0, 2, 4, 1, 1, 1 -}; - -static const short yydefact[] = { 25, - 0, 0, 25, 47, 48, 0, 0, 26, 0, 0, - 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 3, 12, 14, 10, - 11, 23, 9, 5, 6, 7, 8, 39, 0, 0, - 0, 0, 0, 0, 33, 0, 17, 0, 0, 2, - 4, 0, 25, 0, 0, 0, 0, 35, 40, 0, - 0, 18, 19, 0, 15, 0, 0, 30, 32, 37, - 34, 36, 0, 16, 20, 0, 0, 0, 41, 0, - 0, 0, 0, 31, 0, 0, 27, 28, 0, 42, - 0, 0, 0, 44, 0, 0, 3, 0, 0, 0, - 0, 0, 43, 45, 0, 0, 29, 0, 0, 0, - 0, 0, 0, 46, 0, 24, 0, 0, 0, 21, - 0, 0, 0 -}; - -static const short yydefgoto[] = { 121, - 14, 26, 27, 28, 29, 30, 61, 62, 63, 31, - 32, 2, 3, 33, 93, 34, 79, 35, 36, 57, - 45, 37, 38, 84, 90, 98, 104, 6 -}; - -static const short yypact[] = { -12, - 6, -4, -12,-32768,-32768, -18, 16,-32768, 6, -11, - 7,-32768, 6, 8, 9, 5, 6, 23, 19, 22, - 2, 30, 13, 6, 33, 14, 5,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 15, 17, - 36, 37, 39, 34,-32768, 24, 42, 25, 26,-32768, --32768, 6, -12, 27, 29, 31, 3,-32768,-32768, 35, - 32, 42,-32768, 6,-32768, 38, 44,-32768,-32768,-32768, --32768,-32768, 6,-32768,-32768, 40, 6, 52,-32768, 41, - 6, 45, 47, 43, 6, 48,-32768,-32768, 51,-32768, - 50, 6, 54,-32768, 6, 53, 5, -2, 55, 6, - 46, 49,-32768,-32768, 6, 56,-32768, 57, 59, 6, - 60, 6, 63,-32768, 62,-32768, 6, 66, 65,-32768, - 61, 79,-32768 -}; - -static const short yypgoto[] = {-32768, --32768, -26,-32768,-32768,-32768,-32768,-32768,-32768, 28,-32768, --32768, -1,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -28,-32768,-32768,-32768,-32768,-32768,-32768, -9 -}; - - -#define YYLAST 108 - - -static const short yytable[] = { 11, - 51, 8, 102, 15, 1, 7, 9, 39, 4, 5, - 12, 18, 43, 43, 48, 58, 19, 20, 21, 22, - 10, 103, 23, 24, 44, 25, 71, 40, 72, 41, - 16, 13, 42, 17, 46, 47, 49, 50, 53, 52, - 54, 55, 66, 56, 43, 59, 60, 65, 68, 64, - 69, 67, 70, 78, 76, 74, 83, 73, 89, 108, - 122, 111, 77, 80, 81, 85, 87, 82, 88, 107, - 101, 86, 92, 94, 95, 91, 97, 100, 123, 105, - 110, 114, 96, 112, 116, 99, 117, 119, 120, 75, - 106, 0, 0, 0, 0, 109, 0, 0, 0, 0, - 113, 0, 115, 0, 0, 0, 0, 118 -}; - -static const short yycheck[] = { 9, - 27, 3, 5, 13, 17, 10, 25, 17, 3, 4, - 22, 7, 11, 11, 24, 44, 12, 13, 14, 15, - 5, 24, 18, 19, 23, 21, 24, 5, 57, 11, - 23, 25, 11, 25, 5, 23, 4, 24, 22, 25, - 5, 5, 52, 5, 11, 22, 5, 22, 22, 25, - 22, 53, 22, 10, 64, 24, 5, 23, 16, 11, - 0, 5, 25, 73, 25, 25, 22, 77, 22, 24, - 97, 81, 25, 23, 25, 85, 23, 25, 0, 25, - 25, 22, 92, 25, 22, 95, 25, 22, 24, 62, - 100, -1, -1, -1, -1, 105, -1, -1, -1, -1, - 110, -1, 112, -1, -1, -1, -1, 117 -}; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "bison.simple" - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -#undef YYERROR_VERBOSE -#ifndef alloca -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) -#include -#else /* not sparc */ -#if defined (MSDOS) && !defined (__TURBOC__) -#include -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -#include - #pragma alloca -#else /* not MSDOS, __TURBOC__, or _AIX */ -#ifdef __hpux -#ifdef __cplusplus -extern "C" { -void *alloca (unsigned int); -}; -#else /* not __cplusplus */ -void *alloca (); -#endif /* not __cplusplus */ -#endif /* __hpux */ -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc. */ -#endif /* not GNU C. */ -#endif /* alloca not defined. */ - -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(token, value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -#ifndef YYPURE -#define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) -#endif -#else /* not YYLSP_NEEDED */ -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval) -#endif -#endif /* not YYLSP_NEEDED */ -#endif - -/* If nonreentrant, generate the variables here */ - -#ifndef YYPURE - -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ - -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ -#endif - -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ - -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ -#endif - -/* YYINITDEPTH indicates the initial size of the parser's stacks */ - -#ifndef YYINITDEPTH -#define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH is the maximum size the stacks can grow to - (effective only if the built-in stack extension method is used). */ - -#if YYMAXDEPTH == 0 -#undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 10000 -#endif - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -int yyparse (void); -#endif - -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ -#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) -#else /* not GNU C or C++ */ -#ifndef __cplusplus - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (from, to, count) - char *from; - char *to; - int count; -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#else /* __cplusplus */ - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (char *from, char *to, int count) -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#endif -#endif - -#line 192 "bison.simple" - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -#else -#define YYPARSE_PARAM -#define YYPARSE_PARAM_DECL -#endif - -int -yyparse(YYPARSE_PARAM) - YYPARSE_PARAM_DECL -{ - register int yystate; - register int yyn; - register short *yyssp; - register YYSTYPE *yyvsp; - int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1 = 0; /* lookahead token as an internal (translated) token number */ - - short yyssa[YYINITDEPTH]; /* the state stack */ - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ - - short *yyss = yyssa; /* refer to the stacks thru separate pointers */ - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ - -#ifdef YYLSP_NEEDED - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; - -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -#define YYPOPSTACK (yyvsp--, yyssp--) -#endif - - int yystacksize = YYINITDEPTH; - -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; -#endif -#endif - - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ - - int yylen; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss - 1; - yyvsp = yyvs; -#ifdef YYLSP_NEEDED - yylsp = yyls; -#endif - -/* Push a new state, which is found in yystate . */ -/* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. */ -yynewstate: - - *++yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Give user a chance to reallocate the stack */ - /* Use copies of these so that the &'s don't force the real ones into memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; -#ifdef YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; -#endif - - /* Get the current used size of the three stacks, in elements. */ - int size = yyssp - yyss + 1; - -#ifdef yyoverflow - /* Each stack pointer address is followed by the size of - the data in use in that stack, in bytes. */ -#ifdef YYLSP_NEEDED - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yyls1, size * sizeof (*yylsp), - &yystacksize); -#else - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yystacksize); -#endif - - yyss = yyss1; yyvs = yyvs1; -#ifdef YYLSP_NEEDED - yyls = yyls1; -#endif -#else /* no yyoverflow */ - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); - return 2; - } - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); - __yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); - yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); - __yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); -#ifdef YYLSP_NEEDED - yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); - __yy_memcpy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); -#endif -#endif /* no yyoverflow */ - - yyssp = yyss + size - 1; - yyvsp = yyvs + size - 1; -#ifdef YYLSP_NEEDED - yylsp = yyls + size - 1; -#endif - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Stack size increased to %d\n", yystacksize); -#endif - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Entering state %d\n", yystate); -#endif - - goto yybackup; - yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Reading a token: "); -#endif - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Now at end of input.\n"); -#endif - } - else - { - yychar1 = YYTRANSLATE(yychar); - -#if YYDEBUG != 0 - if (yydebug) - { - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise meaning - of a token, for further debugging info. */ -#ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -#endif - fprintf (stderr, ")\n"); - } -#endif - } - - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrlab; - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); -#endif - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* count tokens shifted since error; after three, turn off error status. */ - if (yyerrstatus) yyerrstatus--; - - yystate = yyn; - goto yynewstate; - -/* Do the default action for the current state. */ -yydefault: - - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - -/* Do a reduction. yyn is the number of a rule to reduce with. */ -yyreduce: - yylen = yyr2[yyn]; - if (yylen > 0) - yyval = yyvsp[1-yylen]; /* implement default value of the action */ - -#if YYDEBUG != 0 - if (yydebug) - { - int i; - - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) - fprintf (stderr, "%s ", yytname[yyrhs[i]]); - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - - switch (yyn) { - -case 1: -#line 73 "engine/ska/smcpars.y" -{ - if(_yy_mi==0) { - yyerror("_yy_mi = NULL"); - } - // create new model instance - // _yy_mi = CreateModelInstance($3); - _yy_mi->SetName(yyvsp[-1].str); - // set its offset - _yy_mi->SetOffset(yyvsp[-3].f6); - // mark offset as read - bOffsetAllreadySet = FALSE; - // check if flag to remember source file name is set - if(bRememberSourceFN) - { - // remember source file name - _yy_mi->mi_fnSourceFile = CTString(SMCGetBufferName()); - } -; - break;} -case 15: -#line 117 "engine/ska/smcpars.y" -{ - COLOR c = yyvsp[-1].i; - // _yy_mi->SetModelColor($2); -; - break;} -case 16: -#line 125 "engine/ska/smcpars.y" -{ - -; - break;} -case 21: -#line 141 "engine/ska/smcpars.y" -{ - FLOAT3D vMin = FLOAT3D(yyvsp[-12].f, yyvsp[-10].f, yyvsp[-8].f); - FLOAT3D vMax = FLOAT3D(yyvsp[-6].f,yyvsp[-4].f,yyvsp[-2].f); - // add new colision box to current model instance - _yy_mi->AddColisionBox(yyvsp[-14].str,vMin,vMax); -; - break;} -case 24: -#line 156 "engine/ska/smcpars.y" -{ - // add new colision box to current model instance - _yy_mi->mi_cbAllFramesBBox.SetMin(FLOAT3D(yyvsp[-11].f, yyvsp[-9].f, yyvsp[-7].f)); - _yy_mi->mi_cbAllFramesBBox.SetMax(FLOAT3D(yyvsp[-5].f,yyvsp[-3].f,yyvsp[-1].f)); -; - break;} -case 25: -#line 165 "engine/ska/smcpars.y" -{ - // set offset with default offset values - yyval.f6[0] = 0; - yyval.f6[1] = 0; - yyval.f6[2] = 0; - yyval.f6[3] = 0; - yyval.f6[4] = 0; - yyval.f6[5] = 0; -; - break;} -case 26: -#line 175 "engine/ska/smcpars.y" -{ - // return new offset - memcpy(yyval.f6,yyvsp[-1].f6,sizeof(float)*6); -; - break;} -case 27: -#line 182 "engine/ska/smcpars.y" -{ - // if offset is not set - if(!bOffsetAllreadySet) - { - // set offset - yyval.f6[0] = yyvsp[-11].f; - yyval.f6[1] = yyvsp[-9].f; - yyval.f6[2] = yyvsp[-7].f; - yyval.f6[3] = yyvsp[-5].f; - yyval.f6[4] = yyvsp[-3].f; - yyval.f6[5] = yyvsp[-1].f; - // mark it as set now - bOffsetAllreadySet = TRUE; - } -; - break;} -case 28: -#line 201 "engine/ska/smcpars.y" -{ - // get parent ID - int iParentBoneID = ska_FindStringInTable(yyvsp[-5].str); - if(iParentBoneID<0) iParentBoneID=0; - // remember current model instance in parent bone token - yyvsp[-6].pmi = _yy_mi; - // set _yy_mi as new child - _yy_mi = CreateModelInstance(yyvsp[-1].str); - // add child to parent model instance - yyvsp[-6].pmi->AddChild(_yy_mi); - // add offset - _yy_mi->SetOffset(yyvsp[-3].f6); - // set its parent bone - _yy_mi->SetParentBone(iParentBoneID); - // - bOffsetAllreadySet = FALSE; - // if flag to remember source file is set - if(bRememberSourceFN) - { - // remember source name - _yy_mi->mi_fnSourceFile = CTString(SMCGetBufferName()); - } -; - break;} -case 29: -#line 226 "engine/ska/smcpars.y" -{ - // set parent model instance to _yy_mi again - _yy_mi = yyvsp[-10].pmi; -; - break;} -case 30: -#line 235 "engine/ska/smcpars.y" -{ - // add mesh to current model instance - _yy_mi->AddMesh_t((CTString)yyvsp[-1].str); -; - break;} -case 32: -#line 244 "engine/ska/smcpars.y" -{ - // add skeleton to current model instance - _yy_mi->AddSkeleton_t((CTString)yyvsp[-1].str); -; - break;} -case 37: -#line 261 "engine/ska/smcpars.y" -{ - // add animset to curent model instnce - _yy_mi->AddAnimSet_t((CTString)yyvsp[-1].str); -; - break;} -case 40: -#line 274 "engine/ska/smcpars.y" -{ - // set new clear state in model instance - _yy_mi->NewClearState(1); - // get anim ID - INDEX iAnimID = ska_GetIDFromStringTable(yyvsp[-1].str); - // add animation to curent model instance - _yy_mi->AddAnimation(iAnimID,AN_LOOPING,1,0); -; - break;} -case 46: -#line 300 "engine/ska/smcpars.y" -{ - // add texture to current model instance - _yy_mi->AddTexture_t((CTString)yyvsp[-1].str,yyvsp[-3].str,NULL); -; - break;} -case 47: -#line 307 "engine/ska/smcpars.y" -{ - yyval.f = yyvsp[0].f; -; - break;} -case 48: -#line 311 "engine/ska/smcpars.y" -{ - yyval.f = (float)yyvsp[0].i; -; - break;} -case 49: -#line 318 "engine/ska/smcpars.y" -{ - yyval.i = yyvsp[0].i; -; - break;} -} - /* the action file gets copied in in place of this dollarsign */ -#line 487 "bison.simple" - - yyvsp -= yylen; - yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - -#ifdef YYLSP_NEEDED - yylsp++; - if (yylen == 0) - { - yylsp->first_line = yylloc.first_line; - yylsp->first_column = yylloc.first_column; - yylsp->last_line = (yylsp-1)->last_line; - yylsp->last_column = (yylsp-1)->last_column; - yylsp->text = 0; - } - else - { - yylsp->last_line = (yylsp+yylen-1)->last_line; - yylsp->last_column = (yylsp+yylen-1)->last_column; - } -#endif - - /* Now "shift" the result of the reduction. - Determine what state that goes to, - based on the state we popped back to - and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTBASE]; - - goto yynewstate; - -yyerrlab: /* here on detecting error */ - - if (! yyerrstatus) - /* If not already recovering from an error, report this error. */ - { - ++yynerrs; - -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && yyn < YYLAST) - { - int size = 0; - char *msg; - int x, count; - - count = 0; - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - size += strlen(yytname[x]) + 15, count++; - msg = (char *) malloc(size + 15); - if (msg != 0) - { - strcpy(msg, "parse error"); - - if (count < 5) - { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; - } - } - yyerror(msg); - free(msg); - } - else - yyerror ("parse error; also virtual memory exceeded"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror("parse error"); - } - - goto yyerrlab1; -yyerrlab1: /* here on error raised explicitly by an action */ - - if (yyerrstatus == 3) - { - /* if just tried and failed to reuse lookahead token after an error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); -#endif - - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token - after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - -yyerrdefault: /* current state does not do anything special for the error token. */ - -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ - if (yyn) goto yydefault; -#endif - -yyerrpop: /* pop the current state because it cannot handle the error token */ - - if (yyssp == yyss) YYABORT; - yyvsp--; - yystate = *--yyssp; -#ifdef YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "Error: state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - -yyerrhandle: - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - - if (yyn == YYFINAL) - YYACCEPT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting error token, "); -#endif - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - yystate = yyn; - goto yynewstate; -} -#line 323 "engine/ska/smcpars.y" diff --git a/Sources/Engine/Ska/smcScan.cpp b/Sources/Engine/Ska/smcScan.cpp deleted file mode 100644 index 9aeacf5..0000000 --- a/Sources/Engine/Ska/smcScan.cpp +++ /dev/null @@ -1,1869 +0,0 @@ -#define yy_create_buffer syy_create_buffer -#define yy_delete_buffer syy_delete_buffer -#define yy_scan_buffer syy_scan_buffer -#define yy_scan_string syy_scan_string -#define yy_scan_bytes syy_scan_bytes -#define yy_flex_debug syy_flex_debug -#define yy_init_buffer syy_init_buffer -#define yy_flush_buffer syy_flush_buffer -#define yy_load_buffer_state syy_load_buffer_state -#define yy_switch_to_buffer syy_switch_to_buffer -#define yyin syyin -#define yyleng syyleng -#define yylex syylex -#define yyout syyout -#define yyrestart syyrestart -#define yytext syytext -#define yywrap syywrap - -#line 20 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" -#include - -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.81 95/03/20 14:02:24 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -//#ifdef c_plusplus -//#ifndef __cplusplus -//#define __cplusplus -//#endif -//#endif - -#if 1 //def __cplusplus - - #include - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS - - /* The "const" storage-class-modifier is valid. */ - #define YY_USE_CONST - -#else /* ! __cplusplus */ - - #if __STDC__ - - #define YY_USE_PROTOS - #define YY_USE_CONST - - #endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) syyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( const char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( const char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -//static - void syyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 33 -#define YY_END_OF_BUFFER 34 -static yyconst short int yy_accept[146] = - { 0, - 0, 0, 0, 0, 0, 0, 34, 32, 30, 31, - 32, 32, 20, 32, 32, 21, 21, 32, 32, 32, - 32, 32, 32, 32, 32, 28, 28, 19, 19, 31, - 17, 30, 0, 25, 0, 0, 21, 26, 0, 23, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 18, 0, 17, 25, 0, - 0, 29, 23, 23, 0, 24, 22, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 27, 0, - 24, 0, 0, 0, 0, 6, 5, 0, 0, 0, - 0, 0, 0, 4, 0, 0, 0, 0, 0, 15, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 12, 0, 3, 2, 0, 0, 0, 0, - 0, 8, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 13, 0, 7, 10, 0, 9, 14, 0, 0, - 11, 0, 0, 16, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 1, 1, - 1, 7, 8, 9, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 1, 15, 1, - 1, 1, 1, 1, 16, 17, 18, 19, 20, 21, - 1, 22, 23, 1, 24, 25, 26, 27, 28, 29, - 1, 30, 31, 32, 33, 1, 1, 34, 1, 1, - 1, 35, 1, 1, 36, 1, 37, 37, 37, 37, - - 38, 39, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 40, - 1, 1, 41, 1, 42, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[43] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, - 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, - 1, 1 - } ; - -static yyconst short int yy_base[152] = - { 0, - 0, 0, 40, 41, 47, 51, 221, 222, 55, 222, - 40, 197, 222, 47, 51, 51, 56, 41, 191, 198, - 201, 195, 199, 53, 58, 222, 210, 208, 78, 207, - 222, 70, 76, 222, 79, 184, 79, 222, 207, 82, - 96, 0, 184, 185, 182, 175, 179, 183, 173, 166, - 181, 166, 172, 186, 192, 222, 83, 222, 81, 178, - 192, 222, 87, 222, 84, 109, 0, 173, 167, 90, - 170, 171, 159, 169, 104, 163, 155, 160, 222, 160, - 222, 154, 96, 152, 152, 222, 222, 161, 153, 152, - 152, 157, 143, 222, 142, 158, 141, 99, 149, 222, - - 139, 138, 150, 150, 135, 136, 146, 138, 140, 130, - 141, 132, 222, 142, 222, 222, 119, 126, 125, 124, - 115, 222, 122, 114, 112, 112, 107, 222, 106, 109, - 115, 222, 106, 222, 222, 115, 222, 222, 111, 112, - 222, 87, 71, 222, 222, 148, 150, 152, 154, 156, - 44 - } ; - -static yyconst short int yy_def[152] = - { 0, - 145, 1, 146, 146, 147, 147, 145, 145, 145, 145, - 148, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 149, 149, 149, - 145, 145, 148, 145, 148, 145, 145, 145, 150, 145, - 145, 151, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 149, 145, 149, 145, 148, 145, - 150, 145, 145, 145, 145, 145, 151, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 0, 145, 145, 145, 145, 145, - 145 - } ; - -static yyconst short int yy_nxt[265] = - { 0, - 8, 9, 10, 9, 11, 12, 8, 8, 13, 14, - 8, 15, 16, 17, 13, 18, 8, 19, 8, 8, - 8, 8, 8, 8, 8, 20, 21, 22, 23, 8, - 24, 25, 8, 8, 8, 8, 8, 8, 8, 8, - 13, 13, 10, 10, 34, 67, 27, 27, 29, 30, - 29, 31, 29, 30, 29, 31, 32, 38, 32, 37, - 37, 40, 39, 37, 37, 43, 40, 44, 37, 37, - 41, 32, 50, 32, 35, 41, 51, 52, 53, 57, - 34, 57, 58, 59, 57, 34, 57, 58, 41, 40, - 42, 37, 37, 41, 63, 63, 66, 66, 41, 63, - - 63, 41, 64, 65, 144, 65, 41, 64, 66, 66, - 35, 97, 84, 35, 143, 35, 41, 85, 110, 41, - 64, 66, 66, 90, 41, 64, 98, 111, 142, 81, - 141, 140, 139, 138, 91, 137, 136, 135, 134, 133, - 132, 131, 130, 129, 128, 127, 126, 81, 26, 26, - 28, 28, 33, 33, 55, 55, 61, 61, 125, 124, - 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, - 113, 112, 109, 108, 107, 106, 105, 104, 103, 102, - 101, 100, 99, 96, 95, 94, 93, 92, 89, 88, - 87, 86, 83, 82, 62, 80, 56, 79, 78, 77, - - 76, 75, 74, 73, 72, 71, 70, 69, 68, 62, - 60, 56, 56, 54, 49, 48, 47, 46, 45, 36, - 145, 7, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145 - } ; - -static yyconst short int yy_chk[265] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 4, 11, 151, 3, 4, 5, 5, - 5, 5, 6, 6, 6, 6, 9, 15, 9, 14, - 14, 16, 15, 16, 16, 18, 17, 18, 17, 17, - 16, 32, 24, 32, 11, 17, 24, 25, 25, 29, - 33, 29, 29, 35, 57, 59, 57, 57, 16, 37, - 16, 37, 37, 17, 40, 40, 65, 65, 37, 63, - - 63, 40, 40, 41, 143, 41, 63, 63, 41, 41, - 33, 83, 70, 35, 142, 59, 37, 70, 98, 40, - 40, 66, 66, 75, 63, 63, 83, 98, 140, 66, - 139, 136, 133, 131, 75, 130, 129, 127, 126, 125, - 124, 123, 121, 120, 119, 118, 117, 66, 146, 146, - 147, 147, 148, 148, 149, 149, 150, 150, 114, 112, - 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, - 101, 99, 97, 96, 95, 93, 92, 91, 90, 89, - 88, 85, 84, 82, 80, 78, 77, 76, 74, 73, - 72, 71, 69, 68, 61, 60, 55, 54, 53, 52, - - 51, 50, 49, 48, 47, 46, 45, 44, 43, 39, - 36, 30, 28, 27, 23, 22, 21, 20, 19, 12, - 7, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -#define INITIAL 0 -#line 3 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -#include "ParsingSmbs.h" -#include "smcPars.h" - -#include -#include -#include -#include - -#include -extern CTFileName _fnmApplicationPath; - -int syywrap(void) -{ - // no more buffers - return 1; -}; - -// declarations for recursive SMC script parsing -struct BufferStackEntry { - YY_BUFFER_STATE bse_bs; - const char *bse_strName; - const char *bse_strContents; - int bse_iLineCt; - BOOL bse_bParserEnd; -}; - -static BufferStackEntry _abseBufferStack[SMC_MAX_INCLUDE_LEVEL]; -static int _ibsBufferStackTop = -1; - -void SMCPushBuffer(const char *strName, const char *strBuffer, BOOL bParserEnd) -{ - _ibsBufferStackTop++; - - _abseBufferStack[_ibsBufferStackTop].bse_strContents = strdup(strBuffer); - _abseBufferStack[_ibsBufferStackTop].bse_strName = strdup(strName); - _abseBufferStack[_ibsBufferStackTop].bse_iLineCt = 1; - _abseBufferStack[_ibsBufferStackTop].bse_bParserEnd = bParserEnd; - - _abseBufferStack[_ibsBufferStackTop].bse_bs = syy_scan_string((char*)(const char*)strBuffer); - - syy_switch_to_buffer(_abseBufferStack[_ibsBufferStackTop].bse_bs); -} -BOOL SMCPopBuffer(void) -{ - syy_delete_buffer( _abseBufferStack[_ibsBufferStackTop].bse_bs); - free((void*)_abseBufferStack[_ibsBufferStackTop].bse_strName); - free((void*)_abseBufferStack[_ibsBufferStackTop].bse_strContents); - BOOL bParserEnd = _abseBufferStack[_ibsBufferStackTop].bse_bParserEnd; - - _ibsBufferStackTop--; - - if (_ibsBufferStackTop>=0) { - syy_switch_to_buffer(_abseBufferStack[_ibsBufferStackTop].bse_bs); - } - return bParserEnd; -} -const char *SMCGetBufferName(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_strName; -} -int SMCGetBufferLineNumber(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_iLineCt; -} -int SMCGetBufferStackDepth(void) -{ - return _ibsBufferStackTop; -} -const char *SMCGetBufferContents(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_strContents; -} -void SMCCountOneLine(void) -{ - _abseBufferStack[_ibsBufferStackTop].bse_iLineCt++; -} -#define COMMENT 1 - -#define INCLUDE 2 - -#line 593 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 91 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" - - -#line 719 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 222 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 93 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SE_SMC); } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SE_END); } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 96 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_TFNM); } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 97 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_NAME); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 98 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_MESH); } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 99 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SKELETON);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 100 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ANIMSET);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(K_ANIMATION);} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 102 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_TEXTURES);} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 103 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_PARENTBONE);} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 104 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_OFFSET);} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 105 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_COLISION);} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 106 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ANIMSPEED);} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_COLOR);} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 108 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ALLFRAMESBBOX);} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 110 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -/* eat the whitespace */ - YY_BREAK -case 18: -YY_RULE_SETUP -#line 111 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ /* got the include file name */ - - if (SMCGetBufferStackDepth() >= SMC_MAX_INCLUDE_LEVEL) { - ThrowF_t("File '%s' line %d\nIncludes nested too deeply '%s'",SMCGetBufferName(), SMCGetBufferLineNumber(),yytext); - } - char strFileName[256]; - strcpy(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - CTString strIncludeFile; - try { - strIncludeFile.Load_t(CTString(strFileName)); - SMCPushBuffer(strFileName, strIncludeFile, FALSE); - - } catch(char *strError) { - (void)strError; - ThrowF_t("File '%s'\n Could not open '%s' (line %d)",SMCGetBufferName(), strFileName, SMCGetBufferLineNumber()); - } - BEGIN(INITIAL); -} - YY_BREAK -case 19: -YY_RULE_SETUP -#line 131 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ /* something unrecognized inside include statement */ - BEGIN(INITIAL); - ThrowF_t("File '%s'\n Wrong syntax for include statement",SMCGetBufferName()); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(INCLUDE): -#line 135 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - if (SMCPopBuffer()) { - yyterminate(); - } -} - YY_BREAK -/* single character operators and punctuations */ -case 20: -YY_RULE_SETUP -#line 143 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 21: -YY_RULE_SETUP -#line 148 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.i = atoi(yytext); return(c_int); } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 149 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.i = strtoul(yytext+2, NULL, 16); return(c_int);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - char *strNew; - // remove double-quotes - yytext[strlen(yytext)-1] = 0; - strNew = yytext+1; - syylval.str = (const char*)strNew; - return(c_string); -} - YY_BREAK -/* eat up comments */ -case 26: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 164 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 165 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ SMCCountOneLine(); } - YY_BREAK -/* eat up whitespace */ -case 30: -YY_RULE_SETUP -#line 168 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 31: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - SMCCountOneLine();; -} - YY_BREAK -/* for all unrecognized characters */ -case 32: -YY_RULE_SETUP -#line 176 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - // report an error - ThrowF_t("File '%s'\n Unrecognized character '%c' (line %d)", SMCGetBufferName(), yytext[0], SMCGetBufferLineNumber()); - //ThrowF_t("Unrecognized character '%c' in line %d)", yytext[0], _yy_iLine ); -} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -ECHO; - YY_BREAK -#line 1020 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 145); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -//static - void syyunput( int c, register char *yy_bp ) -#else -//static - void syyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#ifdef YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#ifdef YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( const char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -const char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( const char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -const char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#ifdef YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" - - diff --git a/Sources/SeriousSkaStudio/Scanner.cpp b/Sources/SeriousSkaStudio/Scanner.cpp deleted file mode 100644 index a771713..0000000 --- a/Sources/SeriousSkaStudio/Scanner.cpp +++ /dev/null @@ -1,2146 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include -#include - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 66 -#define YY_END_OF_BUFFER 67 -static yyconst short int yy_accept[397] = - { 0, - 0, 0, 0, 0, 0, 0, 67, 65, 63, 64, - 65, 65, 53, 65, 65, 54, 54, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 61, 61, 52, 52, 64, 50, 63, - 0, 58, 0, 0, 54, 59, 0, 56, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 51, 0, 50, - 58, 0, 0, 62, 56, 56, 0, 57, 55, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 60, 0, 57, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, - 0, 0, 0, 0, 20, 0, 0, 15, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, - 0, 36, 0, 0, 0, 12, 0, 0, 19, 0, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5, 0, 0, 0, 0, 0, 30, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 4, 0, 0, 22, - 2, 0, 0, 0, 0, 0, 0, 0, 0, 10, - 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 8, 0, 34, 0, - 3, 0, 0, 37, 0, 0, 0, 0, 0, 0, - 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, - - 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 11, 29, 0, 0, 0, 0, 0, 32, 0, - 0, 26, 17, 18, 0, 0, 0, 40, 0, 0, - 0, 0, 0, 0, 0, 25, 0, 0, 31, 0, - 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, - 9, 27, 0, 0, 0, 23, 0, 45, 46, 38, - 0, 0, 44, 0, 0, 0, 28, 0, 0, 42, - 0, 0, 0, 0, 21, 0, 41, 43, 33, 0, - 0, 0, 48, 49, 39, 0 - - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 1, 1, - 1, 7, 8, 9, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 1, 15, 1, - 1, 1, 1, 1, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 1, 25, 26, 27, 28, 29, 30, - 1, 31, 32, 33, 34, 35, 36, 37, 1, 1, - 1, 38, 1, 1, 39, 1, 40, 40, 40, 40, - - 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 43, - 1, 1, 44, 1, 45, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[46] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, - 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 2, 2, 1, 1, 1 - } ; - -static yyconst short int yy_base[403] = - { 0, - 0, 0, 43, 44, 50, 54, 467, 468, 58, 468, - 43, 442, 468, 50, 54, 54, 58, 437, 435, 434, - 442, 54, 445, 440, 57, 60, 443, 438, 59, 60, - 422, 436, 435, 468, 450, 448, 96, 447, 468, 88, - 70, 468, 78, 423, 91, 468, 447, 93, 107, 0, - 425, 420, 420, 425, 419, 428, 417, 416, 413, 403, - 407, 407, 410, 405, 404, 408, 85, 417, 412, 400, - 393, 99, 402, 397, 403, 414, 420, 468, 123, 468, - 91, 406, 420, 468, 117, 468, 96, 126, 0, 395, - 401, 390, 403, 386, 390, 390, 394, 392, 374, 389, - - 381, 390, 382, 388, 391, 367, 125, 386, 378, 382, - 384, 369, 384, 379, 382, 364, 374, 468, 369, 468, - 55, 116, 363, 359, 372, 371, 351, 350, 355, 368, - 360, 362, 468, 368, 355, 349, 351, 352, 359, 353, - 357, 356, 359, 345, 350, 344, 468, 341, 346, 346, - 334, 92, 343, 338, 468, 345, 338, 468, 331, 341, - 340, 337, 335, 329, 122, 331, 323, 331, 334, 329, - 320, 331, 319, 316, 330, 318, 317, 323, 312, 325, - 309, 322, 307, 319, 319, 302, 304, 302, 468, 318, - 317, 468, 300, 312, 302, 468, 297, 296, 468, 292, - - 295, 298, 301, 297, 283, 292, 300, 288, 292, 291, - 468, 296, 111, 295, 288, 293, 468, 292, 287, 271, - 291, 290, 274, 280, 270, 284, 468, 283, 263, 262, - 261, 279, 151, 270, 265, 277, 276, 274, 261, 468, - 260, 468, 267, 271, 263, 259, 257, 266, 265, 268, - 259, 262, 248, 468, 259, 259, 258, 244, 247, 249, - 258, 257, 238, 251, 235, 243, 468, 236, 468, 228, - 468, 246, 233, 468, 235, 235, 233, 222, 221, 231, - 226, 231, 468, 225, 227, 226, 224, 226, 133, 224, - 219, 218, 211, 220, 217, 468, 213, 211, 210, 212, - - 468, 209, 219, 218, 220, 204, 207, 219, 215, 214, - 204, 202, 208, 213, 208, 211, 205, 192, 208, 204, - 202, 468, 468, 201, 200, 190, 189, 197, 468, 186, - 188, 468, 468, 175, 182, 180, 178, 468, 183, 193, - 174, 177, 180, 172, 172, 468, 172, 171, 468, 181, - 180, 179, 166, 468, 165, 164, 164, 149, 146, 153, - 468, 468, 140, 139, 142, 468, 145, 468, 468, 132, - 150, 147, 468, 134, 149, 148, 468, 144, 140, 124, - 123, 120, 120, 115, 468, 117, 468, 468, 468, 125, - 107, 99, 468, 468, 468, 468, 185, 187, 189, 191, - - 193, 47 - } ; - -static yyconst short int yy_def[403] = - { 0, - 396, 1, 397, 397, 398, 398, 396, 396, 396, 396, - 399, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 400, 400, 400, 396, 396, - 399, 396, 399, 396, 396, 396, 401, 396, 396, 402, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 400, 396, 400, 396, - 399, 396, 401, 396, 396, 396, 396, 396, 402, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 0, 396, 396, 396, 396, - - 396, 396 - } ; - -static yyconst short int yy_nxt[514] = - { 0, - 8, 9, 10, 9, 11, 12, 8, 8, 13, 14, - 8, 15, 16, 17, 13, 18, 19, 20, 21, 8, - 22, 8, 23, 8, 8, 24, 25, 26, 8, 27, - 28, 29, 30, 31, 32, 33, 8, 8, 8, 8, - 8, 8, 8, 13, 13, 10, 10, 42, 89, 35, - 35, 37, 38, 37, 39, 37, 38, 37, 39, 40, - 46, 40, 45, 45, 48, 47, 45, 45, 48, 55, - 45, 45, 60, 49, 42, 63, 61, 49, 67, 71, - 43, 68, 81, 69, 56, 62, 152, 57, 64, 40, - 72, 40, 70, 153, 49, 42, 50, 79, 49, 79, - - 80, 48, 106, 45, 45, 85, 85, 43, 88, 88, - 49, 183, 49, 86, 87, 43, 87, 395, 112, 88, - 88, 184, 113, 107, 79, 394, 79, 80, 43, 85, - 85, 49, 114, 49, 86, 154, 49, 86, 88, 88, - 138, 195, 240, 393, 392, 391, 120, 155, 313, 241, - 390, 139, 389, 196, 388, 387, 140, 49, 86, 386, - 197, 314, 385, 384, 383, 382, 381, 120, 259, 380, - 379, 260, 378, 377, 376, 375, 374, 373, 261, 372, - 262, 371, 263, 264, 265, 34, 34, 36, 36, 41, - 41, 77, 77, 83, 83, 370, 369, 368, 367, 366, - - 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, - 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, - 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, - 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, - 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, - 315, 312, 311, 310, 309, 308, 307, 306, 305, 304, - 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, - 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, - 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, - 273, 272, 271, 270, 269, 268, 267, 266, 258, 257, - - 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, - 246, 245, 244, 243, 242, 239, 238, 237, 236, 235, - 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, - 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, - 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, - 204, 203, 202, 201, 200, 199, 198, 194, 193, 192, - 191, 190, 189, 188, 187, 186, 185, 182, 181, 180, - 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, - 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, - 159, 158, 157, 156, 151, 150, 149, 148, 147, 146, - - 145, 144, 143, 142, 141, 137, 136, 135, 134, 133, - 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, - 122, 121, 84, 119, 78, 118, 117, 116, 115, 111, - 110, 109, 108, 105, 104, 103, 102, 101, 100, 99, - 98, 97, 96, 95, 94, 93, 92, 91, 90, 84, - 82, 78, 78, 76, 75, 74, 73, 66, 65, 59, - 58, 54, 53, 52, 51, 44, 396, 7, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396 - } ; - -static yyconst short int yy_chk[514] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 4, 11, 402, 3, - 4, 5, 5, 5, 5, 6, 6, 6, 6, 9, - 15, 9, 14, 14, 16, 15, 16, 16, 17, 22, - 17, 17, 25, 16, 41, 26, 25, 17, 29, 30, - 11, 29, 43, 29, 22, 25, 121, 22, 26, 40, - 30, 40, 29, 121, 16, 81, 16, 37, 17, 37, - - 37, 45, 67, 45, 45, 48, 48, 41, 87, 87, - 45, 152, 48, 48, 49, 43, 49, 392, 72, 49, - 49, 152, 72, 67, 79, 391, 79, 79, 81, 85, - 85, 45, 72, 48, 48, 122, 85, 85, 88, 88, - 107, 165, 213, 390, 386, 384, 88, 122, 289, 213, - 383, 107, 382, 165, 381, 380, 107, 85, 85, 379, - 165, 289, 378, 376, 375, 374, 372, 88, 233, 371, - 370, 233, 367, 365, 364, 363, 360, 359, 233, 358, - 233, 357, 233, 233, 233, 397, 397, 398, 398, 399, - 399, 400, 400, 401, 401, 356, 355, 353, 352, 351, - - 350, 348, 347, 345, 344, 343, 342, 341, 340, 339, - 337, 336, 335, 334, 331, 330, 328, 327, 326, 325, - 324, 321, 320, 319, 318, 317, 316, 315, 314, 313, - 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, - 302, 300, 299, 298, 297, 295, 294, 293, 292, 291, - 290, 288, 287, 286, 285, 284, 282, 281, 280, 279, - 278, 277, 276, 275, 273, 272, 270, 268, 266, 265, - 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, - 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, - 243, 241, 239, 238, 237, 236, 235, 234, 232, 231, - - 230, 229, 228, 226, 225, 224, 223, 222, 221, 220, - 219, 218, 216, 215, 214, 212, 210, 209, 208, 207, - 206, 205, 204, 203, 202, 201, 200, 198, 197, 195, - 194, 193, 191, 190, 188, 187, 186, 185, 184, 183, - 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, - 172, 171, 170, 169, 168, 167, 166, 164, 163, 162, - 161, 160, 159, 157, 156, 154, 153, 151, 150, 149, - 148, 146, 145, 144, 143, 142, 141, 140, 139, 138, - 137, 136, 135, 134, 132, 131, 130, 129, 128, 127, - 126, 125, 124, 123, 119, 117, 116, 115, 114, 113, - - 112, 111, 110, 109, 108, 106, 105, 104, 103, 102, - 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, - 91, 90, 83, 82, 77, 76, 75, 74, 73, 71, - 70, 69, 68, 66, 65, 64, 63, 62, 61, 60, - 59, 58, 57, 56, 55, 54, 53, 52, 51, 47, - 44, 38, 36, 35, 33, 32, 31, 28, 27, 24, - 23, 21, 20, 19, 18, 12, 7, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -#include "StdAfx.h" -#include "ParsingSymbols.h" -#include "Parser.h" - -#include -#include - -#include - -extern "C" { - int yywrap(void) - { - // no more buffers - return 1; - }; -} -YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; -CTFileName include_fnStack[MAX_INCLUDE_DEPTH]; -INDEX include_lineStack[MAX_INCLUDE_DEPTH]; -FILE *include_FileStack[MAX_INCLUDE_DEPTH]; -int include_stack_ptr = 0; - -CTFileName strCurentFileName; -CDynamicStackArray astrText; - -#define COMMENT 1 - -#define INCLUDE 2 - -#line 639 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 39 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" - - - // keywords -#line 790 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 468 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 42 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 43 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_MESH); } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 44 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_VERTICES); } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 45 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_NORMALS); } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 46 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_UVMAPS); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 47 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_NAME); } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 48 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TEXCOORDS); } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 49 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SURFACES); } - YY_BREAK -case 9: -YY_RULE_SETUP -#line 50 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRIANGLE_SET); } - YY_BREAK -case 10: -YY_RULE_SETUP -#line 51 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_WEIGHTS); } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 52 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_WEIGHT_SET); } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 53 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPHS); } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 54 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_RELATIVE); } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 55 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRUE); } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 56 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FALSE); } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 57 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPH_SET); } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 58 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_MESH_END); } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 59 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_SKELETON); } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 60 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_PARENT);} - YY_BREAK -case 20: -YY_RULE_SETUP -#line 61 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_BONES);} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 62 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_SKELETON_END);} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 63 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_ANIM);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 64 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SEC_PER_FRAME);} - YY_BREAK -case 24: -YY_RULE_SETUP -#line 65 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FRAMES);} - YY_BREAK -case 25: -YY_RULE_SETUP -#line 66 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_DEFAULT_POSE);} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 67 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_ANIM_END);} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 68 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_BONEENVELOPES);} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 69 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPHENVELOPES);} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 70 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIM_SET_LIST);} - YY_BREAK -case 30: -YY_RULE_SETUP -#line 71 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIM_ID);} - YY_BREAK -case 31: -YY_RULE_SETUP -#line 72 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MAX_DISTANCE);} - YY_BREAK -case 32: -YY_RULE_SETUP -#line 73 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MESHLODLIST);} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 74 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SKELETONLODLIST);} - YY_BREAK -case 34: -YY_RULE_SETUP -#line 75 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRESHOLD);} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 76 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_COMPRESION);} - YY_BREAK -case 36: -YY_RULE_SETUP -#line 77 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_LENGTH);} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 78 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIMSPEED);} - YY_BREAK -case 38: -YY_RULE_SETUP -#line 79 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_PARAMS);} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 80 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_PARAMS_END);} - YY_BREAK -case 40: -YY_RULE_SETUP -#line 81 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_NAME);} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_SURFACES);} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_SURFACE);} - YY_BREAK -case 43: -YY_RULE_SETUP -#line 84 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_TEXTURES);} - YY_BREAK -case 44: -YY_RULE_SETUP -#line 85 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_UVMAPS);} - YY_BREAK -case 45: -YY_RULE_SETUP -#line 86 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_COLORS);} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 87 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_FLOATS);} - YY_BREAK -case 47: -YY_RULE_SETUP -#line 88 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_FLAGS);} - YY_BREAK -case 48: -YY_RULE_SETUP -#line 89 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FULL_FACE_FORWARD);} - YY_BREAK -case 49: -YY_RULE_SETUP -#line 90 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_HALF_FACE_FORWARD);} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -/* eat the whitespace */ - YY_BREAK -case 51: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ /* got the include file name */ - if(include_stack_ptr >= MAX_INCLUDE_DEPTH) - { - BEGIN(INITIAL); - ThrowF_t("Includes nested too deeply '%c' in line %d)", yytext[0], _yy_iLine ); - } - - char strFileName[256]; - strcpy(strFileName,(const char*)_fnmApplicationPath); - strcat(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - try - { - include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; - include_fnStack[include_stack_ptr] = strCurentFileName; - include_lineStack[include_stack_ptr] = _yy_iLine; - include_FileStack[include_stack_ptr] = yyin; - yyin = fopen( strFileName, "r" ); - - if(yyin == NULL) - ThrowF_t("File '%s'\n Could not open '%s' (line %d)",(const char*)strCurentFileName, strFileName, _yy_iLine); - - include_stack_ptr++; - yy_switch_to_buffer(yy_create_buffer( yyin, YY_BUF_SIZE )); - strCurentFileName = (CTString)strFileName; - // try to remove app path from source file name - try { strCurentFileName.RemoveApplicationPath_t(); } - catch(char *){} - _yy_iLine = 1; - } - catch(char *strError) - { - BEGIN(INITIAL); - ThrowF_t(strError); - } - BEGIN(INITIAL); -} - YY_BREAK -case 52: -YY_RULE_SETUP -#line 133 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ /* something unrecognized inside include statement */ - ThrowF_t("Wrong syntax for include statement"); - BEGIN(INITIAL); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(INCLUDE): -#line 137 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - if ( --include_stack_ptr < 0 ) - { - yyterminate(); - exit(1); - } - else - { - fclose(yyin); - yy_delete_buffer( YY_CURRENT_BUFFER ); - yy_switch_to_buffer( include_stack[include_stack_ptr] ); - strCurentFileName = include_fnStack[include_stack_ptr]; - yyin = include_FileStack[include_stack_ptr]; - _yy_iLine = include_lineStack[include_stack_ptr]; - } -} - YY_BREAK -/* single character operators and punctuations */ -case 53: -YY_RULE_SETUP -#line 155 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 54: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.i = atoi(yytext); return(c_int); } - YY_BREAK -case 55: -YY_RULE_SETUP -#line 160 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.i = strtoul(yytext+2, NULL, 16); return(c_int);} - YY_BREAK -case 56: -YY_RULE_SETUP -#line 161 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 57: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 58: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - CTString &strNew = astrText.Push(); - char *pstrNew; - // remove double-quotes - yytext[strlen(yytext)-1] = 0; - pstrNew = yytext+1; - //yylval.str = (const char*)strNew; - strNew = (const char*)pstrNew; - yylval.str = (const char*)strNew; - return(c_string); -} - YY_BREAK -/* eat up comments */ -case 59: -YY_RULE_SETUP -#line 176 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 60: -YY_RULE_SETUP -#line 177 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 61: -YY_RULE_SETUP -#line 178 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{} - YY_BREAK -case 62: -YY_RULE_SETUP -#line 179 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ _yy_iLine++; } - YY_BREAK -/* eat up whitespace */ -case 63: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 64: -YY_RULE_SETUP -#line 185 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - _yy_iLine++; -} - YY_BREAK -/* for all unrecognized characters */ -case 65: -YY_RULE_SETUP -#line 190 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - // report an error - ThrowF_t("File '%s'\n Unrecognized character '%c' (line %d)",(const char*)strCurentFileName,yytext,_yy_iLine); -} - YY_BREAK -case 66: -YY_RULE_SETUP -#line 195 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1287 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 396); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -yyconst char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 195 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" - - From 618c63f50a6f781d6c8c30cd048f7e5afa88e6cd Mon Sep 17 00:00:00 2001 From: Tan Wang Leng Date: Sun, 13 Mar 2016 16:31:45 +0800 Subject: [PATCH 23/62] Delete text editor temp file A fellow contributor accidentally push an editor temp file. Diff utility shows no difference between this and the original DlgNumericAlpha.h file. --- Sources/Modeler/#DlgNumericAlpha.h# | 61 ----------------------------- 1 file changed, 61 deletions(-) delete mode 100644 Sources/Modeler/#DlgNumericAlpha.h# diff --git a/Sources/Modeler/#DlgNumericAlpha.h# b/Sources/Modeler/#DlgNumericAlpha.h# deleted file mode 100644 index d41567c..0000000 --- a/Sources/Modeler/#DlgNumericAlpha.h# +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. -This program is free software; you can redistribute it and/or modify -it under the terms of version 2 of the GNU General Public License as published by -the Free Software Foundation - - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ - -#if !defined(AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_) -#define AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 -// DlgNumericAlpha.h : header file -// - -///////////////////////////////////////////////////////////////////////////// -// CDlgNumericAlpha dialog - -class CDlgNumericAlpha : public CDialog -{ -// Construction -public: - CDlgNumericAlpha(int iAlpha = 0, CWnd* pParent = NULL); // standard constructor - -// Dialog Data - //{{AFX_DATA(CDlgNumericAlpha) - enum { IDD = IDD_NUMERIC_ALPHA }; - int m_iAlpha; - //}}AFX_DATA - - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CDlgNumericAlpha) - protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - //}}AFX_VIRTUAL - -// Implementation -protected: - - // Generated message map functions - //{{AFX_MSG(CDlgNumericAlpha) - // NOTE: the ClassWizard will add member functions here - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_DLGNUMERICALPHA_H__2B26F794_E15C_11D2_8532_004095812ACC__INCLUDED_) From c0d372051b982c3011ddf5ba824ac3aac8d0b933 Mon Sep 17 00:00:00 2001 From: Sergey Serebryakov Date: Sun, 13 Mar 2016 04:41:47 -0700 Subject: [PATCH 24/62] Make Github recognize *.es files as C++ Adding an override as described on https://github.com/github/linguist --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4cd037f --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.es linguist-language=C++ From 6e9fbef44a33c8df63ee2aa203c0a00ac6d4ad9f Mon Sep 17 00:00:00 2001 From: SLAwww Date: Sun, 13 Mar 2016 18:56:18 +0200 Subject: [PATCH 25/62] Fixed error in Bison code --- Sources/Ecc/Parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Ecc/Parser.y b/Sources/Ecc/Parser.y index aa676f9..ff0ff44 100644 --- a/Sources/Ecc/Parser.y +++ b/Sources/Ecc/Parser.y @@ -1073,7 +1073,7 @@ statements ; statement : expression ';' {$$=$1+$2;} - | k_switch '(' expression ')' '{' statements '}' {$$=$1+$2+$3+$4+$5+$6+$7} + | k_switch '(' expression ')' '{' statements '}' {$$=$1+$2+$3+$4+$5+$6+$7;} | k_case case_constant_expression ':' {$$=$1+" "+$2+$3+" ";} | '{' statements '}' {$$=$1+$2+$3;} | expression '{' statements '}' {$$=$1+$2+$3+$4;} From 189c3433683f4f1bab851c88ff3da54d853f2903 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 00:52:32 +0300 Subject: [PATCH 26/62] GameExecutable: Move some stuff from Menu.cpp into files Menu.cpp is so large(>6000 lines). I'll separate it! --- Sources/SeriousSam/MConfirm.cpp | 55 ++ Sources/SeriousSam/MConfirm.h | 5 + Sources/SeriousSam/MInGame.cpp | 162 +++++ Sources/SeriousSam/MInGame.h | 16 +- Sources/SeriousSam/MMain.cpp | 116 ++++ Sources/SeriousSam/MMain.h | 12 + Sources/SeriousSam/MSinglePlayer.cpp | 144 ++++ Sources/SeriousSam/MSinglePlayer.h | 13 + Sources/SeriousSam/Menu.cpp | 624 +++--------------- Sources/SeriousSam/MenuStuff.cpp | 38 ++ Sources/SeriousSam/MenuStuff.h | 12 + Sources/SeriousSam/SeriousSam.vcxproj | 8 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 18 + 13 files changed, 681 insertions(+), 542 deletions(-) create mode 100644 Sources/SeriousSam/MConfirm.cpp create mode 100644 Sources/SeriousSam/MInGame.cpp create mode 100644 Sources/SeriousSam/MMain.cpp create mode 100644 Sources/SeriousSam/MSinglePlayer.cpp create mode 100644 Sources/SeriousSam/MenuStuff.cpp create mode 100644 Sources/SeriousSam/MenuStuff.h diff --git a/Sources/SeriousSam/MConfirm.cpp b/Sources/SeriousSam/MConfirm.cpp new file mode 100644 index 0000000..4673c1f --- /dev/null +++ b/Sources/SeriousSam/MConfirm.cpp @@ -0,0 +1,55 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MConfirm.h" + +void CConfirmMenu::Initialize_t(void) +{ + gm_bPopup = TRUE; + + gm_mgConfirmLabel.mg_strText = ""; + gm_lhGadgets.AddTail(gm_mgConfirmLabel.mg_lnNode); + gm_mgConfirmLabel.mg_boxOnScreen = BoxPopupLabel(); + gm_mgConfirmLabel.mg_iCenterI = 0; + gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; + + gm_mgConfirmLabel.mg_strText = TRANS("YES"); + gm_lhGadgets.AddTail(gm_mgConfirmLabel.mg_lnNode); + gm_mgConfirmLabel.mg_boxOnScreen = BoxPopupYesLarge(); + gm_mgConfirmLabel.mg_pActivatedFunction = NULL; + gm_mgConfirmLabel.mg_pmgLeft = + gm_mgConfirmYes.mg_pmgRight = &gm_mgConfirmNo; + gm_mgConfirmYes.mg_iCenterI = 1; + gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; + + gm_mgConfirmNo.mg_strText = TRANS("NO"); + gm_lhGadgets.AddTail(gm_mgConfirmNo.mg_lnNode); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); + gm_mgConfirmNo.mg_pActivatedFunction = NULL; + gm_mgConfirmNo.mg_pmgLeft = + gm_mgConfirmNo.mg_pmgRight = &gm_mgConfirmYes; + gm_mgConfirmNo.mg_iCenterI = -1; + gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; +} + +void CConfirmMenu::BeLarge(void) +{ + gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmLabel.mg_iCenterI = 0; + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); +} + +void CConfirmMenu::BeSmall(void) +{ + gm_mgConfirmLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmYes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmNo.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmLabel.mg_iCenterI = -1; + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MConfirm.h b/Sources/SeriousSam/MConfirm.h index ee40979..49a9131 100644 --- a/Sources/SeriousSam/MConfirm.h +++ b/Sources/SeriousSam/MConfirm.h @@ -7,10 +7,15 @@ #endif #include "GameMenu.h" +#include "MGButton.h" class CConfirmMenu : public CGameMenu { public: + CMGButton gm_mgConfirmLabel; + CMGButton gm_mgConfirmYes; + CMGButton gm_mgConfirmNo; + void Initialize_t(void); // return TRUE if handled BOOL OnKeyDown(int iVKey); diff --git a/Sources/SeriousSam/MInGame.cpp b/Sources/SeriousSam/MInGame.cpp new file mode 100644 index 0000000..8368d19 --- /dev/null +++ b/Sources/SeriousSam/MInGame.cpp @@ -0,0 +1,162 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MInGame.h" + + +void CInGameMenu::Initialize_t(void) +{ + // intialize main menu + gm_mgTitle.mg_strText = TRANS("GAME"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgLabel1.mg_strText = ""; + gm_mgLabel1.mg_boxOnScreen = BoxMediumRow(-2.0); + gm_mgLabel1.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLabel1.mg_iCenterI = -1; + gm_mgLabel1.mg_bEnabled = FALSE; + gm_mgLabel1.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgLabel1.mg_lnNode); + + gm_mgLabel2.mg_strText = ""; + gm_mgLabel2.mg_boxOnScreen = BoxMediumRow(-1.0); + gm_mgLabel2.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLabel2.mg_iCenterI = -1; + gm_mgLabel2.mg_bEnabled = FALSE; + gm_mgLabel2.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgLabel2.mg_lnNode); + + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pmgUp = &gm_mgQuit; + gm_mgQuickLoad.mg_pmgDown = &gm_mgQuickSave; + gm_mgQuickLoad.mg_pActivatedFunction = NULL; + + gm_mgQuickSave.mg_strText = TRANS("QUICK SAVE"); + gm_mgQuickSave.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickSave.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgQuickSave.mg_strTip = TRANS("quick-save current game (F6)"); + gm_lhGadgets.AddTail(gm_mgQuickSave.mg_lnNode); + gm_mgQuickSave.mg_pmgUp = &gm_mgQuickLoad; + gm_mgQuickSave.mg_pmgDown = &gm_mgLoad; + gm_mgQuickSave.mg_pActivatedFunction = NULL; + + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgLoad.mg_strTip = TRANS("load a saved game"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pmgUp = &gm_mgQuickSave; + gm_mgLoad.mg_pmgDown = &gm_mgSave; + gm_mgLoad.mg_pActivatedFunction = NULL; + + gm_mgSave.mg_strText = TRANS("SAVE"); + gm_mgSave.mg_bfsFontSize = BFS_LARGE; + gm_mgSave.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgSave.mg_strTip = TRANS("save current game (each player has own slots!)"); + gm_lhGadgets.AddTail(gm_mgSave.mg_lnNode); + gm_mgSave.mg_pmgUp = &gm_mgLoad; + gm_mgSave.mg_pmgDown = &gm_mgDemoRec; + gm_mgSave.mg_pActivatedFunction = NULL; + + gm_mgDemoRec.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgDemoRec.mg_bfsFontSize = BFS_LARGE; + gm_mgDemoRec.mg_pmgUp = &gm_mgSave; + gm_mgDemoRec.mg_pmgDown = &gm_mgHighScore; + gm_mgDemoRec.mg_strText = "Text not set"; + gm_lhGadgets.AddTail(gm_mgDemoRec.mg_lnNode); + gm_mgDemoRec.mg_pActivatedFunction = NULL; + + gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); + gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; + gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); + gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); + gm_mgHighScore.mg_pmgUp = &gm_mgDemoRec; + gm_mgHighScore.mg_pmgDown = &gm_mgOptions; + gm_mgHighScore.mg_pActivatedFunction = NULL; + + gm_mgOptions.mg_strText = TRANS("OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgHighScore; + gm_mgOptions.mg_pmgDown = &gm_mgStop; + gm_mgOptions.mg_pActivatedFunction = NULL; + + gm_mgStop.mg_strText = TRANS("STOP GAME"); + gm_mgStop.mg_bfsFontSize = BFS_LARGE; + gm_mgStop.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgStop.mg_strTip = TRANS("stop currently running game"); + gm_lhGadgets.AddTail(gm_mgStop.mg_lnNode); + gm_mgStop.mg_pmgUp = &gm_mgOptions; + gm_mgStop.mg_pmgDown = &gm_mgQuit; + gm_mgStop.mg_pActivatedFunction = NULL; + + gm_mgQuit.mg_strText = TRANS("QUIT"); + gm_mgQuit.mg_bfsFontSize = BFS_LARGE; + gm_mgQuit.mg_boxOnScreen = BoxBigRow(8.0f); + gm_mgQuit.mg_strTip = TRANS("exit game immediately"); + gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); + gm_mgQuit.mg_pmgUp = &gm_mgStop; + gm_mgQuit.mg_pmgDown = &gm_mgQuickLoad; + gm_mgQuit.mg_pActivatedFunction = NULL; +} + +void CInGameMenu::StartMenu(void) +{ + gm_mgQuickLoad.mg_bEnabled = _pNetwork->IsServer(); + gm_mgQuickSave.mg_bEnabled = _pNetwork->IsServer(); + gm_mgLoad.mg_bEnabled = _pNetwork->IsServer(); + gm_mgSave.mg_bEnabled = _pNetwork->IsServer(); + gm_mgDemoRec.mg_bEnabled = TRUE;//_pNetwork->IsServer(); + extern void SetDemoStartStopRecText(); + SetDemoStartStopRecText(); + + + if (_gmRunningGameMode == GM_SINGLE_PLAYER) { + CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; + gm_mgLabel1.mg_strText.PrintF(TRANS("Player: %s"), pc.GetNameForPrinting()); + gm_mgLabel2.mg_strText = ""; + + } + else { + if (_pNetwork->IsServer()) { + + CTString strHost, strAddress; + CTString strHostName; + _pNetwork->GetHostName(strHost, strAddress); + if (strHost == "") { + strHostName = TRANS(""); + } + else { + strHostName = strHost + " (" + strAddress + ")"; + } + + gm_mgLabel1.mg_strText = TRANS("Address: ") + strHostName; + gm_mgLabel2.mg_strText = ""; + } + else { + + CTString strConfig; + strConfig = TRANS(""); + extern CTString sam_strNetworkSettings; + if (sam_strNetworkSettings != "") { + LoadStringVar(CTFileName(sam_strNetworkSettings).NoExt() + ".des", strConfig); + strConfig.OnlyFirstLine(); + } + + gm_mgLabel1.mg_strText = TRANS("Connected to: ") + _pGame->gam_strJoinAddress; + gm_mgLabel2.mg_strText = TRANS("Connection: ") + strConfig; + } + } + + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MInGame.h b/Sources/SeriousSam/MInGame.h index 53e7e03..b873183 100644 --- a/Sources/SeriousSam/MInGame.h +++ b/Sources/SeriousSam/MInGame.h @@ -7,10 +7,24 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGTitle.h" class CInGameMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgLabel1; + CMGButton gm_mgLabel2; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgQuickSave; + CMGButton gm_mgLoad; + CMGButton gm_mgSave; + CMGButton gm_mgDemoRec; + CMGButton gm_mgHighScore; + CMGButton gm_mgOptions; + CMGButton gm_mgStop; + CMGButton gm_mgQuit; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MMain.cpp b/Sources/SeriousSam/MMain.cpp new file mode 100644 index 0000000..b7d9e08 --- /dev/null +++ b/Sources/SeriousSam/MMain.cpp @@ -0,0 +1,116 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MMain.h" + + +void CMainMenu::Initialize_t(void) +{ + // intialize main menu + /* + gm_mgTitle.mg_strText = "SERIOUS SAM - BETA"; // nothing to see here, kazuya + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail( gm_mgTitle.mg_lnNode); + */ + + extern CTString sam_strVersion; + gm_mgVersionLabel.mg_strText = sam_strVersion; + gm_mgVersionLabel.mg_boxOnScreen = BoxVersion(); + gm_mgVersionLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgVersionLabel.mg_iCenterI = +1; + gm_mgVersionLabel.mg_bEnabled = FALSE; + gm_mgVersionLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgVersionLabel.mg_lnNode); + + extern CTString sam_strModName; + gm_mgModLabel.mg_strText = sam_strModName; + gm_mgModLabel.mg_boxOnScreen = BoxMediumRow(-2.0f); + gm_mgModLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgModLabel.mg_iCenterI = 0; + gm_mgModLabel.mg_bEnabled = FALSE; + gm_mgModLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgModLabel.mg_lnNode); + + gm_mgSingle.mg_strText = TRANS("SINGLE PLAYER"); + gm_mgSingle.mg_bfsFontSize = BFS_LARGE; + gm_mgSingle.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgSingle.mg_strTip = TRANS("single player game menus"); + gm_lhGadgets.AddTail(gm_mgSingle.mg_lnNode); + gm_mgSingle.mg_pmgUp = &gm_mgQuit; + gm_mgSingle.mg_pmgDown = &gm_mgNetwork; + gm_mgSingle.mg_pActivatedFunction = NULL; + + gm_mgNetwork.mg_strText = TRANS("NETWORK"); + gm_mgNetwork.mg_bfsFontSize = BFS_LARGE; + gm_mgNetwork.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgNetwork.mg_strTip = TRANS("LAN/iNet multiplayer menus"); + gm_lhGadgets.AddTail(gm_mgNetwork.mg_lnNode); + gm_mgNetwork.mg_pmgUp = &gm_mgSingle; + gm_mgNetwork.mg_pmgDown = &gm_mgSplitScreen; + gm_mgNetwork.mg_pActivatedFunction = NULL; + + gm_mgSplitScreen.mg_strText = TRANS("SPLIT SCREEN"); + gm_mgSplitScreen.mg_bfsFontSize = BFS_LARGE; + gm_mgSplitScreen.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgSplitScreen.mg_strTip = TRANS("play with multiple players on one computer"); + gm_lhGadgets.AddTail(gm_mgSplitScreen.mg_lnNode); + gm_mgSplitScreen.mg_pmgUp = &gm_mgNetwork; + gm_mgSplitScreen.mg_pmgDown = &gm_mgDemo; + gm_mgSplitScreen.mg_pActivatedFunction = NULL; + + gm_mgDemo.mg_strText = TRANS("DEMO"); + gm_mgDemo.mg_bfsFontSize = BFS_LARGE; + gm_mgDemo.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgDemo.mg_strTip = TRANS("play a game demo"); + gm_lhGadgets.AddTail(gm_mgDemo.mg_lnNode); + gm_mgDemo.mg_pmgUp = &gm_mgSplitScreen; + gm_mgDemo.mg_pmgDown = &gm_mgMods; + gm_mgDemo.mg_pActivatedFunction = NULL; + + gm_mgMods.mg_strText = TRANS("MODS"); + gm_mgMods.mg_bfsFontSize = BFS_LARGE; + gm_mgMods.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgMods.mg_strTip = TRANS("run one of installed game modifications"); + gm_lhGadgets.AddTail(gm_mgMods.mg_lnNode); + gm_mgMods.mg_pmgUp = &gm_mgDemo; + gm_mgMods.mg_pmgDown = &gm_mgHighScore; + gm_mgMods.mg_pActivatedFunction = NULL; + + gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); + gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; + gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); + gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); + gm_mgHighScore.mg_pmgUp = &gm_mgMods; + gm_mgHighScore.mg_pmgDown = &gm_mgOptions; + gm_mgHighScore.mg_pActivatedFunction = NULL; + + gm_mgOptions.mg_strText = TRANS("OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgHighScore; + gm_mgOptions.mg_pmgDown = &gm_mgQuit; + gm_mgOptions.mg_pActivatedFunction = NULL; + + gm_mgQuit.mg_strText = TRANS("QUIT"); + gm_mgQuit.mg_bfsFontSize = BFS_LARGE; + gm_mgQuit.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgQuit.mg_strTip = TRANS("exit game immediately"); + gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); + gm_mgQuit.mg_pmgUp = &gm_mgOptions; + gm_mgQuit.mg_pmgDown = &gm_mgSingle; + gm_mgQuit.mg_pActivatedFunction = NULL; +} +void CMainMenu::StartMenu(void) +{ + gm_mgSingle.mg_bEnabled = IsMenuEnabled("Single Player"); + gm_mgNetwork.mg_bEnabled = IsMenuEnabled("Network"); + gm_mgSplitScreen.mg_bEnabled = IsMenuEnabled("Split Screen"); + gm_mgHighScore.mg_bEnabled = IsMenuEnabled("High Score"); + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MMain.h b/Sources/SeriousSam/MMain.h index 30a9d91..6ff5c55 100644 --- a/Sources/SeriousSam/MMain.h +++ b/Sources/SeriousSam/MMain.h @@ -7,10 +7,22 @@ #endif #include "GameMenu.h" +#include "MGButton.h" class CMainMenu : public CGameMenu { public: + CMGButton gm_mgVersionLabel; + CMGButton gm_mgModLabel; + CMGButton gm_mgSingle; + CMGButton gm_mgNetwork; + CMGButton gm_mgSplitScreen; + CMGButton gm_mgDemo; + CMGButton gm_mgMods; + CMGButton gm_mgHighScore; + CMGButton gm_mgOptions; + CMGButton gm_mgQuit; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MSinglePlayer.cpp b/Sources/SeriousSam/MSinglePlayer.cpp new file mode 100644 index 0000000..3edfba9 --- /dev/null +++ b/Sources/SeriousSam/MSinglePlayer.cpp @@ -0,0 +1,144 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MSinglePlayer.h" + + +void CSinglePlayerMenu::Initialize_t(void) +{ + // intialize single player menu + gm_mgTitle.mg_strText = TRANS("SINGLE PLAYER"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgPlayerLabel.mg_boxOnScreen = BoxBigRow(-1.0f); + gm_mgPlayerLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgPlayerLabel.mg_iCenterI = -1; + gm_mgPlayerLabel.mg_bEnabled = FALSE; + gm_mgPlayerLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgPlayerLabel.mg_lnNode); + + gm_mgNewGame.mg_strText = TRANS("NEW GAME"); + gm_mgNewGame.mg_bfsFontSize = BFS_LARGE; + gm_mgNewGame.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgNewGame.mg_strTip = TRANS("start new game with current player"); + gm_lhGadgets.AddTail(gm_mgNewGame.mg_lnNode); + gm_mgNewGame.mg_pmgUp = &gm_mgOptions; + gm_mgNewGame.mg_pmgDown = &gm_mgCustom; + gm_mgNewGame.mg_pActivatedFunction = NULL; + + gm_mgCustom.mg_strText = TRANS("CUSTOM LEVEL"); + gm_mgCustom.mg_bfsFontSize = BFS_LARGE; + gm_mgCustom.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgCustom.mg_strTip = TRANS("start new game on a custom level"); + gm_lhGadgets.AddTail(gm_mgCustom.mg_lnNode); + gm_mgCustom.mg_pmgUp = &gm_mgNewGame; + gm_mgCustom.mg_pmgDown = &gm_mgQuickLoad; + gm_mgCustom.mg_pActivatedFunction = NULL; + + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pmgUp = &gm_mgCustom; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_pActivatedFunction = NULL; + + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_strTip = TRANS("load a saved game of current player"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTraining; + gm_mgLoad.mg_pActivatedFunction = NULL; + + gm_mgTraining.mg_strText = TRANS("TRAINING"); + gm_mgTraining.mg_bfsFontSize = BFS_LARGE; + gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTraining.mg_strTip = TRANS("start training level - KarnakDemo"); + gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); + gm_mgTraining.mg_pmgUp = &gm_mgLoad; + gm_mgTraining.mg_pmgDown = &gm_mgTechTest; + gm_mgTraining.mg_pActivatedFunction = NULL; + + gm_mgTechTest.mg_strText = TRANS("TECHNOLOGY TEST"); + gm_mgTechTest.mg_bfsFontSize = BFS_LARGE; + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgTechTest.mg_strTip = TRANS("start technology testing level"); + gm_lhGadgets.AddTail(gm_mgTechTest.mg_lnNode); + gm_mgTechTest.mg_pmgUp = &gm_mgTraining; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + gm_mgTechTest.mg_pActivatedFunction = NULL; + + gm_mgPlayersAndControls.mg_bfsFontSize = BFS_LARGE; + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgPlayersAndControls.mg_pmgUp = &gm_mgTechTest; + gm_mgPlayersAndControls.mg_pmgDown = &gm_mgOptions; + gm_mgPlayersAndControls.mg_strText = TRANS("PLAYERS AND CONTROLS"); + gm_mgPlayersAndControls.mg_strTip = TRANS("change currently active player or adjust controls"); + gm_lhGadgets.AddTail(gm_mgPlayersAndControls.mg_lnNode); + gm_mgPlayersAndControls.mg_pActivatedFunction = NULL; + + gm_mgOptions.mg_strText = TRANS("GAME OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgOptions.mg_strTip = TRANS("adjust miscellaneous game options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgPlayersAndControls; + gm_mgOptions.mg_pmgDown = &gm_mgNewGame; + gm_mgOptions.mg_pActivatedFunction = NULL; +} + +void CSinglePlayerMenu::StartMenu(void) +{ + gm_mgTraining.mg_bEnabled = IsMenuEnabled("Training"); + gm_mgTechTest.mg_bEnabled = IsMenuEnabled("Technology Test"); + + if (gm_mgTraining.mg_bEnabled) { + if (!gm_mgTraining.mg_lnNode.IsLinked()) { + gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); + } + + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTraining; + + gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTraining.mg_pmgUp = &gm_mgLoad; + gm_mgTraining.mg_pmgDown = &gm_mgTechTest; + + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgTechTest.mg_pmgUp = &gm_mgTraining; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); + + } + else { + if (gm_mgTraining.mg_lnNode.IsLinked()) { + gm_mgTraining.mg_lnNode.Remove(); + } + + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTechTest; + + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTechTest.mg_pmgUp = &gm_mgLoad; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + } + + CGameMenu::StartMenu(); + + CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; + gm_mgPlayerLabel.mg_strText.PrintF(TRANS("Player: %s\n"), pc.GetNameForPrinting()); +} diff --git a/Sources/SeriousSam/MSinglePlayer.h b/Sources/SeriousSam/MSinglePlayer.h index 5443f6e..f08d07b 100644 --- a/Sources/SeriousSam/MSinglePlayer.h +++ b/Sources/SeriousSam/MSinglePlayer.h @@ -7,10 +7,23 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGTitle.h" class CSinglePlayerMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgPlayerLabel; + CMGButton gm_mgNewGame; + CMGButton gm_mgCustom; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; + CMGButton gm_mgTraining; + CMGButton gm_mgTechTest; + CMGButton gm_mgPlayersAndControls; + CMGButton gm_mgOptions; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index 73f1f7c..bc43de1 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -54,6 +54,8 @@ #include "MVar.h" #include "MVideoOptions.h" +#include "MenuStuff.h" + // macros for translating radio button text arrays #define RADIOTRANS(str) ("ETRS" str) #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) @@ -87,40 +89,6 @@ extern BOOL IsCDInDrive(void); void OnPlayerSelect(void); - - -ULONG SpawnFlagsForGameType(INDEX iGameType) -{ - if (iGameType==-1) return SPF_SINGLEPLAYER; - - // get function that will provide us the flags - CShellSymbol *pss = _pShell->GetSymbol("GetSpawnFlagsForGameTypeSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss==NULL) { - // error - ASSERT(FALSE); - return 0; - } - - ULONG (*pFunc)(INDEX) = (ULONG (*)(INDEX))pss->ss_pvValue; - return pFunc(iGameType); -} - -BOOL IsMenuEnabled(const CTString &strMenuName) -{ - // get function that will provide us the flags - CShellSymbol *pss = _pShell->GetSymbol("IsMenuEnabledSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss==NULL) { - // error - ASSERT(FALSE); - return TRUE; - } - - BOOL (*pFunc)(const CTString &) = (BOOL (*)(const CTString &))pss->ss_pvValue; - return pFunc(strMenuName); -} - // last tick done TIME _tmMenuLastTickDone = -1; // all possible menu entities @@ -134,6 +102,12 @@ extern CTString sam_strNetworkSettings; // function to activate when level is chosen void (*_pAfterLevelChosen)(void); +// functions for init actions +void InitActionsForConfirmMenu(); +void InitActionsForMainMenu(); +void InitActionsForInGameMenu(); +void InitActionsForSinglePlayerMenu(); + // functions to activate when user chose 'yes/no' on confirmation void (*_pConfimedYes)(void) = NULL; void (*_pConfimedNo)(void) = NULL; @@ -310,51 +284,15 @@ CMGButton mgBack; // -------- Confirm menu CConfirmMenu gmConfirmMenu; -CMGButton mgConfirmLabel; -CMGButton mgConfirmYes; -CMGButton mgConfirmNo; // -------- Main menu CMainMenu gmMainMenu; -//CMGTitle mgMainTitle; -CMGButton mgMainVersionLabel; -CMGButton mgMainModLabel; -CMGButton mgMainSingle; -CMGButton mgMainNetwork; -CMGButton mgMainSplitScreen; -CMGButton mgMainDemo; -CMGButton mgMainMods; -CMGButton mgMainHighScore; -CMGButton mgMainOptions; -CMGButton mgMainQuit; // -------- InGame menu CInGameMenu gmInGameMenu; -CMGTitle mgInGameTitle; -CMGButton mgInGameLabel1; -CMGButton mgInGameLabel2; -CMGButton mgInGameQuickLoad; -CMGButton mgInGameQuickSave; -CMGButton mgInGameLoad; -CMGButton mgInGameSave; -CMGButton mgInGameDemoRec; -CMGButton mgInGameHighScore; -CMGButton mgInGameOptions; -CMGButton mgInGameStop; -CMGButton mgInGameQuit; // -------- Single player menu CSinglePlayerMenu gmSinglePlayerMenu; -CMGTitle mgSingleTitle; -CMGButton mgSinglePlayerLabel; -CMGButton mgSingleNewGame; -CMGButton mgSingleCustom; -CMGButton mgSingleQuickLoad; -CMGButton mgSingleLoad; -CMGButton mgSingleTraining; -CMGButton mgSingleTechTest; -CMGButton mgSinglePlayersAndControls; -CMGButton mgSingleOptions; // -------- New single player menu CSinglePlayerNewMenu gmSinglePlayerNewMenu; @@ -426,10 +364,12 @@ CMGButton mgLoadSaveNotes; CMGFileButton amgLSButton[SAVELOAD_BUTTONS_CT]; CMGArrow mgLSArrowUp; CMGArrow mgLSArrowDn; + // -------- High-score menu CHighScoreMenu gmHighScoreMenu; CMGTitle mgHighScoreTitle; CMGHighScore mgHScore; + // -------- Customize keyboard menu CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; CMGTitle mgCustomizeKeyboardTitle; @@ -873,7 +813,7 @@ void ExitConfirm(void) { _pConfimedYes = &ExitGame; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -884,7 +824,7 @@ void StopConfirm(void) extern void StopCurrentGame(void); _pConfimedYes = &StopCurrentGame; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -916,7 +856,7 @@ void ModConnectConfirm(void) CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); _pConfimedYes = &ModConnect; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -927,7 +867,7 @@ void SaveConfirm(void) extern void OnFileSaveOK(void); _pConfimedYes = &OnFileSaveOK; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -944,7 +884,7 @@ void ModConfirm(void) { _pConfimedYes = &ModLoadYes; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); gmConfirmMenu.gm_pgmParentMenu = &gmLoadSaveMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -961,7 +901,7 @@ void VideoConfirm(void) void RevertVideoSettings(void); _pConfimedNo = RevertVideoSettings; - mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); ChangeToMenu( &gmConfirmMenu); @@ -971,7 +911,7 @@ void CDConfirm(void (*pOk)(void)) { _pConfimedYes = pOk; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); if (pgmCurrentMenu!=&gmConfirmMenu) { gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeLarge(); @@ -1119,7 +1059,7 @@ void ModNotInstalled(void) { _pConfimedYes = &ExitAndSpawnExplorer; _pConfimedNo = NULL; - mgConfirmLabel.mg_strText.PrintF( + gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; gmConfirmMenu.BeSmall(); @@ -1154,7 +1094,7 @@ void StartDemoPlay(void) void StartSelectLevelFromSingle(void) { - FilterLevels(SpawnFlagsForGameType(-1)); + FilterLevels(GetSpawnFlagsForGameType(-1)); _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; ChangeToMenu( &gmLevelsMenu); gmLevelsMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; @@ -1358,7 +1298,7 @@ void StartSelectServerNET(void) void StartSelectLevelFromSplit(void) { - FilterLevels(SpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); void StartSplitStartMenu(void); _pAfterLevelChosen = StartSplitStartMenu; ChangeToMenu( &gmLevelsMenu); @@ -1366,7 +1306,7 @@ void StartSelectLevelFromSplit(void) } void StartSelectLevelFromNetwork(void) { - FilterLevels(SpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); void StartNetworkStartMenu(void); _pAfterLevelChosen = StartNetworkStartMenu; ChangeToMenu( &gmLevelsMenu); @@ -2246,23 +2186,27 @@ void InitializeMenus(void) // ------------------- Initialize menus gmConfirmMenu.Initialize_t(); gmConfirmMenu.gm_strName="Confirm"; - gmConfirmMenu.gm_pmgSelectedByDefault = &mgConfirmYes; + gmConfirmMenu.gm_pmgSelectedByDefault = &gmConfirmMenu.gm_mgConfirmYes; gmConfirmMenu.gm_pgmParentMenu = NULL; + InitActionsForConfirmMenu(); gmMainMenu.Initialize_t(); gmMainMenu.gm_strName="Main"; - gmMainMenu.gm_pmgSelectedByDefault = &mgMainSingle; + gmMainMenu.gm_pmgSelectedByDefault = &gmMainMenu.gm_mgSingle; gmMainMenu.gm_pgmParentMenu = NULL; + InitActionsForMainMenu(); gmInGameMenu.Initialize_t(); gmInGameMenu.gm_strName="InGame"; - gmInGameMenu.gm_pmgSelectedByDefault = &mgInGameQuickLoad; + gmInGameMenu.gm_pmgSelectedByDefault = &gmInGameMenu.gm_mgQuickLoad; gmInGameMenu.gm_pgmParentMenu = NULL; + InitActionsForInGameMenu(); gmSinglePlayerMenu.Initialize_t(); gmSinglePlayerMenu.gm_strName="SinglePlayer"; - gmSinglePlayerMenu.gm_pmgSelectedByDefault = &mgSingleNewGame; + gmSinglePlayerMenu.gm_pmgSelectedByDefault = &gmSinglePlayerMenu.gm_mgNewGame; gmSinglePlayerMenu.gm_pgmParentMenu = &gmMainMenu; + InitActionsForSinglePlayerMenu(); gmSinglePlayerNewMenu.Initialize_t(); gmSinglePlayerNewMenu.gm_strName="SinglePlayerNew"; @@ -3233,53 +3177,9 @@ BOOL CGameMenu::OnChar(MSG msg) } // ------------------------ CConfirmMenu implementation -void CConfirmMenu::Initialize_t(void) -{ - gm_bPopup = TRUE; - - mgConfirmLabel.mg_strText = ""; - gm_lhGadgets.AddTail(mgConfirmLabel.mg_lnNode); - mgConfirmLabel.mg_boxOnScreen = BoxPopupLabel(); - mgConfirmLabel.mg_iCenterI = 0; - mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; - - mgConfirmYes.mg_strText = TRANS("YES"); - gm_lhGadgets.AddTail(mgConfirmYes.mg_lnNode); - mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); - mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - mgConfirmYes.mg_pmgLeft = - mgConfirmYes.mg_pmgRight = &mgConfirmNo; - mgConfirmYes.mg_iCenterI = 1; - mgConfirmYes.mg_bfsFontSize = BFS_LARGE; - - mgConfirmNo.mg_strText = TRANS("NO"); - gm_lhGadgets.AddTail(mgConfirmNo.mg_lnNode); - mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); - mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; - mgConfirmNo.mg_pmgLeft = - mgConfirmNo.mg_pmgRight = &mgConfirmYes; - mgConfirmNo.mg_iCenterI = -1; - mgConfirmNo.mg_bfsFontSize = BFS_LARGE; -} - -void CConfirmMenu::BeLarge(void) -{ - mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; - mgConfirmYes.mg_bfsFontSize = BFS_LARGE; - mgConfirmNo.mg_bfsFontSize = BFS_LARGE; - mgConfirmLabel.mg_iCenterI = 0; - mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); - mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); -} - -void CConfirmMenu::BeSmall(void) -{ - mgConfirmLabel.mg_bfsFontSize = BFS_MEDIUM; - mgConfirmYes.mg_bfsFontSize = BFS_MEDIUM; - mgConfirmNo.mg_bfsFontSize = BFS_MEDIUM; - mgConfirmLabel.mg_iCenterI = -1; - mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); - mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); +void InitActionsForConfirmMenu() { + gmConfirmMenu.gm_mgConfirmLabel.mg_pActivatedFunction = &ConfirmYes; + gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; } // return TRUE if handled @@ -3293,428 +3193,69 @@ BOOL CConfirmMenu::OnKeyDown(int iVKey) } // ------------------------ CMainMenu implementation -void CMainMenu::Initialize_t(void) -{ - // intialize main menu -/* - mgMainTitle.mg_strText = "SERIOUS SAM - BETA"; // nothing to see here, kazuya - mgMainTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgMainTitle.mg_lnNode); - */ - - extern CTString sam_strVersion; - mgMainVersionLabel.mg_strText = sam_strVersion; - mgMainVersionLabel.mg_boxOnScreen = BoxVersion(); - mgMainVersionLabel.mg_bfsFontSize = BFS_MEDIUM; - mgMainVersionLabel.mg_iCenterI = +1; - mgMainVersionLabel.mg_bEnabled = FALSE; - mgMainVersionLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgMainVersionLabel.mg_lnNode); - - extern CTString sam_strModName; - mgMainModLabel.mg_strText = sam_strModName; - mgMainModLabel.mg_boxOnScreen = BoxMediumRow(-2.0f); - mgMainModLabel.mg_bfsFontSize = BFS_MEDIUM; - mgMainModLabel.mg_iCenterI = 0; - mgMainModLabel.mg_bEnabled = FALSE; - mgMainModLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgMainModLabel.mg_lnNode); - - mgMainSingle.mg_strText = TRANS("SINGLE PLAYER"); - mgMainSingle.mg_bfsFontSize = BFS_LARGE; - mgMainSingle.mg_boxOnScreen = BoxBigRow(0.0f); - mgMainSingle.mg_strTip = TRANS("single player game menus"); - gm_lhGadgets.AddTail( mgMainSingle.mg_lnNode); - mgMainSingle.mg_pmgUp = &mgMainQuit; - mgMainSingle.mg_pmgDown = &mgMainNetwork; - mgMainSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; - - mgMainNetwork.mg_strText = TRANS("NETWORK"); - mgMainNetwork.mg_bfsFontSize = BFS_LARGE; - mgMainNetwork.mg_boxOnScreen = BoxBigRow(1.0f); - mgMainNetwork.mg_strTip = TRANS("LAN/iNet multiplayer menus"); - gm_lhGadgets.AddTail( mgMainNetwork.mg_lnNode); - mgMainNetwork.mg_pmgUp = &mgMainSingle; - mgMainNetwork.mg_pmgDown = &mgMainSplitScreen; - mgMainNetwork.mg_pActivatedFunction = StartNetworkMenu; - - mgMainSplitScreen.mg_strText = TRANS("SPLIT SCREEN"); - mgMainSplitScreen.mg_bfsFontSize = BFS_LARGE; - mgMainSplitScreen.mg_boxOnScreen = BoxBigRow(2.0f); - mgMainSplitScreen.mg_strTip = TRANS("play with multiple players on one computer"); - gm_lhGadgets.AddTail( mgMainSplitScreen.mg_lnNode); - mgMainSplitScreen.mg_pmgUp = &mgMainNetwork; - mgMainSplitScreen.mg_pmgDown = &mgMainDemo; - mgMainSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; - - mgMainDemo.mg_strText = TRANS("DEMO"); - mgMainDemo.mg_bfsFontSize = BFS_LARGE; - mgMainDemo.mg_boxOnScreen = BoxBigRow(3.0f); - mgMainDemo.mg_strTip = TRANS("play a game demo"); - gm_lhGadgets.AddTail( mgMainDemo.mg_lnNode); - mgMainDemo.mg_pmgUp = &mgMainSplitScreen; - mgMainDemo.mg_pmgDown = &mgMainMods; - mgMainDemo.mg_pActivatedFunction = &StartDemoLoadMenu; - - mgMainMods.mg_strText = TRANS("MODS"); - mgMainMods.mg_bfsFontSize = BFS_LARGE; - mgMainMods.mg_boxOnScreen = BoxBigRow(4.0f); - mgMainMods.mg_strTip = TRANS("run one of installed game modifications"); - gm_lhGadgets.AddTail( mgMainMods.mg_lnNode); - mgMainMods.mg_pmgUp = &mgMainDemo; - mgMainMods.mg_pmgDown = &mgMainHighScore; - - #if TECHTESTONLY - mgMainMods.mg_pActivatedFunction = &DisabledFunction; - #else - mgMainMods.mg_pActivatedFunction = &StartModsLoadMenu; - #endif - - mgMainHighScore.mg_strText = TRANS("HIGH SCORES"); - mgMainHighScore.mg_bfsFontSize = BFS_LARGE; - mgMainHighScore.mg_boxOnScreen = BoxBigRow(5.0f); - mgMainHighScore.mg_strTip = TRANS("view list of top ten best scores"); - gm_lhGadgets.AddTail( mgMainHighScore.mg_lnNode); - mgMainHighScore.mg_pmgUp = &mgMainMods; - mgMainHighScore.mg_pmgDown = &mgMainOptions; - mgMainHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - - mgMainOptions.mg_strText = TRANS("OPTIONS"); - mgMainOptions.mg_bfsFontSize = BFS_LARGE; - mgMainOptions.mg_boxOnScreen = BoxBigRow(6.0f); - mgMainOptions.mg_strTip = TRANS("adjust video, audio and input options"); - gm_lhGadgets.AddTail( mgMainOptions.mg_lnNode); - mgMainOptions.mg_pmgUp = &mgMainHighScore; - mgMainOptions.mg_pmgDown = &mgMainQuit; - mgMainOptions.mg_pActivatedFunction = &StartOptionsMenu; - - mgMainQuit.mg_strText = TRANS("QUIT"); - mgMainQuit.mg_bfsFontSize = BFS_LARGE; - mgMainQuit.mg_boxOnScreen = BoxBigRow(7.0f); - mgMainQuit.mg_strTip = TRANS("exit game immediately"); - gm_lhGadgets.AddTail( mgMainQuit.mg_lnNode); - mgMainQuit.mg_pmgUp = &mgMainOptions; - mgMainQuit.mg_pmgDown = &mgMainSingle; - mgMainQuit.mg_pActivatedFunction = &ExitConfirm; -} -void CMainMenu::StartMenu(void) -{ - mgMainSingle.mg_bEnabled = IsMenuEnabled("Single Player"); - mgMainNetwork.mg_bEnabled = IsMenuEnabled("Network"); - mgMainSplitScreen.mg_bEnabled = IsMenuEnabled("Split Screen"); - mgMainHighScore.mg_bEnabled = IsMenuEnabled("High Score"); - CGameMenu::StartMenu(); -} - -// ------------------------ CMainMenu implementation -void CInGameMenu::Initialize_t(void) -{ - // intialize main menu - mgInGameTitle.mg_strText = TRANS("GAME"); - mgInGameTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgInGameTitle.mg_lnNode); - - mgInGameLabel1.mg_strText = ""; - mgInGameLabel1.mg_boxOnScreen = BoxMediumRow(-2.0); - mgInGameLabel1.mg_bfsFontSize = BFS_MEDIUM; - mgInGameLabel1.mg_iCenterI = -1; - mgInGameLabel1.mg_bEnabled = FALSE; - mgInGameLabel1.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgInGameLabel1.mg_lnNode); - - mgInGameLabel2.mg_strText = ""; - mgInGameLabel2.mg_boxOnScreen = BoxMediumRow(-1.0); - mgInGameLabel2.mg_bfsFontSize = BFS_MEDIUM; - mgInGameLabel2.mg_iCenterI = -1; - mgInGameLabel2.mg_bEnabled = FALSE; - mgInGameLabel2.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgInGameLabel2.mg_lnNode); - - mgInGameQuickLoad.mg_strText = TRANS("QUICK LOAD"); - mgInGameQuickLoad.mg_bfsFontSize = BFS_LARGE; - mgInGameQuickLoad.mg_boxOnScreen = BoxBigRow(0.0f); - mgInGameQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail( mgInGameQuickLoad.mg_lnNode); - mgInGameQuickLoad.mg_pmgUp = &mgInGameQuit; - mgInGameQuickLoad.mg_pmgDown = &mgInGameQuickSave; - mgInGameQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; - - mgInGameQuickSave.mg_strText = TRANS("QUICK SAVE"); - mgInGameQuickSave.mg_bfsFontSize = BFS_LARGE; - mgInGameQuickSave.mg_boxOnScreen = BoxBigRow(1.0f); - mgInGameQuickSave.mg_strTip = TRANS("quick-save current game (F6)"); - gm_lhGadgets.AddTail( mgInGameQuickSave.mg_lnNode); - mgInGameQuickSave.mg_pmgUp = &mgInGameQuickLoad; - mgInGameQuickSave.mg_pmgDown = &mgInGameLoad; - mgInGameQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; - - mgInGameLoad.mg_strText = TRANS("LOAD"); - mgInGameLoad.mg_bfsFontSize = BFS_LARGE; - mgInGameLoad.mg_boxOnScreen = BoxBigRow(2.0f); - mgInGameLoad.mg_strTip = TRANS("load a saved game"); - gm_lhGadgets.AddTail( mgInGameLoad.mg_lnNode); - mgInGameLoad.mg_pmgUp = &mgInGameQuickSave; - mgInGameLoad.mg_pmgDown = &mgInGameSave; - mgInGameLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; - - mgInGameSave.mg_strText = TRANS("SAVE"); - mgInGameSave.mg_bfsFontSize = BFS_LARGE; - mgInGameSave.mg_boxOnScreen = BoxBigRow(3.0f); - mgInGameSave.mg_strTip = TRANS("save current game (each player has own slots!)"); - gm_lhGadgets.AddTail( mgInGameSave.mg_lnNode); - mgInGameSave.mg_pmgUp = &mgInGameLoad; - mgInGameSave.mg_pmgDown = &mgInGameDemoRec; - mgInGameSave.mg_pActivatedFunction = &StartCurrentSaveMenu; - - mgInGameDemoRec.mg_boxOnScreen = BoxBigRow(4.0f); - mgInGameDemoRec.mg_bfsFontSize = BFS_LARGE; - mgInGameDemoRec.mg_pmgUp = &mgInGameSave; - mgInGameDemoRec.mg_pmgDown = &mgInGameHighScore; - mgInGameDemoRec.mg_strText = "Text not set"; - gm_lhGadgets.AddTail( mgInGameDemoRec.mg_lnNode); - mgInGameDemoRec.mg_pActivatedFunction = NULL; // !!! must be set on start menu - - mgInGameHighScore.mg_strText = TRANS("HIGH SCORES"); - mgInGameHighScore.mg_bfsFontSize = BFS_LARGE; - mgInGameHighScore.mg_boxOnScreen = BoxBigRow(5.0f); - mgInGameHighScore.mg_strTip = TRANS("view list of top ten best scores"); - gm_lhGadgets.AddTail( mgInGameHighScore.mg_lnNode); - mgInGameHighScore.mg_pmgUp = &mgInGameDemoRec; - mgInGameHighScore.mg_pmgDown = &mgInGameOptions; - mgInGameHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - - mgInGameOptions.mg_strText = TRANS("OPTIONS"); - mgInGameOptions.mg_bfsFontSize = BFS_LARGE; - mgInGameOptions.mg_boxOnScreen = BoxBigRow(6.0f); - mgInGameOptions.mg_strTip = TRANS("adjust video, audio and input options"); - gm_lhGadgets.AddTail( mgInGameOptions.mg_lnNode); - mgInGameOptions.mg_pmgUp = &mgInGameHighScore; - mgInGameOptions.mg_pmgDown = &mgInGameStop; - mgInGameOptions.mg_pActivatedFunction = &StartOptionsMenu; - - mgInGameStop.mg_strText = TRANS("STOP GAME"); - mgInGameStop.mg_bfsFontSize = BFS_LARGE; - mgInGameStop.mg_boxOnScreen = BoxBigRow(7.0f); - mgInGameStop.mg_strTip = TRANS("stop currently running game"); - gm_lhGadgets.AddTail( mgInGameStop.mg_lnNode); - mgInGameStop.mg_pmgUp = &mgInGameOptions; - mgInGameStop.mg_pmgDown = &mgInGameQuit; +void InitActionsForMainMenu() { + gmMainMenu.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; + gmMainMenu.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; + gmMainMenu.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; + gmMainMenu.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; #if TECHTESTONLY - mgInGameStop.mg_pActivatedFunction = &ExitConfirm; + gmMainMenu.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; #else - mgInGameStop.mg_pActivatedFunction = &StopConfirm; + gmMainMenu.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; #endif - - mgInGameQuit.mg_strText = TRANS("QUIT"); - mgInGameQuit.mg_bfsFontSize = BFS_LARGE; - mgInGameQuit.mg_boxOnScreen = BoxBigRow(8.0f); - mgInGameQuit.mg_strTip = TRANS("exit game immediately"); - gm_lhGadgets.AddTail( mgInGameQuit.mg_lnNode); - mgInGameQuit.mg_pmgUp = &mgInGameStop; - mgInGameQuit.mg_pmgDown = &mgInGameQuickLoad; - mgInGameQuit.mg_pActivatedFunction = &ExitConfirm; + gmMainMenu.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmMainMenu.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + gmMainMenu.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } -void SetDemoStartStopRecText(void) +// ------------------------ CInGameMenu implementation +void InitActionsForInGameMenu() { + + gmInGameMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; + gmInGameMenu.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; + gmInGameMenu.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; + gmInGameMenu.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; + gmInGameMenu.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmInGameMenu.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; +#if TECHTESTONLY + gmInGameMenu.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; +#else + gmInGameMenu.gm_mgStop.mg_pActivatedFunction = &StopConfirm; +#endif + gmInGameMenu.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; +} + +extern void SetDemoStartStopRecText(void) { if( _pNetwork->IsRecordingDemo()) { - mgInGameDemoRec.SetText( TRANS("STOP RECORDING")); - mgInGameDemoRec.mg_strTip = TRANS("stop current recording"); - mgInGameDemoRec.mg_pActivatedFunction = &StopRecordingDemo; + gmInGameMenu.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); + gmInGameMenu.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); + gmInGameMenu.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; } else { - mgInGameDemoRec.SetText( TRANS("RECORD DEMO")); - mgInGameDemoRec.mg_strTip = TRANS("start recording current game"); - mgInGameDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; + gmInGameMenu.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); + gmInGameMenu.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); + gmInGameMenu.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; } } -void CInGameMenu::StartMenu(void) -{ - mgInGameQuickLoad.mg_bEnabled = _pNetwork->IsServer(); - mgInGameQuickSave.mg_bEnabled = _pNetwork->IsServer(); - mgInGameLoad.mg_bEnabled = _pNetwork->IsServer(); - mgInGameSave.mg_bEnabled = _pNetwork->IsServer(); - mgInGameDemoRec.mg_bEnabled = TRUE;//_pNetwork->IsServer(); - SetDemoStartStopRecText(); - - - if (_gmRunningGameMode==GM_SINGLE_PLAYER) { - CPlayerCharacter &pc = _pGame->gm_apcPlayers[ _pGame->gm_iSinglePlayer]; - mgInGameLabel1.mg_strText.PrintF( TRANS("Player: %s"), pc.GetNameForPrinting()); - mgInGameLabel2.mg_strText = ""; - - } else { - if (_pNetwork->IsServer()) { - - CTString strHost, strAddress; - CTString strHostName; - _pNetwork->GetHostName(strHost, strAddress); - if (strHost=="") { - strHostName = TRANS(""); - } else { - strHostName = strHost + " ("+strAddress+")"; - } - - mgInGameLabel1.mg_strText = TRANS("Address: ")+strHostName; - mgInGameLabel2.mg_strText = ""; - } else { - - CTString strConfig; - strConfig = TRANS(""); - if (sam_strNetworkSettings!="") { - LoadStringVar(CTFileName(sam_strNetworkSettings).NoExt()+".des", strConfig); - strConfig.OnlyFirstLine(); - } - - mgInGameLabel1.mg_strText = TRANS("Connected to: ")+_pGame->gam_strJoinAddress; - mgInGameLabel2.mg_strText = TRANS("Connection: ")+strConfig; - } - } - - CGameMenu::StartMenu(); -} // ------------------------ CSinglePlayerMenu implementation -void CSinglePlayerMenu::Initialize_t(void) -{ - // intialize single player menu - mgSingleTitle.mg_strText = TRANS("SINGLE PLAYER"); - mgSingleTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgSingleTitle.mg_lnNode); - - mgSinglePlayerLabel.mg_boxOnScreen = BoxBigRow(-1.0f); - mgSinglePlayerLabel.mg_bfsFontSize = BFS_MEDIUM; - mgSinglePlayerLabel.mg_iCenterI = -1; - mgSinglePlayerLabel.mg_bEnabled = FALSE; - mgSinglePlayerLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(mgSinglePlayerLabel.mg_lnNode); - - mgSingleNewGame.mg_strText = TRANS("NEW GAME"); - mgSingleNewGame.mg_bfsFontSize = BFS_LARGE; - mgSingleNewGame.mg_boxOnScreen = BoxBigRow(0.0f); - mgSingleNewGame.mg_strTip = TRANS("start new game with current player"); - gm_lhGadgets.AddTail( mgSingleNewGame.mg_lnNode); - mgSingleNewGame.mg_pmgUp = &mgSingleOptions; - mgSingleNewGame.mg_pmgDown = &mgSingleCustom; - mgSingleNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; - - mgSingleCustom.mg_strText = TRANS("CUSTOM LEVEL"); - mgSingleCustom.mg_bfsFontSize = BFS_LARGE; - mgSingleCustom.mg_boxOnScreen = BoxBigRow(1.0f); - mgSingleCustom.mg_strTip = TRANS("start new game on a custom level"); - gm_lhGadgets.AddTail( mgSingleCustom.mg_lnNode); - mgSingleCustom.mg_pmgUp = &mgSingleNewGame; - mgSingleCustom.mg_pmgDown = &mgSingleQuickLoad; - #if _SE_DEMO || TECHTESTONLY - mgSingleCustom.mg_pActivatedFunction = &DisabledFunction; - #else - mgSingleCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; - #endif - - mgSingleQuickLoad.mg_strText = TRANS("QUICK LOAD"); - mgSingleQuickLoad.mg_bfsFontSize = BFS_LARGE; - mgSingleQuickLoad.mg_boxOnScreen = BoxBigRow(2.0f); - mgSingleQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail( mgSingleQuickLoad.mg_lnNode); - mgSingleQuickLoad.mg_pmgUp = &mgSingleCustom; - mgSingleQuickLoad.mg_pmgDown = &mgSingleLoad; - mgSingleQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; - - mgSingleLoad.mg_strText = TRANS("LOAD"); - mgSingleLoad.mg_bfsFontSize = BFS_LARGE; - mgSingleLoad.mg_boxOnScreen = BoxBigRow(3.0f); - mgSingleLoad.mg_strTip = TRANS("load a saved game of current player"); - gm_lhGadgets.AddTail( mgSingleLoad.mg_lnNode); - mgSingleLoad.mg_pmgUp = &mgSingleQuickLoad; - mgSingleLoad.mg_pmgDown = &mgSingleTraining; - mgSingleLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; - - mgSingleTraining.mg_strText = TRANS("TRAINING"); - mgSingleTraining.mg_bfsFontSize = BFS_LARGE; - mgSingleTraining.mg_boxOnScreen = BoxBigRow(4.0f); - mgSingleTraining.mg_strTip = TRANS("start training level - KarnakDemo"); - gm_lhGadgets.AddTail( mgSingleTraining.mg_lnNode); - mgSingleTraining.mg_pmgUp = &mgSingleLoad; - mgSingleTraining.mg_pmgDown = &mgSingleTechTest; - mgSingleTraining.mg_pActivatedFunction = &StartTraining; - - mgSingleTechTest.mg_strText = TRANS("TECHNOLOGY TEST"); - mgSingleTechTest.mg_bfsFontSize = BFS_LARGE; - mgSingleTechTest.mg_boxOnScreen = BoxBigRow(5.0f); - mgSingleTechTest.mg_strTip = TRANS("start technology testing level"); - gm_lhGadgets.AddTail( mgSingleTechTest.mg_lnNode); - mgSingleTechTest.mg_pmgUp = &mgSingleTraining; - mgSingleTechTest.mg_pmgDown = &mgSinglePlayersAndControls; - mgSingleTechTest.mg_pActivatedFunction = &StartTechTest; - - mgSinglePlayersAndControls.mg_bfsFontSize = BFS_LARGE; - mgSinglePlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); - mgSinglePlayersAndControls.mg_pmgUp = &mgSingleTechTest; - mgSinglePlayersAndControls.mg_pmgDown = &mgSingleOptions; - mgSinglePlayersAndControls.mg_strText = TRANS("PLAYERS AND CONTROLS"); - mgSinglePlayersAndControls.mg_strTip = TRANS("change currently active player or adjust controls"); - gm_lhGadgets.AddTail( mgSinglePlayersAndControls.mg_lnNode); - mgSinglePlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; - - mgSingleOptions.mg_strText = TRANS("GAME OPTIONS"); - mgSingleOptions.mg_bfsFontSize = BFS_LARGE; - mgSingleOptions.mg_boxOnScreen = BoxBigRow(7.0f); - mgSingleOptions.mg_strTip = TRANS("adjust miscellaneous game options"); - gm_lhGadgets.AddTail( mgSingleOptions.mg_lnNode); - mgSingleOptions.mg_pmgUp = &mgSinglePlayersAndControls; - mgSingleOptions.mg_pmgDown = &mgSingleNewGame; - mgSingleOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; -} - -void CSinglePlayerMenu::StartMenu(void) -{ - mgSingleTraining.mg_bEnabled = IsMenuEnabled("Training"); - mgSingleTechTest.mg_bEnabled = IsMenuEnabled("Technology Test"); - - if (mgSingleTraining.mg_bEnabled) { - if (!mgSingleTraining.mg_lnNode.IsLinked()) { - gm_lhGadgets.AddTail( mgSingleTraining.mg_lnNode); - } - - mgSingleLoad.mg_boxOnScreen = BoxBigRow(3.0f); - mgSingleLoad.mg_pmgUp = &mgSingleQuickLoad; - mgSingleLoad.mg_pmgDown = &mgSingleTraining; - - mgSingleTraining.mg_boxOnScreen = BoxBigRow(4.0f); - mgSingleTraining.mg_pmgUp = &mgSingleLoad; - mgSingleTraining.mg_pmgDown = &mgSingleTechTest; - - mgSingleTechTest.mg_boxOnScreen = BoxBigRow(5.0f); - mgSingleTechTest.mg_pmgUp = &mgSingleTraining; - mgSingleTechTest.mg_pmgDown = &mgSinglePlayersAndControls; - - mgSinglePlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); - mgSingleOptions.mg_boxOnScreen = BoxBigRow(7.0f); - - } else { - if (mgSingleTraining.mg_lnNode.IsLinked()) { - mgSingleTraining.mg_lnNode.Remove(); - } - - mgSingleLoad.mg_boxOnScreen = BoxBigRow(3.0f); - mgSingleLoad.mg_pmgUp = &mgSingleQuickLoad; - mgSingleLoad.mg_pmgDown = &mgSingleTechTest; - - mgSingleTechTest.mg_boxOnScreen = BoxBigRow(4.0f); - mgSingleTechTest.mg_pmgUp = &mgSingleLoad; - mgSingleTechTest.mg_pmgDown = &mgSinglePlayersAndControls; - - mgSinglePlayersAndControls.mg_boxOnScreen = BoxBigRow(5.0f); - mgSingleOptions.mg_boxOnScreen = BoxBigRow(6.0f); - } - - CGameMenu::StartMenu(); - - CPlayerCharacter &pc = _pGame->gm_apcPlayers[ _pGame->gm_iSinglePlayer]; - mgSinglePlayerLabel.mg_strText.PrintF( TRANS("Player: %s\n"), pc.GetNameForPrinting()); +void InitActionsForSinglePlayerMenu() { + gmSinglePlayerMenu.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; +#if _SE_DEMO || TECHTESTONLY + gmSinglePlayerMenu.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; +#else + gmSinglePlayerMenu.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; +#endif + gmSinglePlayerMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; + gmSinglePlayerMenu.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; + gmSinglePlayerMenu.gm_mgTraining.mg_pActivatedFunction = &StartTraining; + gmSinglePlayerMenu.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; + gmSinglePlayerMenu.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; + gmSinglePlayerMenu.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; } // ------------------------ CSinglePlayerNewMenu implementation @@ -5567,7 +5108,7 @@ void CNetworkMenu::StartMenu(void) void UpdateNetworkLevel(INDEX iDummy) { ValidateLevelForFlags(_pGame->gam_strCustomLevel, - SpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); + GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); mgNetworkLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } @@ -6102,7 +5643,7 @@ void CSplitScreenMenu::StartMenu(void) void UpdateSplitLevel(INDEX iDummy) { ValidateLevelForFlags(_pGame->gam_strCustomLevel, - SpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); + GetSpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); mgSplitLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } @@ -6174,10 +5715,11 @@ void CSplitStartMenu::StartMenu(void) UpdateSplitLevel(0); CGameMenu::StartMenu(); } + void CSplitStartMenu::EndMenu(void) { _pShell->SetINDEX("gam_iStartDifficulty", mgSplitDifficulty.mg_iSelected-1); _pShell->SetINDEX("gam_iStartMode", mgSplitGameType.mg_iSelected); CGameMenu::EndMenu(); -} +} \ No newline at end of file diff --git a/Sources/SeriousSam/MenuStuff.cpp b/Sources/SeriousSam/MenuStuff.cpp new file mode 100644 index 0000000..735252b --- /dev/null +++ b/Sources/SeriousSam/MenuStuff.cpp @@ -0,0 +1,38 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include + +#include "MenuStuff.h" + +ULONG GetSpawnFlagsForGameType(INDEX iGameType) +{ + if (iGameType == -1) return SPF_SINGLEPLAYER; + + // get function that will provide us the flags + CShellSymbol *pss = _pShell->GetSymbol("GetSpawnFlagsForGameTypeSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + ASSERT(FALSE); + return 0; + } + + ULONG(*pFunc)(INDEX) = (ULONG(*)(INDEX))pss->ss_pvValue; + return pFunc(iGameType); +} + +BOOL IsMenuEnabled(const CTString &strMenuName) +{ + // get function that will provide us the flags + CShellSymbol *pss = _pShell->GetSymbol("IsMenuEnabledSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + ASSERT(FALSE); + return TRUE; + } + + BOOL(*pFunc)(const CTString &) = (BOOL(*)(const CTString &))pss->ss_pvValue; + return pFunc(strMenuName); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MenuStuff.h b/Sources/SeriousSam/MenuStuff.h new file mode 100644 index 0000000..afbdd4a --- /dev/null +++ b/Sources/SeriousSam/MenuStuff.h @@ -0,0 +1,12 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_STUFF_H +#define SE_INCL_MENU_STUFF_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + +ULONG GetSpawnFlagsForGameType(INDEX iGameType); +BOOL IsMenuEnabled(const CTString &strMenuName); + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 65e77f4..aad83b6 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -182,6 +182,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + Use StdH.h @@ -190,6 +191,10 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + CppCode + + @@ -204,6 +209,9 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + Use StdH.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 17a7967..987e89e 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -111,7 +111,25 @@ Source Files\Gadgets + + Header Files + + + Source Files + + + Source Files\Menus + + + Source Files\Menus + + Source Files + + + Source Files\Menus + + Source Files\Menus From 220875d2de1069777a04ecace23359ed78c6032b Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 02:46:30 +0300 Subject: [PATCH 27/62] GameExecutable: Move some stuff from Menu.cpp into files PART TWO Menu.cpp is so large(>6000 lines). I'll separate it! --- Sources/SeriousSam/MDisabled.cpp | 18 + Sources/SeriousSam/MDisabled.h | 5 + Sources/SeriousSam/MLevels.cpp | 101 +++++ Sources/SeriousSam/MLevels.h | 9 +- Sources/SeriousSam/MSinglePlayerNew.cpp | 87 +++++ Sources/SeriousSam/MSinglePlayerNew.h | 10 + Sources/SeriousSam/MVar.cpp | 121 ++++++ Sources/SeriousSam/MVar.h | 11 + Sources/SeriousSam/Menu.cpp | 344 ++---------------- Sources/SeriousSam/SeriousSam.vcxproj | 4 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 12 + 11 files changed, 407 insertions(+), 315 deletions(-) create mode 100644 Sources/SeriousSam/MDisabled.cpp create mode 100644 Sources/SeriousSam/MLevels.cpp create mode 100644 Sources/SeriousSam/MSinglePlayerNew.cpp create mode 100644 Sources/SeriousSam/MVar.cpp diff --git a/Sources/SeriousSam/MDisabled.cpp b/Sources/SeriousSam/MDisabled.cpp new file mode 100644 index 0000000..828d321 --- /dev/null +++ b/Sources/SeriousSam/MDisabled.cpp @@ -0,0 +1,18 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MDisabled.h" + + +void CDisabledMenu::Initialize_t(void) +{ + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgButton.mg_bfsFontSize = BFS_MEDIUM; + gm_mgButton.mg_boxOnScreen = BoxBigRow(0.0f); + gm_lhGadgets.AddTail(gm_mgButton.mg_lnNode); + gm_mgButton.mg_pActivatedFunction = NULL; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MDisabled.h b/Sources/SeriousSam/MDisabled.h index 7d372f5..90de7ec 100644 --- a/Sources/SeriousSam/MDisabled.h +++ b/Sources/SeriousSam/MDisabled.h @@ -7,10 +7,15 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGTitle.h" class CDisabledMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgButton; + void Initialize_t(void); }; diff --git a/Sources/SeriousSam/MLevels.cpp b/Sources/SeriousSam/MLevels.cpp new file mode 100644 index 0000000..5fe5c6e --- /dev/null +++ b/Sources/SeriousSam/MLevels.cpp @@ -0,0 +1,101 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "LevelInfo.h" +#include "MLevels.h" + + +void CLevelsMenu::Initialize_t(void) +{ + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CHOOSE LEVEL"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + for (INDEX iLabel = 0; iLabel"); + gm_mgManualLevel[i].mg_iInList = -2; + } + + BOOL bHasFirst = FALSE; + BOOL bHasLast = FALSE; + INDEX ctLabels = _lhFilteredLevels.Count(); + INDEX iLabel = 0; + FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itli) { + CLevelInfo &li = *itli; + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + LEVELS_ON_SCREEN))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgManualLevel[iInMenu].mg_strText = li.li_strName; + gm_mgManualLevel[iInMenu].mg_fnmLevel = li.li_fnLevel; + gm_mgManualLevel[iInMenu].mg_bEnabled = TRUE; + gm_mgManualLevel[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } + + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; +} + + + +void CLevelsMenu::StartMenu(void) +{ + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = _lhFilteredLevels.Count(); + gm_iListWantedItem = 0; + // for each level + INDEX i = 0; + FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itlid) { + CLevelInfo &lid = *itlid; + // if it is the chosen one + if (lid.li_fnLevel == _pGame->gam_strCustomLevel) { + // demand focus on it + gm_iListWantedItem = i; + break; + } + i++; + } + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MLevels.h b/Sources/SeriousSam/MLevels.h index 174a86a..61b8d0c 100644 --- a/Sources/SeriousSam/MLevels.h +++ b/Sources/SeriousSam/MLevels.h @@ -7,10 +7,17 @@ #endif #include "GameMenu.h" - +#include "MGArrow.h" +#include "MGLevelButton.h" +#include "MGTitle.h" class CLevelsMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGLevelButton gm_mgManualLevel[LEVELS_ON_SCREEN]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; + void Initialize_t(void); void FillListItems(void); void StartMenu(void); diff --git a/Sources/SeriousSam/MSinglePlayerNew.cpp b/Sources/SeriousSam/MSinglePlayerNew.cpp new file mode 100644 index 0000000..41a0d47 --- /dev/null +++ b/Sources/SeriousSam/MSinglePlayerNew.cpp @@ -0,0 +1,87 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MSinglePlayerNew.h" + + +void CSinglePlayerNewMenu::Initialize_t(void) +{ + // intialize single player new menu + gm_mgTitle.mg_strText = TRANS("NEW GAME"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgTourist.mg_strText = TRANS("TOURIST"); + gm_mgTourist.mg_bfsFontSize = BFS_LARGE; + gm_mgTourist.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgTourist.mg_strTip = TRANS("for non-FPS players"); + gm_lhGadgets.AddTail(gm_mgTourist.mg_lnNode); + gm_mgTourist.mg_pmgUp = &gm_mgSerious; + gm_mgTourist.mg_pmgDown = &gm_mgEasy; + gm_mgTourist.mg_pActivatedFunction = NULL; + + gm_mgEasy.mg_strText = TRANS("EASY"); + gm_mgEasy.mg_bfsFontSize = BFS_LARGE; + gm_mgEasy.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgEasy.mg_strTip = TRANS("for unexperienced FPS players"); + gm_lhGadgets.AddTail(gm_mgEasy.mg_lnNode); + gm_mgEasy.mg_pmgUp = &gm_mgTourist; + gm_mgEasy.mg_pmgDown = &gm_mgMedium; + gm_mgEasy.mg_pActivatedFunction = NULL; + + gm_mgMedium.mg_strText = TRANS("NORMAL"); + gm_mgMedium.mg_bfsFontSize = BFS_LARGE; + gm_mgMedium.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgMedium.mg_strTip = TRANS("for experienced FPS players"); + gm_lhGadgets.AddTail(gm_mgMedium.mg_lnNode); + gm_mgMedium.mg_pmgUp = &gm_mgEasy; + gm_mgMedium.mg_pmgDown = &gm_mgHard; + gm_mgMedium.mg_pActivatedFunction = NULL; + + gm_mgHard.mg_strText = TRANS("HARD"); + gm_mgHard.mg_bfsFontSize = BFS_LARGE; + gm_mgHard.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgHard.mg_strTip = TRANS("for experienced Serious Sam players"); + gm_lhGadgets.AddTail(gm_mgHard.mg_lnNode); + gm_mgHard.mg_pmgUp = &gm_mgMedium; + gm_mgHard.mg_pmgDown = &gm_mgSerious; + gm_mgHard.mg_pActivatedFunction = NULL; + + gm_mgSerious.mg_strText = TRANS("SERIOUS"); + gm_mgSerious.mg_bfsFontSize = BFS_LARGE; + gm_mgSerious.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgSerious.mg_strTip = TRANS("are you serious?"); + gm_lhGadgets.AddTail(gm_mgSerious.mg_lnNode); + gm_mgSerious.mg_pmgUp = &gm_mgHard; + gm_mgSerious.mg_pmgDown = &gm_mgTourist; + gm_mgSerious.mg_pActivatedFunction = NULL; + + gm_mgMental.mg_strText = TRANS("MENTAL"); + gm_mgMental.mg_bfsFontSize = BFS_LARGE; + gm_mgMental.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgMental.mg_strTip = TRANS("you are not serious!"); + gm_lhGadgets.AddTail(gm_mgMental.mg_lnNode); + gm_mgMental.mg_pmgUp = &gm_mgSerious; + gm_mgMental.mg_pmgDown = &gm_mgTourist; + gm_mgMental.mg_pActivatedFunction = NULL; + gm_mgMental.mg_bMental = TRUE; + + +} +void CSinglePlayerNewMenu::StartMenu(void) +{ + CGameMenu::StartMenu(); + extern INDEX sam_bMentalActivated; + if (sam_bMentalActivated) { + gm_mgMental.Appear(); + gm_mgSerious.mg_pmgDown = &gm_mgMental; + gm_mgTourist.mg_pmgUp = &gm_mgMental; + } else { + gm_mgMental.Disappear(); + gm_mgSerious.mg_pmgDown = &gm_mgTourist; + gm_mgTourist.mg_pmgUp = &gm_mgSerious; + } +} diff --git a/Sources/SeriousSam/MSinglePlayerNew.h b/Sources/SeriousSam/MSinglePlayerNew.h index 090a439..e0689da 100644 --- a/Sources/SeriousSam/MSinglePlayerNew.h +++ b/Sources/SeriousSam/MSinglePlayerNew.h @@ -7,10 +7,20 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGTitle.h" class CSinglePlayerNewMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgTourist; + CMGButton gm_mgEasy; + CMGButton gm_mgMedium; + CMGButton gm_mgHard; + CMGButton gm_mgSerious; + CMGButton gm_mgMental; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MVar.cpp b/Sources/SeriousSam/MVar.cpp new file mode 100644 index 0000000..373b5de --- /dev/null +++ b/Sources/SeriousSam/MVar.cpp @@ -0,0 +1,121 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "VarList.h" +#include "MVar.h" + +extern BOOL _bVarChanged; + + +void CVarMenu::Initialize_t(void) +{ + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = ""; + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + for (INDEX iLabel = 0; iLabel= gm_iListOffset) && + (iLabel<(gm_iListOffset + VARS_ON_SCREEN))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgVar[iInMenu].mg_pvsVar = &vs; + gm_mgVar[iInMenu].mg_strTip = vs.vs_strTip; + gm_mgVar[iInMenu].mg_bEnabled = gm_mgVar[iInMenu].IsEnabled(); + gm_mgVar[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; +} + +void CVarMenu::StartMenu(void) +{ + LoadVarSettings(gm_fnmMenuCFG); + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = _lhVarSettings.Count(); + gm_iListWantedItem = 0; + CGameMenu::StartMenu(); +} + +void CVarMenu::EndMenu(void) +{ + // disable all items first + for (INDEX i = 0; i"); - mgManualLevel[i].mg_iInList = -2; - } - - BOOL bHasFirst = FALSE; - BOOL bHasLast = FALSE; - INDEX ctLabels = _lhFilteredLevels.Count(); - INDEX iLabel=0; - FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itli) { - CLevelInfo &li = *itli; - INDEX iInMenu = iLabel-gm_iListOffset; - if( (iLabel>=gm_iListOffset) && - (iLabel<(gm_iListOffset+LEVELS_ON_SCREEN)) ) - { - bHasFirst|=(iLabel==0); - bHasLast |=(iLabel==ctLabels-1); - mgManualLevel[iInMenu].mg_strText = li.li_strName; - mgManualLevel[iInMenu].mg_fnmLevel = li.li_fnLevel; - mgManualLevel[iInMenu].mg_bEnabled = TRUE; - mgManualLevel[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } - - // enable/disable up/down arrows - mgLevelsArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - mgLevelsArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; -} - -void CLevelsMenu::Initialize_t(void) -{ - mgLevelsTitle.mg_boxOnScreen = BoxTitle(); - mgLevelsTitle.mg_strText = TRANS("CHOOSE LEVEL"); - gm_lhGadgets.AddTail( mgLevelsTitle.mg_lnNode); - - for( INDEX iLabel=0; iLabelgam_strCustomLevel) { - // demand focus on it - gm_iListWantedItem = i; - break; - } - i++; - } - CGameMenu::StartMenu(); -} - +// ------------------------ CVarMenu implementation void VarApply(void) { FlushVarSettings(TRUE); @@ -4816,114 +4638,8 @@ void VarApply(void) gmVarMenu.StartMenu(); } -void CVarMenu::Initialize_t(void) -{ - mgVarTitle.mg_boxOnScreen = BoxTitle(); - mgVarTitle.mg_strText = ""; - gm_lhGadgets.AddTail( mgVarTitle.mg_lnNode); - - for( INDEX iLabel=0; iLabel=gm_iListOffset) && - (iLabel<(gm_iListOffset+VARS_ON_SCREEN)) ) - { - bHasFirst|=(iLabel==0); - bHasLast |=(iLabel==ctLabels-1); - mgVar[iInMenu].mg_pvsVar = &vs; - mgVar[iInMenu].mg_strTip = vs.vs_strTip; - mgVar[iInMenu].mg_bEnabled = mgVar[iInMenu].IsEnabled(); - mgVar[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } - // enable/disable up/down arrows - mgVarArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - mgVarArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; -} - -void CVarMenu::StartMenu(void) -{ - LoadVarSettings(gm_fnmMenuCFG); - // set default parameters for the list - gm_iListOffset = 0; - gm_ctListTotal = _lhVarSettings.Count(); - gm_iListWantedItem = 0; - CGameMenu::StartMenu(); -} - -void CVarMenu::EndMenu(void) -{ - // disable all items first - for(INDEX i=0; i + Use StdH.h @@ -210,8 +211,11 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + Use StdH.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 987e89e..378cb3c 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -132,6 +132,18 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + From 764cc874c9a142ba04dce379aa0592b8387245d0 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 02:55:58 +0300 Subject: [PATCH 28/62] Remove generated files --- Scripts/PersistentSymbols.ini | 443 ------ Sources/Ecc/Scanner.cpp | 2211 -------------------------- Sources/Engine/Base/Scanner.cpp | 2037 ------------------------ Sources/Engine/Ska/smcPars.cpp | 1142 ------------- Sources/Engine/Ska/smcScan.cpp | 1869 ---------------------- Sources/SeriousSkaStudio/Scanner.cpp | 2146 ------------------------- 6 files changed, 9848 deletions(-) delete mode 100644 Scripts/PersistentSymbols.ini delete mode 100644 Sources/Ecc/Scanner.cpp delete mode 100644 Sources/Engine/Base/Scanner.cpp delete mode 100644 Sources/Engine/Ska/smcPars.cpp delete mode 100644 Sources/Engine/Ska/smcScan.cpp delete mode 100644 Sources/SeriousSkaStudio/Scanner.cpp diff --git a/Scripts/PersistentSymbols.ini b/Scripts/PersistentSymbols.ini deleted file mode 100644 index 1e6a134..0000000 --- a/Scripts/PersistentSymbols.ini +++ /dev/null @@ -1,443 +0,0 @@ -// automatically saved persistent symbols: -persistent extern user INDEX con_iLastLines=(INDEX)5; -tmp_af[0]=(FLOAT)0; -tmp_af[1]=(FLOAT)0; -tmp_af[2]=(FLOAT)0; -tmp_af[3]=(FLOAT)0; -tmp_af[4]=(FLOAT)0; -tmp_af[5]=(FLOAT)0; -tmp_af[6]=(FLOAT)0; -tmp_af[7]=(FLOAT)0; -tmp_af[8]=(FLOAT)0; -tmp_af[9]=(FLOAT)0; -tmp_ai[0]=(INDEX)0; -tmp_ai[1]=(INDEX)0; -tmp_ai[2]=(INDEX)0; -tmp_ai[3]=(INDEX)0; -tmp_ai[4]=(INDEX)0; -tmp_ai[5]=(INDEX)0; -tmp_ai[6]=(INDEX)0; -tmp_ai[7]=(INDEX)0; -tmp_ai[8]=(INDEX)0; -tmp_ai[9]=(INDEX)0; -persistent extern user INDEX tmp_i=(INDEX)0; -persistent extern user FLOAT tmp_fAdd=(FLOAT)0; -persistent extern user INDEX fil_bPreferZips=(INDEX)0; -persistent extern user INDEX ogl_bUseCompiledVertexArrays=(INDEX)101; -persistent extern user INDEX ogl_bExclusive=(INDEX)1; -persistent extern user INDEX ogl_bAllowQuadArrays=(INDEX)0; -persistent extern user INDEX ogl_iTextureCompressionType=(INDEX)1; -persistent extern user INDEX ogl_iMaxBurstSize=(INDEX)0; -persistent extern user INDEX ogl_bGrabDepthBuffer=(INDEX)0; -persistent extern user INDEX ogl_iFinish=(INDEX)1; -persistent extern user INDEX ogl_iTBufferEffect=(INDEX)0; -persistent extern user INDEX ogl_iTBufferSamples=(INDEX)2; -persistent extern user INDEX ogl_bTruformLinearNormals=(INDEX)1; -persistent extern user INDEX ogl_bAlternateClipPlane=(INDEX)0; -persistent extern user INDEX d3d_bUseHardwareTnL=(INDEX)1; -persistent extern user INDEX d3d_iMaxBurstSize=(INDEX)0; -persistent extern user INDEX d3d_iVertexBuffersSize=(INDEX)1024; -persistent extern user INDEX d3d_iVertexRangeTreshold=(INDEX)99; -persistent extern user INDEX d3d_bAlternateDepthReads=(INDEX)0; -persistent extern INDEX d3d_bFastUpload=(INDEX)1; -persistent extern user INDEX d3d_iFinish=(INDEX)0; -persistent extern user INDEX gap_iUseTextureUnits=(INDEX)4; -persistent extern user INDEX gap_iTextureFiltering=(INDEX)21; -persistent extern user INDEX gap_iTextureAnisotropy=(INDEX)1; -persistent extern user FLOAT gap_fTextureLODBias=(FLOAT)0; -persistent extern user INDEX gap_bAllowGrayTextures=(INDEX)1; -persistent extern user INDEX gap_bAllowSingleMipmap=(INDEX)1; -persistent extern user INDEX gap_bOptimizeStateChanges=(INDEX)1; -persistent extern user INDEX gap_iOptimizeDepthReads=(INDEX)1; -persistent extern user INDEX gap_iOptimizeClipping=(INDEX)2; -persistent extern user INDEX gap_iSwapInterval=(INDEX)0; -persistent extern user INDEX gap_iRefreshRate=(INDEX)0; -persistent extern user INDEX gap_iDithering=(INDEX)2; -persistent extern user INDEX gap_bForceTruform=(INDEX)0; -persistent extern user INDEX gap_iTruformLevel=(INDEX)0; -persistent extern user INDEX gap_iDepthBits=(INDEX)0; -persistent extern user INDEX gap_iStencilBits=(INDEX)0; -persistent extern user FLOAT mdl_fLODMul=(FLOAT)1; -persistent extern user FLOAT mdl_fLODAdd=(FLOAT)0; -persistent extern user INDEX mdl_iLODDisappear=(INDEX)1; -persistent extern user INDEX mdl_bRenderDetail=(INDEX)1; -persistent extern user INDEX mdl_bRenderSpecular=(INDEX)1; -persistent extern user INDEX mdl_bRenderReflection=(INDEX)1; -persistent extern user INDEX mdl_bAllowOverbright=(INDEX)1; -persistent extern user INDEX mdl_bFineQuality=(INDEX)1; -persistent extern user INDEX mdl_iShadowQuality=(INDEX)1; -persistent extern user FLOAT ska_fLODMul=(FLOAT)1; -persistent extern user FLOAT ska_fLODAdd=(FLOAT)0; -persistent extern user FLOAT gfx_tmProbeDecay=(FLOAT)30; -persistent extern user INDEX gfx_iProbeSize=(INDEX)256; -persistent extern user INDEX gfx_bClearScreen=(INDEX)0; -persistent extern user INDEX gfx_bDisableMultiMonSupport=(INDEX)1; -persistent extern user INDEX gfx_bDisableWindowsKeys=(INDEX)1; -persistent extern user INDEX gfx_bDecoratedText=(INDEX)1; -persistent extern user INDEX tex_iNormalQuality=(INDEX)22; -persistent extern user INDEX tex_iAnimationQuality=(INDEX)11; -persistent extern user INDEX tex_bFineEffect=(INDEX)0; -persistent extern user INDEX tex_bFineFog=(INDEX)1; -persistent extern user INDEX tex_iNormalSize=(INDEX)9; -persistent extern user INDEX tex_iAnimationSize=(INDEX)7; -persistent extern user INDEX tex_iEffectSize=(INDEX)7; -persistent extern user INDEX tex_iFogSize=(INDEX)7; -persistent extern user INDEX tex_bCompressAlphaChannel=(INDEX)0; -persistent extern user INDEX tex_bAlternateCompression=(INDEX)0; -persistent extern user INDEX tex_bDynamicMipmaps=(INDEX)0; -persistent extern user INDEX tex_iDithering=(INDEX)3; -persistent extern user INDEX tex_iFiltering=(INDEX)0; -persistent extern user INDEX tex_iEffectFiltering=(INDEX)4; -persistent extern user INDEX tex_bProgressiveFilter=(INDEX)0; -persistent extern user INDEX shd_iStaticSize=(INDEX)8; -persistent extern user INDEX shd_iDynamicSize=(INDEX)8; -persistent extern user INDEX shd_bFineQuality=(INDEX)1; -persistent extern user INDEX shd_iAllowDynamic=(INDEX)1; -persistent extern user INDEX shd_bDynamicMipmaps=(INDEX)1; -persistent extern user INDEX shd_iFiltering=(INDEX)3; -persistent extern user INDEX shd_iDithering=(INDEX)1; -persistent extern user FLOAT shd_tmFlushDelay=(FLOAT)30; -persistent extern user FLOAT shd_fCacheSize=(FLOAT)8; -persistent extern user INDEX shd_bCacheAll=(INDEX)0; -persistent extern user INDEX shd_bAllowFlats=(INDEX)1; -persistent extern INDEX shd_iForceFlats=(INDEX)0; -persistent extern user INDEX gfx_iLensFlareQuality=(INDEX)3; -persistent extern user INDEX wld_bTextureLayers=(INDEX)111; -persistent extern user INDEX wld_bRenderMirrors=(INDEX)1; -persistent extern user FLOAT wld_fEdgeOffsetI=(FLOAT)0; -persistent extern user FLOAT wld_fEdgeAdjustK=(FLOAT)1; -persistent extern user INDEX wld_iDetailRemovingBias=(INDEX)3; -persistent extern user INDEX wed_bUseBaseForReplacement=(INDEX)0; -persistent extern user INDEX tex_iHueShift=(INDEX)0; -persistent extern user FLOAT tex_fSaturation=(FLOAT)1; -persistent extern user INDEX shd_iHueShift=(INDEX)0; -persistent extern user FLOAT shd_fSaturation=(FLOAT)1; -persistent extern user INDEX gfx_iHueShift=(INDEX)0; -persistent extern user FLOAT gfx_fSaturation=(FLOAT)1; -persistent extern user FLOAT gfx_fBrightness=(FLOAT)0; -persistent extern user FLOAT gfx_fContrast=(FLOAT)1; -persistent extern user FLOAT gfx_fGamma=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasR=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasG=(FLOAT)1; -persistent extern user FLOAT gfx_fBiasB=(FLOAT)1; -persistent extern user INDEX gfx_iLevels=(INDEX)256; -persistent extern user INDEX gfx_iStereo=(INDEX)0; -persistent extern user INDEX gfx_bStereoInvert=(INDEX)0; -persistent extern user INDEX gfx_iStereoOffset=(INDEX)10; -persistent extern user FLOAT gfx_fStereoSeparation=(FLOAT)0.25; -persistent extern user FLOAT snd_fEarsDistance=(FLOAT)0.2; -persistent extern user FLOAT snd_fDelaySoundSpeed=(FLOAT)1e+010; -persistent extern user FLOAT snd_fDopplerSoundSpeed=(FLOAT)330; -persistent extern user FLOAT snd_fPanStrength=(FLOAT)0.1; -persistent extern user FLOAT snd_fLRFilter=(FLOAT)3; -persistent extern user FLOAT snd_fBFilter=(FLOAT)5; -persistent extern user FLOAT snd_fUFilter=(FLOAT)1; -persistent extern user FLOAT snd_fDFilter=(FLOAT)3; -persistent extern user FLOAT snd_fSoundVolume=(FLOAT)1; -persistent extern user FLOAT snd_fMusicVolume=(FLOAT)1; -persistent extern user FLOAT snd_fNormalizer=(FLOAT)0.9; -persistent extern user FLOAT snd_tmMixAhead=(FLOAT)0.2; -persistent extern user INDEX snd_iInterface=(INDEX)1; -persistent extern user INDEX snd_iDevice=(INDEX)-1; -persistent extern user INDEX snd_iFormat=(INDEX)3; -persistent extern user INDEX snd_iMaxExtraChannels=(INDEX)32; -persistent extern user INDEX snd_iMaxOpenRetries=(INDEX)3; -persistent extern user FLOAT snd_tmOpenFailDelay=(FLOAT)0.5; -persistent extern user FLOAT snd_fEAXPanning=(FLOAT)0; -persistent extern user INDEX gam_bPretouch=(INDEX)0; -persistent extern user CTString cmd_cmdOnTick=""; -persistent extern user CTString cmd_cmdOnChat=""; -persistent extern user INDEX ent_bReportSpawnInWall=(INDEX)0; -persistent extern user FLOAT ser_tmSyncCheckFrequency=(FLOAT)1; -persistent extern user INDEX ser_iSyncCheckBuffer=(INDEX)60; -persistent extern user INDEX cli_bLerpActions=(INDEX)0; -persistent extern user INDEX cli_bReportPredicted=(INDEX)0; -persistent extern user INDEX net_iExactTimer=(INDEX)2; -persistent extern user CTString net_strLocalHost=""; -persistent extern user CTString net_strLocationCode=""; -persistent extern user INDEX ser_iExtensiveSyncCheck=(INDEX)0; -persistent extern user INDEX net_bLookupHostNames=(INDEX)0; -persistent extern user INDEX net_iCompression=(INDEX)1; -persistent extern user INDEX net_bReportPackets=(INDEX)0; -persistent extern user INDEX net_iMaxSendRetries=(INDEX)10; -persistent extern user FLOAT net_fSendRetryWait=(FLOAT)0.5; -persistent extern user INDEX net_bReportTraffic=(INDEX)0; -persistent extern user INDEX net_bReportICMPErrors=(INDEX)0; -persistent extern user INDEX net_bReportMiscErrors=(INDEX)0; -persistent extern user INDEX net_bLerping=(INDEX)1; -persistent extern user INDEX ser_bClientsMayPause=(INDEX)1; -persistent extern user INDEX ser_bEnumeration=(INDEX)1; -persistent extern user INDEX ser_bPingGameAgent=(INDEX)1; -persistent extern user FLOAT ser_tmKeepAlive=(FLOAT)0.1; -persistent extern user FLOAT ser_tmPingUpdate=(FLOAT)3; -persistent extern user INDEX ser_bWaitFirstPlayer=(INDEX)0; -persistent extern user INDEX ser_iMaxAllowedBPS=(INDEX)8000; -persistent extern user CTString ser_strIPMask=""; -persistent extern user CTString ser_strNameMask=""; -persistent extern user INDEX ser_bInverseBanning=(INDEX)0; -persistent extern user CTString ser_strMOTD=""; -persistent extern user INDEX cli_bAutoAdjustSettings=(INDEX)0; -persistent extern user FLOAT cli_tmAutoAdjustThreshold=(FLOAT)2; -persistent extern user INDEX cli_bPrediction=(INDEX)0; -persistent extern user INDEX cli_iMaxPredictionSteps=(INDEX)10; -persistent extern user INDEX cli_bPredictIfServer=(INDEX)0; -persistent extern user INDEX cli_bPredictLocalPlayers=(INDEX)1; -persistent extern user INDEX cli_bPredictRemotePlayers=(INDEX)0; -persistent extern user FLOAT cli_fPredictEntitiesRange=(FLOAT)20; -persistent extern user FLOAT cli_fPredictionFilter=(FLOAT)0.5; -persistent extern user INDEX cli_iSendBehind=(INDEX)3; -persistent extern user INDEX cli_iPredictionFlushing=(INDEX)1; -persistent extern user INDEX cli_iBufferActions=(INDEX)1; -persistent extern user INDEX cli_iMaxBPS=(INDEX)4000; -persistent extern user INDEX cli_iMinBPS=(INDEX)100; -persistent extern user INDEX net_iGraphBuffer=(INDEX)100; -persistent extern user INDEX gam_iPrecachePolicy=(INDEX)1; -persistent extern user INDEX inp_iKeyboardReadingMethod=(INDEX)2; -persistent extern user INDEX inp_bAllowMouseAcceleration=(INDEX)1; -persistent extern user FLOAT inp_fMouseSensitivity=(FLOAT)1; -persistent extern user INDEX inp_bMousePrecision=(INDEX)0; -persistent extern user FLOAT inp_fMousePrecisionFactor=(FLOAT)4; -persistent extern user FLOAT inp_fMousePrecisionThreshold=(FLOAT)10; -persistent extern user FLOAT inp_fMousePrecisionTimeout=(FLOAT)0.25; -persistent extern user INDEX inp_bInvertMouse=(INDEX)0; -persistent extern user INDEX inp_bFilterMouse=(INDEX)0; -persistent extern user INDEX inp_bAllowPrescan=(INDEX)1; -persistent extern user INDEX inp_i2ndMousePort=(INDEX)0; -persistent extern user INDEX inp_bInvert2ndMouse=(INDEX)0; -persistent extern user INDEX inp_bFilter2ndMouse=(INDEX)0; -persistent extern user FLOAT inp_f2ndMouseSensitivity=(FLOAT)1; -persistent extern user INDEX inp_b2ndMousePrecision=(INDEX)0; -persistent extern user FLOAT inp_f2ndMousePrecisionFactor=(FLOAT)4; -persistent extern user FLOAT inp_f2ndMousePrecisionThreshold=(FLOAT)10; -persistent extern user FLOAT inp_f2ndMousePrecisionTimeout=(FLOAT)0.25; -persistent extern user INDEX inp_bMsgDebugger=(INDEX)0; -persistent extern user INDEX inp_iMButton4Up=(INDEX)131072; -persistent extern user INDEX inp_iMButton4Dn=(INDEX)131136; -persistent extern user INDEX inp_iMButton5Up=(INDEX)65536; -persistent extern user INDEX inp_iMButton5Dn=(INDEX)65568; -persistent extern user INDEX inp_ctJoysticksAllowed=(INDEX)8; -persistent extern user INDEX inp_bForceJoystickPolling=(INDEX)0; -persistent extern user INDEX inp_bAutoDisableJoysticks=(INDEX)0; -persistent extern user INDEX wed_bUseGenericTextureReplacement=(INDEX)0; -persistent extern user FLOAT ctl_tmComputerDoubleClick=(FLOAT)0.5; -persistent extern user FLOAT ctl_fButtonRotationSpeedH=(FLOAT)300; -persistent extern user FLOAT ctl_fButtonRotationSpeedP=(FLOAT)150; -persistent extern user FLOAT ctl_fButtonRotationSpeedB=(FLOAT)150; -persistent extern user FLOAT ctl_fAxisStrafingModifier=(FLOAT)1; -persistent extern user FLOAT cli_fPredictPlayersRange=(FLOAT)0; -persistent extern user FLOAT cli_fPredictItemsRange=(FLOAT)3; -persistent extern user FLOAT cli_tmPredictFoe=(FLOAT)10; -persistent extern user FLOAT cli_tmPredictAlly=(FLOAT)10; -persistent extern user FLOAT cli_tmPredictEnemy=(FLOAT)10; -persistent extern user INDEX hud_bShowLatency=(INDEX)0; -persistent extern user INDEX hud_iShowPlayers=(INDEX)-1; -persistent extern user INDEX hud_iSortPlayers=(INDEX)-1; -persistent extern user INDEX hud_bShowWeapon=(INDEX)1; -persistent extern user INDEX hud_bShowMessages=(INDEX)1; -persistent extern user FLOAT hud_fScaling=(FLOAT)1; -persistent extern user FLOAT hud_fOpacity=(FLOAT)0.9; -persistent extern user FLOAT hud_tmWeaponsOnScreen=(FLOAT)3; -persistent extern user FLOAT hud_tmLatencySnapshot=(FLOAT)1; -persistent extern user FLOAT plr_fBreathingStrength=(FLOAT)0; -persistent extern user INDEX hud_bShowMatchInfo=(INDEX)1; -wpn_fRecoilSpeed[0]=(FLOAT)0; -wpn_fRecoilSpeed[1]=(FLOAT)0; -wpn_fRecoilSpeed[2]=(FLOAT)0; -wpn_fRecoilSpeed[3]=(FLOAT)0; -wpn_fRecoilSpeed[4]=(FLOAT)0; -wpn_fRecoilSpeed[5]=(FLOAT)0; -wpn_fRecoilSpeed[6]=(FLOAT)0; -wpn_fRecoilSpeed[7]=(FLOAT)0; -wpn_fRecoilSpeed[8]=(FLOAT)0; -wpn_fRecoilSpeed[9]=(FLOAT)0; -wpn_fRecoilSpeed[10]=(FLOAT)0; -wpn_fRecoilSpeed[11]=(FLOAT)0; -wpn_fRecoilSpeed[12]=(FLOAT)0; -wpn_fRecoilSpeed[13]=(FLOAT)0; -wpn_fRecoilSpeed[14]=(FLOAT)0; -wpn_fRecoilSpeed[15]=(FLOAT)0; -wpn_fRecoilSpeed[16]=(FLOAT)0; -wpn_fRecoilLimit[0]=(FLOAT)0; -wpn_fRecoilLimit[1]=(FLOAT)0; -wpn_fRecoilLimit[2]=(FLOAT)0; -wpn_fRecoilLimit[3]=(FLOAT)0; -wpn_fRecoilLimit[4]=(FLOAT)0; -wpn_fRecoilLimit[5]=(FLOAT)0; -wpn_fRecoilLimit[6]=(FLOAT)0; -wpn_fRecoilLimit[7]=(FLOAT)0; -wpn_fRecoilLimit[8]=(FLOAT)0; -wpn_fRecoilLimit[9]=(FLOAT)0; -wpn_fRecoilLimit[10]=(FLOAT)0; -wpn_fRecoilLimit[11]=(FLOAT)0; -wpn_fRecoilLimit[12]=(FLOAT)0; -wpn_fRecoilLimit[13]=(FLOAT)0; -wpn_fRecoilLimit[14]=(FLOAT)0; -wpn_fRecoilLimit[15]=(FLOAT)0; -wpn_fRecoilLimit[16]=(FLOAT)0; -wpn_fRecoilDampUp[0]=(FLOAT)0; -wpn_fRecoilDampUp[1]=(FLOAT)0; -wpn_fRecoilDampUp[2]=(FLOAT)0; -wpn_fRecoilDampUp[3]=(FLOAT)0; -wpn_fRecoilDampUp[4]=(FLOAT)0; -wpn_fRecoilDampUp[5]=(FLOAT)0; -wpn_fRecoilDampUp[6]=(FLOAT)0; -wpn_fRecoilDampUp[7]=(FLOAT)0; -wpn_fRecoilDampUp[8]=(FLOAT)0; -wpn_fRecoilDampUp[9]=(FLOAT)0; -wpn_fRecoilDampUp[10]=(FLOAT)0; -wpn_fRecoilDampUp[11]=(FLOAT)0; -wpn_fRecoilDampUp[12]=(FLOAT)0; -wpn_fRecoilDampUp[13]=(FLOAT)0; -wpn_fRecoilDampUp[14]=(FLOAT)0; -wpn_fRecoilDampUp[15]=(FLOAT)0; -wpn_fRecoilDampUp[16]=(FLOAT)0; -wpn_fRecoilDampDn[0]=(FLOAT)0; -wpn_fRecoilDampDn[1]=(FLOAT)0; -wpn_fRecoilDampDn[2]=(FLOAT)0; -wpn_fRecoilDampDn[3]=(FLOAT)0; -wpn_fRecoilDampDn[4]=(FLOAT)0; -wpn_fRecoilDampDn[5]=(FLOAT)0; -wpn_fRecoilDampDn[6]=(FLOAT)0; -wpn_fRecoilDampDn[7]=(FLOAT)0; -wpn_fRecoilDampDn[8]=(FLOAT)0; -wpn_fRecoilDampDn[9]=(FLOAT)0; -wpn_fRecoilDampDn[10]=(FLOAT)0; -wpn_fRecoilDampDn[11]=(FLOAT)0; -wpn_fRecoilDampDn[12]=(FLOAT)0; -wpn_fRecoilDampDn[13]=(FLOAT)0; -wpn_fRecoilDampDn[14]=(FLOAT)0; -wpn_fRecoilDampDn[15]=(FLOAT)0; -wpn_fRecoilDampDn[16]=(FLOAT)0; -wpn_fRecoilOffset[0]=(FLOAT)0; -wpn_fRecoilOffset[1]=(FLOAT)0; -wpn_fRecoilOffset[2]=(FLOAT)0; -wpn_fRecoilOffset[3]=(FLOAT)0; -wpn_fRecoilOffset[4]=(FLOAT)0; -wpn_fRecoilOffset[5]=(FLOAT)0; -wpn_fRecoilOffset[6]=(FLOAT)0; -wpn_fRecoilOffset[7]=(FLOAT)0; -wpn_fRecoilOffset[8]=(FLOAT)0; -wpn_fRecoilOffset[9]=(FLOAT)0; -wpn_fRecoilOffset[10]=(FLOAT)0; -wpn_fRecoilOffset[11]=(FLOAT)0; -wpn_fRecoilOffset[12]=(FLOAT)0; -wpn_fRecoilOffset[13]=(FLOAT)0; -wpn_fRecoilOffset[14]=(FLOAT)0; -wpn_fRecoilOffset[15]=(FLOAT)0; -wpn_fRecoilOffset[16]=(FLOAT)0; -wpn_fRecoilFactorP[0]=(FLOAT)0; -wpn_fRecoilFactorP[1]=(FLOAT)0; -wpn_fRecoilFactorP[2]=(FLOAT)0; -wpn_fRecoilFactorP[3]=(FLOAT)0; -wpn_fRecoilFactorP[4]=(FLOAT)0; -wpn_fRecoilFactorP[5]=(FLOAT)0; -wpn_fRecoilFactorP[6]=(FLOAT)0; -wpn_fRecoilFactorP[7]=(FLOAT)0; -wpn_fRecoilFactorP[8]=(FLOAT)0; -wpn_fRecoilFactorP[9]=(FLOAT)0; -wpn_fRecoilFactorP[10]=(FLOAT)0; -wpn_fRecoilFactorP[11]=(FLOAT)0; -wpn_fRecoilFactorP[12]=(FLOAT)0; -wpn_fRecoilFactorP[13]=(FLOAT)0; -wpn_fRecoilFactorP[14]=(FLOAT)0; -wpn_fRecoilFactorP[15]=(FLOAT)0; -wpn_fRecoilFactorP[16]=(FLOAT)0; -wpn_fRecoilFactorZ[0]=(FLOAT)0; -wpn_fRecoilFactorZ[1]=(FLOAT)0; -wpn_fRecoilFactorZ[2]=(FLOAT)0; -wpn_fRecoilFactorZ[3]=(FLOAT)0; -wpn_fRecoilFactorZ[4]=(FLOAT)0; -wpn_fRecoilFactorZ[5]=(FLOAT)0; -wpn_fRecoilFactorZ[6]=(FLOAT)0; -wpn_fRecoilFactorZ[7]=(FLOAT)0; -wpn_fRecoilFactorZ[8]=(FLOAT)0; -wpn_fRecoilFactorZ[9]=(FLOAT)0; -wpn_fRecoilFactorZ[10]=(FLOAT)0; -wpn_fRecoilFactorZ[11]=(FLOAT)0; -wpn_fRecoilFactorZ[12]=(FLOAT)0; -wpn_fRecoilFactorZ[13]=(FLOAT)0; -wpn_fRecoilFactorZ[14]=(FLOAT)0; -wpn_fRecoilFactorZ[15]=(FLOAT)0; -wpn_fRecoilFactorZ[16]=(FLOAT)0; -persistent extern user FLOAT plr_fFOV=(FLOAT)90; -persistent extern user FLOAT plr_fFrontClipDistance=(FLOAT)0.25; -persistent extern user INDEX plr_bRenderPicked=(INDEX)0; -persistent extern user INDEX plr_bRenderPickedParticles=(INDEX)0; -persistent extern user INDEX plr_bOnlySam=(INDEX)0; -persistent extern user INDEX ent_bReportBrokenChains=(INDEX)0; -persistent extern user FLOAT ent_tmMentalIn=(FLOAT)0.5; -persistent extern user FLOAT ent_tmMentalOut=(FLOAT)0.75; -persistent extern user FLOAT ent_tmMentalFade=(FLOAT)0.5; -persistent extern user FLOAT gfx_fEnvParticlesDensity=(FLOAT)1; -persistent extern user FLOAT gfx_fEnvParticlesRange=(FLOAT)1; -persistent extern user INDEX hud_bCrosshairFixed=(INDEX)0; -persistent extern user INDEX hud_bCrosshairColoring=(INDEX)1; -persistent extern user FLOAT hud_fCrosshairScale=(FLOAT)1; -persistent extern user FLOAT hud_fCrosshairRatio=(FLOAT)0.5; -persistent extern user FLOAT hud_fCrosshairOpacity=(FLOAT)1; -persistent extern user INDEX hud_bShowPlayerName=(INDEX)1; -persistent extern user INDEX hud_bShowCoords=(INDEX)0; -persistent extern user FLOAT plr_tmSnoopingTime=(FLOAT)1; -persistent extern user FLOAT plr_tmSnoopingDelay=(FLOAT)1; -persistent extern user FLOAT inp_fIFeelGain=(FLOAT)1; -persistent extern INDEX sam_bFullScreen=(INDEX)0; -persistent extern INDEX sam_iScreenSizeI=(INDEX)1024; -persistent extern INDEX sam_iScreenSizeJ=(INDEX)768; -persistent extern INDEX sam_iDisplayDepth=(INDEX)0; -persistent extern INDEX sam_iDisplayAdapter=(INDEX)0; -persistent extern INDEX sam_iGfxAPI=(INDEX)0; -persistent extern INDEX sam_bFirstStarted=(INDEX)0; -persistent extern INDEX sam_bAutoAdjustAudio=(INDEX)1; -persistent extern user INDEX sam_bWideScreen=(INDEX)0; -persistent extern user FLOAT sam_fPlayerOffset=(FLOAT)0; -persistent extern user INDEX sam_bAutoPlayDemos=(INDEX)1; -persistent extern user INDEX sam_iMaxFPSActive=(INDEX)500; -persistent extern user INDEX sam_iMaxFPSInactive=(INDEX)10; -persistent extern user INDEX sam_bPauseOnMinimize=(INDEX)1; -persistent extern user FLOAT sam_tmDisplayModeReport=(FLOAT)5; -persistent extern user CTString sam_strNetworkSettings=""; -persistent extern user CTString sam_strIntroLevel="Levels\\LevelsMP\\Intro.wld"; -persistent extern user CTString sam_strGameName="serioussamse"; -persistent extern INDEX sam_bShowAllLevels=(INDEX)0; -persistent extern INDEX sam_bMentalActivated=(INDEX)0; -persistent extern user INDEX sam_iVideoSetup=(INDEX)3; -persistent extern user INDEX hud_bShowTime=(INDEX)0; -persistent extern user INDEX hud_bShowClock=(INDEX)0; -persistent extern user INDEX dem_iProfileRate=(INDEX)5; -persistent extern user INDEX hud_bShowNetGraph=(INDEX)0; -persistent extern user FLOAT gam_fManaTransferFactor=(FLOAT)0.5; -persistent extern user FLOAT gam_fExtraEnemyStrength=(FLOAT)0; -persistent extern user FLOAT gam_fExtraEnemyStrengthPerPlayer=(FLOAT)0; -persistent extern user INDEX gam_iInitialMana=(INDEX)100; -persistent extern user INDEX gam_iScoreLimit=(INDEX)100000; -persistent extern user INDEX gam_iFragLimit=(INDEX)20; -persistent extern user INDEX gam_iTimeLimit=(INDEX)0; -persistent extern user INDEX gam_ctMaxPlayers=(INDEX)8; -persistent extern user INDEX gam_bWaitAllPlayers=(INDEX)0; -persistent extern user INDEX gam_bFriendlyFire=(INDEX)0; -persistent extern user INDEX gam_bPlayEntireGame=(INDEX)1; -persistent extern user INDEX gam_bWeaponsStay=(INDEX)1; -persistent extern user INDEX gam_bAmmoStays=(INDEX)1; -persistent extern user INDEX gam_bHealthArmorStays=(INDEX)1; -persistent extern user INDEX gam_bAllowHealth=(INDEX)1; -persistent extern user INDEX gam_bAllowArmor=(INDEX)1; -persistent extern user INDEX gam_bInfiniteAmmo=(INDEX)0; -persistent extern user INDEX gam_bRespawnInPlace=(INDEX)1; -persistent extern user INDEX gam_iCredits=(INDEX)-1; -persistent extern user FLOAT gam_tmSpawnInvulnerability=(FLOAT)3; -persistent extern user INDEX gam_iBlood=(INDEX)2; -persistent extern user INDEX gam_bGibs=(INDEX)1; -persistent extern user INDEX gam_bUseExtraEnemies=(INDEX)1; -persistent extern user INDEX gam_iStartDifficulty=(INDEX)1; -persistent extern user INDEX gam_iStartMode=(INDEX)0; -persistent extern user CTString gam_strGameAgentExtras=""; -persistent extern user CTString gam_strCustomLevel="Levels\\Default.wld"; -persistent extern user CTString gam_strSessionName="Unnamed session"; -persistent extern user CTString gam_strJoinAddress="serveraddress"; -persistent extern user INDEX gam_bEnableAdvancedObserving=(INDEX)0; -persistent extern user FLOAT con_fHeightFactor=(FLOAT)0.5; -persistent extern user FLOAT con_tmLastLines=(FLOAT)5; -persistent extern user INDEX wed_iMaxFPSActive=(INDEX)500; -persistent extern user FLOAT wed_fFrontClipDistance=(FLOAT)0.5; -persistent extern CTString sam_strLastRenderer="none"; -persistent extern INDEX sam_iLastSetup=(INDEX)1; diff --git a/Sources/Ecc/Scanner.cpp b/Sources/Ecc/Scanner.cpp deleted file mode 100644 index d31f14b..0000000 --- a/Sources/Ecc/Scanner.cpp +++ /dev/null @@ -1,2211 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include -#include - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 84 -#define YY_END_OF_BUFFER 85 -static yyconst short int yy_accept[415] = - { 0, - 0, 0, 0, 0, 76, 76, 85, 83, 81, 82, - 65, 83, 65, 83, 65, 66, 66, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 79, 79, 76, 75, 76, 81, 0, 70, 73, - 0, 71, 77, 0, 68, 66, 0, 0, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 9, 72, 72, 72, - 72, 72, 72, 72, 72, 5, 72, 72, 72, 72, - 33, 72, 72, 72, 72, 72, 72, 72, 72, 72, - - 72, 72, 72, 72, 72, 78, 76, 74, 0, 80, - 68, 68, 0, 69, 67, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 4, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 69, 72, 72, 44, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 35, 3, 72, 72, 72, 6, 7, 72, 72, - 72, 72, 72, 72, 36, 72, 20, 72, 39, 72, - - 72, 72, 72, 72, 72, 37, 72, 72, 72, 23, - 72, 10, 32, 72, 58, 72, 72, 72, 72, 45, - 72, 72, 72, 72, 46, 72, 47, 48, 72, 72, - 8, 72, 11, 19, 72, 72, 64, 72, 72, 27, - 72, 72, 72, 72, 72, 26, 72, 72, 72, 72, - 72, 72, 1, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 24, 72, 72, 12, 72, 72, 72, 38, 15, - 13, 2, 72, 72, 72, 72, 62, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 61, 72, 72, 72, - - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 25, 72, 14, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 40, 72, 72, 72, 72, 72, 17, 16, - 72, 22, 72, 72, 72, 72, 72, 72, 59, 72, - 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, - 72, 72, 72, 30, 34, 72, 72, 21, 18, 72, - 72, 72, 72, 72, 72, 42, 72, 72, 72, 72, - 72, 72, 29, 31, 28, 52, 72, 72, 72, 72, - 72, 72, 72, 72, 72, 72, 57, 72, 72, 72, - 50, 54, 53, 72, 72, 72, 72, 63, 72, 72, - - 72, 72, 41, 55, 56, 72, 49, 51, 72, 72, - 43, 72, 60, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 4, 5, 1, 1, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 18, - 19, 18, 18, 18, 18, 18, 18, 20, 21, 22, - 23, 24, 25, 1, 26, 27, 28, 29, 30, 31, - 32, 33, 34, 33, 33, 35, 36, 37, 38, 39, - 33, 40, 41, 42, 43, 33, 33, 44, 45, 33, - 46, 1, 47, 48, 33, 1, 49, 50, 51, 52, - - 53, 54, 55, 56, 57, 58, 33, 59, 60, 61, - 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, - 72, 33, 73, 74, 75, 76, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[77] = - { 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 3, 3, 1, - 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, - 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 1, 1, 1, 3, 3, - 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 1, 1, 1, 1 - } ; - -static yyconst short int yy_base[423] = - { 0, - 0, 0, 74, 75, 76, 77, 511, 512, 508, 512, - 512, 504, 435, 499, 73, 73, 78, 469, 467, 68, - 0, 469, 64, 477, 434, 53, 439, 52, 65, 68, - 432, 437, 449, 20, 51, 444, 58, 61, 430, 73, - 83, 512, 479, 0, 512, 419, 491, 487, 512, 512, - 483, 512, 512, 487, 119, 128, 142, 0, 0, 108, - 451, 427, 426, 424, 450, 425, 421, 110, 444, 446, - 451, 442, 411, 89, 428, 92, 0, 410, 407, 421, - 410, 423, 422, 405, 408, 0, 409, 407, 414, 405, - 0, 408, 397, 400, 96, 393, 108, 403, 388, 390, - - 404, 391, 398, 397, 396, 512, 0, 0, 449, 512, - 147, 512, 150, 157, 0, 416, 414, 414, 391, 380, - 394, 407, 395, 375, 385, 374, 414, 396, 408, 405, - 374, 376, 381, 367, 369, 365, 377, 369, 367, 365, - 359, 370, 0, 373, 366, 359, 368, 367, 366, 352, - 120, 349, 348, 354, 347, 350, 345, 344, 350, 343, - 341, 355, 339, 346, 512, 374, 377, 0, 342, 344, - 347, 359, 347, 336, 337, 330, 352, 357, 348, 361, - 128, 0, 0, 324, 327, 321, 0, 0, 320, 321, - 317, 318, 316, 321, 0, 322, 0, 315, 0, 326, - - 325, 317, 311, 323, 317, 0, 322, 304, 321, 0, - 302, 0, 316, 315, 348, 324, 327, 297, 304, 0, - 309, 309, 307, 302, 161, 324, 0, 0, 308, 307, - 0, 294, 0, 0, 287, 288, 0, 295, 298, 0, - 280, 297, 283, 294, 285, 0, 294, 288, 278, 281, - 292, 271, 0, 310, 304, 287, 264, 148, 275, 296, - 296, 271, 302, 281, 280, 269, 259, 289, 266, 267, - 270, 0, 269, 259, 0, 263, 251, 251, 0, 0, - 0, 0, 264, 267, 256, 261, 0, 275, 254, 272, - 249, 259, 255, 257, 257, 250, 0, 254, 236, 253, - - 252, 274, 240, 231, 236, 230, 234, 228, 228, 235, - 0, 234, 0, 229, 252, 235, 225, 220, 227, 223, - 225, 222, 239, 230, 214, 217, 210, 234, 0, 0, - 208, 0, 208, 220, 219, 218, 211, 202, 0, 217, - 210, 199, 212, 197, 210, 209, 196, 198, 202, 205, - 238, 222, 189, 0, 0, 188, 187, 0, 0, 185, - 184, 190, 184, 204, 171, 183, 170, 147, 146, 197, - 186, 176, 0, 0, 0, 0, 146, 151, 142, 179, - 140, 144, 144, 185, 184, 173, 0, 162, 144, 145, - 0, 0, 0, 166, 128, 164, 163, 0, 149, 125, - - 136, 134, 0, 0, 0, 140, 0, 0, 121, 95, - 0, 89, 0, 512, 225, 229, 233, 237, 239, 243, - 247, 102 - } ; - -static yyconst short int yy_def[423] = - { 0, - 414, 1, 415, 415, 416, 416, 414, 414, 414, 414, - 414, 417, 414, 418, 414, 414, 414, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 414, 414, 420, 414, 420, 414, 417, 414, 414, - 418, 414, 414, 421, 414, 414, 414, 422, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 414, 420, 420, 421, 414, - 414, 414, 414, 414, 422, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 414, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - - 419, 419, 419, 419, 419, 419, 419, 419, 419, 419, - 419, 419, 419, 0, 414, 414, 414, 414, 414, 414, - 414, 414 - } ; - -static yyconst short int yy_nxt[589] = - { 0, - 8, 9, 10, 11, 12, 13, 11, 14, 11, 11, - 11, 11, 11, 11, 11, 15, 16, 17, 17, 11, - 11, 11, 11, 11, 11, 18, 19, 20, 21, 21, - 22, 21, 21, 23, 21, 21, 21, 21, 21, 24, - 21, 21, 21, 21, 21, 11, 11, 11, 25, 21, - 26, 27, 28, 29, 21, 21, 30, 31, 21, 32, - 33, 34, 35, 21, 36, 37, 38, 39, 40, 41, - 21, 21, 11, 11, 11, 11, 10, 10, 45, 45, - 91, 46, 46, 53, 43, 43, 92, 55, 54, 56, - 56, 56, 55, 62, 56, 56, 56, 63, 70, 93, - - 71, 74, 57, 64, 115, 65, 66, 57, 67, 68, - 78, 75, 79, 99, 76, 94, 100, 82, 413, 96, - 80, 86, 81, 83, 97, 57, 84, 98, 87, 102, - 57, 104, 85, 412, 103, 111, 111, 111, 105, 116, - 125, 117, 55, 58, 56, 56, 56, 132, 57, 112, - 126, 135, 136, 113, 133, 113, 155, 57, 114, 114, - 114, 152, 153, 111, 111, 111, 114, 114, 114, 156, - 200, 57, 112, 114, 114, 114, 57, 112, 229, 263, - 57, 291, 201, 411, 410, 292, 409, 165, 408, 407, - 406, 405, 404, 403, 402, 401, 400, 230, 399, 57, - - 112, 398, 397, 396, 395, 394, 393, 392, 391, 264, - 165, 390, 389, 388, 387, 386, 385, 384, 383, 382, - 265, 381, 380, 266, 267, 42, 42, 42, 42, 44, - 44, 44, 44, 48, 379, 48, 48, 51, 378, 51, - 51, 59, 59, 107, 377, 107, 107, 109, 109, 109, - 109, 376, 375, 374, 373, 372, 371, 370, 369, 368, - 367, 366, 365, 364, 363, 362, 361, 360, 359, 358, - 357, 356, 355, 354, 353, 352, 351, 350, 349, 348, - 347, 346, 345, 344, 343, 342, 341, 340, 339, 338, - 337, 336, 335, 334, 333, 332, 331, 330, 329, 328, - - 327, 326, 325, 324, 323, 322, 321, 320, 319, 318, - 317, 316, 315, 314, 313, 312, 311, 310, 309, 308, - 307, 306, 305, 304, 303, 302, 301, 300, 299, 298, - 297, 296, 295, 294, 293, 290, 289, 288, 287, 286, - 285, 284, 283, 282, 281, 280, 279, 278, 277, 276, - 275, 274, 273, 272, 271, 270, 269, 268, 262, 261, - 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, - 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, - 240, 239, 238, 237, 236, 235, 234, 233, 232, 231, - 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, - - 218, 217, 216, 215, 214, 213, 212, 211, 210, 209, - 208, 207, 206, 205, 204, 203, 202, 199, 198, 197, - 196, 195, 194, 193, 192, 191, 190, 189, 188, 187, - 186, 185, 184, 183, 182, 181, 180, 179, 178, 177, - 176, 175, 174, 173, 172, 171, 170, 169, 168, 167, - 166, 110, 164, 163, 162, 161, 160, 159, 158, 157, - 154, 151, 150, 149, 148, 147, 146, 145, 144, 143, - 142, 141, 140, 139, 138, 137, 134, 131, 130, 129, - 128, 127, 124, 123, 122, 121, 120, 119, 118, 110, - 52, 49, 47, 108, 106, 101, 95, 90, 89, 88, - - 77, 73, 72, 69, 61, 60, 52, 50, 49, 47, - 414, 7, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414 - } ; - -static yyconst short int yy_chk[589] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, - 34, 5, 6, 15, 3, 4, 34, 16, 15, 16, - 16, 16, 17, 20, 17, 17, 17, 20, 23, 35, - - 23, 26, 16, 20, 422, 20, 20, 17, 20, 20, - 28, 26, 28, 38, 26, 35, 38, 29, 412, 37, - 28, 30, 28, 29, 37, 16, 29, 37, 30, 40, - 17, 41, 29, 410, 40, 55, 55, 55, 41, 60, - 68, 60, 56, 16, 56, 56, 56, 74, 55, 55, - 68, 76, 76, 57, 74, 57, 97, 56, 57, 57, - 57, 95, 95, 111, 111, 111, 113, 113, 113, 97, - 151, 55, 55, 114, 114, 114, 111, 111, 181, 225, - 56, 258, 151, 409, 406, 258, 402, 114, 401, 400, - 399, 397, 396, 395, 394, 390, 389, 181, 388, 111, - - 111, 386, 385, 384, 383, 382, 381, 380, 379, 225, - 114, 378, 377, 372, 371, 370, 369, 368, 367, 366, - 225, 365, 364, 225, 225, 415, 415, 415, 415, 416, - 416, 416, 416, 417, 363, 417, 417, 418, 362, 418, - 418, 419, 419, 420, 361, 420, 420, 421, 421, 421, - 421, 360, 357, 356, 353, 352, 351, 350, 349, 348, - 347, 346, 345, 344, 343, 342, 341, 340, 338, 337, - 336, 335, 334, 333, 331, 328, 327, 326, 325, 324, - 323, 322, 321, 320, 319, 318, 317, 316, 315, 314, - 312, 310, 309, 308, 307, 306, 305, 304, 303, 302, - - 301, 300, 299, 298, 296, 295, 294, 293, 292, 291, - 290, 289, 288, 286, 285, 284, 283, 278, 277, 276, - 274, 273, 271, 270, 269, 268, 267, 266, 265, 264, - 263, 262, 261, 260, 259, 257, 256, 255, 254, 252, - 251, 250, 249, 248, 247, 245, 244, 243, 242, 241, - 239, 238, 236, 235, 232, 230, 229, 226, 224, 223, - 222, 221, 219, 218, 217, 216, 215, 214, 213, 211, - 209, 208, 207, 205, 204, 203, 202, 201, 200, 198, - 196, 194, 193, 192, 191, 190, 189, 186, 185, 184, - 180, 179, 178, 177, 176, 175, 174, 173, 172, 171, - - 170, 169, 167, 166, 164, 163, 162, 161, 160, 159, - 158, 157, 156, 155, 154, 153, 152, 150, 149, 148, - 147, 146, 145, 144, 142, 141, 140, 139, 138, 137, - 136, 135, 134, 133, 132, 131, 130, 129, 128, 127, - 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, - 116, 109, 105, 104, 103, 102, 101, 100, 99, 98, - 96, 94, 93, 92, 90, 89, 88, 87, 85, 84, - 83, 82, 81, 80, 79, 78, 75, 73, 72, 71, - 70, 69, 67, 66, 65, 64, 63, 62, 61, 54, - 51, 48, 47, 46, 43, 39, 36, 33, 32, 31, - - 27, 25, 24, 22, 19, 18, 14, 13, 12, 9, - 7, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414, 414, 414, - 414, 414, 414, 414, 414, 414, 414, 414 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -// rcg10042001 Changed to specify Ecc directory... -#include "Ecc/StdH.h" -#include "Ecc/Main.h" -#include "Ecc/Parser.h" - -#define YY_NEVER_INTERACTIVE 1 - - -int iLastLine = -1; - -#define RETURN(symbolname) \ - if (iLastLine==_iLinesCt || !_bTrackLineInformation){\ - yylval = yytext; \ - } else { \ - char strLine[200]; \ - sprintf(strLine, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ - yylval = SType(strLine)+yytext; \ - iLastLine=_iLinesCt; \ - } \ - return symbolname; - -char *_strCppBlock; - -#define COMMENT 1 - -#define CPPBLOCK 2 - -#line 660 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 38 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" - - - /* standard cpp-keywords */ -#line 811 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 512 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 41 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_while);} - YY_BREAK -case 2: -YY_RULE_SETUP -#line 42 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_switch);} - YY_BREAK -case 3: -YY_RULE_SETUP -#line 43 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_case);} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 44 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_for);} - YY_BREAK -case 5: -YY_RULE_SETUP -#line 45 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_if);} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 46 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_else);} - YY_BREAK -case 7: -YY_RULE_SETUP -#line 47 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_enum);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 48 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_class);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 49 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_do);} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 50 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_void);} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 51 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_const);} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 52 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_inline);} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 53 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_static);} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 54 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_virtual);} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 55 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_return);} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 56 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_autowait);} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 57 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_autocall);} - YY_BREAK -case 18: -YY_RULE_SETUP -#line 58 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_waitevent);} - YY_BREAK -/* aditional keywords */ -case 19: -YY_RULE_SETUP -#line 61 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_event);} - YY_BREAK -case 20: -YY_RULE_SETUP -#line 62 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_name);} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 63 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_thumbnail);} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 64 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_features);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 65 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_uses);} - YY_BREAK -case 24: -YY_RULE_SETUP -#line 66 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_export);} - YY_BREAK -case 25: -YY_RULE_SETUP -#line 68 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_texture);} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 69 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_sound);} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 70 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_model);} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 72 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_properties);} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 73 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_components);} - YY_BREAK -case 30: -YY_RULE_SETUP -#line 74 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_functions);} - YY_BREAK -case 31: -YY_RULE_SETUP -#line 75 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_procedures);} - YY_BREAK -case 32: -YY_RULE_SETUP -#line 77 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_wait );} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 78 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_on );} - YY_BREAK -case 34: -YY_RULE_SETUP -#line 79 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_otherwise);} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 81 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_call );} - YY_BREAK -case 36: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_jump );} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_stop );} - YY_BREAK -case 38: -YY_RULE_SETUP -#line 84 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_resume );} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 85 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_pass );} - YY_BREAK -/* special data types */ -case 40: -YY_RULE_SETUP -#line 88 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTString);} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 89 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTStringTrans);} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 90 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTFileName);} - YY_BREAK -case 43: -YY_RULE_SETUP -#line 91 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CTFileNameNoDep);} - YY_BREAK -case 44: -YY_RULE_SETUP -#line 92 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_BOOL);} - YY_BREAK -case 45: -YY_RULE_SETUP -#line 93 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_COLOR);} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOAT);} - YY_BREAK -case 47: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_INDEX);} - YY_BREAK -case 48: -YY_RULE_SETUP -#line 96 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_RANGE);} - YY_BREAK -case 49: -YY_RULE_SETUP -#line 97 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CEntityPointer);} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 98 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CModelObject);} - YY_BREAK -case 51: -YY_RULE_SETUP -#line 99 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CModelInstance);} - YY_BREAK -case 52: -YY_RULE_SETUP -#line 100 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CAnimObject);} - YY_BREAK -case 53: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CSoundObject);} - YY_BREAK -case 54: -YY_RULE_SETUP -#line 102 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_CPlacement3D);} - YY_BREAK -case 55: -YY_RULE_SETUP -#line 103 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATaabbox3D);} - YY_BREAK -case 56: -YY_RULE_SETUP -#line 104 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATmatrix3D);} - YY_BREAK -case 57: -YY_RULE_SETUP -#line 105 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATquat3D);} - YY_BREAK -case 58: -YY_RULE_SETUP -#line 106 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANGLE);}; - YY_BREAK -case 59: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANIMATION);}; - YY_BREAK -case 60: -YY_RULE_SETUP -#line 108 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ILLUMINATIONTYPE);}; - YY_BREAK -case 61: -YY_RULE_SETUP -#line 109 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOAT3D);}; - YY_BREAK -case 62: -YY_RULE_SETUP -#line 110 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_ANGLE3D);}; - YY_BREAK -case 63: -YY_RULE_SETUP -#line 111 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLOATplane3D);}; - YY_BREAK -case 64: -YY_RULE_SETUP -#line 112 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(k_FLAGS);}; - YY_BREAK -/* single character operators and punctuations */ -case 65: -YY_RULE_SETUP -#line 115 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - RETURN(yytext[0]);} - YY_BREAK -/* constants */ -case 66: -YY_RULE_SETUP -#line 119 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 67: -YY_RULE_SETUP -#line 120 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int)}; - YY_BREAK -case 68: -YY_RULE_SETUP -#line 121 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 69: -YY_RULE_SETUP -#line 122 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_int); } - YY_BREAK -case 70: -YY_RULE_SETUP -#line 123 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_string); } - YY_BREAK -case 71: -YY_RULE_SETUP -#line 124 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ RETURN(c_char); } - YY_BREAK -/* identifier */ -case 72: -YY_RULE_SETUP -#line 127 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{RETURN(identifier);} - YY_BREAK -/* specially bracketed cpp blocks */ -case 73: -YY_RULE_SETUP -#line 130 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - char strLine[80]; - sprintf(strLine, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); - _strCppBlock = strdup(strLine); - BEGIN(CPPBLOCK); -} - YY_BREAK -case 74: -YY_RULE_SETUP -#line 136 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - BEGIN(INITIAL); - yylval = SType(_strCppBlock); - return cppblock; -} - YY_BREAK -case 75: -YY_RULE_SETUP -#line 141 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _iLinesCt++; - _strCppBlock = (SType(_strCppBlock)+yytext).strString; - } - YY_BREAK -case 76: -YY_RULE_SETUP -#line 145 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _strCppBlock = (SType(_strCppBlock)+yytext).strString; -} - YY_BREAK -/* eat up comments */ -case 77: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 78: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 79: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{} - YY_BREAK -case 80: -YY_RULE_SETUP -#line 153 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ _iLinesCt++; } - YY_BREAK -/* eat up whitespace */ -case 81: -YY_RULE_SETUP -#line 156 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 82: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - _iLinesCt++; - } - YY_BREAK -/* for all unrecognized characters */ -case 83: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -{ - // report an error - char strError[80]; - sprintf(strError, "Unrecognized character '%c' (ASCII 0x%02x)\n", - yytext[0], yytext[0] ); - yyerror(strError); -} - YY_BREAK -case 84: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1348 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.cpp" -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(CPPBLOCK): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 415 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 414); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -yyconst char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 171 "D:\\SE1_GPL\\Sources\\Ecc\\\\Scanner.l" - - diff --git a/Sources/Engine/Base/Scanner.cpp b/Sources/Engine/Base/Scanner.cpp deleted file mode 100644 index f60f4a2..0000000 --- a/Sources/Engine/Base/Scanner.cpp +++ /dev/null @@ -1,2037 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" -#include "StdH.h" - -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.81 95/03/20 14:02:24 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -//#ifdef c_plusplus -//#ifndef __cplusplus -//#define __cplusplus -//#endif -//#endif - -#if 1 //def __cplusplus - - #include - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS - - /* The "const" storage-class-modifier is valid. */ - #define YY_USE_CONST - -#else /* ! __cplusplus */ - - #if __STDC__ - - #define YY_USE_PROTOS - #define YY_USE_CONST - - #endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( const char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( const char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -//static - void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 50 -#define YY_END_OF_BUFFER 51 -static yyconst short int yy_accept[165] = - { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, - 51, 49, 47, 48, 29, 49, 49, 29, 29, 49, - 29, 30, 30, 29, 29, 29, 36, 36, 36, 36, - 36, 36, 36, 36, 36, 36, 36, 38, 29, 39, - 45, 45, 42, 40, 41, 4, 4, 48, 2, 5, - 5, 6, 49, 6, 5, 47, 24, 0, 34, 0, - 37, 27, 0, 0, 43, 0, 32, 30, 0, 0, - 26, 21, 23, 22, 25, 36, 36, 36, 36, 36, - 36, 36, 36, 18, 36, 36, 36, 36, 36, 36, - 28, 44, 0, 3, 0, 2, 5, 5, 5, 0, - - 5, 0, 34, 37, 35, 35, 0, 46, 32, 32, - 0, 33, 31, 36, 36, 36, 36, 36, 36, 36, - 36, 36, 36, 15, 36, 36, 5, 33, 36, 36, - 36, 36, 19, 36, 17, 36, 36, 16, 12, 10, - 36, 7, 8, 11, 0, 36, 36, 36, 36, 36, - 0, 20, 14, 36, 36, 36, 20, 1, 36, 9, - 36, 36, 13, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 5, 6, 1, 7, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, - 20, 20, 20, 20, 20, 20, 20, 21, 22, 23, - 24, 25, 26, 1, 27, 28, 29, 30, 31, 32, - 33, 33, 34, 33, 33, 35, 33, 36, 37, 33, - 33, 33, 38, 39, 33, 33, 33, 40, 33, 33, - 41, 42, 43, 44, 33, 1, 28, 28, 45, 46, - - 47, 48, 49, 50, 51, 33, 33, 52, 33, 53, - 54, 55, 33, 56, 57, 58, 59, 60, 33, 61, - 33, 33, 62, 63, 64, 65, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[66] = - { 0, - 1, 1, 2, 2, 1, 2, 1, 1, 1, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, - 1, 2, 1, 1, 1, 1, 5, 5, 5, 5, - 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, - 1, 1, 1, 1, 5, 5, 5, 5, 6, 6, - 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, - 6, 1, 1, 1, 1 - } ; - -static yyconst short int yy_base[179] = - { 0, - 0, 0, 63, 64, 65, 66, 68, 76, 81, 89, - 323, 324, 71, 324, 298, 75, 0, 324, 312, 278, - 76, 79, 85, 77, 295, 82, 0, 279, 282, 280, - 261, 36, 267, 60, 65, 256, 258, 324, 248, 324, - 324, 292, 324, 324, 324, 303, 116, 302, 324, 265, - 131, 324, 103, 324, 82, 132, 324, 108, 324, 109, - 0, 324, 296, 295, 324, 301, 122, 127, 141, 0, - 324, 324, 324, 324, 324, 0, 265, 265, 271, 247, - 242, 240, 245, 0, 251, 239, 237, 246, 245, 240, - 324, 324, 284, 324, 160, 324, 247, 121, 135, 137, - - 324, 142, 143, 0, 324, 278, 284, 324, 156, 324, - 148, 161, 0, 228, 258, 253, 226, 235, 234, 225, - 206, 187, 150, 0, 151, 159, 150, 324, 146, 162, - 160, 140, 148, 141, 0, 137, 144, 0, 0, 0, - 143, 0, 0, 0, 155, 143, 137, 143, 129, 130, - 134, 0, 0, 131, 114, 122, 324, 0, 118, 0, - 85, 32, 0, 324, 209, 215, 221, 227, 233, 235, - 241, 244, 250, 256, 262, 265, 271, 274 - } ; - -static yyconst short int yy_def[179] = - { 0, - 164, 1, 165, 165, 166, 166, 167, 167, 168, 168, - 164, 164, 164, 164, 164, 169, 170, 164, 164, 171, - 164, 164, 164, 164, 164, 164, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 164, 164, 164, - 164, 164, 164, 164, 164, 173, 173, 173, 164, 174, - 174, 164, 175, 164, 174, 164, 164, 169, 164, 169, - 176, 164, 164, 164, 164, 177, 164, 164, 164, 178, - 164, 164, 164, 164, 164, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 164, 164, 173, 164, 173, 164, 174, 174, 174, 175, - - 164, 175, 169, 176, 164, 164, 177, 164, 164, 164, - 164, 164, 178, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 172, 172, 175, 164, 172, 172, - 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, - 172, 172, 172, 172, 164, 172, 172, 172, 172, 172, - 164, 172, 172, 172, 172, 172, 164, 172, 172, 172, - 172, 172, 172, 0, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yyconst short int yy_nxt[390] = - { 0, - 12, 13, 14, 13, 15, 16, 17, 18, 19, 20, - 18, 18, 18, 18, 18, 18, 18, 21, 22, 23, - 18, 18, 24, 25, 26, 18, 27, 27, 28, 27, - 27, 29, 27, 30, 27, 27, 27, 27, 27, 27, - 18, 12, 18, 18, 31, 27, 32, 27, 27, 33, - 34, 27, 27, 27, 35, 27, 27, 27, 36, 37, - 27, 38, 39, 40, 18, 14, 14, 14, 14, 47, - 48, 47, 56, 49, 56, 42, 42, 47, 48, 47, - 59, 49, 51, 52, 13, 97, 53, 81, 65, 163, - 51, 52, 13, 66, 53, 67, 82, 68, 68, 71, - - 72, 67, 54, 68, 68, 74, 75, 84, 101, 69, - 54, 86, 85, 59, 103, 69, 60, 95, 87, 95, - 88, 96, 55, 98, 97, 69, 44, 44, 45, 45, - 55, 69, 99, 56, 56, 56, 99, 162, 56, 70, - 109, 109, 101, 67, 102, 68, 68, 127, 59, 60, - 60, 145, 69, 110, 111, 101, 111, 69, 145, 112, - 112, 95, 98, 95, 161, 96, 112, 112, 69, 110, - 160, 159, 98, 69, 109, 109, 98, 158, 102, 112, - 112, 157, 156, 102, 60, 155, 69, 110, 154, 153, - 152, 102, 128, 150, 149, 148, 147, 144, 146, 143, - - 142, 141, 69, 110, 140, 151, 139, 138, 128, 41, - 41, 41, 41, 41, 41, 43, 43, 43, 43, 43, - 43, 46, 46, 46, 46, 46, 46, 50, 50, 50, - 50, 50, 50, 58, 58, 58, 58, 58, 58, 61, - 61, 63, 63, 137, 63, 63, 63, 76, 76, 76, - 93, 93, 93, 93, 93, 93, 97, 136, 97, 97, - 97, 97, 100, 100, 100, 100, 100, 100, 104, 104, - 104, 107, 107, 107, 107, 107, 107, 113, 113, 135, - 134, 133, 132, 131, 130, 129, 108, 105, 98, 94, - 126, 125, 124, 123, 122, 121, 120, 119, 118, 117, - - 116, 115, 114, 108, 106, 105, 98, 94, 94, 92, - 91, 90, 89, 83, 80, 79, 78, 77, 73, 64, - 62, 57, 164, 11, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yyconst short int yy_chk[390] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 4, 5, 6, 7, - 7, 7, 13, 7, 13, 3, 4, 8, 8, 8, - 16, 8, 9, 9, 9, 55, 9, 32, 21, 162, - 10, 10, 10, 21, 10, 22, 32, 22, 22, 24, - - 24, 23, 9, 23, 23, 26, 26, 34, 53, 22, - 10, 35, 34, 58, 60, 23, 16, 47, 35, 47, - 35, 47, 9, 55, 98, 22, 5, 6, 5, 6, - 10, 23, 51, 56, 51, 56, 99, 161, 99, 22, - 67, 67, 100, 68, 53, 68, 68, 102, 103, 58, - 60, 133, 67, 67, 69, 127, 69, 68, 145, 69, - 69, 95, 98, 95, 159, 95, 111, 111, 67, 67, - 156, 155, 51, 68, 109, 109, 99, 154, 100, 112, - 112, 151, 150, 102, 103, 149, 109, 109, 148, 147, - 146, 127, 112, 141, 137, 136, 134, 132, 133, 131, - - 130, 129, 109, 109, 126, 145, 125, 123, 112, 165, - 165, 165, 165, 165, 165, 166, 166, 166, 166, 166, - 166, 167, 167, 167, 167, 167, 167, 168, 168, 168, - 168, 168, 168, 169, 169, 169, 169, 169, 169, 170, - 170, 171, 171, 122, 171, 171, 171, 172, 172, 172, - 173, 173, 173, 173, 173, 173, 174, 121, 174, 174, - 174, 174, 175, 175, 175, 175, 175, 175, 176, 176, - 176, 177, 177, 177, 177, 177, 177, 178, 178, 120, - 119, 118, 117, 116, 115, 114, 107, 106, 97, 93, - 90, 89, 88, 87, 86, 85, 83, 82, 81, 80, - - 79, 78, 77, 66, 64, 63, 50, 48, 46, 42, - 39, 37, 36, 33, 31, 30, 29, 28, 25, 20, - 19, 15, 11, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 164, 164, 164, 164, 164, 164, 164, 164, 164 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -#include "ParsingSymbols.h" -#include "Parser.h" - -#include -#include -#include -#include -#include - -#include - -#define YY_DECL int yylex (YYSTYPE *lvalp) -#define yylval (*lvalp) - -int yywrap(void) -{ - // no more bufers - return 1; -}; - -static int _iBlockDepth = 0; -static int _iDummyDepth = 0; -static CTString _strCmd = ""; // currently parsed command -static int _ctCmdParam = 1; // current parameter index -static BOOL _bCmdParamCountErrorReported = FALSE; - -void TranscriptEsc(CTString &str) -{ - char *pchSrc = (char *)(const char *)str; - char *pchDst = (char *)(const char *)str; - // if quoted - if (pchDst[0] == '"') { - int len = strlen(pchDst); - pchDst[len-1] = 0; - memmove(pchDst, pchDst+1, len-1); - } - for (;;pchSrc++, pchDst++) { - if (*pchSrc==0) { - break; - } - if (*pchSrc!='\\') { - *pchDst = *pchSrc; - continue; - } - pchSrc++; - switch(*pchSrc) { - case 'n': *pchDst = 10; break; - case 'r': *pchDst = 13; break; - default: *pchDst = *pchSrc; break; - } - } - *pchDst=0; -} - -#define COMMENT 1 - -#define DUMMYBLOCK 2 - -#define INCLUDE 3 - -#define COMMAND 4 - -#line 591 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 75 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" - - - /*\0 yyterminate();*/ - - /* Include file parsing. */ -#line 720 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 324 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 80 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -/* eat the whitespace until first quote */ - YY_BREAK -case 3: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ /* get the include file name until second quote */ - if (ShellGetBufferStackDepth() >= SHELL_MAX_INCLUDE_LEVEL) { - _pShell->ErrorF("Script files nested too deeply"); - } - char strFileName[256]; - strcpy(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - CTString strIncludeFile; - try { - strIncludeFile.Load_t(CTString(strFileName)); - ShellPushBuffer(strFileName, strIncludeFile, FALSE); - - } catch(char *strError) { - _pShell->ErrorF("Cannot load script file '%s': %s", yytext, strError); - } - BEGIN(INITIAL); -} - YY_BREAK -case 4: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ /* something unrecognized inside include statement */ - _pShell->ErrorF("Wrong syntax for include statement"); - BEGIN(INITIAL); -} - YY_BREAK -/* command parsing */ -case 5: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ // for each parameter - _ctCmdParam++; - CTString strParam = yytext; - TranscriptEsc(strParam); - // insert the parameter in the command string - CTString strParamNo = CTString(1, "%%%d", _ctCmdParam); - if (strParam.FindSubstr(strParamNo)!=-1) { - _pShell->ErrorF("Parameter substitution recursion detected!"); - } else { - INDEX ctFound=0; - for(;; ctFound++) { - if (!_strCmd.ReplaceSubstr(strParamNo, strParam)) { - break; - } - } - // if not found and parameter count error not reported yet - if (ctFound==0 && !_bCmdParamCountErrorReported) { - // report error - _bCmdParamCountErrorReported = TRUE; - _pShell->ErrorF("Too many parameters for command expansion"); - } - } -} - YY_BREAK -case 6: -YY_RULE_SETUP -#line 130 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // at the end of the command - - // switch to the new input buffer with that command - ShellPushBuffer(ShellGetBufferName(), _strCmd, FALSE); - BEGIN(INITIAL); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(DUMMYBLOCK): -case YY_STATE_EOF(INCLUDE): -case YY_STATE_EOF(COMMAND): -#line 138 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - if (ShellPopBuffer()) { - yyterminate(); - } -} - YY_BREAK -/* special data types */ -case 7: -YY_RULE_SETUP -#line 145 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_FLOAT);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 146 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_INDEX);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 147 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_CTString);} - YY_BREAK -/* keywords */ -case 10: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_void); } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_const); } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_user); } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 153 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_persistent); } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 154 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_extern); } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 155 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_pre); } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 156 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_post); } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 157 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_help); } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 158 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_if); } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_else); } - YY_BREAK -case 20: -YY_RULE_SETUP -#line 160 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(k_else_if); } - YY_BREAK -case 21: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LEQ); } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (GEQ); } - YY_BREAK -case 23: -YY_RULE_SETUP -#line 164 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (EQ); } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 165 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (NEQ); } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 167 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (SHR); } - YY_BREAK -case 26: -YY_RULE_SETUP -#line 168 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (SHL); } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 170 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LOGAND); } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return (LOGOR); } - YY_BREAK -/* single character operators and punctuations */ -case 29: -YY_RULE_SETUP -#line 174 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 30: -YY_RULE_SETUP -#line 178 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.iIndex = atoi(yytext); return(c_int); } - YY_BREAK -case 31: -YY_RULE_SETUP -#line 179 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.iIndex = strtoul(yytext+2, NULL, 16); return(c_int); } - YY_BREAK -case 32: -YY_RULE_SETUP -#line 180 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.fFloat = (float) atof(yytext); return(c_float); } - YY_BREAK -case 33: -YY_RULE_SETUP -#line 181 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ yylval.val.fFloat = (float) atof(yytext); return(c_float); } - YY_BREAK -case 34: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - CTString &strNew = _shell_astrTempStrings.Push(); - // remove double-quotes - strNew = yytext; - // parse escape symbols and remove double quotes - TranscriptEsc(strNew); - yylval.val.strString = (const char*)strNew; - return(c_string); -} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 191 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ return(c_char); } - YY_BREAK -/* identifier */ -case 36: -YY_RULE_SETUP -#line 194 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // get the symbol - yylval.pssSymbol = _pShell->GetSymbol(yytext, FALSE); - BOOL bCommand = FALSE; - // if it is string - if (_shell_ast[yylval.pssSymbol->ss_istType].st_sttType==STT_STRING) { - // get the value - CTString str = *(CTString*)yylval.pssSymbol->ss_pvValue; - // if the value tells that it is a command - if (str.RemovePrefix("!command ")) { - // parse the command - bCommand = TRUE; - _strCmd = str; - _ctCmdParam = 0; - _bCmdParamCountErrorReported = FALSE; - BEGIN(COMMAND); - } - } - // normally, just return the identifier - if (!bCommand) { - return(identifier); - } -} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 217 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ // special case of identifier, used to bypass command parsing - // get the symbol - yylval.pssSymbol = _pShell->GetSymbol(yytext+1, FALSE); - return(identifier); -} - YY_BREAK -/* eat up or execute blocks */ -case 38: -YY_RULE_SETUP -#line 224 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth++; - if (!_bExecNextBlock) { - _iDummyDepth++; - BEGIN(DUMMYBLOCK); - } - return block_beg; -} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 233 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth--; - if (_iBlockDepth<0) { - _pShell->ErrorF("Mismatched '}'"); - } - return block_end; -} - YY_BREAK -case 40: -YY_RULE_SETUP -#line 240 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth++; - _iDummyDepth++; -} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 244 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - _iBlockDepth--; - _iDummyDepth--; - if (_iDummyDepth==0) { - BEGIN(INITIAL); - return block_end; - } -} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 252 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{} - YY_BREAK -/* eat up comments */ -case 43: -YY_RULE_SETUP -#line 255 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 44: -YY_RULE_SETUP -#line 256 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 45: -YY_RULE_SETUP -#line 257 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 258 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ ShellCountOneLine(); } - YY_BREAK -/* eat up whitespace */ -case 47: -YY_RULE_SETUP -#line 262 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 48: -YY_RULE_SETUP -#line 265 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - ShellCountOneLine(); -} - YY_BREAK -/* for all unrecognized characters */ -case 49: -YY_RULE_SETUP -#line 270 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -{ - // report an error - _pShell->ErrorF("Unrecognized character '%c' (ASCII 0x%02x)", yytext[0], yytext[0] ); -} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 275 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1188 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 165 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 164); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -//static - void yyunput( int c, register char *yy_bp ) -#else -//static - void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#ifdef YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#ifdef YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( const char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -const char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( const char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -const char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#ifdef YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 275 "D:\\SE1_GPL\\Sources\\Engine\\Base\\\\Scanner.l" - - diff --git a/Sources/Engine/Ska/smcPars.cpp b/Sources/Engine/Ska/smcPars.cpp deleted file mode 100644 index 6efa7c3..0000000 --- a/Sources/Engine/Ska/smcPars.cpp +++ /dev/null @@ -1,1142 +0,0 @@ - -/* A Bison parser, made from engine/ska/smcpars.y with Bison version GNU Bison version 1.24 - */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define yyparse syyparse -#define yylex syylex -#define yyerror syyerror -#define yylval syylval -#define yychar syychar -#define yydebug syydebug -#define yynerrs syynerrs -#define c_float 258 -#define c_int 259 -#define c_string 260 -#define c_modelinstance 261 -#define k_PARENTBONE 262 -#define k_SE_SMC 263 -#define k_SE_END 264 -#define k_NAME 265 -#define k_TFNM 266 -#define k_MESH 267 -#define k_SKELETON 268 -#define k_ANIMSET 269 -#define K_ANIMATION 270 -#define k_TEXTURES 271 -#define k_OFFSET 272 -#define k_COLISION 273 -#define k_ALLFRAMESBBOX 274 -#define k_ANIMSPEED 275 -#define k_COLOR 276 - -#line 1 "engine/ska/smcpars.y" - -#include -#include -#include -#include -#include -#include -#include -#include "ParsingSmbs.h" - -extern BOOL bRememberSourceFN; -BOOL bOffsetAllreadySet = FALSE; -#line 15 "engine/ska/smcpars.y" - -#define YYERROR_VERBOSE 0 -// if error occurs in parsing -void syyerror(char *str) -{ - // just report the string - _pShell->ErrorF("%s", str); -}; - -#line 27 "engine/ska/smcpars.y" -typedef union { - int i; - float f; - const char *str; - CModelInstance *pmi; - float f6[6]; -} YYSTYPE; - -#ifndef YYLTYPE -typedef - struct yyltype - { - int timestamp; - int first_line; - int first_column; - int last_line; - int last_column; - char *text; - } - yyltype; - -#define YYLTYPE yyltype -#endif - -#include - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif -#endif - - - -#define YYFINAL 123 -#define YYFLAG -32768 -#define YYNTBASE 26 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 276 ? yytranslate[x] : 55) - -static const char yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 25, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 22, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 23, 2, 24, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21 -}; - -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 1, 10, 11, 14, 16, 18, 20, 22, 24, - 26, 28, 30, 31, 33, 37, 42, 43, 45, 47, - 50, 66, 67, 69, 83, 84, 87, 101, 102, 114, - 115, 122, 127, 130, 135, 137, 140, 144, 145, 147, - 151, 152, 155, 160, 161, 164, 169, 171, 173 -}; - -static const short yyrhs[] = { -1, - 38, 10, 5, 22, 27, 23, 28, 24, 0, 0, - 29, 28, 0, 42, 0, 44, 0, 45, 0, 48, - 0, 40, 0, 32, 0, 36, 0, 30, 0, 0, - 31, 0, 21, 4, 22, 0, 18, 23, 33, 24, - 0, 0, 34, 0, 35, 0, 34, 35, 0, 5, - 23, 54, 25, 54, 25, 54, 25, 54, 25, 54, - 25, 54, 22, 24, 0, 0, 37, 0, 19, 54, - 25, 54, 25, 54, 25, 54, 25, 54, 25, 54, - 22, 0, 0, 39, 38, 0, 17, 54, 25, 54, - 25, 54, 25, 54, 25, 54, 25, 54, 22, 0, - 0, 7, 5, 22, 38, 10, 5, 22, 41, 23, - 28, 24, 0, 0, 12, 11, 5, 22, 43, 50, - 0, 13, 11, 5, 22, 0, 14, 47, 0, 14, - 23, 46, 24, 0, 47, 0, 46, 47, 0, 11, - 5, 22, 0, 0, 49, 0, 15, 5, 22, 0, - 0, 50, 51, 0, 16, 23, 52, 24, 0, 0, - 52, 53, 0, 5, 11, 5, 22, 0, 3, 0, - 4, 0, 4, 0 -}; - -#endif - -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 72, 91, 95, 96, 100, 101, 102, 103, 104, 105, - 106, 107, 111, 112, 116, 124, 130, 131, 135, 136, - 140, 150, 151, 155, 164, 174, 181, 200, 225, 234, - 240, 243, 250, 251, 255, 256, 260, 268, 269, 273, - 285, 286, 290, 294, 295, 299, 306, 310, 317 -}; - -static const char * const yytname[] = { "$","error","$undefined.","c_float", -"c_int","c_string","c_modelinstance","k_PARENTBONE","k_SE_SMC","k_SE_END","k_NAME", -"k_TFNM","k_MESH","k_SKELETON","k_ANIMSET","K_ANIMATION","k_TEXTURES","k_OFFSET", -"k_COLISION","k_ALLFRAMESBBOX","k_ANIMSPEED","k_COLOR","';'","'{'","'}'","','", -"parent_model","@1","components","component","mdl_color_opt","mdl_color","colision_header", -"colision_opt","colision_array","colision","all_frames_bbox_opt","all_frames_bbox", -"offset_opt","offset","child_model","@2","mesh","@3","skeleton","animset_header", -"animset_array","animset","animation_opt","animation","opt_textures","textures", -"textures_array","texture","float_const","\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735\37777777735" -}; -#endif - -static const short yyr1[] = { 0, - 27, 26, 28, 28, 29, 29, 29, 29, 29, 29, - 29, 29, 30, 30, 31, 32, 33, 33, 34, 34, - 35, 36, 36, 37, 38, 38, 39, 41, 40, 43, - 42, 44, 45, 45, 46, 46, 47, 48, 48, 49, - 50, 50, 51, 52, 52, 53, 54, 54, -1 -}; - -static const short yyr2[] = { 0, - 0, 8, 0, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 0, 1, 3, 4, 0, 1, 1, 2, - 15, 0, 1, 13, 0, 2, 13, 0, 11, 0, - 6, 4, 2, 4, 1, 2, 3, 0, 1, 3, - 0, 2, 4, 0, 2, 4, 1, 1, 1 -}; - -static const short yydefact[] = { 25, - 0, 0, 25, 47, 48, 0, 0, 26, 0, 0, - 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 3, 12, 14, 10, - 11, 23, 9, 5, 6, 7, 8, 39, 0, 0, - 0, 0, 0, 0, 33, 0, 17, 0, 0, 2, - 4, 0, 25, 0, 0, 0, 0, 35, 40, 0, - 0, 18, 19, 0, 15, 0, 0, 30, 32, 37, - 34, 36, 0, 16, 20, 0, 0, 0, 41, 0, - 0, 0, 0, 31, 0, 0, 27, 28, 0, 42, - 0, 0, 0, 44, 0, 0, 3, 0, 0, 0, - 0, 0, 43, 45, 0, 0, 29, 0, 0, 0, - 0, 0, 0, 46, 0, 24, 0, 0, 0, 21, - 0, 0, 0 -}; - -static const short yydefgoto[] = { 121, - 14, 26, 27, 28, 29, 30, 61, 62, 63, 31, - 32, 2, 3, 33, 93, 34, 79, 35, 36, 57, - 45, 37, 38, 84, 90, 98, 104, 6 -}; - -static const short yypact[] = { -12, - 6, -4, -12,-32768,-32768, -18, 16,-32768, 6, -11, - 7,-32768, 6, 8, 9, 5, 6, 23, 19, 22, - 2, 30, 13, 6, 33, 14, 5,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 15, 17, - 36, 37, 39, 34,-32768, 24, 42, 25, 26,-32768, --32768, 6, -12, 27, 29, 31, 3,-32768,-32768, 35, - 32, 42,-32768, 6,-32768, 38, 44,-32768,-32768,-32768, --32768,-32768, 6,-32768,-32768, 40, 6, 52,-32768, 41, - 6, 45, 47, 43, 6, 48,-32768,-32768, 51,-32768, - 50, 6, 54,-32768, 6, 53, 5, -2, 55, 6, - 46, 49,-32768,-32768, 6, 56,-32768, 57, 59, 6, - 60, 6, 63,-32768, 62,-32768, 6, 66, 65,-32768, - 61, 79,-32768 -}; - -static const short yypgoto[] = {-32768, --32768, -26,-32768,-32768,-32768,-32768,-32768,-32768, 28,-32768, --32768, -1,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - -28,-32768,-32768,-32768,-32768,-32768,-32768, -9 -}; - - -#define YYLAST 108 - - -static const short yytable[] = { 11, - 51, 8, 102, 15, 1, 7, 9, 39, 4, 5, - 12, 18, 43, 43, 48, 58, 19, 20, 21, 22, - 10, 103, 23, 24, 44, 25, 71, 40, 72, 41, - 16, 13, 42, 17, 46, 47, 49, 50, 53, 52, - 54, 55, 66, 56, 43, 59, 60, 65, 68, 64, - 69, 67, 70, 78, 76, 74, 83, 73, 89, 108, - 122, 111, 77, 80, 81, 85, 87, 82, 88, 107, - 101, 86, 92, 94, 95, 91, 97, 100, 123, 105, - 110, 114, 96, 112, 116, 99, 117, 119, 120, 75, - 106, 0, 0, 0, 0, 109, 0, 0, 0, 0, - 113, 0, 115, 0, 0, 0, 0, 118 -}; - -static const short yycheck[] = { 9, - 27, 3, 5, 13, 17, 10, 25, 17, 3, 4, - 22, 7, 11, 11, 24, 44, 12, 13, 14, 15, - 5, 24, 18, 19, 23, 21, 24, 5, 57, 11, - 23, 25, 11, 25, 5, 23, 4, 24, 22, 25, - 5, 5, 52, 5, 11, 22, 5, 22, 22, 25, - 22, 53, 22, 10, 64, 24, 5, 23, 16, 11, - 0, 5, 25, 73, 25, 25, 22, 77, 22, 24, - 97, 81, 25, 23, 25, 85, 23, 25, 0, 25, - 25, 22, 92, 25, 22, 95, 25, 22, 24, 62, - 100, -1, -1, -1, -1, 105, -1, -1, -1, -1, - 110, -1, 112, -1, -1, -1, -1, 117 -}; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "bison.simple" - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -#undef YYERROR_VERBOSE -#ifndef alloca -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) -#include -#else /* not sparc */ -#if defined (MSDOS) && !defined (__TURBOC__) -#include -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -#include - #pragma alloca -#else /* not MSDOS, __TURBOC__, or _AIX */ -#ifdef __hpux -#ifdef __cplusplus -extern "C" { -void *alloca (unsigned int); -}; -#else /* not __cplusplus */ -void *alloca (); -#endif /* not __cplusplus */ -#endif /* __hpux */ -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc. */ -#endif /* not GNU C. */ -#endif /* alloca not defined. */ - -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(token, value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -#ifndef YYPURE -#define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) -#endif -#else /* not YYLSP_NEEDED */ -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval) -#endif -#endif /* not YYLSP_NEEDED */ -#endif - -/* If nonreentrant, generate the variables here */ - -#ifndef YYPURE - -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ - -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ -#endif - -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ - -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ -#endif - -/* YYINITDEPTH indicates the initial size of the parser's stacks */ - -#ifndef YYINITDEPTH -#define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH is the maximum size the stacks can grow to - (effective only if the built-in stack extension method is used). */ - -#if YYMAXDEPTH == 0 -#undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 10000 -#endif - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -int yyparse (void); -#endif - -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ -#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) -#else /* not GNU C or C++ */ -#ifndef __cplusplus - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (from, to, count) - char *from; - char *to; - int count; -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#else /* __cplusplus */ - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (char *from, char *to, int count) -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#endif -#endif - -#line 192 "bison.simple" - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -#else -#define YYPARSE_PARAM -#define YYPARSE_PARAM_DECL -#endif - -int -yyparse(YYPARSE_PARAM) - YYPARSE_PARAM_DECL -{ - register int yystate; - register int yyn; - register short *yyssp; - register YYSTYPE *yyvsp; - int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1 = 0; /* lookahead token as an internal (translated) token number */ - - short yyssa[YYINITDEPTH]; /* the state stack */ - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ - - short *yyss = yyssa; /* refer to the stacks thru separate pointers */ - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ - -#ifdef YYLSP_NEEDED - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; - -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -#define YYPOPSTACK (yyvsp--, yyssp--) -#endif - - int yystacksize = YYINITDEPTH; - -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; -#endif -#endif - - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ - - int yylen; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss - 1; - yyvsp = yyvs; -#ifdef YYLSP_NEEDED - yylsp = yyls; -#endif - -/* Push a new state, which is found in yystate . */ -/* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. */ -yynewstate: - - *++yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Give user a chance to reallocate the stack */ - /* Use copies of these so that the &'s don't force the real ones into memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; -#ifdef YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; -#endif - - /* Get the current used size of the three stacks, in elements. */ - int size = yyssp - yyss + 1; - -#ifdef yyoverflow - /* Each stack pointer address is followed by the size of - the data in use in that stack, in bytes. */ -#ifdef YYLSP_NEEDED - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yyls1, size * sizeof (*yylsp), - &yystacksize); -#else - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yystacksize); -#endif - - yyss = yyss1; yyvs = yyvs1; -#ifdef YYLSP_NEEDED - yyls = yyls1; -#endif -#else /* no yyoverflow */ - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); - return 2; - } - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); - __yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); - yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); - __yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); -#ifdef YYLSP_NEEDED - yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); - __yy_memcpy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); -#endif -#endif /* no yyoverflow */ - - yyssp = yyss + size - 1; - yyvsp = yyvs + size - 1; -#ifdef YYLSP_NEEDED - yylsp = yyls + size - 1; -#endif - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Stack size increased to %d\n", yystacksize); -#endif - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Entering state %d\n", yystate); -#endif - - goto yybackup; - yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Reading a token: "); -#endif - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Now at end of input.\n"); -#endif - } - else - { - yychar1 = YYTRANSLATE(yychar); - -#if YYDEBUG != 0 - if (yydebug) - { - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise meaning - of a token, for further debugging info. */ -#ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -#endif - fprintf (stderr, ")\n"); - } -#endif - } - - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrlab; - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); -#endif - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* count tokens shifted since error; after three, turn off error status. */ - if (yyerrstatus) yyerrstatus--; - - yystate = yyn; - goto yynewstate; - -/* Do the default action for the current state. */ -yydefault: - - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - -/* Do a reduction. yyn is the number of a rule to reduce with. */ -yyreduce: - yylen = yyr2[yyn]; - if (yylen > 0) - yyval = yyvsp[1-yylen]; /* implement default value of the action */ - -#if YYDEBUG != 0 - if (yydebug) - { - int i; - - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) - fprintf (stderr, "%s ", yytname[yyrhs[i]]); - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - - switch (yyn) { - -case 1: -#line 73 "engine/ska/smcpars.y" -{ - if(_yy_mi==0) { - yyerror("_yy_mi = NULL"); - } - // create new model instance - // _yy_mi = CreateModelInstance($3); - _yy_mi->SetName(yyvsp[-1].str); - // set its offset - _yy_mi->SetOffset(yyvsp[-3].f6); - // mark offset as read - bOffsetAllreadySet = FALSE; - // check if flag to remember source file name is set - if(bRememberSourceFN) - { - // remember source file name - _yy_mi->mi_fnSourceFile = CTString(SMCGetBufferName()); - } -; - break;} -case 15: -#line 117 "engine/ska/smcpars.y" -{ - COLOR c = yyvsp[-1].i; - // _yy_mi->SetModelColor($2); -; - break;} -case 16: -#line 125 "engine/ska/smcpars.y" -{ - -; - break;} -case 21: -#line 141 "engine/ska/smcpars.y" -{ - FLOAT3D vMin = FLOAT3D(yyvsp[-12].f, yyvsp[-10].f, yyvsp[-8].f); - FLOAT3D vMax = FLOAT3D(yyvsp[-6].f,yyvsp[-4].f,yyvsp[-2].f); - // add new colision box to current model instance - _yy_mi->AddColisionBox(yyvsp[-14].str,vMin,vMax); -; - break;} -case 24: -#line 156 "engine/ska/smcpars.y" -{ - // add new colision box to current model instance - _yy_mi->mi_cbAllFramesBBox.SetMin(FLOAT3D(yyvsp[-11].f, yyvsp[-9].f, yyvsp[-7].f)); - _yy_mi->mi_cbAllFramesBBox.SetMax(FLOAT3D(yyvsp[-5].f,yyvsp[-3].f,yyvsp[-1].f)); -; - break;} -case 25: -#line 165 "engine/ska/smcpars.y" -{ - // set offset with default offset values - yyval.f6[0] = 0; - yyval.f6[1] = 0; - yyval.f6[2] = 0; - yyval.f6[3] = 0; - yyval.f6[4] = 0; - yyval.f6[5] = 0; -; - break;} -case 26: -#line 175 "engine/ska/smcpars.y" -{ - // return new offset - memcpy(yyval.f6,yyvsp[-1].f6,sizeof(float)*6); -; - break;} -case 27: -#line 182 "engine/ska/smcpars.y" -{ - // if offset is not set - if(!bOffsetAllreadySet) - { - // set offset - yyval.f6[0] = yyvsp[-11].f; - yyval.f6[1] = yyvsp[-9].f; - yyval.f6[2] = yyvsp[-7].f; - yyval.f6[3] = yyvsp[-5].f; - yyval.f6[4] = yyvsp[-3].f; - yyval.f6[5] = yyvsp[-1].f; - // mark it as set now - bOffsetAllreadySet = TRUE; - } -; - break;} -case 28: -#line 201 "engine/ska/smcpars.y" -{ - // get parent ID - int iParentBoneID = ska_FindStringInTable(yyvsp[-5].str); - if(iParentBoneID<0) iParentBoneID=0; - // remember current model instance in parent bone token - yyvsp[-6].pmi = _yy_mi; - // set _yy_mi as new child - _yy_mi = CreateModelInstance(yyvsp[-1].str); - // add child to parent model instance - yyvsp[-6].pmi->AddChild(_yy_mi); - // add offset - _yy_mi->SetOffset(yyvsp[-3].f6); - // set its parent bone - _yy_mi->SetParentBone(iParentBoneID); - // - bOffsetAllreadySet = FALSE; - // if flag to remember source file is set - if(bRememberSourceFN) - { - // remember source name - _yy_mi->mi_fnSourceFile = CTString(SMCGetBufferName()); - } -; - break;} -case 29: -#line 226 "engine/ska/smcpars.y" -{ - // set parent model instance to _yy_mi again - _yy_mi = yyvsp[-10].pmi; -; - break;} -case 30: -#line 235 "engine/ska/smcpars.y" -{ - // add mesh to current model instance - _yy_mi->AddMesh_t((CTString)yyvsp[-1].str); -; - break;} -case 32: -#line 244 "engine/ska/smcpars.y" -{ - // add skeleton to current model instance - _yy_mi->AddSkeleton_t((CTString)yyvsp[-1].str); -; - break;} -case 37: -#line 261 "engine/ska/smcpars.y" -{ - // add animset to curent model instnce - _yy_mi->AddAnimSet_t((CTString)yyvsp[-1].str); -; - break;} -case 40: -#line 274 "engine/ska/smcpars.y" -{ - // set new clear state in model instance - _yy_mi->NewClearState(1); - // get anim ID - INDEX iAnimID = ska_GetIDFromStringTable(yyvsp[-1].str); - // add animation to curent model instance - _yy_mi->AddAnimation(iAnimID,AN_LOOPING,1,0); -; - break;} -case 46: -#line 300 "engine/ska/smcpars.y" -{ - // add texture to current model instance - _yy_mi->AddTexture_t((CTString)yyvsp[-1].str,yyvsp[-3].str,NULL); -; - break;} -case 47: -#line 307 "engine/ska/smcpars.y" -{ - yyval.f = yyvsp[0].f; -; - break;} -case 48: -#line 311 "engine/ska/smcpars.y" -{ - yyval.f = (float)yyvsp[0].i; -; - break;} -case 49: -#line 318 "engine/ska/smcpars.y" -{ - yyval.i = yyvsp[0].i; -; - break;} -} - /* the action file gets copied in in place of this dollarsign */ -#line 487 "bison.simple" - - yyvsp -= yylen; - yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - -#ifdef YYLSP_NEEDED - yylsp++; - if (yylen == 0) - { - yylsp->first_line = yylloc.first_line; - yylsp->first_column = yylloc.first_column; - yylsp->last_line = (yylsp-1)->last_line; - yylsp->last_column = (yylsp-1)->last_column; - yylsp->text = 0; - } - else - { - yylsp->last_line = (yylsp+yylen-1)->last_line; - yylsp->last_column = (yylsp+yylen-1)->last_column; - } -#endif - - /* Now "shift" the result of the reduction. - Determine what state that goes to, - based on the state we popped back to - and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTBASE]; - - goto yynewstate; - -yyerrlab: /* here on detecting error */ - - if (! yyerrstatus) - /* If not already recovering from an error, report this error. */ - { - ++yynerrs; - -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && yyn < YYLAST) - { - int size = 0; - char *msg; - int x, count; - - count = 0; - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - size += strlen(yytname[x]) + 15, count++; - msg = (char *) malloc(size + 15); - if (msg != 0) - { - strcpy(msg, "parse error"); - - if (count < 5) - { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; - } - } - yyerror(msg); - free(msg); - } - else - yyerror ("parse error; also virtual memory exceeded"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror("parse error"); - } - - goto yyerrlab1; -yyerrlab1: /* here on error raised explicitly by an action */ - - if (yyerrstatus == 3) - { - /* if just tried and failed to reuse lookahead token after an error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); -#endif - - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token - after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - -yyerrdefault: /* current state does not do anything special for the error token. */ - -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ - if (yyn) goto yydefault; -#endif - -yyerrpop: /* pop the current state because it cannot handle the error token */ - - if (yyssp == yyss) YYABORT; - yyvsp--; - yystate = *--yyssp; -#ifdef YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "Error: state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - -yyerrhandle: - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - - if (yyn == YYFINAL) - YYACCEPT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting error token, "); -#endif - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - yystate = yyn; - goto yynewstate; -} -#line 323 "engine/ska/smcpars.y" diff --git a/Sources/Engine/Ska/smcScan.cpp b/Sources/Engine/Ska/smcScan.cpp deleted file mode 100644 index 9aeacf5..0000000 --- a/Sources/Engine/Ska/smcScan.cpp +++ /dev/null @@ -1,1869 +0,0 @@ -#define yy_create_buffer syy_create_buffer -#define yy_delete_buffer syy_delete_buffer -#define yy_scan_buffer syy_scan_buffer -#define yy_scan_string syy_scan_string -#define yy_scan_bytes syy_scan_bytes -#define yy_flex_debug syy_flex_debug -#define yy_init_buffer syy_init_buffer -#define yy_flush_buffer syy_flush_buffer -#define yy_load_buffer_state syy_load_buffer_state -#define yy_switch_to_buffer syy_switch_to_buffer -#define yyin syyin -#define yyleng syyleng -#define yylex syylex -#define yyout syyout -#define yyrestart syyrestart -#define yytext syytext -#define yywrap syywrap - -#line 20 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" -#include - -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.81 95/03/20 14:02:24 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -//#ifdef c_plusplus -//#ifndef __cplusplus -//#define __cplusplus -//#endif -//#endif - -#if 1 //def __cplusplus - - #include - - /* Use prototypes in function declarations. */ - #define YY_USE_PROTOS - - /* The "const" storage-class-modifier is valid. */ - #define YY_USE_CONST - -#else /* ! __cplusplus */ - - #if __STDC__ - - #define YY_USE_PROTOS - #define YY_USE_CONST - - #endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) syyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( const char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( const char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -//static - void syyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 33 -#define YY_END_OF_BUFFER 34 -static yyconst short int yy_accept[146] = - { 0, - 0, 0, 0, 0, 0, 0, 34, 32, 30, 31, - 32, 32, 20, 32, 32, 21, 21, 32, 32, 32, - 32, 32, 32, 32, 32, 28, 28, 19, 19, 31, - 17, 30, 0, 25, 0, 0, 21, 26, 0, 23, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 18, 0, 17, 25, 0, - 0, 29, 23, 23, 0, 24, 22, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 27, 0, - 24, 0, 0, 0, 0, 6, 5, 0, 0, 0, - 0, 0, 0, 4, 0, 0, 0, 0, 0, 15, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 12, 0, 3, 2, 0, 0, 0, 0, - 0, 8, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 13, 0, 7, 10, 0, 9, 14, 0, 0, - 11, 0, 0, 16, 0 - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 1, 1, - 1, 7, 8, 9, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 1, 15, 1, - 1, 1, 1, 1, 16, 17, 18, 19, 20, 21, - 1, 22, 23, 1, 24, 25, 26, 27, 28, 29, - 1, 30, 31, 32, 33, 1, 1, 34, 1, 1, - 1, 35, 1, 1, 36, 1, 37, 37, 37, 37, - - 38, 39, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 40, - 1, 1, 41, 1, 42, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[43] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, - 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, - 1, 1 - } ; - -static yyconst short int yy_base[152] = - { 0, - 0, 0, 40, 41, 47, 51, 221, 222, 55, 222, - 40, 197, 222, 47, 51, 51, 56, 41, 191, 198, - 201, 195, 199, 53, 58, 222, 210, 208, 78, 207, - 222, 70, 76, 222, 79, 184, 79, 222, 207, 82, - 96, 0, 184, 185, 182, 175, 179, 183, 173, 166, - 181, 166, 172, 186, 192, 222, 83, 222, 81, 178, - 192, 222, 87, 222, 84, 109, 0, 173, 167, 90, - 170, 171, 159, 169, 104, 163, 155, 160, 222, 160, - 222, 154, 96, 152, 152, 222, 222, 161, 153, 152, - 152, 157, 143, 222, 142, 158, 141, 99, 149, 222, - - 139, 138, 150, 150, 135, 136, 146, 138, 140, 130, - 141, 132, 222, 142, 222, 222, 119, 126, 125, 124, - 115, 222, 122, 114, 112, 112, 107, 222, 106, 109, - 115, 222, 106, 222, 222, 115, 222, 222, 111, 112, - 222, 87, 71, 222, 222, 148, 150, 152, 154, 156, - 44 - } ; - -static yyconst short int yy_def[152] = - { 0, - 145, 1, 146, 146, 147, 147, 145, 145, 145, 145, - 148, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 149, 149, 149, - 145, 145, 148, 145, 148, 145, 145, 145, 150, 145, - 145, 151, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 149, 145, 149, 145, 148, 145, - 150, 145, 145, 145, 145, 145, 151, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 0, 145, 145, 145, 145, 145, - 145 - } ; - -static yyconst short int yy_nxt[265] = - { 0, - 8, 9, 10, 9, 11, 12, 8, 8, 13, 14, - 8, 15, 16, 17, 13, 18, 8, 19, 8, 8, - 8, 8, 8, 8, 8, 20, 21, 22, 23, 8, - 24, 25, 8, 8, 8, 8, 8, 8, 8, 8, - 13, 13, 10, 10, 34, 67, 27, 27, 29, 30, - 29, 31, 29, 30, 29, 31, 32, 38, 32, 37, - 37, 40, 39, 37, 37, 43, 40, 44, 37, 37, - 41, 32, 50, 32, 35, 41, 51, 52, 53, 57, - 34, 57, 58, 59, 57, 34, 57, 58, 41, 40, - 42, 37, 37, 41, 63, 63, 66, 66, 41, 63, - - 63, 41, 64, 65, 144, 65, 41, 64, 66, 66, - 35, 97, 84, 35, 143, 35, 41, 85, 110, 41, - 64, 66, 66, 90, 41, 64, 98, 111, 142, 81, - 141, 140, 139, 138, 91, 137, 136, 135, 134, 133, - 132, 131, 130, 129, 128, 127, 126, 81, 26, 26, - 28, 28, 33, 33, 55, 55, 61, 61, 125, 124, - 123, 122, 121, 120, 119, 118, 117, 116, 115, 114, - 113, 112, 109, 108, 107, 106, 105, 104, 103, 102, - 101, 100, 99, 96, 95, 94, 93, 92, 89, 88, - 87, 86, 83, 82, 62, 80, 56, 79, 78, 77, - - 76, 75, 74, 73, 72, 71, 70, 69, 68, 62, - 60, 56, 56, 54, 49, 48, 47, 46, 45, 36, - 145, 7, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145 - } ; - -static yyconst short int yy_chk[265] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 4, 11, 151, 3, 4, 5, 5, - 5, 5, 6, 6, 6, 6, 9, 15, 9, 14, - 14, 16, 15, 16, 16, 18, 17, 18, 17, 17, - 16, 32, 24, 32, 11, 17, 24, 25, 25, 29, - 33, 29, 29, 35, 57, 59, 57, 57, 16, 37, - 16, 37, 37, 17, 40, 40, 65, 65, 37, 63, - - 63, 40, 40, 41, 143, 41, 63, 63, 41, 41, - 33, 83, 70, 35, 142, 59, 37, 70, 98, 40, - 40, 66, 66, 75, 63, 63, 83, 98, 140, 66, - 139, 136, 133, 131, 75, 130, 129, 127, 126, 125, - 124, 123, 121, 120, 119, 118, 117, 66, 146, 146, - 147, 147, 148, 148, 149, 149, 150, 150, 114, 112, - 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, - 101, 99, 97, 96, 95, 93, 92, 91, 90, 89, - 88, 85, 84, 82, 80, 78, 77, 76, 74, 73, - 72, 71, 69, 68, 61, 60, 55, 54, 53, 52, - - 51, 50, 49, 48, 47, 46, 45, 44, 43, 39, - 36, 30, 28, 27, 23, 22, 21, 20, 19, 12, - 7, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 145, 145, 145 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -#define INITIAL 0 -#line 3 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -#include "ParsingSmbs.h" -#include "smcPars.h" - -#include -#include -#include -#include - -#include -extern CTFileName _fnmApplicationPath; - -int syywrap(void) -{ - // no more buffers - return 1; -}; - -// declarations for recursive SMC script parsing -struct BufferStackEntry { - YY_BUFFER_STATE bse_bs; - const char *bse_strName; - const char *bse_strContents; - int bse_iLineCt; - BOOL bse_bParserEnd; -}; - -static BufferStackEntry _abseBufferStack[SMC_MAX_INCLUDE_LEVEL]; -static int _ibsBufferStackTop = -1; - -void SMCPushBuffer(const char *strName, const char *strBuffer, BOOL bParserEnd) -{ - _ibsBufferStackTop++; - - _abseBufferStack[_ibsBufferStackTop].bse_strContents = strdup(strBuffer); - _abseBufferStack[_ibsBufferStackTop].bse_strName = strdup(strName); - _abseBufferStack[_ibsBufferStackTop].bse_iLineCt = 1; - _abseBufferStack[_ibsBufferStackTop].bse_bParserEnd = bParserEnd; - - _abseBufferStack[_ibsBufferStackTop].bse_bs = syy_scan_string((char*)(const char*)strBuffer); - - syy_switch_to_buffer(_abseBufferStack[_ibsBufferStackTop].bse_bs); -} -BOOL SMCPopBuffer(void) -{ - syy_delete_buffer( _abseBufferStack[_ibsBufferStackTop].bse_bs); - free((void*)_abseBufferStack[_ibsBufferStackTop].bse_strName); - free((void*)_abseBufferStack[_ibsBufferStackTop].bse_strContents); - BOOL bParserEnd = _abseBufferStack[_ibsBufferStackTop].bse_bParserEnd; - - _ibsBufferStackTop--; - - if (_ibsBufferStackTop>=0) { - syy_switch_to_buffer(_abseBufferStack[_ibsBufferStackTop].bse_bs); - } - return bParserEnd; -} -const char *SMCGetBufferName(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_strName; -} -int SMCGetBufferLineNumber(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_iLineCt; -} -int SMCGetBufferStackDepth(void) -{ - return _ibsBufferStackTop; -} -const char *SMCGetBufferContents(void) -{ - return _abseBufferStack[_ibsBufferStackTop].bse_strContents; -} -void SMCCountOneLine(void) -{ - _abseBufferStack[_ibsBufferStackTop].bse_iLineCt++; -} -#define COMMENT 1 - -#define INCLUDE 2 - -#line 593 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 91 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" - - -#line 719 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 222 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 93 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SE_SMC); } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SE_END); } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 96 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_TFNM); } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 97 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_NAME); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 98 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_MESH); } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 99 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_SKELETON);} - YY_BREAK -case 8: -YY_RULE_SETUP -#line 100 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ANIMSET);} - YY_BREAK -case 9: -YY_RULE_SETUP -#line 101 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(K_ANIMATION);} - YY_BREAK -case 10: -YY_RULE_SETUP -#line 102 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_TEXTURES);} - YY_BREAK -case 11: -YY_RULE_SETUP -#line 103 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_PARENTBONE);} - YY_BREAK -case 12: -YY_RULE_SETUP -#line 104 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_OFFSET);} - YY_BREAK -case 13: -YY_RULE_SETUP -#line 105 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_COLISION);} - YY_BREAK -case 14: -YY_RULE_SETUP -#line 106 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ANIMSPEED);} - YY_BREAK -case 15: -YY_RULE_SETUP -#line 107 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_COLOR);} - YY_BREAK -case 16: -YY_RULE_SETUP -#line 108 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ return(k_ALLFRAMESBBOX);} - YY_BREAK -case 17: -YY_RULE_SETUP -#line 110 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -/* eat the whitespace */ - YY_BREAK -case 18: -YY_RULE_SETUP -#line 111 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ /* got the include file name */ - - if (SMCGetBufferStackDepth() >= SMC_MAX_INCLUDE_LEVEL) { - ThrowF_t("File '%s' line %d\nIncludes nested too deeply '%s'",SMCGetBufferName(), SMCGetBufferLineNumber(),yytext); - } - char strFileName[256]; - strcpy(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - CTString strIncludeFile; - try { - strIncludeFile.Load_t(CTString(strFileName)); - SMCPushBuffer(strFileName, strIncludeFile, FALSE); - - } catch(char *strError) { - (void)strError; - ThrowF_t("File '%s'\n Could not open '%s' (line %d)",SMCGetBufferName(), strFileName, SMCGetBufferLineNumber()); - } - BEGIN(INITIAL); -} - YY_BREAK -case 19: -YY_RULE_SETUP -#line 131 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ /* something unrecognized inside include statement */ - BEGIN(INITIAL); - ThrowF_t("File '%s'\n Wrong syntax for include statement",SMCGetBufferName()); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(INCLUDE): -#line 135 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - if (SMCPopBuffer()) { - yyterminate(); - } -} - YY_BREAK -/* single character operators and punctuations */ -case 20: -YY_RULE_SETUP -#line 143 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 21: -YY_RULE_SETUP -#line 148 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.i = atoi(yytext); return(c_int); } - YY_BREAK -case 22: -YY_RULE_SETUP -#line 149 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.i = strtoul(yytext+2, NULL, 16); return(c_int);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 150 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 24: -YY_RULE_SETUP -#line 151 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ syylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 25: -YY_RULE_SETUP -#line 152 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - char *strNew; - // remove double-quotes - yytext[strlen(yytext)-1] = 0; - strNew = yytext+1; - syylval.str = (const char*)strNew; - return(c_string); -} - YY_BREAK -/* eat up comments */ -case 26: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 27: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 28: -YY_RULE_SETUP -#line 164 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 165 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ SMCCountOneLine(); } - YY_BREAK -/* eat up whitespace */ -case 30: -YY_RULE_SETUP -#line 168 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 31: -YY_RULE_SETUP -#line 171 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - SMCCountOneLine();; -} - YY_BREAK -/* for all unrecognized characters */ -case 32: -YY_RULE_SETUP -#line 176 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -{ - // report an error - ThrowF_t("File '%s'\n Unrecognized character '%c' (line %d)", SMCGetBufferName(), yytext[0], SMCGetBufferLineNumber()); - //ThrowF_t("Unrecognized character '%c' in line %d)", yytext[0], _yy_iLine ); -} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" -ECHO; - YY_BREAK -#line 1020 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 146 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 145); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -//static - void syyunput( int c, register char *yy_bp ) -#else -//static - void syyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#ifdef YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#ifdef YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( const char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -const char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( const char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -const char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#ifdef YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 182 "D:\\SE1_GPL\\Sources\\Engine\\Ska\\\\smcScan.l" - - diff --git a/Sources/SeriousSkaStudio/Scanner.cpp b/Sources/SeriousSkaStudio/Scanner.cpp deleted file mode 100644 index a771713..0000000 --- a/Sources/SeriousSkaStudio/Scanner.cpp +++ /dev/null @@ -1,2146 +0,0 @@ -#line 2 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $ - */ - -#define FLEX_SCANNER -#define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 - -#include - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include -#include - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#if __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include -#include -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - -#ifdef YY_USE_CONST -#define yyconst const -#else -#define yyconst -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. The YYSTATE alias is for lex - * compatibility. - */ -#define YY_START ((yy_start - 1) / 2) -#define YYSTATE YY_START - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - */ -typedef unsigned int yy_size_t; - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - yy_size_t yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether we "own" the buffer - i.e., we know we created it, - * and can realloc() it to grow it, and should free() it to - * delete it. - */ - int yy_is_our_buffer; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether we're considered to be at the beginning of a line. - * If so, '^' rules will be active on the next match, otherwise - * not. - */ - int yy_at_bol; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -void yyrestart YY_PROTO(( FILE *input_file )); - -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); -void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); -#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) - -YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); -YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str )); -YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); - -static void *yy_flex_alloc YY_PROTO(( yy_size_t )); -static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define yy_set_interactive(is_interactive) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_is_interactive = is_interactive; \ - } - -#define yy_set_bol(at_bol) \ - { \ - if ( ! yy_current_buffer ) \ - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ - yy_current_buffer->yy_at_bol = at_bol; \ - } - -#define YY_AT_BOL() (yy_current_buffer->yy_at_bol) - -typedef unsigned char YY_CHAR; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -typedef int yy_state_type; -extern char *yytext; -#define yytext_ptr yytext - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = (int) (yy_cp - yy_bp); \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - yy_c_buf_p = yy_cp; - -#define YY_NUM_RULES 66 -#define YY_END_OF_BUFFER 67 -static yyconst short int yy_accept[397] = - { 0, - 0, 0, 0, 0, 0, 0, 67, 65, 63, 64, - 65, 65, 53, 65, 65, 54, 54, 65, 65, 65, - 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, - 65, 65, 65, 61, 61, 52, 52, 64, 50, 63, - 0, 58, 0, 0, 54, 59, 0, 56, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 51, 0, 50, - 58, 0, 0, 62, 56, 56, 0, 57, 55, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 60, 0, 57, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, - 0, 0, 0, 0, 20, 0, 0, 15, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, - 0, 36, 0, 0, 0, 12, 0, 0, 19, 0, - - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 5, 0, 0, 0, 0, 0, 30, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 4, 0, 0, 22, - 2, 0, 0, 0, 0, 0, 0, 0, 0, 10, - 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 8, 0, 34, 0, - 3, 0, 0, 37, 0, 0, 0, 0, 0, 0, - 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, - - 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 11, 29, 0, 0, 0, 0, 0, 32, 0, - 0, 26, 17, 18, 0, 0, 0, 40, 0, 0, - 0, 0, 0, 0, 0, 25, 0, 0, 31, 0, - 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, - 9, 27, 0, 0, 0, 23, 0, 45, 46, 38, - 0, 0, 44, 0, 0, 0, 28, 0, 0, 42, - 0, 0, 0, 0, 21, 0, 41, 43, 33, 0, - 0, 0, 48, 49, 39, 0 - - } ; - -static yyconst int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 1, 1, - 1, 7, 8, 9, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 14, 14, 1, 15, 1, - 1, 1, 1, 1, 16, 17, 18, 19, 20, 21, - 22, 23, 24, 1, 25, 26, 27, 28, 29, 30, - 1, 31, 32, 33, 34, 35, 36, 37, 1, 1, - 1, 38, 1, 1, 39, 1, 40, 40, 40, 40, - - 41, 42, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 43, - 1, 1, 44, 1, 45, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static yyconst int yy_meta[46] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, - 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, - 2, 2, 1, 1, 1 - } ; - -static yyconst short int yy_base[403] = - { 0, - 0, 0, 43, 44, 50, 54, 467, 468, 58, 468, - 43, 442, 468, 50, 54, 54, 58, 437, 435, 434, - 442, 54, 445, 440, 57, 60, 443, 438, 59, 60, - 422, 436, 435, 468, 450, 448, 96, 447, 468, 88, - 70, 468, 78, 423, 91, 468, 447, 93, 107, 0, - 425, 420, 420, 425, 419, 428, 417, 416, 413, 403, - 407, 407, 410, 405, 404, 408, 85, 417, 412, 400, - 393, 99, 402, 397, 403, 414, 420, 468, 123, 468, - 91, 406, 420, 468, 117, 468, 96, 126, 0, 395, - 401, 390, 403, 386, 390, 390, 394, 392, 374, 389, - - 381, 390, 382, 388, 391, 367, 125, 386, 378, 382, - 384, 369, 384, 379, 382, 364, 374, 468, 369, 468, - 55, 116, 363, 359, 372, 371, 351, 350, 355, 368, - 360, 362, 468, 368, 355, 349, 351, 352, 359, 353, - 357, 356, 359, 345, 350, 344, 468, 341, 346, 346, - 334, 92, 343, 338, 468, 345, 338, 468, 331, 341, - 340, 337, 335, 329, 122, 331, 323, 331, 334, 329, - 320, 331, 319, 316, 330, 318, 317, 323, 312, 325, - 309, 322, 307, 319, 319, 302, 304, 302, 468, 318, - 317, 468, 300, 312, 302, 468, 297, 296, 468, 292, - - 295, 298, 301, 297, 283, 292, 300, 288, 292, 291, - 468, 296, 111, 295, 288, 293, 468, 292, 287, 271, - 291, 290, 274, 280, 270, 284, 468, 283, 263, 262, - 261, 279, 151, 270, 265, 277, 276, 274, 261, 468, - 260, 468, 267, 271, 263, 259, 257, 266, 265, 268, - 259, 262, 248, 468, 259, 259, 258, 244, 247, 249, - 258, 257, 238, 251, 235, 243, 468, 236, 468, 228, - 468, 246, 233, 468, 235, 235, 233, 222, 221, 231, - 226, 231, 468, 225, 227, 226, 224, 226, 133, 224, - 219, 218, 211, 220, 217, 468, 213, 211, 210, 212, - - 468, 209, 219, 218, 220, 204, 207, 219, 215, 214, - 204, 202, 208, 213, 208, 211, 205, 192, 208, 204, - 202, 468, 468, 201, 200, 190, 189, 197, 468, 186, - 188, 468, 468, 175, 182, 180, 178, 468, 183, 193, - 174, 177, 180, 172, 172, 468, 172, 171, 468, 181, - 180, 179, 166, 468, 165, 164, 164, 149, 146, 153, - 468, 468, 140, 139, 142, 468, 145, 468, 468, 132, - 150, 147, 468, 134, 149, 148, 468, 144, 140, 124, - 123, 120, 120, 115, 468, 117, 468, 468, 468, 125, - 107, 99, 468, 468, 468, 468, 185, 187, 189, 191, - - 193, 47 - } ; - -static yyconst short int yy_def[403] = - { 0, - 396, 1, 397, 397, 398, 398, 396, 396, 396, 396, - 399, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 400, 400, 400, 396, 396, - 399, 396, 399, 396, 396, 396, 401, 396, 396, 402, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 400, 396, 400, 396, - 399, 396, 401, 396, 396, 396, 396, 396, 402, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 0, 396, 396, 396, 396, - - 396, 396 - } ; - -static yyconst short int yy_nxt[514] = - { 0, - 8, 9, 10, 9, 11, 12, 8, 8, 13, 14, - 8, 15, 16, 17, 13, 18, 19, 20, 21, 8, - 22, 8, 23, 8, 8, 24, 25, 26, 8, 27, - 28, 29, 30, 31, 32, 33, 8, 8, 8, 8, - 8, 8, 8, 13, 13, 10, 10, 42, 89, 35, - 35, 37, 38, 37, 39, 37, 38, 37, 39, 40, - 46, 40, 45, 45, 48, 47, 45, 45, 48, 55, - 45, 45, 60, 49, 42, 63, 61, 49, 67, 71, - 43, 68, 81, 69, 56, 62, 152, 57, 64, 40, - 72, 40, 70, 153, 49, 42, 50, 79, 49, 79, - - 80, 48, 106, 45, 45, 85, 85, 43, 88, 88, - 49, 183, 49, 86, 87, 43, 87, 395, 112, 88, - 88, 184, 113, 107, 79, 394, 79, 80, 43, 85, - 85, 49, 114, 49, 86, 154, 49, 86, 88, 88, - 138, 195, 240, 393, 392, 391, 120, 155, 313, 241, - 390, 139, 389, 196, 388, 387, 140, 49, 86, 386, - 197, 314, 385, 384, 383, 382, 381, 120, 259, 380, - 379, 260, 378, 377, 376, 375, 374, 373, 261, 372, - 262, 371, 263, 264, 265, 34, 34, 36, 36, 41, - 41, 77, 77, 83, 83, 370, 369, 368, 367, 366, - - 365, 364, 363, 362, 361, 360, 359, 358, 357, 356, - 355, 354, 353, 352, 351, 350, 349, 348, 347, 346, - 345, 344, 343, 342, 341, 340, 339, 338, 337, 336, - 335, 334, 333, 332, 331, 330, 329, 328, 327, 326, - 325, 324, 323, 322, 321, 320, 319, 318, 317, 316, - 315, 312, 311, 310, 309, 308, 307, 306, 305, 304, - 303, 302, 301, 300, 299, 298, 297, 296, 295, 294, - 293, 292, 291, 290, 289, 288, 287, 286, 285, 284, - 283, 282, 281, 280, 279, 278, 277, 276, 275, 274, - 273, 272, 271, 270, 269, 268, 267, 266, 258, 257, - - 256, 255, 254, 253, 252, 251, 250, 249, 248, 247, - 246, 245, 244, 243, 242, 239, 238, 237, 236, 235, - 234, 233, 232, 231, 230, 229, 228, 227, 226, 225, - 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, - 214, 213, 212, 211, 210, 209, 208, 207, 206, 205, - 204, 203, 202, 201, 200, 199, 198, 194, 193, 192, - 191, 190, 189, 188, 187, 186, 185, 182, 181, 180, - 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, - 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, - 159, 158, 157, 156, 151, 150, 149, 148, 147, 146, - - 145, 144, 143, 142, 141, 137, 136, 135, 134, 133, - 132, 131, 130, 129, 128, 127, 126, 125, 124, 123, - 122, 121, 84, 119, 78, 118, 117, 116, 115, 111, - 110, 109, 108, 105, 104, 103, 102, 101, 100, 99, - 98, 97, 96, 95, 94, 93, 92, 91, 90, 84, - 82, 78, 78, 76, 75, 74, 73, 66, 65, 59, - 58, 54, 53, 52, 51, 44, 396, 7, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396 - } ; - -static yyconst short int yy_chk[514] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 4, 11, 402, 3, - 4, 5, 5, 5, 5, 6, 6, 6, 6, 9, - 15, 9, 14, 14, 16, 15, 16, 16, 17, 22, - 17, 17, 25, 16, 41, 26, 25, 17, 29, 30, - 11, 29, 43, 29, 22, 25, 121, 22, 26, 40, - 30, 40, 29, 121, 16, 81, 16, 37, 17, 37, - - 37, 45, 67, 45, 45, 48, 48, 41, 87, 87, - 45, 152, 48, 48, 49, 43, 49, 392, 72, 49, - 49, 152, 72, 67, 79, 391, 79, 79, 81, 85, - 85, 45, 72, 48, 48, 122, 85, 85, 88, 88, - 107, 165, 213, 390, 386, 384, 88, 122, 289, 213, - 383, 107, 382, 165, 381, 380, 107, 85, 85, 379, - 165, 289, 378, 376, 375, 374, 372, 88, 233, 371, - 370, 233, 367, 365, 364, 363, 360, 359, 233, 358, - 233, 357, 233, 233, 233, 397, 397, 398, 398, 399, - 399, 400, 400, 401, 401, 356, 355, 353, 352, 351, - - 350, 348, 347, 345, 344, 343, 342, 341, 340, 339, - 337, 336, 335, 334, 331, 330, 328, 327, 326, 325, - 324, 321, 320, 319, 318, 317, 316, 315, 314, 313, - 312, 311, 310, 309, 308, 307, 306, 305, 304, 303, - 302, 300, 299, 298, 297, 295, 294, 293, 292, 291, - 290, 288, 287, 286, 285, 284, 282, 281, 280, 279, - 278, 277, 276, 275, 273, 272, 270, 268, 266, 265, - 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, - 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, - 243, 241, 239, 238, 237, 236, 235, 234, 232, 231, - - 230, 229, 228, 226, 225, 224, 223, 222, 221, 220, - 219, 218, 216, 215, 214, 212, 210, 209, 208, 207, - 206, 205, 204, 203, 202, 201, 200, 198, 197, 195, - 194, 193, 191, 190, 188, 187, 186, 185, 184, 183, - 182, 181, 180, 179, 178, 177, 176, 175, 174, 173, - 172, 171, 170, 169, 168, 167, 166, 164, 163, 162, - 161, 160, 159, 157, 156, 154, 153, 151, 150, 149, - 148, 146, 145, 144, 143, 142, 141, 140, 139, 138, - 137, 136, 135, 134, 132, 131, 130, 129, 128, 127, - 126, 125, 124, 123, 119, 117, 116, 115, 114, 113, - - 112, 111, 110, 109, 108, 106, 105, 104, 103, 102, - 101, 100, 99, 98, 97, 96, 95, 94, 93, 92, - 91, 90, 83, 82, 77, 76, 75, 74, 73, 71, - 70, 69, 68, 66, 65, 64, 63, 62, 61, 60, - 59, 58, 57, 56, 55, 54, 53, 52, 51, 47, - 44, 38, 36, 35, 33, 32, 31, 28, 27, 24, - 23, 21, 20, 19, 18, 12, 7, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - - 396, 396, 396, 396, 396, 396, 396, 396, 396, 396, - 396, 396, 396 - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -char *yytext; -#line 1 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -#define INITIAL 0 -#line 2 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -#include "StdAfx.h" -#include "ParsingSymbols.h" -#include "Parser.h" - -#include -#include - -#include - -extern "C" { - int yywrap(void) - { - // no more buffers - return 1; - }; -} -YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; -CTFileName include_fnStack[MAX_INCLUDE_DEPTH]; -INDEX include_lineStack[MAX_INCLUDE_DEPTH]; -FILE *include_FileStack[MAX_INCLUDE_DEPTH]; -int include_stack_ptr = 0; - -CTFileName strCurentFileName; -CDynamicStackArray astrText; - -#define COMMENT 1 - -#define INCLUDE 2 - -#line 639 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifndef YY_SKIP_YYWRAP -#ifdef __cplusplus -extern "C" int yywrap YY_PROTO(( void )); -#else -extern int yywrap YY_PROTO(( void )); -#endif -#endif - -#ifndef YY_NO_UNPUT -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -#endif - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); -#endif - -#ifndef YY_NO_INPUT -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif -#endif - -#if YY_STACK_USED -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -#ifndef YY_NO_PUSH_STATE -static void yy_push_state YY_PROTO(( int new_state )); -#endif -#ifndef YY_NO_POP_STATE -static void yy_pop_state YY_PROTO(( void )); -#endif -#ifndef YY_NO_TOP_STATE -static int yy_top_state YY_PROTO(( void )); -#endif - -#else -#define YY_NO_PUSH_STATE 1 -#define YY_NO_POP_STATE 1 -#define YY_NO_TOP_STATE 1 -#endif - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = '*', n; \ - for ( n = 0; n < max_size && \ - (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ - buf[n] = (char) c; \ - if ( c == '\n' ) \ - buf[n++] = (char) c; \ - if ( c == EOF && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); \ - result = n; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -#define YY_RULE_SETUP \ - YY_USER_ACTION - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -#line 39 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" - - - // keywords -#line 790 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - - if ( yy_init ) - { - yy_init = 0; - -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( ! yy_current_buffer ) - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 468 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - if ( yy_act == 0 ) - { /* have to back up */ - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - yy_act = yy_accept[yy_current_state]; - } - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_RULE_SETUP -#line 42 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -BEGIN(INCLUDE); - YY_BREAK -case 2: -YY_RULE_SETUP -#line 43 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_MESH); } - YY_BREAK -case 3: -YY_RULE_SETUP -#line 44 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_VERTICES); } - YY_BREAK -case 4: -YY_RULE_SETUP -#line 45 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_NORMALS); } - YY_BREAK -case 5: -YY_RULE_SETUP -#line 46 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_UVMAPS); } - YY_BREAK -case 6: -YY_RULE_SETUP -#line 47 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_NAME); } - YY_BREAK -case 7: -YY_RULE_SETUP -#line 48 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TEXCOORDS); } - YY_BREAK -case 8: -YY_RULE_SETUP -#line 49 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SURFACES); } - YY_BREAK -case 9: -YY_RULE_SETUP -#line 50 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRIANGLE_SET); } - YY_BREAK -case 10: -YY_RULE_SETUP -#line 51 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_WEIGHTS); } - YY_BREAK -case 11: -YY_RULE_SETUP -#line 52 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_WEIGHT_SET); } - YY_BREAK -case 12: -YY_RULE_SETUP -#line 53 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPHS); } - YY_BREAK -case 13: -YY_RULE_SETUP -#line 54 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_RELATIVE); } - YY_BREAK -case 14: -YY_RULE_SETUP -#line 55 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRUE); } - YY_BREAK -case 15: -YY_RULE_SETUP -#line 56 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FALSE); } - YY_BREAK -case 16: -YY_RULE_SETUP -#line 57 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPH_SET); } - YY_BREAK -case 17: -YY_RULE_SETUP -#line 58 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_MESH_END); } - YY_BREAK -case 18: -YY_RULE_SETUP -#line 59 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_SKELETON); } - YY_BREAK -case 19: -YY_RULE_SETUP -#line 60 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_PARENT);} - YY_BREAK -case 20: -YY_RULE_SETUP -#line 61 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_BONES);} - YY_BREAK -case 21: -YY_RULE_SETUP -#line 62 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_SKELETON_END);} - YY_BREAK -case 22: -YY_RULE_SETUP -#line 63 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_ANIM);} - YY_BREAK -case 23: -YY_RULE_SETUP -#line 64 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SEC_PER_FRAME);} - YY_BREAK -case 24: -YY_RULE_SETUP -#line 65 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FRAMES);} - YY_BREAK -case 25: -YY_RULE_SETUP -#line 66 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_DEFAULT_POSE);} - YY_BREAK -case 26: -YY_RULE_SETUP -#line 67 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SE_ANIM_END);} - YY_BREAK -case 27: -YY_RULE_SETUP -#line 68 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_BONEENVELOPES);} - YY_BREAK -case 28: -YY_RULE_SETUP -#line 69 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MORPHENVELOPES);} - YY_BREAK -case 29: -YY_RULE_SETUP -#line 70 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIM_SET_LIST);} - YY_BREAK -case 30: -YY_RULE_SETUP -#line 71 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIM_ID);} - YY_BREAK -case 31: -YY_RULE_SETUP -#line 72 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MAX_DISTANCE);} - YY_BREAK -case 32: -YY_RULE_SETUP -#line 73 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_MESHLODLIST);} - YY_BREAK -case 33: -YY_RULE_SETUP -#line 74 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SKELETONLODLIST);} - YY_BREAK -case 34: -YY_RULE_SETUP -#line 75 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_TRESHOLD);} - YY_BREAK -case 35: -YY_RULE_SETUP -#line 76 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_COMPRESION);} - YY_BREAK -case 36: -YY_RULE_SETUP -#line 77 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_LENGTH);} - YY_BREAK -case 37: -YY_RULE_SETUP -#line 78 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_ANIMSPEED);} - YY_BREAK -case 38: -YY_RULE_SETUP -#line 79 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_PARAMS);} - YY_BREAK -case 39: -YY_RULE_SETUP -#line 80 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_PARAMS_END);} - YY_BREAK -case 40: -YY_RULE_SETUP -#line 81 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_NAME);} - YY_BREAK -case 41: -YY_RULE_SETUP -#line 82 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_SURFACES);} - YY_BREAK -case 42: -YY_RULE_SETUP -#line 83 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_SURFACE);} - YY_BREAK -case 43: -YY_RULE_SETUP -#line 84 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_TEXTURES);} - YY_BREAK -case 44: -YY_RULE_SETUP -#line 85 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_UVMAPS);} - YY_BREAK -case 45: -YY_RULE_SETUP -#line 86 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_COLORS);} - YY_BREAK -case 46: -YY_RULE_SETUP -#line 87 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_FLOATS);} - YY_BREAK -case 47: -YY_RULE_SETUP -#line 88 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_SHADER_FLAGS);} - YY_BREAK -case 48: -YY_RULE_SETUP -#line 89 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_FULL_FACE_FORWARD);} - YY_BREAK -case 49: -YY_RULE_SETUP -#line 90 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ return(k_HALF_FACE_FORWARD);} - YY_BREAK -case 50: -YY_RULE_SETUP -#line 94 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -/* eat the whitespace */ - YY_BREAK -case 51: -YY_RULE_SETUP -#line 95 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ /* got the include file name */ - if(include_stack_ptr >= MAX_INCLUDE_DEPTH) - { - BEGIN(INITIAL); - ThrowF_t("Includes nested too deeply '%c' in line %d)", yytext[0], _yy_iLine ); - } - - char strFileName[256]; - strcpy(strFileName,(const char*)_fnmApplicationPath); - strcat(strFileName, yytext); - strFileName[strlen(strFileName)-1] = 0; - - try - { - include_stack[include_stack_ptr] = YY_CURRENT_BUFFER; - include_fnStack[include_stack_ptr] = strCurentFileName; - include_lineStack[include_stack_ptr] = _yy_iLine; - include_FileStack[include_stack_ptr] = yyin; - yyin = fopen( strFileName, "r" ); - - if(yyin == NULL) - ThrowF_t("File '%s'\n Could not open '%s' (line %d)",(const char*)strCurentFileName, strFileName, _yy_iLine); - - include_stack_ptr++; - yy_switch_to_buffer(yy_create_buffer( yyin, YY_BUF_SIZE )); - strCurentFileName = (CTString)strFileName; - // try to remove app path from source file name - try { strCurentFileName.RemoveApplicationPath_t(); } - catch(char *){} - _yy_iLine = 1; - } - catch(char *strError) - { - BEGIN(INITIAL); - ThrowF_t(strError); - } - BEGIN(INITIAL); -} - YY_BREAK -case 52: -YY_RULE_SETUP -#line 133 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ /* something unrecognized inside include statement */ - ThrowF_t("Wrong syntax for include statement"); - BEGIN(INITIAL); -} - YY_BREAK -case YY_STATE_EOF(INITIAL): -case YY_STATE_EOF(COMMENT): -case YY_STATE_EOF(INCLUDE): -#line 137 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - if ( --include_stack_ptr < 0 ) - { - yyterminate(); - exit(1); - } - else - { - fclose(yyin); - yy_delete_buffer( YY_CURRENT_BUFFER ); - yy_switch_to_buffer( include_stack[include_stack_ptr] ); - strCurentFileName = include_fnStack[include_stack_ptr]; - yyin = include_FileStack[include_stack_ptr]; - _yy_iLine = include_lineStack[include_stack_ptr]; - } -} - YY_BREAK -/* single character operators and punctuations */ -case 53: -YY_RULE_SETUP -#line 155 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - return(yytext[0]);} - YY_BREAK -/* constants */ -case 54: -YY_RULE_SETUP -#line 159 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.i = atoi(yytext); return(c_int); } - YY_BREAK -case 55: -YY_RULE_SETUP -#line 160 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.i = strtoul(yytext+2, NULL, 16); return(c_int);} - YY_BREAK -case 56: -YY_RULE_SETUP -#line 161 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 57: -YY_RULE_SETUP -#line 162 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ yylval.f = (float) atof(yytext); return(c_float); } - YY_BREAK -case 58: -YY_RULE_SETUP -#line 163 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - CTString &strNew = astrText.Push(); - char *pstrNew; - // remove double-quotes - yytext[strlen(yytext)-1] = 0; - pstrNew = yytext+1; - //yylval.str = (const char*)strNew; - strNew = (const char*)pstrNew; - yylval.str = (const char*)strNew; - return(c_string); -} - YY_BREAK -/* eat up comments */ -case 59: -YY_RULE_SETUP -#line 176 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ BEGIN(COMMENT); } - YY_BREAK -case 60: -YY_RULE_SETUP -#line 177 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ BEGIN(INITIAL); } - YY_BREAK -case 61: -YY_RULE_SETUP -#line 178 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{} - YY_BREAK -case 62: -YY_RULE_SETUP -#line 179 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ _yy_iLine++; } - YY_BREAK -/* eat up whitespace */ -case 63: -YY_RULE_SETUP -#line 182 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ -} - YY_BREAK -/* eat up linefeeds and count lines in all conditions */ -case 64: -YY_RULE_SETUP -#line 185 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - _yy_iLine++; -} - YY_BREAK -/* for all unrecognized characters */ -case 65: -YY_RULE_SETUP -#line 190 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -{ - // report an error - ThrowF_t("File '%s'\n Unrecognized character '%c' (line %d)",(const char*)strCurentFileName,yytext,_yy_iLine); -} - YY_BREAK -case 66: -YY_RULE_SETUP -#line 195 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" -ECHO; - YY_BREAK -#line 1287 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.cpp" - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr; - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = - (int) (yy_c_buf_p - b->yy_ch_buf); - - if ( b->yy_is_our_buffer ) - { - int new_size = b->yy_buf_size * 2; - - if ( new_size <= 0 ) - b->yy_buf_size += b->yy_buf_size / 8; - else - b->yy_buf_size *= 2; - - b->yy_ch_buf = (char *) - /* Include room in for 2 EOB chars. */ - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size + 2 ); - } - else - /* Can't grow it, we don't own it. */ - b->yy_ch_buf = 0; - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move == YY_MORE_ADJ ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - yy_current_state = yy_start; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 397 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 396); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifndef YY_NO_UNPUT -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += (int) (dest - source); - yy_bp += (int) (dest - source); - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - *--yy_cp = (char) c; - - - yytext_ptr = yy_bp; - yy_hold_char = *yy_cp; - yy_c_buf_p = yy_cp; - } -#endif /* ifndef YY_NO_UNPUT */ - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_is_our_buffer = 1; - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( ! b ) - return; - - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - if ( b->yy_is_our_buffer ) - yy_flex_free( (void *) b->yy_ch_buf ); - - yy_flex_free( (void *) b ); - } - - -#ifndef YY_ALWAYS_INTERACTIVE -#ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); -#endif -#endif - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - - - { - yy_flush_buffer( b ); - - b->yy_input_file = file; - b->yy_fill_buffer = 1; - -#if YY_ALWAYS_INTERACTIVE - b->yy_is_interactive = 1; -#else -#if YY_NEVER_INTERACTIVE - b->yy_is_interactive = 0; -#else - b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; -#endif -#endif - } - - -#ifdef YY_USE_PROTOS -void yy_flush_buffer( YY_BUFFER_STATE b ) -#else -void yy_flush_buffer( b ) -YY_BUFFER_STATE b; -#endif - - { - b->yy_n_chars = 0; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[0]; - - b->yy_at_bol = 1; - b->yy_buffer_status = YY_BUFFER_NEW; - - if ( b == yy_current_buffer ) - yy_load_buffer_state(); - } - - -#ifndef YY_NO_SCAN_BUFFER -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) -#else -YY_BUFFER_STATE yy_scan_buffer( base, size ) -char *base; -yy_size_t size; -#endif - { - YY_BUFFER_STATE b; - - if ( size < 2 || - base[size-2] != YY_END_OF_BUFFER_CHAR || - base[size-1] != YY_END_OF_BUFFER_CHAR ) - /* They forgot to leave room for the EOB's. */ - return 0; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ - b->yy_buf_pos = b->yy_ch_buf = base; - b->yy_is_our_buffer = 0; - b->yy_input_file = 0; - b->yy_n_chars = b->yy_buf_size; - b->yy_is_interactive = 0; - b->yy_at_bol = 1; - b->yy_fill_buffer = 0; - b->yy_buffer_status = YY_BUFFER_NEW; - - yy_switch_to_buffer( b ); - - return b; - } -#endif - - -#ifndef YY_NO_SCAN_STRING -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_string( yyconst char *str ) -#else -YY_BUFFER_STATE yy_scan_string( str ) -yyconst char *str; -#endif - { - int len; - for ( len = 0; str[len]; ++len ) - ; - - return yy_scan_bytes( str, len ); - } -#endif - - -#ifndef YY_NO_SCAN_BYTES -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) -#else -YY_BUFFER_STATE yy_scan_bytes( bytes, len ) -yyconst char *bytes; -int len; -#endif - { - YY_BUFFER_STATE b; - char *buf; - yy_size_t n; - int i; - - /* Get memory for full buffer, including space for trailing EOB's. */ - n = len + 2; - buf = (char *) yy_flex_alloc( n ); - if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); - - for ( i = 0; i < len; ++i ) - buf[i] = bytes[i]; - - buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; - - b = yy_scan_buffer( buf, n ); - if ( ! b ) - YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); - - /* It's okay to grow etc. this buffer, and we should throw it - * away when we're done. - */ - b->yy_is_our_buffer = 1; - - return b; - } -#endif - - -#ifndef YY_NO_PUSH_STATE -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - yy_size_t new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } -#endif - - -#ifndef YY_NO_POP_STATE -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } -#endif - - -#ifndef YY_NO_TOP_STATE -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } -#endif - -#ifndef YY_EXIT_FAILURE -#define YY_EXIT_FAILURE 2 -#endif - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( yyconst char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( YY_EXIT_FAILURE ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -yyconst char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( yy_size_t size ) -#else -static void *yy_flex_alloc( size ) -yy_size_t size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, yy_size_t size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -yy_size_t size; -#endif - { - /* The cast to (char *) in the following accommodates both - * implementations that use char* generic pointers, and those - * that use void* generic pointers. It works with the latter - * because both ANSI C and C++ allow castless assignment from - * any pointer type to void*, and deal with argument conversions - * as though doing an assignment. - */ - return (void *) realloc( (char *) ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } - -#if YY_MAIN -int main() - { - yylex(); - return 0; - } -#endif -#line 195 "D:\\SE1_GPL\\Sources\\SeriousSkaStudio\\\\Scanner.l" - - From dceb5522653c18dd71c7f8607de6425e9ff4f3df Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 02:57:22 +0300 Subject: [PATCH 29/62] Update .gitignore AGAAAAAAIN! --- .gitignore | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 35413f2..f6437c7 100644 --- a/.gitignore +++ b/.gitignore @@ -44,18 +44,35 @@ *.suo *.tlog -# Engine Generated Stuff -Sources/Engine/Classes/*.h -Sources/Engine/Classes/*.cpp - -# EntitiesMP Generated Stuff +# Files generated by ECC Sources/EntitiesMP/*.cpp Sources/EntitiesMP/*.h !Sources/EntitiesMP/Common/* !Sources/EntitiesMP/StdH/* +Sources/Engine/Classes/*.h +Sources/Engine/Classes/*.cpp + +# Other generated files: +Sources/Engine/Ska/smcScan.cpp +Sources/Engine/Ska/smcPars.h +Sources/Engine/Ska/smcPars.cpp +Sources/Engine/Base/Parser.cpp +Sources/Engine/Base/Parser.h +Sources/Engine/Base/Scanner.cpp +Sources/Ecc/Parser.cpp +Sources/Ecc/Parser.h +Sources/Ecc/Scanner.cpp +Sources/SeriousSkaStudio/Parser.cpp +Sources/SeriousSkaStudio/Parser.h +Sources/SeriousSkaStudio/Scanner.cpp # Game Generated Stuff +*.plr +Temp/ConsoleHistory.txt +Temp/Profile_CSG.txt +*.log +*.rpt # crashinfo +*.gms +Data/*.pri Data/*.bin -Data/*.gms -Players/* -Temp/ConsoleHistory.txt \ No newline at end of file +Scripts/PersistentSymbols.ini \ No newline at end of file From 899d297f7b7b91bd2d36538231e32979054277e3 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 03:59:44 +0300 Subject: [PATCH 30/62] GameExecutable: Move some stuff from Menu.cpp into files PART THREE Menu.cpp is so large(>6000 lines). I'll separate it! --- Sources/SeriousSam/MNetworkJoin.cpp | 43 +++ Sources/SeriousSam/MNetworkJoin.h | 7 + Sources/SeriousSam/MNetworkOpen.cpp | 66 +++++ Sources/SeriousSam/MNetworkOpen.h | 13 +- Sources/SeriousSam/MSplitScreen.cpp | 46 +++ Sources/SeriousSam/MSplitScreen.h | 8 +- Sources/SeriousSam/MSplitStart.cpp | 103 +++++++ Sources/SeriousSam/MSplitStart.h | 11 +- Sources/SeriousSam/Menu.cpp | 270 +++--------------- Sources/SeriousSam/SeriousSam.vcxproj | 4 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 12 + 11 files changed, 350 insertions(+), 233 deletions(-) create mode 100644 Sources/SeriousSam/MNetworkJoin.cpp create mode 100644 Sources/SeriousSam/MNetworkOpen.cpp create mode 100644 Sources/SeriousSam/MSplitScreen.cpp create mode 100644 Sources/SeriousSam/MSplitStart.cpp diff --git a/Sources/SeriousSam/MNetworkJoin.cpp b/Sources/SeriousSam/MNetworkJoin.cpp new file mode 100644 index 0000000..6afc217 --- /dev/null +++ b/Sources/SeriousSam/MNetworkJoin.cpp @@ -0,0 +1,43 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MNetworkJoin.h" + + +void CNetworkJoinMenu::Initialize_t(void) +{ + // title + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("JOIN GAME"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgLAN.mg_bfsFontSize = BFS_LARGE; + gm_mgLAN.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgLAN.mg_pmgUp = &gm_mgOpen; + gm_mgLAN.mg_pmgDown = &gm_mgNET; + gm_mgLAN.mg_strText = TRANS("SEARCH LAN"); + gm_mgLAN.mg_strTip = TRANS("search local network for servers"); + gm_lhGadgets.AddTail(gm_mgLAN.mg_lnNode); + gm_mgLAN.mg_pActivatedFunction = NULL; + + gm_mgNET.mg_bfsFontSize = BFS_LARGE; + gm_mgNET.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgNET.mg_pmgUp = &gm_mgLAN; + gm_mgNET.mg_pmgDown = &gm_mgOpen; + gm_mgNET.mg_strText = TRANS("SEARCH INTERNET"); + gm_mgNET.mg_strTip = TRANS("search internet for servers"); + gm_lhGadgets.AddTail(gm_mgNET.mg_lnNode); + gm_mgNET.mg_pActivatedFunction = NULL; + + gm_mgOpen.mg_bfsFontSize = BFS_LARGE; + gm_mgOpen.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgOpen.mg_pmgUp = &gm_mgNET; + gm_mgOpen.mg_pmgDown = &gm_mgLAN; + gm_mgOpen.mg_strText = TRANS("SPECIFY SERVER"); + gm_mgOpen.mg_strTip = TRANS("type in server address to connect to"); + gm_lhGadgets.AddTail(gm_mgOpen.mg_lnNode); + gm_mgOpen.mg_pActivatedFunction = NULL; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MNetworkJoin.h b/Sources/SeriousSam/MNetworkJoin.h index d38984e..0410a5e 100644 --- a/Sources/SeriousSam/MNetworkJoin.h +++ b/Sources/SeriousSam/MNetworkJoin.h @@ -7,10 +7,17 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGTitle.h" class CNetworkJoinMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgLAN; + CMGButton gm_mgNET; + CMGButton gm_mgOpen; + void Initialize_t(void); }; diff --git a/Sources/SeriousSam/MNetworkOpen.cpp b/Sources/SeriousSam/MNetworkOpen.cpp new file mode 100644 index 0000000..1dbdc55 --- /dev/null +++ b/Sources/SeriousSam/MNetworkOpen.cpp @@ -0,0 +1,66 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MNetworkOpen.h" + + +void CNetworkOpenMenu::Initialize_t(void) +{ + // intialize network join menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("JOIN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgAddressLabel.mg_strText = TRANS("Address:"); + gm_mgAddressLabel.mg_boxOnScreen = BoxMediumLeft(1); + gm_mgAddressLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgAddressLabel.mg_lnNode); + + gm_mgAddress.mg_strText = _pGame->gam_strJoinAddress; + gm_mgAddress.mg_ctMaxStringLen = 20; + gm_mgAddress.mg_pstrToChange = &_pGame->gam_strJoinAddress; + gm_mgAddress.mg_boxOnScreen = BoxMediumMiddle(1); + gm_mgAddress.mg_bfsFontSize = BFS_MEDIUM; + gm_mgAddress.mg_iCenterI = -1; + gm_mgAddress.mg_pmgUp = &gm_mgJoin; + gm_mgAddress.mg_pmgDown = &gm_mgPort; + gm_mgAddress.mg_strTip = TRANS("specify server address"); + gm_lhGadgets.AddTail(gm_mgAddress.mg_lnNode); + + gm_mgPortLabel.mg_strText = TRANS("Port:"); + gm_mgPortLabel.mg_boxOnScreen = BoxMediumLeft(2); + gm_mgPortLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgPortLabel.mg_lnNode); + + gm_mgPort.mg_strText = ""; + gm_mgPort.mg_ctMaxStringLen = 10; + gm_mgPort.mg_pstrToChange = &gm_strPort; + gm_mgPort.mg_boxOnScreen = BoxMediumMiddle(2); + gm_mgPort.mg_bfsFontSize = BFS_MEDIUM; + gm_mgPort.mg_iCenterI = -1; + gm_mgPort.mg_pmgUp = &gm_mgAddress; + gm_mgPort.mg_pmgDown = &gm_mgJoin; + gm_mgPort.mg_strTip = TRANS("specify server address"); + gm_lhGadgets.AddTail(gm_mgPort.mg_lnNode); + + gm_mgJoin.mg_boxOnScreen = BoxMediumMiddle(3); + gm_mgJoin.mg_pmgUp = &gm_mgPort; + gm_mgJoin.mg_pmgDown = &gm_mgAddress; + gm_mgJoin.mg_strText = TRANS("Join"); + gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); + gm_mgJoin.mg_pActivatedFunction = NULL; +} + +void CNetworkOpenMenu::StartMenu(void) +{ + gm_strPort = _pShell->GetValue("net_iPort"); + gm_mgPort.mg_strText = gm_strPort; +} + +void CNetworkOpenMenu::EndMenu(void) +{ + _pShell->SetValue("net_iPort", gm_strPort); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MNetworkOpen.h b/Sources/SeriousSam/MNetworkOpen.h index c526b4e..5c8c51d 100644 --- a/Sources/SeriousSam/MNetworkOpen.h +++ b/Sources/SeriousSam/MNetworkOpen.h @@ -7,10 +7,21 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGEdit.h" +#include "MGTitle.h" class CNetworkOpenMenu : public CGameMenu { public: + CTString gm_strPort; + + CMGTitle gm_mgTitle; + CMGButton gm_mgAddressLabel; + CMGEdit gm_mgAddress; + CMGButton gm_mgPortLabel; + CMGEdit gm_mgPort; + CMGButton gm_mgJoin; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/MSplitScreen.cpp b/Sources/SeriousSam/MSplitScreen.cpp new file mode 100644 index 0000000..9fbb57e --- /dev/null +++ b/Sources/SeriousSam/MSplitScreen.cpp @@ -0,0 +1,46 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MSplitScreen.h" + +void CSplitScreenMenu::Initialize_t(void) +{ + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("SPLIT SCREEN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(0); + gm_mgStart.mg_pmgUp = &gm_mgLoad; + gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; + gm_mgStart.mg_strText = TRANS("NEW GAME"); + gm_mgStart.mg_strTip = TRANS("start new split-screen game"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; + + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(1); + gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pActivatedFunction = NULL; + + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(2); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgStart; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_strTip = TRANS("load a saved split-screen game"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pActivatedFunction = NULL; +} + +void CSplitScreenMenu::StartMenu(void) +{ + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MSplitScreen.h b/Sources/SeriousSam/MSplitScreen.h index 72592fd..721faea 100644 --- a/Sources/SeriousSam/MSplitScreen.h +++ b/Sources/SeriousSam/MSplitScreen.h @@ -7,10 +7,16 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGTitle.h" class CSplitScreenMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgStart; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MSplitStart.cpp b/Sources/SeriousSam/MSplitStart.cpp new file mode 100644 index 0000000..4266823 --- /dev/null +++ b/Sources/SeriousSam/MSplitStart.cpp @@ -0,0 +1,103 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "LevelInfo.h" +#include "MenuStuff.h" +#include "MSplitStart.h" + +#define TRIGGER_MG(mg, y, up, down, text, astr) \ + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; + + +extern INDEX ctGameTypeRadioTexts; +extern void UpdateSplitLevel(INDEX iDummy); +extern void SplitStartMenuSubInit(CSplitStartMenu* gm); + +void CSplitStartMenu::Initialize_t(void) +{ + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("START SPLIT SCREEN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + // game type trigger + extern CTString astrGameTypeRadioTexts[20]; + TRIGGER_MG(gm_mgGameType, 0, + gm_mgStart, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); + gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; + gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); + gm_mgGameType.mg_pOnTriggerChange = &UpdateSplitLevel; + + // difficulty trigger + extern CTString astrDifficultyRadioTexts[6]; + TRIGGER_MG(gm_mgDifficulty, 1, + gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); + gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); + + // level name + gm_mgLevel.mg_strText = ""; + gm_mgLevel.mg_strLabel = TRANS("Level:"); + gm_mgLevel.mg_boxOnScreen = BoxMediumRow(2); + gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLevel.mg_iCenterI = -1; + gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; + gm_mgLevel.mg_pmgDown = &gm_mgOptions; + gm_mgLevel.mg_strTip = TRANS("choose the level to start"); + gm_mgLevel.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); + + // options button + gm_mgOptions.mg_strText = TRANS("Game options"); + gm_mgOptions.mg_boxOnScreen = BoxMediumRow(3); + gm_mgOptions.mg_bfsFontSize = BFS_MEDIUM; + gm_mgOptions.mg_iCenterI = 0; + gm_mgOptions.mg_pmgUp = &gm_mgLevel; + gm_mgOptions.mg_pmgDown = &gm_mgStart; + gm_mgOptions.mg_strTip = TRANS("adjust game rules"); + gm_mgOptions.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + + // start button + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(4); + gm_mgStart.mg_pmgUp = &gm_mgOptions; + gm_mgStart.mg_pmgDown = &gm_mgGameType; + gm_mgStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; +} + +void CSplitStartMenu::StartMenu(void) +{ + extern INDEX sam_bMentalActivated; + gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; + + gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); + gm_mgGameType.ApplyCurrentSelection(); + gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; + gm_mgDifficulty.ApplyCurrentSelection(); + + // clamp maximum number of players to at least 4 + _pShell->SetINDEX("gam_ctMaxPlayers", ClampDn(_pShell->GetINDEX("gam_ctMaxPlayers"), 4L)); + + UpdateSplitLevel(0); + CGameMenu::StartMenu(); +} + +void CSplitStartMenu::EndMenu(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); + _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); + + CGameMenu::EndMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MSplitStart.h b/Sources/SeriousSam/MSplitStart.h index 832a52c..1ed2838 100644 --- a/Sources/SeriousSam/MSplitStart.h +++ b/Sources/SeriousSam/MSplitStart.h @@ -7,10 +7,19 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGTitle.h" +#include "MGTrigger.h" class CSplitStartMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGTrigger gm_mgGameType; + CMGTrigger gm_mgDifficulty; + CMGButton gm_mgLevel; + CMGButton gm_mgOptions; + CMGButton gm_mgStart; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index e81e157..dee47a1 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -106,8 +106,12 @@ void (*_pAfterLevelChosen)(void); void InitActionsForConfirmMenu(); void InitActionsForMainMenu(); void InitActionsForInGameMenu(); +void InitActionsForNetworkJoinMenu(); +void InitActionsForNetworkOpenMenu(); void InitActionsForSinglePlayerMenu(); void InitActionsForSinglePlayerNewMenu(); +void InitActionsForSplitScreenMenu(); +void InitActionsForSplitStartMenu(); void InitActionsForVarMenu(); @@ -257,14 +261,15 @@ CTString astrMaxPlayersRadioTexts[] = { }; // here, we just reserve space for up to 16 different game types // actual names are added later -CTString astrGameTypeRadioTexts[] = { +extern CTString astrGameTypeRadioTexts[] = { "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", }; -INDEX ctGameTypeRadioTexts = 1; -CTString astrDifficultyRadioTexts[] = { + +extern INDEX ctGameTypeRadioTexts = 1; +extern CTString astrDifficultyRadioTexts[] = { RADIOTRANS("Tourist"), RADIOTRANS("Easy"), RADIOTRANS("Normal"), @@ -272,6 +277,7 @@ CTString astrDifficultyRadioTexts[] = { RADIOTRANS("Serious"), RADIOTRANS("Mental"), }; + CTString astrSplitScreenRadioTexts[] = { RADIOTRANS( "1"), RADIOTRANS( "2 - split screen"), @@ -457,10 +463,6 @@ CMGButton mgNetworkLoad; // -------- Network join menu CNetworkJoinMenu gmNetworkJoinMenu; -CMGTitle mgNetworkJoinTitle; -CMGButton mgNetworkJoinLAN; -CMGButton mgNetworkJoinNET; -CMGButton mgNetworkJoinOpen; // -------- Network start menu CNetworkStartMenu gmNetworkStartMenu; @@ -477,28 +479,12 @@ CMGButton mgNetworkStartStart; // -------- Network open menu CNetworkOpenMenu gmNetworkOpenMenu; -CMGTitle mgNetworkOpenTitle; -CMGButton mgNetworkOpenAddressLabel; -CMGEdit mgNetworkOpenAddress; -CMGButton mgNetworkOpenPortLabel; -CMGEdit mgNetworkOpenPort; -CMGButton mgNetworkOpenJoin; // -------- Split screen menu CSplitScreenMenu gmSplitScreenMenu; -CMGTitle mgSplitScreenTitle; -CMGButton mgSplitScreenStart; -CMGButton mgSplitScreenQuickLoad; -CMGButton mgSplitScreenLoad; // -------- Split screen start menu CSplitStartMenu gmSplitStartMenu; -CMGTitle mgSplitStartTitle; -CMGTrigger mgSplitGameType; -CMGTrigger mgSplitDifficulty; -CMGButton mgSplitLevel; -CMGButton mgSplitOptions; -CMGButton mgSplitStartStart; // -------- Select players menu CSelectPlayersMenu gmSelectPlayersMenu; @@ -1285,7 +1271,7 @@ void StartSelectServerNET(void) void StartSelectLevelFromSplit(void) { - FilterLevels(GetSpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); void StartSplitStartMenu(void); _pAfterLevelChosen = StartSplitStartMenu; ChangeToMenu( &gmLevelsMenu); @@ -2277,8 +2263,9 @@ void InitializeMenus(void) gmNetworkJoinMenu.Initialize_t(); gmNetworkJoinMenu.gm_strName="NetworkJoin"; - gmNetworkJoinMenu.gm_pmgSelectedByDefault = &mgNetworkJoinLAN; + gmNetworkJoinMenu.gm_pmgSelectedByDefault = &gmNetworkJoinMenu.gm_mgLAN; gmNetworkJoinMenu.gm_pgmParentMenu = &gmNetworkMenu; + InitActionsForNetworkJoinMenu(); gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = FALSE; @@ -2288,18 +2275,21 @@ void InitializeMenus(void) gmNetworkOpenMenu.Initialize_t(); gmNetworkOpenMenu.gm_strName="NetworkOpen"; - gmNetworkOpenMenu.gm_pmgSelectedByDefault = &mgNetworkOpenJoin; + gmNetworkOpenMenu.gm_pmgSelectedByDefault = &gmNetworkOpenMenu.gm_mgJoin; gmNetworkOpenMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; + InitActionsForNetworkOpenMenu(); gmSplitScreenMenu.Initialize_t(); gmSplitScreenMenu.gm_strName="SplitScreen"; - gmSplitScreenMenu.gm_pmgSelectedByDefault = &mgSplitScreenStart; + gmSplitScreenMenu.gm_pmgSelectedByDefault = &gmSplitScreenMenu.gm_mgStart; gmSplitScreenMenu.gm_pgmParentMenu = &gmMainMenu; + InitActionsForSplitScreenMenu(); gmSplitStartMenu.Initialize_t(); gmSplitStartMenu.gm_strName="SplitStart"; - gmSplitStartMenu.gm_pmgSelectedByDefault = &mgSplitStartStart; + gmSplitStartMenu.gm_pmgSelectedByDefault = &gmSplitStartMenu.gm_mgStart; gmSplitStartMenu.gm_pgmParentMenu = &gmSplitScreenMenu; + InitActionsForSplitStartMenu(); } catch( char *strError) { @@ -4829,39 +4819,11 @@ void UpdateNetworkLevel(INDEX iDummy) } // ------------------------ CNetworkJoinMenu implementation -void CNetworkJoinMenu::Initialize_t(void) +void InitActionsForNetworkJoinMenu() { - // title - mgNetworkJoinTitle.mg_boxOnScreen = BoxTitle(); - mgNetworkJoinTitle.mg_strText = TRANS("JOIN GAME"); - gm_lhGadgets.AddTail( mgNetworkJoinTitle.mg_lnNode); - - mgNetworkJoinLAN.mg_bfsFontSize = BFS_LARGE; - mgNetworkJoinLAN.mg_boxOnScreen = BoxBigRow(1.0f); - mgNetworkJoinLAN.mg_pmgUp = &mgNetworkJoinOpen; - mgNetworkJoinLAN.mg_pmgDown = &mgNetworkJoinNET; - mgNetworkJoinLAN.mg_strText = TRANS("SEARCH LAN"); - mgNetworkJoinLAN.mg_strTip = TRANS("search local network for servers"); - gm_lhGadgets.AddTail( mgNetworkJoinLAN.mg_lnNode); - mgNetworkJoinLAN.mg_pActivatedFunction = &StartSelectServerLAN; - - mgNetworkJoinNET.mg_bfsFontSize = BFS_LARGE; - mgNetworkJoinNET.mg_boxOnScreen = BoxBigRow(2.0f); - mgNetworkJoinNET.mg_pmgUp = &mgNetworkJoinLAN; - mgNetworkJoinNET.mg_pmgDown = &mgNetworkJoinOpen; - mgNetworkJoinNET.mg_strText = TRANS("SEARCH INTERNET"); - mgNetworkJoinNET.mg_strTip = TRANS("search internet for servers"); - gm_lhGadgets.AddTail( mgNetworkJoinNET.mg_lnNode); - mgNetworkJoinNET.mg_pActivatedFunction = &StartSelectServerNET; - - mgNetworkJoinOpen.mg_bfsFontSize = BFS_LARGE; - mgNetworkJoinOpen.mg_boxOnScreen = BoxBigRow(3.0f); - mgNetworkJoinOpen.mg_pmgUp = &mgNetworkJoinNET; - mgNetworkJoinOpen.mg_pmgDown = &mgNetworkJoinLAN; - mgNetworkJoinOpen.mg_strText = TRANS("SPECIFY SERVER"); - mgNetworkJoinOpen.mg_strTip = TRANS("type in server address to connect to"); - gm_lhGadgets.AddTail( mgNetworkJoinOpen.mg_lnNode); - mgNetworkJoinOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; + gmNetworkJoinMenu.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; + gmNetworkJoinMenu.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; + gmNetworkJoinMenu.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; } // ------------------------ CNetworkStartMenu implementation @@ -4891,6 +4853,7 @@ void CNetworkStartMenu::Initialize_t(void) mgNetworkGameType.mg_ctTexts = ctGameTypeRadioTexts; mgNetworkGameType.mg_strTip = TRANS("choose type of multiplayer game"); mgNetworkGameType.mg_pOnTriggerChange = &UpdateNetworkLevel; + // difficulty trigger TRIGGER_MG(mgNetworkDifficulty, 3, mgNetworkGameType, mgNetworkLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); @@ -5022,6 +4985,7 @@ INDEX FindUnusedPlayer(void) ASSERT(FALSE); return iPlayer; } + void SelectPlayersFillMenu(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; @@ -5150,6 +5114,7 @@ void SelectPlayersFillMenu(void) mgSelectPlayersNotes.mg_strText = ""; } } + void SelectPlayersApplyMenu(void) { if (gmSelectPlayersMenu.gm_bAllowDedicated && mgDedicated.mg_iSelected) { @@ -5255,187 +5220,32 @@ void CSelectPlayersMenu::EndMenu(void) CGameMenu::EndMenu(); } -CTString _strPort; + // ------------------------ CNetworkOpenMenu implementation -void CNetworkOpenMenu::Initialize_t(void) +void InitActionsForNetworkOpenMenu() { - // intialize network join menu - mgNetworkOpenTitle.mg_boxOnScreen = BoxTitle(); - mgNetworkOpenTitle.mg_strText = TRANS("JOIN"); - gm_lhGadgets.AddTail( mgNetworkOpenTitle.mg_lnNode); - - mgNetworkOpenAddressLabel.mg_strText = TRANS("Address:"); - mgNetworkOpenAddressLabel.mg_boxOnScreen = BoxMediumLeft(1); - mgNetworkOpenAddressLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail( mgNetworkOpenAddressLabel.mg_lnNode); - - mgNetworkOpenAddress.mg_strText = _pGame->gam_strJoinAddress; - mgNetworkOpenAddress.mg_ctMaxStringLen = 20; - mgNetworkOpenAddress.mg_pstrToChange = &_pGame->gam_strJoinAddress; - mgNetworkOpenAddress.mg_boxOnScreen = BoxMediumMiddle(1); - mgNetworkOpenAddress.mg_bfsFontSize = BFS_MEDIUM; - mgNetworkOpenAddress.mg_iCenterI = -1; - mgNetworkOpenAddress.mg_pmgUp = &mgNetworkOpenJoin; - mgNetworkOpenAddress.mg_pmgDown = &mgNetworkOpenPort; - mgNetworkOpenAddress.mg_strTip = TRANS("specify server address"); - gm_lhGadgets.AddTail( mgNetworkOpenAddress.mg_lnNode); - - mgNetworkOpenPortLabel.mg_strText = TRANS("Port:"); - mgNetworkOpenPortLabel.mg_boxOnScreen = BoxMediumLeft(2); - mgNetworkOpenPortLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail( mgNetworkOpenPortLabel.mg_lnNode); - - mgNetworkOpenPort.mg_strText = ""; - mgNetworkOpenPort.mg_ctMaxStringLen = 10; - mgNetworkOpenPort.mg_pstrToChange = &_strPort; - mgNetworkOpenPort.mg_boxOnScreen = BoxMediumMiddle(2); - mgNetworkOpenPort.mg_bfsFontSize = BFS_MEDIUM; - mgNetworkOpenPort.mg_iCenterI = -1; - mgNetworkOpenPort.mg_pmgUp = &mgNetworkOpenAddress; - mgNetworkOpenPort.mg_pmgDown = &mgNetworkOpenJoin; - mgNetworkOpenPort.mg_strTip = TRANS("specify server address"); - gm_lhGadgets.AddTail( mgNetworkOpenPort.mg_lnNode); - - mgNetworkOpenJoin.mg_boxOnScreen = BoxMediumMiddle(3); - mgNetworkOpenJoin.mg_pmgUp = &mgNetworkOpenPort; - mgNetworkOpenJoin.mg_pmgDown = &mgNetworkOpenAddress; - mgNetworkOpenJoin.mg_strText = TRANS("Join"); - gm_lhGadgets.AddTail( mgNetworkOpenJoin.mg_lnNode); - mgNetworkOpenJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; -} - -void CNetworkOpenMenu::StartMenu(void) -{ - _strPort = _pShell->GetValue("net_iPort"); - mgNetworkOpenPort.mg_strText = _strPort; -} - -void CNetworkOpenMenu::EndMenu(void) -{ - _pShell->SetValue("net_iPort", _strPort); + gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; } // ------------------------ CSplitScreenMenu implementation -void CSplitScreenMenu::Initialize_t(void) +void InitActionsForSplitScreenMenu() { - // intialize split screen menu - mgSplitScreenTitle.mg_boxOnScreen = BoxTitle(); - mgSplitScreenTitle.mg_strText = TRANS("SPLIT SCREEN"); - gm_lhGadgets.AddTail( mgSplitScreenTitle.mg_lnNode); - - mgSplitScreenStart.mg_bfsFontSize = BFS_LARGE; - mgSplitScreenStart.mg_boxOnScreen = BoxBigRow(0); - mgSplitScreenStart.mg_pmgUp = &mgSplitScreenLoad; - mgSplitScreenStart.mg_pmgDown = &mgSplitScreenQuickLoad; - mgSplitScreenStart.mg_strText = TRANS("NEW GAME"); - mgSplitScreenStart.mg_strTip = TRANS("start new split-screen game"); - gm_lhGadgets.AddTail( mgSplitScreenStart.mg_lnNode); - mgSplitScreenStart.mg_pActivatedFunction = &StartSplitStartMenu; - - mgSplitScreenQuickLoad.mg_bfsFontSize = BFS_LARGE; - mgSplitScreenQuickLoad.mg_boxOnScreen = BoxBigRow(1); - mgSplitScreenQuickLoad.mg_pmgUp = &mgSplitScreenStart; - mgSplitScreenQuickLoad.mg_pmgDown = &mgSplitScreenLoad; - mgSplitScreenQuickLoad.mg_strText = TRANS("QUICK LOAD"); - mgSplitScreenQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail( mgSplitScreenQuickLoad.mg_lnNode); - mgSplitScreenQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; - - mgSplitScreenLoad.mg_bfsFontSize = BFS_LARGE; - mgSplitScreenLoad.mg_boxOnScreen = BoxBigRow(2); - mgSplitScreenLoad.mg_pmgUp = &mgSplitScreenQuickLoad; - mgSplitScreenLoad.mg_pmgDown = &mgSplitScreenStart; - mgSplitScreenLoad.mg_strText = TRANS("LOAD"); - mgSplitScreenLoad.mg_strTip = TRANS("load a saved split-screen game"); - gm_lhGadgets.AddTail( mgSplitScreenLoad.mg_lnNode); - mgSplitScreenLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; -} - -void CSplitScreenMenu::StartMenu(void) -{ - CGameMenu::StartMenu(); -} - -void UpdateSplitLevel(INDEX iDummy) -{ - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(mgSplitGameType.mg_iSelected)); - mgSplitLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + gmSplitScreenMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; + gmSplitScreenMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; + gmSplitScreenMenu.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; } // ------------------------ CSplitStartMenu implementation -void CSplitStartMenu::Initialize_t(void) +void InitActionsForSplitStartMenu() { - // intialize split screen menu - mgSplitStartTitle.mg_boxOnScreen = BoxTitle(); - mgSplitStartTitle.mg_strText = TRANS("START SPLIT SCREEN"); - gm_lhGadgets.AddTail( mgSplitStartTitle.mg_lnNode); - - // game type trigger - TRIGGER_MG(mgSplitGameType, 0, - mgSplitStartStart, mgSplitDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); - mgSplitGameType.mg_ctTexts = ctGameTypeRadioTexts; - mgSplitGameType.mg_strTip = TRANS("choose type of multiplayer game"); - mgSplitGameType.mg_pOnTriggerChange = UpdateSplitLevel; - // difficulty trigger - TRIGGER_MG(mgSplitDifficulty, 1, - mgSplitGameType, mgSplitLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); - mgSplitDifficulty.mg_strTip = TRANS("choose difficulty level"); - - // level name - mgSplitLevel.mg_strText = ""; - mgSplitLevel.mg_strLabel = TRANS("Level:"); - mgSplitLevel.mg_boxOnScreen = BoxMediumRow(2); - mgSplitLevel.mg_bfsFontSize = BFS_MEDIUM; - mgSplitLevel.mg_iCenterI = -1; - mgSplitLevel.mg_pmgUp = &mgSplitDifficulty; - mgSplitLevel.mg_pmgDown = &mgSplitOptions; - mgSplitLevel.mg_strTip = TRANS("choose the level to start"); - mgSplitLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; - gm_lhGadgets.AddTail( mgSplitLevel.mg_lnNode); - - // options button - mgSplitOptions.mg_strText = TRANS("Game options"); - mgSplitOptions.mg_boxOnScreen = BoxMediumRow(3); - mgSplitOptions.mg_bfsFontSize = BFS_MEDIUM; - mgSplitOptions.mg_iCenterI = 0; - mgSplitOptions.mg_pmgUp = &mgSplitLevel; - mgSplitOptions.mg_pmgDown = &mgSplitStartStart; - mgSplitOptions.mg_strTip = TRANS("adjust game rules"); - mgSplitOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - gm_lhGadgets.AddTail( mgSplitOptions.mg_lnNode); - - // start button - mgSplitStartStart.mg_bfsFontSize = BFS_LARGE; - mgSplitStartStart.mg_boxOnScreen = BoxBigRow(4); - mgSplitStartStart.mg_pmgUp = &mgSplitOptions; - mgSplitStartStart.mg_pmgDown = &mgSplitGameType; - mgSplitStartStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail( mgSplitStartStart.mg_lnNode); - mgSplitStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + gmSplitStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; + gmSplitStartMenu.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + gmSplitStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; } -void CSplitStartMenu::StartMenu(void) +extern void UpdateSplitLevel(INDEX iDummy) { - extern INDEX sam_bMentalActivated; - mgSplitDifficulty.mg_ctTexts = sam_bMentalActivated?6:5; - - mgSplitGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts-1L); - mgSplitGameType.ApplyCurrentSelection(); - mgSplitDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty")+1; - mgSplitDifficulty.ApplyCurrentSelection(); - - // clamp maximum number of players to at least 4 - _pShell->SetINDEX("gam_ctMaxPlayers", ClampDn(_pShell->GetINDEX("gam_ctMaxPlayers"), 4L)); - - UpdateSplitLevel(0); - CGameMenu::StartMenu(); -} - -void CSplitStartMenu::EndMenu(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", mgSplitDifficulty.mg_iSelected-1); - _pShell->SetINDEX("gam_iStartMode", mgSplitGameType.mg_iSelected); - - CGameMenu::EndMenu(); + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + gmSplitStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index cf65491..2d764e2 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -213,8 +213,12 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + + Use diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 378cb3c..921821f 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -144,6 +144,18 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + From 16990d713c7b63d10713d1c2d10e3a63cc4fe15a Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Mon, 14 Mar 2016 23:45:56 +0300 Subject: [PATCH 31/62] GameExecutable: Move some stuff from Menu.cpp into files PART IV Now it's 4901 lines! Progress! --- Sources/SeriousSam/MCustomizeAxis.cpp | 157 +++++++ Sources/SeriousSam/MCustomizeAxis.h | 12 + Sources/SeriousSam/MCustomizeKeyboard.cpp | 100 ++++ Sources/SeriousSam/MCustomizeKeyboard.h | 8 + Sources/SeriousSam/MHighScore.cpp | 23 + Sources/SeriousSam/MHighScore.h | 5 + Sources/SeriousSam/MNetwork.cpp | 56 +++ Sources/SeriousSam/MNetwork.h | 9 +- Sources/SeriousSam/MOptions.cpp | 69 +++ Sources/SeriousSam/MOptions.h | 10 + Sources/SeriousSam/MSplitScreen.cpp | 1 + Sources/SeriousSam/Menu.cpp | 426 ++---------------- Sources/SeriousSam/SeriousSam.vcxproj | 5 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 15 + 14 files changed, 507 insertions(+), 389 deletions(-) create mode 100644 Sources/SeriousSam/MCustomizeAxis.cpp create mode 100644 Sources/SeriousSam/MCustomizeKeyboard.cpp create mode 100644 Sources/SeriousSam/MHighScore.cpp create mode 100644 Sources/SeriousSam/MNetwork.cpp create mode 100644 Sources/SeriousSam/MOptions.cpp diff --git a/Sources/SeriousSam/MCustomizeAxis.cpp b/Sources/SeriousSam/MCustomizeAxis.cpp new file mode 100644 index 0000000..ef1b020 --- /dev/null +++ b/Sources/SeriousSam/MCustomizeAxis.cpp @@ -0,0 +1,157 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MCustomizeAxis.h" + +#define TRIGGER_MG(mg, y, up, down, text, astr) \ + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; + +extern CTString astrNoYes[2]; +extern void ControlsMenuOn(); +extern void ControlsMenuOff(); + + +void CCustomizeAxisMenu::Initialize_t(void) +{ + // intialize axis menu + gm_mgTitle.mg_strText = TRANS("CUSTOMIZE AXIS"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + TRIGGER_MG(gm_mgActionTrigger, 0, gm_mgSmoothTrigger, gm_mgMountedTrigger, TRANS("ACTION"), astrNoYes); + gm_mgActionTrigger.mg_strTip = TRANS("choose action to customize"); + + TRIGGER_MG(gm_mgMountedTrigger, 2, gm_mgActionTrigger, gm_mgSensitivity, TRANS("MOUNTED TO"), astrNoYes); + gm_mgMountedTrigger.mg_strTip = TRANS("choose controller axis that will perform the action"); + + gm_mgActionTrigger.mg_astrTexts = new CTString[AXIS_ACTIONS_CT]; + gm_mgActionTrigger.mg_ctTexts = AXIS_ACTIONS_CT; + + gm_mgActionTrigger.mg_pPreTriggerChange = NULL; + gm_mgActionTrigger.mg_pOnTriggerChange = NULL; + + // for all available axis type controlers + for (INDEX iControler = 0; iControlergm_astrAxisNames[iControler]), 0); + } + gm_mgActionTrigger.mg_iSelected = 3; + + INDEX ctAxis = _pInput->GetAvailableAxisCount(); + gm_mgMountedTrigger.mg_astrTexts = new CTString[ctAxis]; + gm_mgMountedTrigger.mg_ctTexts = ctAxis; + // for all axis actions that can be mounted + for (INDEX iAxis = 0; iAxisGetAxisTransName(iAxis); + } + + gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(3); + gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); + gm_mgSensitivity.mg_pmgUp = &gm_mgMountedTrigger; + gm_mgSensitivity.mg_pmgDown = &gm_mgDeadzone; + gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); + gm_mgSensitivity.mg_strTip = TRANS("set sensitivity for this axis"); + + gm_mgDeadzone.mg_boxOnScreen = BoxMediumRow(4); + gm_mgDeadzone.mg_strText = TRANS("DEAD ZONE"); + gm_mgDeadzone.mg_pmgUp = &gm_mgSensitivity; + gm_mgDeadzone.mg_pmgDown = &gm_mgInvertTrigger; + gm_lhGadgets.AddTail(gm_mgDeadzone.mg_lnNode); + gm_mgDeadzone.mg_strTip = TRANS("set dead zone for this axis"); + + TRIGGER_MG(gm_mgInvertTrigger, 5, gm_mgDeadzone, gm_mgRelativeTrigger, TRANS("INVERTED"), astrNoYes); + gm_mgInvertTrigger.mg_strTip = TRANS("choose whether to invert this axis or not"); + TRIGGER_MG(gm_mgRelativeTrigger, 6, gm_mgInvertTrigger, gm_mgSmoothTrigger, TRANS("RELATIVE"), astrNoYes); + gm_mgRelativeTrigger.mg_strTip = TRANS("select relative or absolute axis reading"); + TRIGGER_MG(gm_mgSmoothTrigger, 7, gm_mgRelativeTrigger, gm_mgActionTrigger, TRANS("SMOOTH"), astrNoYes); + gm_mgSmoothTrigger.mg_strTip = TRANS("turn this on to filter readings on this axis"); +} + +CCustomizeAxisMenu::~CCustomizeAxisMenu(void) +{ + delete[] gm_mgActionTrigger.mg_astrTexts; + delete[] gm_mgMountedTrigger.mg_astrTexts; +} + +void CCustomizeAxisMenu::ObtainActionSettings(void) +{ + ControlsMenuOn(); + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; + INDEX iMountedAxis = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction; + + gm_mgMountedTrigger.mg_iSelected = iMountedAxis; + + gm_mgSensitivity.mg_iMinPos = 0; + gm_mgSensitivity.mg_iMaxPos = 50; + gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity / 2; + gm_mgSensitivity.ApplyCurrentPosition(); + + gm_mgDeadzone.mg_iMinPos = 0; + gm_mgDeadzone.mg_iMaxPos = 50; + gm_mgDeadzone.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone / 2; + gm_mgDeadzone.ApplyCurrentPosition(); + + gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert ? 1 : 0; + gm_mgRelativeTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler ? 1 : 0; + gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth ? 1 : 0; + + gm_mgActionTrigger.ApplyCurrentSelection(); + gm_mgMountedTrigger.ApplyCurrentSelection(); + gm_mgInvertTrigger.ApplyCurrentSelection(); + gm_mgRelativeTrigger.ApplyCurrentSelection(); + gm_mgSmoothTrigger.ApplyCurrentSelection(); +} + +void CCustomizeAxisMenu::ApplyActionSettings(void) +{ + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; + INDEX iMountedAxis = gm_mgMountedTrigger.mg_iSelected; + FLOAT fSensitivity = + FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / + FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; + FLOAT fDeadZone = + FLOAT(gm_mgDeadzone.mg_iCurPos - gm_mgDeadzone.mg_iMinPos) / + FLOAT(gm_mgDeadzone.mg_iMaxPos - gm_mgDeadzone.mg_iMinPos)*100.0f; + + BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; + BOOL bRelative = gm_mgRelativeTrigger.mg_iSelected != 0; + BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; + + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction = iMountedAxis; + if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity) != INDEX(fSensitivity)) { + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity = fSensitivity; + } + if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone) != INDEX(fDeadZone)) { + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone = fDeadZone; + } + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert = bInvert; + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler = bRelative; + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth = bSmooth; + ctrls.CalculateInfluencesForAllAxis(); + + ControlsMenuOff(); +} + +void CCustomizeAxisMenu::StartMenu(void) +{ + ObtainActionSettings(); + + CGameMenu::StartMenu(); +} + +void CCustomizeAxisMenu::EndMenu(void) +{ + ApplyActionSettings(); + CGameMenu::EndMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MCustomizeAxis.h b/Sources/SeriousSam/MCustomizeAxis.h index 0bba4d8..741d1e3 100644 --- a/Sources/SeriousSam/MCustomizeAxis.h +++ b/Sources/SeriousSam/MCustomizeAxis.h @@ -7,10 +7,22 @@ #endif #include "GameMenu.h" +#include "MGSlider.h" +#include "MGTitle.h" +#include "MGTrigger.h" class CCustomizeAxisMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGTrigger gm_mgActionTrigger; + CMGTrigger gm_mgMountedTrigger; + CMGSlider gm_mgSensitivity; + CMGSlider gm_mgDeadzone; + CMGTrigger gm_mgInvertTrigger; + CMGTrigger gm_mgRelativeTrigger; + CMGTrigger gm_mgSmoothTrigger; + ~CCustomizeAxisMenu(void); void Initialize_t(void); void StartMenu(void); diff --git a/Sources/SeriousSam/MCustomizeKeyboard.cpp b/Sources/SeriousSam/MCustomizeKeyboard.cpp new file mode 100644 index 0000000..7fdc950 --- /dev/null +++ b/Sources/SeriousSam/MCustomizeKeyboard.cpp @@ -0,0 +1,100 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MCustomizeKeyboard.h" + + +void CCustomizeKeyboardMenu::FillListItems(void) +{ + // disable all items first + for (INDEX i = 0; igm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) + { + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + gm_ctListVisible))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgKey[iInMenu].mg_strLabel = TranslateConst(itAct->ba_strName, 0); + gm_mgKey[iInMenu].mg_iControlNumber = iLabel; + gm_mgKey[iInMenu].SetBindingNames(FALSE); + gm_mgKey[iInMenu].mg_strTip = TRANS("Enter - change binding, Backspace - unbind"); + gm_mgKey[iInMenu].mg_bEnabled = TRUE; + gm_mgKey[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } + + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; +} + +void CCustomizeKeyboardMenu::Initialize_t(void) +{ + // intialize Audio options menu + gm_mgTitle.mg_strText = TRANS("CUSTOMIZE BUTTONS"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + +#define KL_START 3.0f +#define KL_STEEP -1.45f + for (INDEX iLabel = 0; iLabelgm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); + gm_iListWantedItem = 0; + CGameMenu::StartMenu(); +} +void CCustomizeKeyboardMenu::EndMenu(void) +{ + ControlsMenuOff(); + CGameMenu::EndMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MCustomizeKeyboard.h b/Sources/SeriousSam/MCustomizeKeyboard.h index c95a6c8..c7461b7 100644 --- a/Sources/SeriousSam/MCustomizeKeyboard.h +++ b/Sources/SeriousSam/MCustomizeKeyboard.h @@ -7,10 +7,18 @@ #endif #include "GameMenu.h" +#include "MGArrow.h" +#include "MGKeyDefinition.h" +#include "MGTitle.h" class CCustomizeKeyboardMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGKeyDefinition gm_mgKey[KEYS_ON_SCREEN]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/MHighScore.cpp b/Sources/SeriousSam/MHighScore.cpp new file mode 100644 index 0000000..c056c23 --- /dev/null +++ b/Sources/SeriousSam/MHighScore.cpp @@ -0,0 +1,23 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MHighScore.h" + + +void CHighScoreMenu::Initialize_t(void) +{ + gm_mgHScore.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 0.5)); + gm_lhGadgets.AddTail(gm_mgHScore.mg_lnNode); + + gm_mgTitle.mg_strText = TRANS("HIGH SCORE TABLE"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); +} + +void CHighScoreMenu::StartMenu(void) +{ + gm_pgmParentMenu = pgmCurrentMenu; + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MHighScore.h b/Sources/SeriousSam/MHighScore.h index 622e82e..22d7fd7 100644 --- a/Sources/SeriousSam/MHighScore.h +++ b/Sources/SeriousSam/MHighScore.h @@ -7,10 +7,15 @@ #endif #include "GameMenu.h" +#include "MGHighScore.h" +#include "MGTitle.h" class CHighScoreMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGHighScore gm_mgHScore; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MNetwork.cpp b/Sources/SeriousSam/MNetwork.cpp new file mode 100644 index 0000000..e4d63d6 --- /dev/null +++ b/Sources/SeriousSam/MNetwork.cpp @@ -0,0 +1,56 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MNetwork.h" + + +void CNetworkMenu::Initialize_t(void) +{ + // intialize network menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("NETWORK"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgJoin.mg_bfsFontSize = BFS_LARGE; + gm_mgJoin.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgJoin.mg_pmgUp = &gm_mgLoad; + gm_mgJoin.mg_pmgDown = &gm_mgStart; + gm_mgJoin.mg_strText = TRANS("JOIN GAME"); + gm_mgJoin.mg_strTip = TRANS("join a network game"); + gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); + gm_mgJoin.mg_pActivatedFunction = NULL; + + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgStart.mg_pmgUp = &gm_mgJoin; + gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; + gm_mgStart.mg_strText = TRANS("START SERVER"); + gm_mgStart.mg_strTip = TRANS("start a network game server"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; + + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pActivatedFunction = NULL; + + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgJoin; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_strTip = TRANS("start server and load a network game (server only)"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pActivatedFunction = NULL; +} + +void CNetworkMenu::StartMenu(void) +{ + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MNetwork.h b/Sources/SeriousSam/MNetwork.h index 6b0364a..c26cc60 100644 --- a/Sources/SeriousSam/MNetwork.h +++ b/Sources/SeriousSam/MNetwork.h @@ -7,10 +7,17 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGTitle.h" class CNetworkMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgJoin; + CMGButton gm_mgStart; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; + void Initialize_t(void); void StartMenu(void); }; diff --git a/Sources/SeriousSam/MOptions.cpp b/Sources/SeriousSam/MOptions.cpp new file mode 100644 index 0000000..b2dd54b --- /dev/null +++ b/Sources/SeriousSam/MOptions.cpp @@ -0,0 +1,69 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MOptions.h" + + +void COptionsMenu::Initialize_t(void) +{ + // intialize options menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("OPTIONS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgVideoOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgVideoOptions.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgVideoOptions.mg_pmgUp = &gm_mgAddonOptions; + gm_mgVideoOptions.mg_pmgDown = &gm_mgAudioOptions; + gm_mgVideoOptions.mg_strText = TRANS("VIDEO OPTIONS"); + gm_mgVideoOptions.mg_strTip = TRANS("set video mode and driver"); + gm_lhGadgets.AddTail(gm_mgVideoOptions.mg_lnNode); + gm_mgVideoOptions.mg_pActivatedFunction = NULL; + + gm_mgAudioOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgAudioOptions.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgAudioOptions.mg_pmgUp = &gm_mgVideoOptions; + gm_mgAudioOptions.mg_pmgDown = &gm_mgPlayerProfileOptions; + gm_mgAudioOptions.mg_strText = TRANS("AUDIO OPTIONS"); + gm_mgAudioOptions.mg_strTip = TRANS("set audio quality and volume"); + gm_lhGadgets.AddTail(gm_mgAudioOptions.mg_lnNode); + gm_mgAudioOptions.mg_pActivatedFunction = NULL; + + gm_mgPlayerProfileOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgPlayerProfileOptions.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgPlayerProfileOptions.mg_pmgUp = &gm_mgAudioOptions; + gm_mgPlayerProfileOptions.mg_pmgDown = &gm_mgNetworkOptions; + gm_mgPlayerProfileOptions.mg_strText = TRANS("PLAYERS AND CONTROLS"); + gm_mgPlayerProfileOptions.mg_strTip = TRANS("change currently active player or adjust controls"); + gm_lhGadgets.AddTail(gm_mgPlayerProfileOptions.mg_lnNode); + gm_mgPlayerProfileOptions.mg_pActivatedFunction = NULL; + + gm_mgNetworkOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgNetworkOptions.mg_boxOnScreen = BoxBigRow(3); + gm_mgNetworkOptions.mg_pmgUp = &gm_mgPlayerProfileOptions; + gm_mgNetworkOptions.mg_pmgDown = &gm_mgCustomOptions; + gm_mgNetworkOptions.mg_strText = TRANS("NETWORK CONNECTION"); + gm_mgNetworkOptions.mg_strTip = TRANS("choose your connection parameters"); + gm_lhGadgets.AddTail(gm_mgNetworkOptions.mg_lnNode); + gm_mgNetworkOptions.mg_pActivatedFunction = NULL; + + gm_mgCustomOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgCustomOptions.mg_boxOnScreen = BoxBigRow(4); + gm_mgCustomOptions.mg_pmgUp = &gm_mgNetworkOptions; + gm_mgCustomOptions.mg_pmgDown = &gm_mgAddonOptions; + gm_mgCustomOptions.mg_strText = TRANS("ADVANCED OPTIONS"); + gm_mgCustomOptions.mg_strTip = TRANS("for advanced users only"); + gm_lhGadgets.AddTail(gm_mgCustomOptions.mg_lnNode); + gm_mgCustomOptions.mg_pActivatedFunction = NULL; + + gm_mgAddonOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgAddonOptions.mg_boxOnScreen = BoxBigRow(5); + gm_mgAddonOptions.mg_pmgUp = &gm_mgCustomOptions; + gm_mgAddonOptions.mg_pmgDown = &gm_mgVideoOptions; + gm_mgAddonOptions.mg_strText = TRANS("EXECUTE ADDON"); + gm_mgAddonOptions.mg_strTip = TRANS("choose from list of addons to execute"); + gm_lhGadgets.AddTail(gm_mgAddonOptions.mg_lnNode); + gm_mgAddonOptions.mg_pActivatedFunction = NULL; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MOptions.h b/Sources/SeriousSam/MOptions.h index f42cdac..6510595 100644 --- a/Sources/SeriousSam/MOptions.h +++ b/Sources/SeriousSam/MOptions.h @@ -7,10 +7,20 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGTitle.h" class COptionsMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgVideoOptions; + CMGButton gm_mgAudioOptions; + CMGButton gm_mgPlayerProfileOptions; + CMGButton gm_mgNetworkOptions; + CMGButton gm_mgCustomOptions; + CMGButton gm_mgAddonOptions; + void Initialize_t(void); }; diff --git a/Sources/SeriousSam/MSplitScreen.cpp b/Sources/SeriousSam/MSplitScreen.cpp index 9fbb57e..8920eb4 100644 --- a/Sources/SeriousSam/MSplitScreen.cpp +++ b/Sources/SeriousSam/MSplitScreen.cpp @@ -5,6 +5,7 @@ #include "MenuPrinting.h" #include "MSplitScreen.h" + void CSplitScreenMenu::Initialize_t(void) { // intialize split screen menu diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index dee47a1..2b465a8 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -104,17 +104,19 @@ void (*_pAfterLevelChosen)(void); // functions for init actions void InitActionsForConfirmMenu(); +void InitActionsForCustomizeAxisMenu(); void InitActionsForMainMenu(); void InitActionsForInGameMenu(); +void InitActionsForNetworkMenu(); void InitActionsForNetworkJoinMenu(); void InitActionsForNetworkOpenMenu(); +void InitActionsForOptionsMenu(); void InitActionsForSinglePlayerMenu(); void InitActionsForSinglePlayerNewMenu(); void InitActionsForSplitScreenMenu(); void InitActionsForSplitStartMenu(); void InitActionsForVarMenu(); - // functions to activate when user chose 'yes/no' on confirmation void (*_pConfimedYes)(void) = NULL; void (*_pConfimedNo)(void) = NULL; @@ -139,7 +141,7 @@ void ConfirmNo(void) } -void ControlsMenuOn() +extern void ControlsMenuOn() { _pGame->SavePlayersAndControls(); try { @@ -149,7 +151,7 @@ void ControlsMenuOn() } } -void ControlsMenuOff() +extern void ControlsMenuOff() { try { if (_pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count()>0) { @@ -217,7 +219,7 @@ static CTextureObject _toLogoMenuB; #define PLACEMENT(x,y,z) CPlacement3D( FLOAT3D( x, y, z), \ ANGLE3D( AngleDeg(0.0f), AngleDeg(0.0f), AngleDeg(0.0f))) -CTString astrNoYes[] = { +extern CTString astrNoYes[] = { RADIOTRANS( "No"), RADIOTRANS( "Yes"), }; @@ -360,15 +362,9 @@ CMGArrow mgLSArrowDn; // -------- High-score menu CHighScoreMenu gmHighScoreMenu; -CMGTitle mgHighScoreTitle; -CMGHighScore mgHScore; // -------- Customize keyboard menu CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; -CMGTitle mgCustomizeKeyboardTitle; -CMGKeyDefinition mgKey[KEYS_ON_SCREEN]; -CMGArrow mgCustomizeArrowUp; -CMGArrow mgCustomizeArrowDn; // -------- Choose servers menu CServersMenu gmServersMenu; @@ -380,24 +376,9 @@ CMGButton mgServerRefresh; // -------- Customize axis menu CCustomizeAxisMenu gmCustomizeAxisMenu; -CMGTitle mgCustomizeAxisTitle; -CMGTrigger mgAxisActionTrigger; -CMGTrigger mgAxisMountedTrigger; -CMGSlider mgAxisSensitivity; -CMGSlider mgAxisDeadzone; -CMGTrigger mgAxisInvertTrigger; -CMGTrigger mgAxisRelativeTrigger; -CMGTrigger mgAxisSmoothTrigger; // -------- Options menu COptionsMenu gmOptionsMenu; -CMGTitle mgOptionsTitle; -CMGButton mgVideoOptions; -CMGButton mgAudioOptions; -CMGButton mgPlayerProfileOptions; -CMGButton mgNetworkOptions; -CMGButton mgCustomOptions; -CMGButton mgAddonOptions; // -------- Video options menu CVideoOptionsMenu gmVideoOptionsMenu; @@ -455,11 +436,6 @@ CMGButton mgAudioOptionsApply; // -------- Network menu CNetworkMenu gmNetworkMenu; -CMGTitle mgNetworkTitle; -CMGButton mgNetworkJoin; -CMGButton mgNetworkStart; -CMGButton mgNetworkQuickLoad; -CMGButton mgNetworkLoad; // -------- Network join menu CNetworkJoinMenu gmNetworkJoinMenu; @@ -2212,18 +2188,20 @@ void InitializeMenus(void) gmCustomizeKeyboardMenu.Initialize_t(); gmCustomizeKeyboardMenu.gm_strName="CustomizeKeyboard"; - gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &mgKey[0]; + gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &gmCustomizeKeyboardMenu.gm_mgKey[0]; gmCustomizeKeyboardMenu.gm_pgmParentMenu = &gmControls; gmCustomizeAxisMenu.Initialize_t(); gmCustomizeAxisMenu.gm_strName="CustomizeAxis"; - gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &mgAxisActionTrigger; + gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &gmCustomizeAxisMenu.gm_mgActionTrigger; gmCustomizeAxisMenu.gm_pgmParentMenu = &gmControls; + InitActionsForCustomizeAxisMenu(); gmOptionsMenu.Initialize_t(); gmOptionsMenu.gm_strName="Options"; - gmOptionsMenu.gm_pmgSelectedByDefault = &mgVideoOptions; + gmOptionsMenu.gm_pmgSelectedByDefault = &gmOptionsMenu.gm_mgVideoOptions; gmOptionsMenu.gm_pgmParentMenu = &gmMainMenu; + InitActionsForOptionsMenu(); gmVideoOptionsMenu.Initialize_t(); gmVideoOptionsMenu.gm_strName="VideoOptions"; @@ -2253,8 +2231,9 @@ void InitializeMenus(void) gmNetworkMenu.Initialize_t(); gmNetworkMenu.gm_strName="Network"; - gmNetworkMenu.gm_pmgSelectedByDefault = &mgNetworkJoin; + gmNetworkMenu.gm_pmgSelectedByDefault = &gmNetworkMenu.gm_mgJoin; gmNetworkMenu.gm_pgmParentMenu = &gmMainMenu; + InitActionsForNetworkMenu(); gmNetworkStartMenu.Initialize_t(); gmNetworkStartMenu.gm_strName="NetworkStart"; @@ -3980,320 +3959,33 @@ BOOL CLoadSaveMenu::ParseFile(const CTFileName &fnm, CTString &strName) return TRUE; } -void CHighScoreMenu::Initialize_t(void) -{ - mgHScore.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0,0), FLOAT2D(1,0.5)); - gm_lhGadgets.AddTail( mgHScore.mg_lnNode); - - mgHighScoreTitle.mg_strText = TRANS("HIGH SCORE TABLE"); - mgHighScoreTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgHighScoreTitle.mg_lnNode); -} - -void CHighScoreMenu::StartMenu(void) -{ - gm_pgmParentMenu = pgmCurrentMenu; - CGameMenu::StartMenu(); -} - -// ------------------------ CCustomizeKeyboardMenu implementation -void CCustomizeKeyboardMenu::FillListItems(void) -{ - // disable all items first - for(INDEX i=0; igm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); - FOREACHINLIST( CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) - { - INDEX iInMenu = iLabel-gm_iListOffset; - if( (iLabel>=gm_iListOffset) && - (iLabel<(gm_iListOffset+gm_ctListVisible)) ) - { - bHasFirst|=(iLabel==0); - bHasLast |=(iLabel==ctLabels-1); - mgKey[iInMenu].mg_strLabel = TranslateConst(itAct->ba_strName, 0); - mgKey[iInMenu].mg_iControlNumber = iLabel; - mgKey[iInMenu].SetBindingNames(FALSE); - mgKey[iInMenu].mg_strTip = TRANS("Enter - change binding, Backspace - unbind"); - mgKey[iInMenu].mg_bEnabled = TRUE; - mgKey[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } - - // enable/disable up/down arrows - mgCustomizeArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - mgCustomizeArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; -} - -void CCustomizeKeyboardMenu::Initialize_t(void) -{ - // intialize Audio options menu - mgCustomizeKeyboardTitle.mg_strText = TRANS("CUSTOMIZE BUTTONS"); - mgCustomizeKeyboardTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgCustomizeKeyboardTitle.mg_lnNode); - -#define KL_START 3.0f -#define KL_STEEP -1.45f - for( INDEX iLabel=0; iLabelgm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); - gm_iListWantedItem = 0; - CGameMenu::StartMenu(); -} -void CCustomizeKeyboardMenu::EndMenu(void) -{ - ControlsMenuOff(); - CGameMenu::EndMenu(); -} - -CCustomizeAxisMenu::~CCustomizeAxisMenu(void) -{ - delete[] mgAxisActionTrigger.mg_astrTexts; - delete[] mgAxisMountedTrigger.mg_astrTexts; -} - +// ------------------------ CCustomizeAxisMenu implementation void PreChangeAxis(INDEX iDummy) { - gmCustomizeAxisMenu.ApplyActionSettings(); + gmCustomizeAxisMenu.ApplyActionSettings(); } void PostChangeAxis(INDEX iDummy) { - gmCustomizeAxisMenu.ObtainActionSettings(); + gmCustomizeAxisMenu.ObtainActionSettings(); } -void CCustomizeAxisMenu::Initialize_t(void) -{ - // intialize axis menu - mgCustomizeAxisTitle.mg_strText = TRANS("CUSTOMIZE AXIS"); - mgCustomizeAxisTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgCustomizeAxisTitle.mg_lnNode); - - TRIGGER_MG(mgAxisActionTrigger, 0, mgAxisSmoothTrigger, mgAxisMountedTrigger, TRANS("ACTION"), astrNoYes); - mgAxisActionTrigger.mg_strTip = TRANS("choose action to customize"); - TRIGGER_MG(mgAxisMountedTrigger, 2, mgAxisActionTrigger, mgAxisSensitivity, TRANS("MOUNTED TO"), astrNoYes); - mgAxisMountedTrigger.mg_strTip = TRANS("choose controller axis that will perform the action"); - - mgAxisActionTrigger.mg_astrTexts = new CTString[ AXIS_ACTIONS_CT]; - mgAxisActionTrigger.mg_ctTexts = AXIS_ACTIONS_CT; - - mgAxisActionTrigger.mg_pPreTriggerChange = PreChangeAxis; - mgAxisActionTrigger.mg_pOnTriggerChange = PostChangeAxis; - - // for all available axis type controlers - for( INDEX iControler=0; iControlergm_astrAxisNames[ iControler]), 0); - } - mgAxisActionTrigger.mg_iSelected = 3; - - INDEX ctAxis = _pInput->GetAvailableAxisCount(); - mgAxisMountedTrigger.mg_astrTexts = new CTString[ ctAxis]; - mgAxisMountedTrigger.mg_ctTexts = ctAxis; - // for all axis actions that can be mounted - for( INDEX iAxis=0; iAxisGetAxisTransName( iAxis); - } - - mgAxisSensitivity.mg_boxOnScreen = BoxMediumRow(3); - mgAxisSensitivity.mg_strText = TRANS("SENSITIVITY"); - mgAxisSensitivity.mg_pmgUp = &mgAxisMountedTrigger; - mgAxisSensitivity.mg_pmgDown = &mgAxisDeadzone; - gm_lhGadgets.AddTail( mgAxisSensitivity.mg_lnNode); - mgAxisSensitivity.mg_strTip = TRANS("set sensitivity for this axis"); - - mgAxisDeadzone.mg_boxOnScreen = BoxMediumRow(4); - mgAxisDeadzone.mg_strText = TRANS("DEAD ZONE"); - mgAxisDeadzone.mg_pmgUp = &mgAxisSensitivity; - mgAxisDeadzone.mg_pmgDown = &mgAxisInvertTrigger; - gm_lhGadgets.AddTail( mgAxisDeadzone.mg_lnNode); - mgAxisDeadzone.mg_strTip = TRANS("set dead zone for this axis"); - - TRIGGER_MG(mgAxisInvertTrigger, 5, mgAxisDeadzone, mgAxisRelativeTrigger, TRANS("INVERTED"), astrNoYes); - mgAxisInvertTrigger.mg_strTip = TRANS("choose whether to invert this axis or not"); - TRIGGER_MG(mgAxisRelativeTrigger, 6, mgAxisInvertTrigger, mgAxisSmoothTrigger, TRANS("RELATIVE"), astrNoYes); - mgAxisRelativeTrigger.mg_strTip = TRANS("select relative or absolute axis reading"); - TRIGGER_MG(mgAxisSmoothTrigger, 7, mgAxisRelativeTrigger, mgAxisActionTrigger, TRANS("SMOOTH"), astrNoYes); - mgAxisSmoothTrigger.mg_strTip = TRANS("turn this on to filter readings on this axis"); -} - -void CCustomizeAxisMenu::ObtainActionSettings(void) -{ - ControlsMenuOn(); - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - INDEX iSelectedAction = mgAxisActionTrigger.mg_iSelected; - INDEX iMountedAxis = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_iAxisAction; - - mgAxisMountedTrigger.mg_iSelected = iMountedAxis; - - mgAxisSensitivity.mg_iMinPos = 0; - mgAxisSensitivity.mg_iMaxPos = 50; - mgAxisSensitivity.mg_iCurPos = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fSensitivity/2; - mgAxisSensitivity.ApplyCurrentPosition(); - - mgAxisDeadzone.mg_iMinPos = 0; - mgAxisDeadzone.mg_iMaxPos = 50; - mgAxisDeadzone.mg_iCurPos = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fDeadZone/2; - mgAxisDeadzone.ApplyCurrentPosition(); - - mgAxisInvertTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bInvert ? 1 : 0; - mgAxisRelativeTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bRelativeControler ? 1 : 0; - mgAxisSmoothTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bSmooth ? 1 : 0; - - mgAxisActionTrigger.ApplyCurrentSelection(); - mgAxisMountedTrigger.ApplyCurrentSelection(); - mgAxisInvertTrigger.ApplyCurrentSelection(); - mgAxisRelativeTrigger.ApplyCurrentSelection(); - mgAxisSmoothTrigger.ApplyCurrentSelection(); -} - -void CCustomizeAxisMenu::ApplyActionSettings(void) -{ - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - INDEX iSelectedAction = mgAxisActionTrigger.mg_iSelected; - INDEX iMountedAxis = mgAxisMountedTrigger.mg_iSelected; - FLOAT fSensitivity = - FLOAT(mgAxisSensitivity.mg_iCurPos-mgAxisSensitivity.mg_iMinPos) / - FLOAT(mgAxisSensitivity.mg_iMaxPos-mgAxisSensitivity.mg_iMinPos)*100.0f; - FLOAT fDeadZone = - FLOAT(mgAxisDeadzone.mg_iCurPos-mgAxisDeadzone.mg_iMinPos) / - FLOAT(mgAxisDeadzone.mg_iMaxPos-mgAxisDeadzone.mg_iMinPos)*100.0f; - - BOOL bInvert = mgAxisInvertTrigger.mg_iSelected != 0; - BOOL bRelative = mgAxisRelativeTrigger.mg_iSelected != 0; - BOOL bSmooth = mgAxisSmoothTrigger.mg_iSelected != 0; - - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_iAxisAction = iMountedAxis; - if (INDEX(ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fSensitivity)!=INDEX(fSensitivity)) { - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fSensitivity = fSensitivity; - } - if (INDEX(ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fDeadZone)!=INDEX(fDeadZone)) { - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_fDeadZone = fDeadZone; - } - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bInvert = bInvert; - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bRelativeControler = bRelative; - ctrls.ctrl_aaAxisActions[ iSelectedAction].aa_bSmooth = bSmooth; - ctrls.CalculateInfluencesForAllAxis(); - ControlsMenuOff(); -} - -void CCustomizeAxisMenu::StartMenu(void) -{ - ObtainActionSettings(); - - CGameMenu::StartMenu(); -} - -void CCustomizeAxisMenu::EndMenu(void) -{ - ApplyActionSettings(); - CGameMenu::EndMenu(); +void InitActionsForCustomizeAxisMenu() { + gmCustomizeAxisMenu.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; + gmCustomizeAxisMenu.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; } // ------------------------ COptionsMenu implementation -void COptionsMenu::Initialize_t(void) +void InitActionsForOptionsMenu() { - // intialize options menu - mgOptionsTitle.mg_boxOnScreen = BoxTitle(); - mgOptionsTitle.mg_strText = TRANS("OPTIONS"); - gm_lhGadgets.AddTail( mgOptionsTitle.mg_lnNode); - - mgVideoOptions.mg_bfsFontSize = BFS_LARGE; - mgVideoOptions.mg_boxOnScreen = BoxBigRow(0.0f); - mgVideoOptions.mg_pmgUp = &mgAddonOptions; - mgVideoOptions.mg_pmgDown = &mgAudioOptions; - mgVideoOptions.mg_strText = TRANS("VIDEO OPTIONS"); - mgVideoOptions.mg_strTip = TRANS("set video mode and driver"); - gm_lhGadgets.AddTail( mgVideoOptions.mg_lnNode); - mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; - - mgAudioOptions.mg_bfsFontSize = BFS_LARGE; - mgAudioOptions.mg_boxOnScreen = BoxBigRow(1.0f); - mgAudioOptions.mg_pmgUp = &mgVideoOptions; - mgAudioOptions.mg_pmgDown = &mgPlayerProfileOptions; - mgAudioOptions.mg_strText = TRANS("AUDIO OPTIONS"); - mgAudioOptions.mg_strTip = TRANS("set audio quality and volume"); - gm_lhGadgets.AddTail( mgAudioOptions.mg_lnNode); - mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; - - mgPlayerProfileOptions.mg_bfsFontSize = BFS_LARGE; - mgPlayerProfileOptions.mg_boxOnScreen = BoxBigRow(2.0f); - mgPlayerProfileOptions.mg_pmgUp = &mgAudioOptions; - mgPlayerProfileOptions.mg_pmgDown = &mgNetworkOptions; - mgPlayerProfileOptions.mg_strText = TRANS("PLAYERS AND CONTROLS"); - mgPlayerProfileOptions.mg_strTip = TRANS("change currently active player or adjust controls"); - gm_lhGadgets.AddTail( mgPlayerProfileOptions.mg_lnNode); - mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; - - mgNetworkOptions.mg_bfsFontSize = BFS_LARGE; - mgNetworkOptions.mg_boxOnScreen = BoxBigRow(3); - mgNetworkOptions.mg_pmgUp = &mgPlayerProfileOptions; - mgNetworkOptions.mg_pmgDown = &mgCustomOptions; - mgNetworkOptions.mg_strText = TRANS("NETWORK CONNECTION"); - mgNetworkOptions.mg_strTip = TRANS("choose your connection parameters"); - gm_lhGadgets.AddTail( mgNetworkOptions.mg_lnNode); - mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; - - mgCustomOptions.mg_bfsFontSize = BFS_LARGE; - mgCustomOptions.mg_boxOnScreen = BoxBigRow(4); - mgCustomOptions.mg_pmgUp = &mgNetworkOptions; - mgCustomOptions.mg_pmgDown = &mgAddonOptions; - mgCustomOptions.mg_strText = TRANS("ADVANCED OPTIONS"); - mgCustomOptions.mg_strTip = TRANS("for advanced users only"); - gm_lhGadgets.AddTail( mgCustomOptions.mg_lnNode); - mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; - - mgAddonOptions.mg_bfsFontSize = BFS_LARGE; - mgAddonOptions.mg_boxOnScreen = BoxBigRow(5); - mgAddonOptions.mg_pmgUp = &mgCustomOptions; - mgAddonOptions.mg_pmgDown = &mgVideoOptions; - mgAddonOptions.mg_strText = TRANS("EXECUTE ADDON"); - mgAddonOptions.mg_strTip = TRANS("choose from list of addons to execute"); - gm_lhGadgets.AddTail( mgAddonOptions.mg_lnNode); - mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; + gmOptionsMenu.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; + gmOptionsMenu.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; + gmOptionsMenu.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; + gmOptionsMenu.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; + gmOptionsMenu.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; + gmOptionsMenu.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; } - // ------------------------ CVideoOptionsMenu implementation - static void FillResolutionsList(void) { // free resolutions @@ -4761,61 +4453,12 @@ BOOL CServersMenu::OnKeyDown(int iVKey) // __Evolution // ------------------------ CNetworkMenu implementation -void CNetworkMenu::Initialize_t(void) +void InitActionsForNetworkMenu() { - // intialize network menu - mgNetworkTitle.mg_boxOnScreen = BoxTitle(); - mgNetworkTitle.mg_strText = TRANS("NETWORK"); - gm_lhGadgets.AddTail( mgNetworkTitle.mg_lnNode); - - mgNetworkJoin.mg_bfsFontSize = BFS_LARGE; - mgNetworkJoin.mg_boxOnScreen = BoxBigRow(1.0f); - mgNetworkJoin.mg_pmgUp = &mgNetworkLoad; - mgNetworkJoin.mg_pmgDown = &mgNetworkStart; - mgNetworkJoin.mg_strText = TRANS("JOIN GAME"); - mgNetworkJoin.mg_strTip = TRANS("join a network game"); - gm_lhGadgets.AddTail( mgNetworkJoin.mg_lnNode); - mgNetworkJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; - - mgNetworkStart.mg_bfsFontSize = BFS_LARGE; - mgNetworkStart.mg_boxOnScreen = BoxBigRow(2.0f); - mgNetworkStart.mg_pmgUp = &mgNetworkJoin; - mgNetworkStart.mg_pmgDown = &mgNetworkQuickLoad; - mgNetworkStart.mg_strText = TRANS("START SERVER"); - mgNetworkStart.mg_strTip = TRANS("start a network game server"); - gm_lhGadgets.AddTail( mgNetworkStart.mg_lnNode); - mgNetworkStart.mg_pActivatedFunction = &StartNetworkStartMenu; - - mgNetworkQuickLoad.mg_bfsFontSize = BFS_LARGE; - mgNetworkQuickLoad.mg_boxOnScreen = BoxBigRow(3.0f); - mgNetworkQuickLoad.mg_pmgUp = &mgNetworkStart; - mgNetworkQuickLoad.mg_pmgDown = &mgNetworkLoad; - mgNetworkQuickLoad.mg_strText = TRANS("QUICK LOAD"); - mgNetworkQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail( mgNetworkQuickLoad.mg_lnNode); - mgNetworkQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; - - mgNetworkLoad.mg_bfsFontSize = BFS_LARGE; - mgNetworkLoad.mg_boxOnScreen = BoxBigRow(4.0f); - mgNetworkLoad.mg_pmgUp = &mgNetworkQuickLoad; - mgNetworkLoad.mg_pmgDown = &mgNetworkJoin; - mgNetworkLoad.mg_strText = TRANS("LOAD"); - mgNetworkLoad.mg_strTip = TRANS("start server and load a network game (server only)"); - gm_lhGadgets.AddTail( mgNetworkLoad.mg_lnNode); - mgNetworkLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; - -} - -void CNetworkMenu::StartMenu(void) -{ - CGameMenu::StartMenu(); -} - -void UpdateNetworkLevel(INDEX iDummy) -{ - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); - mgNetworkLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + gmNetworkMenu.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; + gmNetworkMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; + gmNetworkMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; + gmNetworkMenu.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; } // ------------------------ CNetworkJoinMenu implementation @@ -4827,6 +4470,13 @@ void InitActionsForNetworkJoinMenu() } // ------------------------ CNetworkStartMenu implementation +void UpdateNetworkLevel(INDEX iDummy) +{ + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); + mgNetworkLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; +} + void CNetworkStartMenu::Initialize_t(void) { // title diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 2d764e2..39a8681 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -183,6 +183,8 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + Use @@ -210,11 +212,14 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 921821f..28357aa 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -156,6 +156,21 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + From 2fcc548f29cd2619cf6fdd3eaa3ca2edf1c215c7 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Tue, 15 Mar 2016 01:03:22 +0300 Subject: [PATCH 32/62] GameExecutable: Move some stuff from Menu.cpp into files PART V Now it's 4463 lines! --- Sources/SeriousSam/MNetworkStart.cpp | 151 +++++ Sources/SeriousSam/MNetworkStart.h | 15 + Sources/SeriousSam/MSelectPlayers.cpp | 115 ++++ Sources/SeriousSam/MSelectPlayers.h | 20 + Sources/SeriousSam/MServers.cpp | 97 +++ Sources/SeriousSam/MServers.h | 11 +- Sources/SeriousSam/MSplitStart.cpp | 5 +- Sources/SeriousSam/Menu.cpp | 634 +++--------------- Sources/SeriousSam/MenuStuff.cpp | 105 +++ Sources/SeriousSam/MenuStuff.h | 16 + Sources/SeriousSam/SeriousSam.vcxproj | 3 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 15 +- 12 files changed, 642 insertions(+), 545 deletions(-) create mode 100644 Sources/SeriousSam/MNetworkStart.cpp create mode 100644 Sources/SeriousSam/MSelectPlayers.cpp create mode 100644 Sources/SeriousSam/MServers.cpp diff --git a/Sources/SeriousSam/MNetworkStart.cpp b/Sources/SeriousSam/MNetworkStart.cpp new file mode 100644 index 0000000..414db34 --- /dev/null +++ b/Sources/SeriousSam/MNetworkStart.cpp @@ -0,0 +1,151 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "LevelInfo.h" +#include "MenuStuff.h" +#include "MNetworkStart.h" + +#define TRIGGER_MG(mg, y, up, down, text, astr) \ + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; + +extern INDEX ctGameTypeRadioTexts; +extern void UpdateNetworkLevel(INDEX iDummy); +extern CTString astrGameTypeRadioTexts[20]; +extern CTString astrDifficultyRadioTexts[6]; + + +void CNetworkStartMenu::Initialize_t(void) +{ + // title + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("START SERVER"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + // session name edit box + gm_mgSessionName.mg_strText = _pGame->gam_strSessionName; + gm_mgSessionName.mg_strLabel = TRANS("Session name:"); + gm_mgSessionName.mg_ctMaxStringLen = 25; + gm_mgSessionName.mg_pstrToChange = &_pGame->gam_strSessionName; + gm_mgSessionName.mg_boxOnScreen = BoxMediumRow(1); + gm_mgSessionName.mg_bfsFontSize = BFS_MEDIUM; + gm_mgSessionName.mg_iCenterI = -1; + gm_mgSessionName.mg_pmgUp = &gm_mgStart; + gm_mgSessionName.mg_pmgDown = &gm_mgGameType; + gm_mgSessionName.mg_strTip = TRANS("name the session to start"); + gm_lhGadgets.AddTail(gm_mgSessionName.mg_lnNode); + + // game type trigger + TRIGGER_MG(gm_mgGameType, 2, + gm_mgSessionName, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); + gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; + gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); + gm_mgGameType.mg_pOnTriggerChange = &UpdateNetworkLevel; + + // difficulty trigger + TRIGGER_MG(gm_mgDifficulty, 3, + gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); + gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); + + // level name + gm_mgLevel.mg_strText = ""; + gm_mgLevel.mg_strLabel = TRANS("Level:"); + gm_mgLevel.mg_boxOnScreen = BoxMediumRow(4); + gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLevel.mg_iCenterI = -1; + gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; + gm_mgLevel.mg_pmgDown = &gm_mgMaxPlayers; + gm_mgLevel.mg_strTip = TRANS("choose the level to start"); + gm_mgLevel.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); + + // max players trigger + TRIGGER_MG(gm_mgMaxPlayers, 5, + gm_mgLevel, gm_mgWaitAllPlayers, TRANS("Max players:"), astrMaxPlayersRadioTexts); + gm_mgMaxPlayers.mg_strTip = TRANS("choose maximum allowed number of players"); + + // wait all players trigger + TRIGGER_MG(gm_mgWaitAllPlayers, 6, + gm_mgMaxPlayers, gm_mgVisible, TRANS("Wait for all players:"), astrNoYes); + gm_mgWaitAllPlayers.mg_strTip = TRANS("if on, game won't start until all players have joined"); + + // server visible trigger + TRIGGER_MG(gm_mgVisible, 7, + gm_mgMaxPlayers, gm_mgGameOptions, TRANS("Server visible:"), astrNoYes); + gm_mgVisible.mg_strTip = TRANS("invisible servers are not listed, cleints have to join manually"); + + // options button + gm_mgGameOptions.mg_strText = TRANS("Game options"); + gm_mgGameOptions.mg_boxOnScreen = BoxMediumRow(8); + gm_mgGameOptions.mg_bfsFontSize = BFS_MEDIUM; + gm_mgGameOptions.mg_iCenterI = 0; + gm_mgGameOptions.mg_pmgUp = &gm_mgVisible; + gm_mgGameOptions.mg_pmgDown = &gm_mgStart; + gm_mgGameOptions.mg_strTip = TRANS("adjust game rules"); + gm_mgGameOptions.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgGameOptions.mg_lnNode); + + // start button + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(7); + gm_mgStart.mg_pmgUp = &gm_mgGameOptions; + gm_mgStart.mg_pmgDown = &gm_mgSessionName; + gm_mgStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; + + + +} + +void CNetworkStartMenu::StartMenu(void) +{ + extern INDEX sam_bMentalActivated; + gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; + + gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); + gm_mgGameType.ApplyCurrentSelection(); + gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; + gm_mgDifficulty.ApplyCurrentSelection(); + + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + + INDEX ctMaxPlayers = _pShell->GetINDEX("gam_ctMaxPlayers"); + if (ctMaxPlayers<2 || ctMaxPlayers>16) { + ctMaxPlayers = 2; + _pShell->SetINDEX("gam_ctMaxPlayers", ctMaxPlayers); + } + + gm_mgMaxPlayers.mg_iSelected = ctMaxPlayers - 2; + gm_mgMaxPlayers.ApplyCurrentSelection(); + + gm_mgWaitAllPlayers.mg_iSelected = Clamp(_pShell->GetINDEX("gam_bWaitAllPlayers"), 0L, 1L); + gm_mgWaitAllPlayers.ApplyCurrentSelection(); + + gm_mgVisible.mg_iSelected = _pShell->GetINDEX("ser_bEnumeration"); + gm_mgVisible.ApplyCurrentSelection(); + + UpdateNetworkLevel(0); + + CGameMenu::StartMenu(); +} + +void CNetworkStartMenu::EndMenu(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); + _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); + _pShell->SetINDEX("gam_bWaitAllPlayers", gm_mgWaitAllPlayers.mg_iSelected); + _pShell->SetINDEX("gam_ctMaxPlayers", gm_mgMaxPlayers.mg_iSelected + 2); + _pShell->SetINDEX("ser_bEnumeration", gm_mgVisible.mg_iSelected); + + CGameMenu::EndMenu(); +} diff --git a/Sources/SeriousSam/MNetworkStart.h b/Sources/SeriousSam/MNetworkStart.h index 2072e6e..79bbdc5 100644 --- a/Sources/SeriousSam/MNetworkStart.h +++ b/Sources/SeriousSam/MNetworkStart.h @@ -7,10 +7,25 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGEdit.h" +#include "MGTitle.h" +#include "MGTrigger.h" class CNetworkStartMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGEdit gm_mgSessionName; + CMGTrigger gm_mgGameType; + CMGTrigger gm_mgDifficulty; + CMGButton gm_mgLevel; + CMGTrigger gm_mgMaxPlayers; + CMGTrigger gm_mgWaitAllPlayers; + CMGTrigger gm_mgVisible; + CMGButton gm_mgGameOptions; + CMGButton gm_mgStart; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/MSelectPlayers.cpp b/Sources/SeriousSam/MSelectPlayers.cpp new file mode 100644 index 0000000..f16fe4f --- /dev/null +++ b/Sources/SeriousSam/MSelectPlayers.cpp @@ -0,0 +1,115 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MSelectPlayers.h" + +#define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ + gd.mg_boxOnScreen = box; \ + gd.mg_pmgUp = up; \ + gd.mg_pmgDown = dn; \ + gd.mg_pmgLeft = lf; \ + gd.mg_pmgRight = rt; \ + gd.mg_strText = txt; \ + gm_lhGadgets.AddTail(gd.mg_lnNode); + +#define TRIGGER_MG(mg, y, up, down, text, astr) \ + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; + +extern CTString astrNoYes[2]; +extern CTString astrSplitScreenRadioTexts[4]; +extern void SelectPlayersFillMenu(void); +extern void SelectPlayersApplyMenu(void); + +void CSelectPlayersMenu::Initialize_t(void) +{ + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("SELECT PLAYERS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + TRIGGER_MG(gm_mgDedicated, 0, gm_mgStart, gm_mgObserver, TRANS("Dedicated:"), astrNoYes); + gm_mgDedicated.mg_strTip = TRANS("select to start dedicated server"); + gm_mgDedicated.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgObserver, 1, gm_mgDedicated, gm_mgSplitScreenCfg, TRANS("Observer:"), astrNoYes); + gm_mgObserver.mg_strTip = TRANS("select to join in for observing, not for playing"); + gm_mgObserver.mg_pOnTriggerChange = NULL; + + // split screen config trigger + TRIGGER_MG(gm_mgSplitScreenCfg, 2, gm_mgObserver, gm_mgPlayer0Change, TRANS("Number of players:"), astrSplitScreenRadioTexts); + gm_mgSplitScreenCfg.mg_strTip = TRANS("choose more than one player to play in split screen"); + gm_mgSplitScreenCfg.mg_pOnTriggerChange = NULL; + + gm_mgPlayer0Change.mg_iCenterI = -1; + gm_mgPlayer1Change.mg_iCenterI = -1; + gm_mgPlayer2Change.mg_iCenterI = -1; + gm_mgPlayer3Change.mg_iCenterI = -1; + gm_mgPlayer0Change.mg_boxOnScreen = BoxMediumMiddle(4); + gm_mgPlayer1Change.mg_boxOnScreen = BoxMediumMiddle(5); + gm_mgPlayer2Change.mg_boxOnScreen = BoxMediumMiddle(6); + gm_mgPlayer3Change.mg_boxOnScreen = BoxMediumMiddle(7); + gm_mgPlayer0Change.mg_strTip = + gm_mgPlayer1Change.mg_strTip = + gm_mgPlayer2Change.mg_strTip = + gm_mgPlayer3Change.mg_strTip = TRANS("select profile for this player"); + gm_lhGadgets.AddTail(gm_mgPlayer0Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer1Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer2Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer3Change.mg_lnNode); + + gm_mgNotes.mg_boxOnScreen = BoxMediumRow(9.0); + gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNotes.mg_iCenterI = -1; + gm_mgNotes.mg_bEnabled = FALSE; + gm_mgNotes.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); + gm_mgNotes.mg_strText = ""; + + /* // options button + mgSplitOptions.mg_strText = TRANS("Game options"); + mgSplitOptions.mg_boxOnScreen = BoxMediumRow(3); + mgSplitOptions.mg_bfsFontSize = BFS_MEDIUM; + mgSplitOptions.mg_iCenterI = 0; + mgSplitOptions.mg_pmgUp = &mgSplitLevel; + mgSplitOptions.mg_pmgDown = &mgSplitStartStart; + mgSplitOptions.mg_strTip = TRANS("adjust game rules"); + mgSplitOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + gm_lhGadgets.AddTail( mgSplitOptions.mg_lnNode);*/ + + /* // start button + mgSplitStartStart.mg_bfsFontSize = BFS_LARGE; + mgSplitStartStart.mg_boxOnScreen = BoxBigRow(4); + mgSplitStartStart.mg_pmgUp = &mgSplitOptions; + mgSplitStartStart.mg_pmgDown = &mgSplitGameType; + mgSplitStartStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail( mgSplitStartStart.mg_lnNode); + mgSplitStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + */ + + ADD_GADGET(gm_mgStart, BoxMediumRow(11), &gm_mgSplitScreenCfg, &gm_mgPlayer0Change, NULL, NULL, TRANS("START")); + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_iCenterI = 0; +} + +void CSelectPlayersMenu::StartMenu(void) +{ + CGameMenu::StartMenu(); + SelectPlayersFillMenu(); + SelectPlayersApplyMenu(); +} + +void CSelectPlayersMenu::EndMenu(void) +{ + SelectPlayersApplyMenu(); + CGameMenu::EndMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MSelectPlayers.h b/Sources/SeriousSam/MSelectPlayers.h index 5d5f4da..4f747d8 100644 --- a/Sources/SeriousSam/MSelectPlayers.h +++ b/Sources/SeriousSam/MSelectPlayers.h @@ -7,12 +7,32 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGChangePlayer.h" +#include "MGTitle.h" +#include "MGTrigger.h" class CSelectPlayersMenu : public CGameMenu { public: BOOL gm_bAllowDedicated; BOOL gm_bAllowObserving; + + CMGTitle gm_mgTitle; + + CMGTrigger gm_mgDedicated; + CMGTrigger gm_mgObserver; + CMGTrigger gm_mgSplitScreenCfg; + + CMGChangePlayer gm_mgPlayer0Change; + CMGChangePlayer gm_mgPlayer1Change; + CMGChangePlayer gm_mgPlayer2Change; + CMGChangePlayer gm_mgPlayer3Change; + + CMGButton gm_mgNotes; + + CMGButton gm_mgStart; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/MServers.cpp b/Sources/SeriousSam/MServers.cpp new file mode 100644 index 0000000..92f67e5 --- /dev/null +++ b/Sources/SeriousSam/MServers.cpp @@ -0,0 +1,97 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MServers.h" + +CTString _strServerFilter[7]; +CMGButton mgServerColumn[7]; +CMGEdit mgServerFilter[7]; + +void CServersMenu::Initialize_t(void) +{ + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CHOOSE SERVER"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgList.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 1)); + gm_mgList.mg_pmgLeft = &gm_mgList; // make sure it can get focus + gm_mgList.mg_bEnabled = TRUE; + gm_lhGadgets.AddTail(gm_mgList.mg_lnNode); + + ASSERT(ARRAYCOUNT(mgServerColumn) == ARRAYCOUNT(mgServerFilter)); + for (INDEX i = 0; i=2)"); + mgServerFilter[4].mg_strTip = TRANS("filter by game (ie. coop)"); + mgServerFilter[5].mg_strTip = TRANS("filter by mod"); + mgServerFilter[6].mg_strTip = TRANS("filter by version"); +} + +void CServersMenu::StartMenu(void) +{ + extern void RefreshServerList(void); + RefreshServerList(); + + CGameMenu::StartMenu(); +} + +void CServersMenu::Think(void) +{ + if (!_pNetwork->ga_bEnumerationChange) { + return; + } + _pNetwork->ga_bEnumerationChange = FALSE; +} diff --git a/Sources/SeriousSam/MServers.h b/Sources/SeriousSam/MServers.h index c8e7304..bc8f5bd 100644 --- a/Sources/SeriousSam/MServers.h +++ b/Sources/SeriousSam/MServers.h @@ -7,16 +7,23 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGEdit.h" +#include "MGServerList.h" +#include "MGTitle.h" class CServersMenu : public CGameMenu { public: BOOL m_bInternet; + + CMGTitle gm_mgTitle; + CMGServerList gm_mgList; + CMGButton gm_mgRefresh; + void Initialize_t(void); void StartMenu(void); void Think(void); - - BOOL OnKeyDown(int iVKey); // __Evolution }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/MSplitStart.cpp b/Sources/SeriousSam/MSplitStart.cpp index 4266823..6df0b44 100644 --- a/Sources/SeriousSam/MSplitStart.cpp +++ b/Sources/SeriousSam/MSplitStart.cpp @@ -18,10 +18,9 @@ mg.mg_strLabel = text; \ mg.mg_strValue = astr[0]; - extern INDEX ctGameTypeRadioTexts; extern void UpdateSplitLevel(INDEX iDummy); -extern void SplitStartMenuSubInit(CSplitStartMenu* gm); + void CSplitStartMenu::Initialize_t(void) { @@ -31,7 +30,6 @@ void CSplitStartMenu::Initialize_t(void) gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); // game type trigger - extern CTString astrGameTypeRadioTexts[20]; TRIGGER_MG(gm_mgGameType, 0, gm_mgStart, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; @@ -39,7 +37,6 @@ void CSplitStartMenu::Initialize_t(void) gm_mgGameType.mg_pOnTriggerChange = &UpdateSplitLevel; // difficulty trigger - extern CTString astrDifficultyRadioTexts[6]; TRIGGER_MG(gm_mgDifficulty, 1, gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index 2b465a8..be8214d 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -57,7 +57,6 @@ #include "MenuStuff.h" // macros for translating radio button text arrays -#define RADIOTRANS(str) ("ETRS" str) #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) extern CMenuGadget *_pmgLastActivatedGadget; @@ -110,7 +109,10 @@ void InitActionsForInGameMenu(); void InitActionsForNetworkMenu(); void InitActionsForNetworkJoinMenu(); void InitActionsForNetworkOpenMenu(); +void InitActionsForNetworkStartMenu(); void InitActionsForOptionsMenu(); +void InitActionsForSelectPlayersMenu(); +void InitActionsForServersMenu(); void InitActionsForSinglePlayerMenu(); void InitActionsForSinglePlayerNewMenu(); void InitActionsForSplitScreenMenu(); @@ -219,74 +221,6 @@ static CTextureObject _toLogoMenuB; #define PLACEMENT(x,y,z) CPlacement3D( FLOAT3D( x, y, z), \ ANGLE3D( AngleDeg(0.0f), AngleDeg(0.0f), AngleDeg(0.0f))) -extern CTString astrNoYes[] = { - RADIOTRANS( "No"), - RADIOTRANS( "Yes"), -}; -CTString astrComputerInvoke[] = { - RADIOTRANS( "Use"), - RADIOTRANS( "Double-click use"), -}; -CTString astrWeapon[] = { - RADIOTRANS( "Only if new"), - RADIOTRANS( "Never"), - RADIOTRANS( "Always"), - RADIOTRANS( "Only if stronger"), -}; -CTString astrCrosshair[] = { - "", - "Textures\\Interface\\Crosshairs\\Crosshair1.tex", - "Textures\\Interface\\Crosshairs\\Crosshair2.tex", - "Textures\\Interface\\Crosshairs\\Crosshair3.tex", - "Textures\\Interface\\Crosshairs\\Crosshair4.tex", - "Textures\\Interface\\Crosshairs\\Crosshair5.tex", - "Textures\\Interface\\Crosshairs\\Crosshair6.tex", - "Textures\\Interface\\Crosshairs\\Crosshair7.tex", -}; - -CTString astrMaxPlayersRadioTexts[] = { - RADIOTRANS( "2"), - RADIOTRANS( "3"), - RADIOTRANS( "4"), - RADIOTRANS( "5"), - RADIOTRANS( "6"), - RADIOTRANS( "7"), - RADIOTRANS( "8"), - RADIOTRANS( "9"), - RADIOTRANS( "10"), - RADIOTRANS( "11"), - RADIOTRANS( "12"), - RADIOTRANS( "13"), - RADIOTRANS( "14"), - RADIOTRANS( "15"), - RADIOTRANS( "16"), -}; -// here, we just reserve space for up to 16 different game types -// actual names are added later -extern CTString astrGameTypeRadioTexts[] = { - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", -}; - -extern INDEX ctGameTypeRadioTexts = 1; -extern CTString astrDifficultyRadioTexts[] = { - RADIOTRANS("Tourist"), - RADIOTRANS("Easy"), - RADIOTRANS("Normal"), - RADIOTRANS("Hard"), - RADIOTRANS("Serious"), - RADIOTRANS("Mental"), -}; - -CTString astrSplitScreenRadioTexts[] = { - RADIOTRANS( "1"), - RADIOTRANS( "2 - split screen"), - RADIOTRANS( "3 - split screen"), - RADIOTRANS( "4 - split screen"), -}; - // ptr to current menu CGameMenu *pgmCurrentMenu = NULL; @@ -368,11 +302,6 @@ CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; // -------- Choose servers menu CServersMenu gmServersMenu; -CMGTitle mgServersTitle; -CMGServerList mgServerList; -CMGButton mgServerColumn[7]; -CMGEdit mgServerFilter[7]; -CMGButton mgServerRefresh; // -------- Customize axis menu CCustomizeAxisMenu gmCustomizeAxisMenu; @@ -384,20 +313,11 @@ COptionsMenu gmOptionsMenu; CVideoOptionsMenu gmVideoOptionsMenu; CMGTitle mgVideoOptionsTitle; CMGTrigger mgDisplayAPITrigger; -CTString astrDisplayAPIRadioTexts[] = { - RADIOTRANS( "OpenGL"), - RADIOTRANS( "Direct3D"), -}; CMGTrigger mgDisplayAdaptersTrigger; CMGTrigger mgFullScreenTrigger; CMGTrigger mgResolutionsTrigger; CMGTrigger mgDisplayPrefsTrigger; -CTString astrDisplayPrefsRadioTexts[] = { - RADIOTRANS( "Speed"), - RADIOTRANS( "Normal"), - RADIOTRANS( "Quality"), - RADIOTRANS( "Custom"), -}; + INDEX _ctResolutions = 0; CTString * _astrResolutionTexts = NULL; CDisplayMode *_admResolutionModes = NULL; @@ -405,12 +325,6 @@ INDEX _ctAdapters = 0; CTString * _astrAdapterTexts = NULL; CMGButton mgVideoRendering; CMGTrigger mgBitsPerPixelTrigger; -CTString astrBitsPerPixelRadioTexts[] = { - RADIOTRANS( "Desktop"), - RADIOTRANS( "16 BPP"), - RADIOTRANS( "32 BPP"), -}; - CMGButton mgVideoOptionsApply; // -------- Audio options menu @@ -419,17 +333,6 @@ CMGTitle mgAudioOptionsTitle; CMGTrigger mgAudioAutoTrigger; CMGTrigger mgAudioAPITrigger; CMGTrigger mgFrequencyTrigger; -CTString astrFrequencyRadioTexts[] = { - RADIOTRANS( "No sound"), - RADIOTRANS( "11kHz"), - RADIOTRANS( "22kHz"), - RADIOTRANS( "44kHz"), -}; -CTString astrSoundAPIRadioTexts[] = { - RADIOTRANS( "WaveOut"), - RADIOTRANS( "DirectSound"), - RADIOTRANS( "EAX"), -}; CMGSlider mgWaveVolume; CMGSlider mgMPEGVolume; CMGButton mgAudioOptionsApply; @@ -442,16 +345,6 @@ CNetworkJoinMenu gmNetworkJoinMenu; // -------- Network start menu CNetworkStartMenu gmNetworkStartMenu; -CMGTitle mgNetworkStartTitle; -CMGEdit mgNetworkSessionName; -CMGTrigger mgNetworkGameType; -CMGTrigger mgNetworkDifficulty; -CMGButton mgNetworkLevel; -CMGTrigger mgNetworkMaxPlayers; -CMGTrigger mgNetworkWaitAllPlayers; -CMGTrigger mgNetworkVisible; -CMGButton mgNetworkGameOptions; -CMGButton mgNetworkStartStart; // -------- Network open menu CNetworkOpenMenu gmNetworkOpenMenu; @@ -464,20 +357,6 @@ CSplitStartMenu gmSplitStartMenu; // -------- Select players menu CSelectPlayersMenu gmSelectPlayersMenu; -CMGTitle mgSelectPlayerTitle; - -CMGTrigger mgDedicated; -CMGTrigger mgObserver; -CMGTrigger mgSplitScreenCfg; - -CMGChangePlayer mgPlayer0Change; -CMGChangePlayer mgPlayer1Change; -CMGChangePlayer mgPlayer2Change; -CMGChangePlayer mgPlayer3Change; - -CMGButton mgSelectPlayersNotes; - -CMGButton mgSelectPlayersStart; extern void PlayMenuSound(CSoundData *psd) { @@ -502,49 +381,6 @@ CModelObject *AddAttachment_t(CModelObject *pmoParent, INDEX iPosition, return &pamo->amo_moModelObject; } -void SetPlayerModel(CModelObject *pmoPlayer) -{ -/* try { - pmoPlayer->SetData_t( CTFILENAME( "Models\\Player\\SeriousSam\\Player.mdl")); - pmoPlayer->mo_toTexture.SetData_t( CTFILENAME( "Models\\Player\\SeriousSam\\Player.tex")); - pmoPlayer->PlayAnim(PLAYER_ANIM_WALK, AOF_LOOPING); - CModelObject *pmoBody = AddAttachment_t(pmoPlayer, PLAYER_ATTACHMENT_TORSO, - CTFILENAME("Models\\Player\\SeriousSam\\Body.mdl"), BODY_ANIM_MINIGUN_STAND, - CTFILENAME("Models\\Player\\SeriousSam\\Body.tex"), - CTFILENAME(""), - CTFILENAME("")); - CModelObject *pmoHead = AddAttachment_t(pmoBody, BODY_ATTACHMENT_HEAD, - CTFILENAME("Models\\Player\\SeriousSam\\Head.mdl"), 0, - CTFILENAME("Models\\Player\\SeriousSam\\Head.tex"), - CTFILENAME(""), - CTFILENAME("")); - CModelObject *pmoMiniGun = AddAttachment_t(pmoBody, BODY_ATTACHMENT_MINIGUN, - CTFILENAME("Models\\Weapons\\MiniGun\\MiniGunItem.mdl"), 0, - CTFILENAME("Models\\Weapons\\MiniGun\\MiniGun.tex"), - CTFILENAME(""), - CTFILENAME("")); - AddAttachment_t(pmoMiniGun, MINIGUNITEM_ATTACHMENT_BARRELS, - CTFILENAME("Models\\Weapons\\MiniGun\\Barrels.mdl"), 0, - CTFILENAME("Models\\Weapons\\MiniGun\\MiniGun.tex"), - CTFILENAME("Models\\ReflectionTextures\\LightBlueMetal01.tex"), - CTFILENAME("Models\\SpecularTextures\\Medium.tex")); - AddAttachment_t(pmoMiniGun, MINIGUNITEM_ATTACHMENT_BODY, - CTFILENAME("Models\\Weapons\\MiniGun\\Body.mdl"), 0, - CTFILENAME("Models\\Weapons\\MiniGun\\MiniGun.tex"), - CTFILENAME("Models\\ReflectionTextures\\LightBlueMetal01.tex"), - CTFILENAME("Models\\SpecularTextures\\Medium.tex")); - AddAttachment_t(pmoMiniGun, MINIGUNITEM_ATTACHMENT_ENGINE, - CTFILENAME("Models\\Weapons\\MiniGun\\Engine.mdl"), 0, - CTFILENAME("Models\\Weapons\\MiniGun\\MiniGun.tex"), - CTFILENAME("Models\\ReflectionTextures\\LightBlueMetal01.tex"), - CTFILENAME("Models\\SpecularTextures\\Medium.tex")); - - } catch( char *strError) { - FatalError( strError); - } - */ -} - // translate all texts in array for one radio button void TranslateRadioTexts(CTString astr[], INDEX ct) { @@ -1186,7 +1022,7 @@ void StartSelectPlayersMenuFromSplit(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - mgSelectPlayersStart.mg_pActivatedFunction = &StartSplitScreenGame; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitStartMenu; ChangeToMenu( &gmSelectPlayersMenu); } @@ -1195,7 +1031,7 @@ void StartSelectPlayersMenuFromNetwork(void) { gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - mgSelectPlayersStart.mg_pActivatedFunction = &StartNetworkGame; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkStartMenu; ChangeToMenu( &gmSelectPlayersMenu); } @@ -1204,7 +1040,7 @@ void StartSelectPlayersMenuFromOpen(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - mgSelectPlayersStart.mg_pActivatedFunction = &JoinNetworkGame; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; ChangeToMenu( &gmSelectPlayersMenu); @@ -1220,7 +1056,7 @@ void StartSelectPlayersMenuFromServers(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - mgSelectPlayersStart.mg_pActivatedFunction = &JoinNetworkGame; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmServersMenu; ChangeToMenu( &gmSelectPlayersMenu); @@ -1255,7 +1091,7 @@ void StartSelectLevelFromSplit(void) } void StartSelectLevelFromNetwork(void) { - FilterLevels(GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); void StartNetworkStartMenu(void); _pAfterLevelChosen = StartNetworkStartMenu; ChangeToMenu( &gmLevelsMenu); @@ -1266,7 +1102,7 @@ void StartSelectPlayersMenuFromSplitScreen(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = FALSE; -// mgSelectPlayersStart.mg_pActivatedFunction = &StartSplitScreenGame; +// gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitScreenMenu; ChangeToMenu( &gmSelectPlayersMenu); } @@ -1274,7 +1110,7 @@ void StartSelectPlayersMenuFromNetworkLoad(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - mgSelectPlayersStart.mg_pActivatedFunction = &StartNetworkLoadGame; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; ChangeToMenu( &gmSelectPlayersMenu); } @@ -1283,7 +1119,7 @@ void StartSelectPlayersMenuFromSplitScreenLoad(void) { gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - mgSelectPlayersStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; ChangeToMenu( &gmSelectPlayersMenu); } @@ -2226,8 +2062,9 @@ void InitializeMenus(void) gmServersMenu.Initialize_t(); gmServersMenu.gm_strName="Servers"; - gmServersMenu.gm_pmgSelectedByDefault = &mgServerList; + gmServersMenu.gm_pmgSelectedByDefault = &gmServersMenu.gm_mgList; gmServersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; + InitActionsForServersMenu(); gmNetworkMenu.Initialize_t(); gmNetworkMenu.gm_strName="Network"; @@ -2237,9 +2074,10 @@ void InitializeMenus(void) gmNetworkStartMenu.Initialize_t(); gmNetworkStartMenu.gm_strName="NetworkStart"; - gmNetworkStartMenu.gm_pmgSelectedByDefault = &mgNetworkStartStart; + gmNetworkStartMenu.gm_pmgSelectedByDefault = &gmNetworkStartMenu.gm_mgStart; gmNetworkStartMenu.gm_pgmParentMenu = &gmNetworkMenu; - + InitActionsForNetworkStartMenu(); + gmNetworkJoinMenu.Initialize_t(); gmNetworkJoinMenu.gm_strName="NetworkJoin"; gmNetworkJoinMenu.gm_pmgSelectedByDefault = &gmNetworkJoinMenu.gm_mgLAN; @@ -2250,7 +2088,8 @@ void InitializeMenus(void) gmSelectPlayersMenu.gm_bAllowObserving = FALSE; gmSelectPlayersMenu.Initialize_t(); gmSelectPlayersMenu.gm_strName="SelectPlayers"; - gmSelectPlayersMenu.gm_pmgSelectedByDefault = &mgSelectPlayersStart; + gmSelectPlayersMenu.gm_pmgSelectedByDefault = &gmSelectPlayersMenu.gm_mgStart; + InitActionsForSelectPlayersMenu(); gmNetworkOpenMenu.Initialize_t(); gmNetworkOpenMenu.gm_strName="NetworkOpen"; @@ -4325,7 +4164,7 @@ void InitActionsForVarMenu() { } // ------------------------ CServersMenu implementation -void RefreshServerList(void) +extern void RefreshServerList(void) { _pNetwork->EnumSessions(gmServersMenu.m_bInternet); } @@ -4335,24 +4174,14 @@ void RefreshServerListManually(void) ChangeToMenu(&gmServersMenu); // this refreshes the list and sets focuses } -void CServersMenu::Think(void) -{ - if (!_pNetwork->ga_bEnumerationChange) { - return; - } - _pNetwork->ga_bEnumerationChange = FALSE; -} - -CTString _strServerFilter[7]; - void SortByColumn(int i) { - if (mgServerList.mg_iSort==i) { - mgServerList.mg_bSortDown = !mgServerList.mg_bSortDown; + if (gmServersMenu.gm_mgList.mg_iSort==i) { + gmServersMenu.gm_mgList.mg_bSortDown = !gmServersMenu.gm_mgList.mg_bSortDown; } else { - mgServerList.mg_bSortDown = FALSE; + gmServersMenu.gm_mgList.mg_bSortDown = FALSE; } - mgServerList.mg_iSort=i; + gmServersMenu.gm_mgList.mg_iSort = i; } void SortByServer(void) { SortByColumn(0); } @@ -4363,95 +4192,21 @@ void SortByGame(void) { SortByColumn(4); } void SortByMod(void) { SortByColumn(5); } void SortByVer(void) { SortByColumn(6); } -void CServersMenu::Initialize_t(void) -{ - mgServersTitle.mg_boxOnScreen = BoxTitle(); - mgServersTitle.mg_strText = TRANS("CHOOSE SERVER"); - gm_lhGadgets.AddTail( mgServersTitle.mg_lnNode); +extern CMGButton mgServerColumn[7]; +extern CMGEdit mgServerFilter[7]; - mgServerList.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0,0), FLOAT2D(1,1)); - mgServerList.mg_pmgLeft = &mgServerList; // make sure it can get focus - mgServerList.mg_bEnabled = TRUE; - gm_lhGadgets.AddTail(mgServerList.mg_lnNode); +void InitActionsForServersMenu() { + gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; - ASSERT(ARRAYCOUNT(mgServerColumn)==ARRAYCOUNT(mgServerFilter)); - for (INDEX i=0; i=2)"); - mgServerFilter[4].mg_strTip = TRANS("filter by game (ie. coop)") ; - mgServerFilter[5].mg_strTip = TRANS("filter by mod") ; - mgServerFilter[6].mg_strTip = TRANS("filter by version"); + mgServerColumn[0].mg_pActivatedFunction = SortByServer; + mgServerColumn[1].mg_pActivatedFunction = SortByMap; + mgServerColumn[2].mg_pActivatedFunction = SortByPing; + mgServerColumn[3].mg_pActivatedFunction = SortByPlayers; + mgServerColumn[4].mg_pActivatedFunction = SortByGame; + mgServerColumn[5].mg_pActivatedFunction = SortByMod; + mgServerColumn[6].mg_pActivatedFunction = SortByVer; } -void CServersMenu::StartMenu(void) -{ - RefreshServerList(); - - CGameMenu::StartMenu(); -} - -// __Evolution -BOOL CServersMenu::OnKeyDown(int iVKey) -{ - if (iVKey == VK_F5) { - RefreshServerListManually(); - return TRUE; - } - return CGameMenu::OnKeyDown(iVKey); -} -// __Evolution - // ------------------------ CNetworkMenu implementation void InitActionsForNetworkMenu() { @@ -4470,136 +4225,21 @@ void InitActionsForNetworkJoinMenu() } // ------------------------ CNetworkStartMenu implementation -void UpdateNetworkLevel(INDEX iDummy) +extern void UpdateNetworkLevel(INDEX iDummy) { ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(mgNetworkGameType.mg_iSelected)); - mgNetworkLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } -void CNetworkStartMenu::Initialize_t(void) +void InitActionsForNetworkStartMenu() { - // title - mgNetworkStartTitle.mg_boxOnScreen = BoxTitle(); - mgNetworkStartTitle.mg_strText = TRANS("START SERVER"); - gm_lhGadgets.AddTail( mgNetworkStartTitle.mg_lnNode); - - // session name edit box - mgNetworkSessionName.mg_strText = _pGame->gam_strSessionName; - mgNetworkSessionName.mg_strLabel = TRANS("Session name:"); - mgNetworkSessionName.mg_ctMaxStringLen = 25; - mgNetworkSessionName.mg_pstrToChange = &_pGame->gam_strSessionName; - mgNetworkSessionName.mg_boxOnScreen = BoxMediumRow(1); - mgNetworkSessionName.mg_bfsFontSize = BFS_MEDIUM; - mgNetworkSessionName.mg_iCenterI = -1; - mgNetworkSessionName.mg_pmgUp = &mgNetworkStartStart; - mgNetworkSessionName.mg_pmgDown = &mgNetworkGameType; - mgNetworkSessionName.mg_strTip = TRANS("name the session to start"); - gm_lhGadgets.AddTail( mgNetworkSessionName.mg_lnNode); - - // game type trigger - TRIGGER_MG(mgNetworkGameType, 2, - mgNetworkSessionName, mgNetworkDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); - mgNetworkGameType.mg_ctTexts = ctGameTypeRadioTexts; - mgNetworkGameType.mg_strTip = TRANS("choose type of multiplayer game"); - mgNetworkGameType.mg_pOnTriggerChange = &UpdateNetworkLevel; - - // difficulty trigger - TRIGGER_MG(mgNetworkDifficulty, 3, - mgNetworkGameType, mgNetworkLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); - mgNetworkDifficulty.mg_strTip = TRANS("choose difficulty level"); - - // level name - mgNetworkLevel.mg_strText = ""; - mgNetworkLevel.mg_strLabel = TRANS("Level:"); - mgNetworkLevel.mg_boxOnScreen = BoxMediumRow(4); - mgNetworkLevel.mg_bfsFontSize = BFS_MEDIUM; - mgNetworkLevel.mg_iCenterI = -1; - mgNetworkLevel.mg_pmgUp = &mgNetworkDifficulty; - mgNetworkLevel.mg_pmgDown = &mgNetworkMaxPlayers; - mgNetworkLevel.mg_strTip = TRANS("choose the level to start"); - mgNetworkLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; - gm_lhGadgets.AddTail( mgNetworkLevel.mg_lnNode); - - // max players trigger - TRIGGER_MG(mgNetworkMaxPlayers, 5, - mgNetworkLevel, mgNetworkWaitAllPlayers, TRANS("Max players:"), astrMaxPlayersRadioTexts); - mgNetworkMaxPlayers.mg_strTip = TRANS("choose maximum allowed number of players"); - - // wait all players trigger - TRIGGER_MG(mgNetworkWaitAllPlayers, 6, - mgNetworkMaxPlayers, mgNetworkVisible, TRANS("Wait for all players:"), astrNoYes); - mgNetworkWaitAllPlayers.mg_strTip = TRANS("if on, game won't start until all players have joined"); - - // server visible trigger - TRIGGER_MG(mgNetworkVisible, 7, - mgNetworkMaxPlayers, mgNetworkGameOptions, TRANS("Server visible:"), astrNoYes); - mgNetworkVisible.mg_strTip = TRANS("invisible servers are not listed, cleints have to join manually"); - - // options button - mgNetworkGameOptions.mg_strText = TRANS("Game options"); - mgNetworkGameOptions.mg_boxOnScreen = BoxMediumRow(8); - mgNetworkGameOptions.mg_bfsFontSize = BFS_MEDIUM; - mgNetworkGameOptions.mg_iCenterI = 0; - mgNetworkGameOptions.mg_pmgUp = &mgNetworkVisible; - mgNetworkGameOptions.mg_pmgDown = &mgNetworkStartStart; - mgNetworkGameOptions.mg_strTip = TRANS("adjust game rules"); - mgNetworkGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; - gm_lhGadgets.AddTail( mgNetworkGameOptions.mg_lnNode); - - // start button - mgNetworkStartStart.mg_bfsFontSize = BFS_LARGE; - mgNetworkStartStart.mg_boxOnScreen = BoxBigRow(7); - mgNetworkStartStart.mg_pmgUp = &mgNetworkGameOptions; - mgNetworkStartStart.mg_pmgDown = &mgNetworkSessionName; - mgNetworkStartStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail( mgNetworkStartStart.mg_lnNode); - mgNetworkStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; -} - -void CNetworkStartMenu::StartMenu(void) -{ - extern INDEX sam_bMentalActivated; - mgNetworkDifficulty.mg_ctTexts = sam_bMentalActivated?6:5; - - mgNetworkGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts-1L); - mgNetworkGameType.ApplyCurrentSelection(); - mgNetworkDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty")+1; - mgNetworkDifficulty.ApplyCurrentSelection(); - - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - - INDEX ctMaxPlayers = _pShell->GetINDEX("gam_ctMaxPlayers"); - if (ctMaxPlayers<2 || ctMaxPlayers>16) { - ctMaxPlayers = 2; - _pShell->SetINDEX("gam_ctMaxPlayers", ctMaxPlayers); - } - - mgNetworkMaxPlayers.mg_iSelected = ctMaxPlayers-2; - mgNetworkMaxPlayers.ApplyCurrentSelection(); - - mgNetworkWaitAllPlayers.mg_iSelected = Clamp(_pShell->GetINDEX("gam_bWaitAllPlayers"), 0L, 1L); - mgNetworkWaitAllPlayers.ApplyCurrentSelection(); - - mgNetworkVisible.mg_iSelected = _pShell->GetINDEX("ser_bEnumeration"); - mgNetworkVisible.ApplyCurrentSelection(); - - UpdateNetworkLevel(0); - - CGameMenu::StartMenu(); -} - -void CNetworkStartMenu::EndMenu(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", mgNetworkDifficulty.mg_iSelected-1); - _pShell->SetINDEX("gam_iStartMode", mgNetworkGameType.mg_iSelected); - _pShell->SetINDEX("gam_bWaitAllPlayers", mgNetworkWaitAllPlayers.mg_iSelected); - _pShell->SetINDEX("gam_ctMaxPlayers", mgNetworkMaxPlayers.mg_iSelected+2); - _pShell->SetINDEX("ser_bEnumeration", mgNetworkVisible.mg_iSelected); - - CGameMenu::EndMenu(); + gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; + gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; + gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; } +// #define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ gd.mg_boxOnScreen = box;\ gd.mg_pmgUp = up;\ @@ -4636,44 +4276,44 @@ INDEX FindUnusedPlayer(void) return iPlayer; } -void SelectPlayersFillMenu(void) +extern void SelectPlayersFillMenu(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - mgPlayer0Change.mg_iLocalPlayer = 0; - mgPlayer1Change.mg_iLocalPlayer = 1; - mgPlayer2Change.mg_iLocalPlayer = 2; - mgPlayer3Change.mg_iLocalPlayer = 3; + gmSelectPlayersMenu.gm_mgPlayer0Change.mg_iLocalPlayer = 0; + gmSelectPlayersMenu.gm_mgPlayer1Change.mg_iLocalPlayer = 1; + gmSelectPlayersMenu.gm_mgPlayer2Change.mg_iLocalPlayer = 2; + gmSelectPlayersMenu.gm_mgPlayer3Change.mg_iLocalPlayer = 3; if (gmSelectPlayersMenu.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg==CGame::SSC_DEDICATED) { - mgDedicated.mg_iSelected = 1; + gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected = 1; } else { - mgDedicated.mg_iSelected = 0; + gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected = 0; } - mgDedicated.ApplyCurrentSelection(); + gmSelectPlayersMenu.gm_mgDedicated.ApplyCurrentSelection(); if (gmSelectPlayersMenu.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg==CGame::SSC_OBSERVER) { - mgObserver.mg_iSelected = 1; + gmSelectPlayersMenu.gm_mgObserver.mg_iSelected = 1; } else { - mgObserver.mg_iSelected = 0; + gmSelectPlayersMenu.gm_mgObserver.mg_iSelected = 0; } - mgObserver.ApplyCurrentSelection(); + gmSelectPlayersMenu.gm_mgObserver.ApplyCurrentSelection(); if (_pGame->gm_MenuSplitScreenCfg>=CGame::SSC_PLAY1) { - mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; - mgSplitScreenCfg.ApplyCurrentSelection(); + gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; + gmSelectPlayersMenu.gm_mgSplitScreenCfg.ApplyCurrentSelection(); } BOOL bHasDedicated = gmSelectPlayersMenu.gm_bAllowDedicated; BOOL bHasObserver = gmSelectPlayersMenu.gm_bAllowObserving; BOOL bHasPlayers = TRUE; - if (bHasDedicated && mgDedicated.mg_iSelected) { + if (bHasDedicated && gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected) { bHasObserver = FALSE; bHasPlayers = FALSE; } - if (bHasObserver && mgObserver.mg_iSelected) { + if (bHasObserver && gmSelectPlayersMenu.gm_mgObserver.mg_iSelected) { bHasPlayers = FALSE; } @@ -4682,16 +4322,16 @@ void SelectPlayersFillMenu(void) INDEX i=0; if (bHasDedicated) { - mgDedicated.Appear(); - apmg[i++] = &mgDedicated; + gmSelectPlayersMenu.gm_mgDedicated.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgDedicated; } else { - mgDedicated.Disappear(); + gmSelectPlayersMenu.gm_mgDedicated.Disappear(); } if (bHasObserver) { - mgObserver.Appear(); - apmg[i++] = &mgObserver; + gmSelectPlayersMenu.gm_mgObserver.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgObserver; } else { - mgObserver.Disappear(); + gmSelectPlayersMenu.gm_mgObserver.Disappear(); } for (INDEX iLocal=0; iLocal<4; iLocal++) { @@ -4705,32 +4345,32 @@ void SelectPlayersFillMenu(void) } } - mgPlayer0Change.Disappear(); - mgPlayer1Change.Disappear(); - mgPlayer2Change.Disappear(); - mgPlayer3Change.Disappear(); + gmSelectPlayersMenu.gm_mgPlayer0Change.Disappear(); + gmSelectPlayersMenu.gm_mgPlayer1Change.Disappear(); + gmSelectPlayersMenu.gm_mgPlayer2Change.Disappear(); + gmSelectPlayersMenu.gm_mgPlayer3Change.Disappear(); if (bHasPlayers) { - mgSplitScreenCfg.Appear(); - apmg[i++] = &mgSplitScreenCfg; - mgPlayer0Change.Appear(); - apmg[i++] = &mgPlayer0Change; - if (mgSplitScreenCfg.mg_iSelected>=1) { - mgPlayer1Change.Appear(); - apmg[i++] = &mgPlayer1Change; + gmSelectPlayersMenu.gm_mgSplitScreenCfg.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgSplitScreenCfg; + gmSelectPlayersMenu.gm_mgPlayer0Change.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer0Change; + if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + gmSelectPlayersMenu.gm_mgPlayer1Change.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer1Change; } - if (mgSplitScreenCfg.mg_iSelected>=2) { - mgPlayer2Change.Appear(); - apmg[i++] = &mgPlayer2Change; + if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 2) { + gmSelectPlayersMenu.gm_mgPlayer2Change.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer2Change; } - if (mgSplitScreenCfg.mg_iSelected>=3) { - mgPlayer3Change.Appear(); - apmg[i++] = &mgPlayer3Change; + if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 3) { + gmSelectPlayersMenu.gm_mgPlayer3Change.Appear(); + apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer3Change; } } else { - mgSplitScreenCfg.Disappear(); + gmSelectPlayersMenu.gm_mgSplitScreenCfg.Disappear(); } - apmg[i++] = &mgSelectPlayersStart; + apmg[i++] = &gmSelectPlayersMenu.gm_mgStart; // relink for (INDEX img=0; img<8; img++) { @@ -4753,31 +4393,31 @@ void SelectPlayersFillMenu(void) apmg[img]->mg_pmgDown = apmg[imgSucc]; } - mgPlayer0Change.SetPlayerText(); - mgPlayer1Change.SetPlayerText(); - mgPlayer2Change.SetPlayerText(); - mgPlayer3Change.SetPlayerText(); + gmSelectPlayersMenu.gm_mgPlayer0Change.SetPlayerText(); + gmSelectPlayersMenu.gm_mgPlayer1Change.SetPlayerText(); + gmSelectPlayersMenu.gm_mgPlayer2Change.SetPlayerText(); + gmSelectPlayersMenu.gm_mgPlayer3Change.SetPlayerText(); - if (bHasPlayers && mgSplitScreenCfg.mg_iSelected>=1) { - mgSelectPlayersNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); + if (bHasPlayers && gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected>=1) { + gmSelectPlayersMenu.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); } else { - mgSelectPlayersNotes.mg_strText = ""; + gmSelectPlayersMenu.gm_mgNotes.mg_strText = ""; } } -void SelectPlayersApplyMenu(void) +extern void SelectPlayersApplyMenu(void) { - if (gmSelectPlayersMenu.gm_bAllowDedicated && mgDedicated.mg_iSelected) { + if (gmSelectPlayersMenu.gm_bAllowDedicated && gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; return; } - if (gmSelectPlayersMenu.gm_bAllowObserving && mgObserver.mg_iSelected) { + if (gmSelectPlayersMenu.gm_bAllowObserving && gmSelectPlayersMenu.gm_mgObserver.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; return; } - _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected; } void UpdateSelectPlayers(INDEX i) @@ -4786,91 +4426,13 @@ void UpdateSelectPlayers(INDEX i) SelectPlayersFillMenu(); } -void CSelectPlayersMenu::Initialize_t(void) +void InitActionsForSelectPlayersMenu() { - // intialize split screen menu - mgSelectPlayerTitle.mg_boxOnScreen = BoxTitle(); - mgSelectPlayerTitle.mg_strText = TRANS("SELECT PLAYERS"); - gm_lhGadgets.AddTail( mgSelectPlayerTitle.mg_lnNode); - - TRIGGER_MG(mgDedicated, 0, mgSelectPlayersStart, mgObserver, TRANS("Dedicated:"), astrNoYes); - mgDedicated.mg_strTip = TRANS("select to start dedicated server"); - mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; - - TRIGGER_MG(mgObserver, 1, mgDedicated, mgSplitScreenCfg, TRANS("Observer:"), astrNoYes); - mgObserver.mg_strTip = TRANS("select to join in for observing, not for playing"); - mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; - - // split screen config trigger - TRIGGER_MG(mgSplitScreenCfg, 2, mgObserver, mgPlayer0Change, TRANS("Number of players:"), astrSplitScreenRadioTexts); - mgSplitScreenCfg.mg_strTip = TRANS("choose more than one player to play in split screen"); - mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; - - mgPlayer0Change.mg_iCenterI = -1; - mgPlayer1Change.mg_iCenterI = -1; - mgPlayer2Change.mg_iCenterI = -1; - mgPlayer3Change.mg_iCenterI = -1; - mgPlayer0Change.mg_boxOnScreen = BoxMediumMiddle(4); - mgPlayer1Change.mg_boxOnScreen = BoxMediumMiddle(5); - mgPlayer2Change.mg_boxOnScreen = BoxMediumMiddle(6); - mgPlayer3Change.mg_boxOnScreen = BoxMediumMiddle(7); - mgPlayer0Change.mg_strTip = - mgPlayer1Change.mg_strTip = - mgPlayer2Change.mg_strTip = - mgPlayer3Change.mg_strTip = TRANS("select profile for this player"); - gm_lhGadgets.AddTail( mgPlayer0Change.mg_lnNode); - gm_lhGadgets.AddTail( mgPlayer1Change.mg_lnNode); - gm_lhGadgets.AddTail( mgPlayer2Change.mg_lnNode); - gm_lhGadgets.AddTail( mgPlayer3Change.mg_lnNode); - - mgSelectPlayersNotes.mg_boxOnScreen = BoxMediumRow(9.0); - mgSelectPlayersNotes.mg_bfsFontSize = BFS_MEDIUM; - mgSelectPlayersNotes.mg_iCenterI = -1; - mgSelectPlayersNotes.mg_bEnabled = FALSE; - mgSelectPlayersNotes.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgSelectPlayersNotes.mg_lnNode); - mgSelectPlayersNotes.mg_strText = ""; - - /* // options button - mgSplitOptions.mg_strText = TRANS("Game options"); - mgSplitOptions.mg_boxOnScreen = BoxMediumRow(3); - mgSplitOptions.mg_bfsFontSize = BFS_MEDIUM; - mgSplitOptions.mg_iCenterI = 0; - mgSplitOptions.mg_pmgUp = &mgSplitLevel; - mgSplitOptions.mg_pmgDown = &mgSplitStartStart; - mgSplitOptions.mg_strTip = TRANS("adjust game rules"); - mgSplitOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - gm_lhGadgets.AddTail( mgSplitOptions.mg_lnNode);*/ - -/* // start button - mgSplitStartStart.mg_bfsFontSize = BFS_LARGE; - mgSplitStartStart.mg_boxOnScreen = BoxBigRow(4); - mgSplitStartStart.mg_pmgUp = &mgSplitOptions; - mgSplitStartStart.mg_pmgDown = &mgSplitGameType; - mgSplitStartStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail( mgSplitStartStart.mg_lnNode); - mgSplitStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; -*/ - - ADD_GADGET( mgSelectPlayersStart, BoxMediumRow(11), &mgSplitScreenCfg, &mgPlayer0Change, NULL, NULL, TRANS("START")); - mgSelectPlayersStart.mg_bfsFontSize = BFS_LARGE; - mgSelectPlayersStart.mg_iCenterI = 0; + gmSelectPlayersMenu.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; + gmSelectPlayersMenu.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; + gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; } -void CSelectPlayersMenu::StartMenu(void) -{ - CGameMenu::StartMenu(); - SelectPlayersFillMenu(); - SelectPlayersApplyMenu(); -} - -void CSelectPlayersMenu::EndMenu(void) -{ - SelectPlayersApplyMenu(); - CGameMenu::EndMenu(); -} - - // ------------------------ CNetworkOpenMenu implementation void InitActionsForNetworkOpenMenu() { diff --git a/Sources/SeriousSam/MenuStuff.cpp b/Sources/SeriousSam/MenuStuff.cpp index 735252b..8713855 100644 --- a/Sources/SeriousSam/MenuStuff.cpp +++ b/Sources/SeriousSam/MenuStuff.cpp @@ -5,6 +5,111 @@ #include "MenuStuff.h" +#define RADIOTRANS(str) ("ETRS" str) + +extern CTString astrNoYes[] = { + RADIOTRANS("No"), + RADIOTRANS("Yes"), +}; + +extern CTString astrComputerInvoke[] = { + RADIOTRANS("Use"), + RADIOTRANS("Double-click use"), +}; + +extern CTString astrWeapon[] = { + RADIOTRANS("Only if new"), + RADIOTRANS("Never"), + RADIOTRANS("Always"), + RADIOTRANS("Only if stronger"), +}; + +extern CTString astrCrosshair[] = { + "", + "Textures\\Interface\\Crosshairs\\Crosshair1.tex", + "Textures\\Interface\\Crosshairs\\Crosshair2.tex", + "Textures\\Interface\\Crosshairs\\Crosshair3.tex", + "Textures\\Interface\\Crosshairs\\Crosshair4.tex", + "Textures\\Interface\\Crosshairs\\Crosshair5.tex", + "Textures\\Interface\\Crosshairs\\Crosshair6.tex", + "Textures\\Interface\\Crosshairs\\Crosshair7.tex", +}; + +extern CTString astrMaxPlayersRadioTexts[] = { + RADIOTRANS("2"), + RADIOTRANS("3"), + RADIOTRANS("4"), + RADIOTRANS("5"), + RADIOTRANS("6"), + RADIOTRANS("7"), + RADIOTRANS("8"), + RADIOTRANS("9"), + RADIOTRANS("10"), + RADIOTRANS("11"), + RADIOTRANS("12"), + RADIOTRANS("13"), + RADIOTRANS("14"), + RADIOTRANS("15"), + RADIOTRANS("16"), +}; +// here, we just reserve space for up to 16 different game types +// actual names are added later +extern CTString astrGameTypeRadioTexts[] = { + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", +}; + +extern INDEX ctGameTypeRadioTexts = 1; + +extern CTString astrDifficultyRadioTexts[] = { + RADIOTRANS("Tourist"), + RADIOTRANS("Easy"), + RADIOTRANS("Normal"), + RADIOTRANS("Hard"), + RADIOTRANS("Serious"), + RADIOTRANS("Mental"), +}; + +extern CTString astrSplitScreenRadioTexts[] = { + RADIOTRANS("1"), + RADIOTRANS("2 - split screen"), + RADIOTRANS("3 - split screen"), + RADIOTRANS("4 - split screen"), +}; + +extern CTString astrDisplayPrefsRadioTexts[] = { + RADIOTRANS("Speed"), + RADIOTRANS("Normal"), + RADIOTRANS("Quality"), + RADIOTRANS("Custom"), +}; + +extern CTString astrDisplayAPIRadioTexts[] = { + RADIOTRANS("OpenGL"), + RADIOTRANS("Direct3D"), +}; + +extern CTString astrBitsPerPixelRadioTexts[] = { + RADIOTRANS("Desktop"), + RADIOTRANS("16 BPP"), + RADIOTRANS("32 BPP"), +}; + +extern CTString astrFrequencyRadioTexts[] = { + RADIOTRANS("No sound"), + RADIOTRANS("11kHz"), + RADIOTRANS("22kHz"), + RADIOTRANS("44kHz"), +}; + +extern CTString astrSoundAPIRadioTexts[] = { + RADIOTRANS("WaveOut"), + RADIOTRANS("DirectSound"), + RADIOTRANS("EAX"), +}; + ULONG GetSpawnFlagsForGameType(INDEX iGameType) { if (iGameType == -1) return SPF_SINGLEPLAYER; diff --git a/Sources/SeriousSam/MenuStuff.h b/Sources/SeriousSam/MenuStuff.h index afbdd4a..efc7a68 100644 --- a/Sources/SeriousSam/MenuStuff.h +++ b/Sources/SeriousSam/MenuStuff.h @@ -6,6 +6,22 @@ #pragma once #endif +extern INDEX ctGameTypeRadioTexts; + +extern CTString astrNoYes[2]; +extern CTString astrWeapon[4]; +extern CTString astrComputerInvoke[2]; +extern CTString astrCrosshair[8]; +extern CTString astrMaxPlayersRadioTexts[15]; +extern CTString astrGameTypeRadioTexts[20]; +extern CTString astrDifficultyRadioTexts[6]; +extern CTString astrSplitScreenRadioTexts[4]; +extern CTString astrDisplayPrefsRadioTexts[4]; +extern CTString astrDisplayAPIRadioTexts[2]; +extern CTString astrBitsPerPixelRadioTexts[3]; +extern CTString astrFrequencyRadioTexts[4]; +extern CTString astrSoundAPIRadioTexts[3]; + ULONG GetSpawnFlagsForGameType(INDEX iGameType); BOOL IsMenuEnabled(const CTString &strMenuName); diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 39a8681..813b63d 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -219,7 +219,10 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 28357aa..132d40c 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -111,9 +111,6 @@ Source Files\Gadgets - - Header Files - Source Files @@ -171,6 +168,15 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + @@ -350,6 +356,9 @@ Header Files\Menus headers + + Header Files + From 7745f8ced1cf8be77c4c5b3328ebe7d75288c277 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 16 Mar 2016 00:24:35 +0300 Subject: [PATCH 33/62] GameExecutable: Move some stuff from Menu.cpp into files PART VI 4183 lines... Continue working... --- Sources/SeriousSam/MAudioOptions.cpp | 65 +++ Sources/SeriousSam/MAudioOptions.h | 12 + Sources/SeriousSam/MControls.cpp | 148 +++++ Sources/SeriousSam/MControls.h | 16 +- Sources/SeriousSam/MCustomizeAxis.cpp | 13 +- Sources/SeriousSam/MCustomizeKeyboard.cpp | 6 +- Sources/SeriousSam/MNetworkStart.cpp | 14 - Sources/SeriousSam/MSelectPlayers.cpp | 12 +- Sources/SeriousSam/MSplitStart.cpp | 12 - Sources/SeriousSam/MVideoOptions.cpp | 73 +++ Sources/SeriousSam/MVideoOptions.h | 10 + Sources/SeriousSam/Menu.cpp | 508 ++++-------------- Sources/SeriousSam/MenuStuff.cpp | 25 + Sources/SeriousSam/MenuStuff.h | 19 + Sources/SeriousSam/SeriousSam.vcxproj | 3 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 9 + 16 files changed, 498 insertions(+), 447 deletions(-) create mode 100644 Sources/SeriousSam/MAudioOptions.cpp create mode 100644 Sources/SeriousSam/MControls.cpp create mode 100644 Sources/SeriousSam/MVideoOptions.cpp diff --git a/Sources/SeriousSam/MAudioOptions.cpp b/Sources/SeriousSam/MAudioOptions.cpp new file mode 100644 index 0000000..74f768d --- /dev/null +++ b/Sources/SeriousSam/MAudioOptions.cpp @@ -0,0 +1,65 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MAudioOptions.h" + +extern void RefreshSoundFormat(void); + + +void CAudioOptionsMenu::Initialize_t(void) +{ + // intialize Audio options menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("AUDIO"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + TRIGGER_MG(gm_mgAudioAutoTrigger, 0, + gm_mgApply, gm_mgFrequencyTrigger, TRANS("AUTO-ADJUST"), astrNoYes); + gm_mgAudioAutoTrigger.mg_strTip = TRANS("adjust quality to fit your system"); + + TRIGGER_MG(gm_mgFrequencyTrigger, 1, + gm_mgAudioAutoTrigger, gm_mgAudioAPITrigger, TRANS("FREQUENCY"), astrFrequencyRadioTexts); + gm_mgFrequencyTrigger.mg_strTip = TRANS("select sound quality or turn sound off"); + gm_mgFrequencyTrigger.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgAudioAPITrigger, 2, + gm_mgFrequencyTrigger, gm_mgWaveVolume, TRANS("SOUND SYSTEM"), astrSoundAPIRadioTexts); + gm_mgAudioAPITrigger.mg_strTip = TRANS("choose sound system (API) to use"); + gm_mgAudioAPITrigger.mg_pOnTriggerChange = NULL; + + gm_mgWaveVolume.mg_boxOnScreen = BoxMediumRow(3); + gm_mgWaveVolume.mg_strText = TRANS("SOUND EFFECTS VOLUME"); + gm_mgWaveVolume.mg_strTip = TRANS("adjust volume of in-game sound effects"); + gm_mgWaveVolume.mg_pmgUp = &gm_mgAudioAPITrigger; + gm_mgWaveVolume.mg_pmgDown = &gm_mgMPEGVolume; + gm_mgWaveVolume.mg_pOnSliderChange = NULL; + gm_mgWaveVolume.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgWaveVolume.mg_lnNode); + + gm_mgMPEGVolume.mg_boxOnScreen = BoxMediumRow(4); + gm_mgMPEGVolume.mg_strText = TRANS("MUSIC VOLUME"); + gm_mgMPEGVolume.mg_strTip = TRANS("adjust volume of in-game music"); + gm_mgMPEGVolume.mg_pmgUp = &gm_mgWaveVolume; + gm_mgMPEGVolume.mg_pmgDown = &gm_mgApply; + gm_mgMPEGVolume.mg_pOnSliderChange = NULL; + gm_mgMPEGVolume.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgMPEGVolume.mg_lnNode); + + gm_mgApply.mg_bfsFontSize = BFS_LARGE; + gm_mgApply.mg_boxOnScreen = BoxBigRow(4); + gm_mgApply.mg_strText = TRANS("APPLY"); + gm_mgApply.mg_strTip = TRANS("activate selected options"); + gm_lhGadgets.AddTail(gm_mgApply.mg_lnNode); + gm_mgApply.mg_pmgUp = &gm_mgMPEGVolume; + gm_mgApply.mg_pmgDown = &gm_mgAudioAutoTrigger; + gm_mgApply.mg_pActivatedFunction = NULL; +} + +void CAudioOptionsMenu::StartMenu(void) +{ + RefreshSoundFormat(); + CGameMenu::StartMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MAudioOptions.h b/Sources/SeriousSam/MAudioOptions.h index cf4a94b..8b76fa2 100644 --- a/Sources/SeriousSam/MAudioOptions.h +++ b/Sources/SeriousSam/MAudioOptions.h @@ -7,10 +7,22 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGSlider.h" +#include "MGTrigger.h" +#include "MGTitle.h" class CAudioOptionsMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGTrigger gm_mgAudioAutoTrigger; + CMGTrigger gm_mgAudioAPITrigger; + CMGTrigger gm_mgFrequencyTrigger; + CMGSlider gm_mgWaveVolume; + CMGSlider gm_mgMPEGVolume; + CMGButton gm_mgApply; + void StartMenu(void); void Initialize_t(void); }; diff --git a/Sources/SeriousSam/MControls.cpp b/Sources/SeriousSam/MControls.cpp new file mode 100644 index 0000000..971c309 --- /dev/null +++ b/Sources/SeriousSam/MControls.cpp @@ -0,0 +1,148 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MControls.h" + +extern void ControlsMenuOn(); +extern void ControlsMenuOff(); +extern CTFileName _fnmControlsToCustomize; + + +void CControlsMenu::Initialize_t(void) +{ + // intialize player and controls menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CONTROLS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgNameLabel.mg_strText = ""; + gm_mgNameLabel.mg_boxOnScreen = BoxMediumRow(0.0); + gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameLabel.mg_iCenterI = -1; + gm_mgNameLabel.mg_bEnabled = FALSE; + gm_mgNameLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); + + gm_mgButtons.mg_strText = TRANS("CUSTOMIZE BUTTONS"); + gm_mgButtons.mg_boxOnScreen = BoxMediumRow(2.0); + gm_mgButtons.mg_bfsFontSize = BFS_MEDIUM; + gm_mgButtons.mg_iCenterI = 0; + gm_lhGadgets.AddTail(gm_mgButtons.mg_lnNode); + gm_mgButtons.mg_pmgUp = &gm_mgPredefined; + gm_mgButtons.mg_pmgDown = &gm_mgAdvanced; + gm_mgButtons.mg_pActivatedFunction = NULL; + gm_mgButtons.mg_strTip = TRANS("customize buttons in current controls"); + + gm_mgAdvanced.mg_strText = TRANS("ADVANCED JOYSTICK SETUP"); + gm_mgAdvanced.mg_iCenterI = 0; + gm_mgAdvanced.mg_boxOnScreen = BoxMediumRow(3); + gm_mgAdvanced.mg_bfsFontSize = BFS_MEDIUM; + gm_lhGadgets.AddTail(gm_mgAdvanced.mg_lnNode); + gm_mgAdvanced.mg_pmgUp = &gm_mgButtons; + gm_mgAdvanced.mg_pmgDown = &gm_mgSensitivity; + gm_mgAdvanced.mg_pActivatedFunction = NULL; + gm_mgAdvanced.mg_strTip = TRANS("adjust advanced settings for joystick axis"); + + gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(4.5); + gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); + gm_mgSensitivity.mg_pmgUp = &gm_mgAdvanced; + gm_mgSensitivity.mg_pmgDown = &gm_mgInvertTrigger; + gm_mgSensitivity.mg_strTip = TRANS("sensitivity for all axis in this control set"); + gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); + + TRIGGER_MG(gm_mgInvertTrigger, 5.5, gm_mgSensitivity, gm_mgSmoothTrigger, + TRANS("INVERT LOOK"), astrNoYes); + gm_mgInvertTrigger.mg_strTip = TRANS("invert up/down looking"); + TRIGGER_MG(gm_mgSmoothTrigger, 6.5, gm_mgInvertTrigger, gm_mgAccelTrigger, + TRANS("SMOOTH AXIS"), astrNoYes); + gm_mgSmoothTrigger.mg_strTip = TRANS("smooth mouse/joystick movements"); + TRIGGER_MG(gm_mgAccelTrigger, 7.5, gm_mgSmoothTrigger, gm_mgIFeelTrigger, + TRANS("MOUSE ACCELERATION"), astrNoYes); + gm_mgAccelTrigger.mg_strTip = TRANS("allow mouse acceleration"); + TRIGGER_MG(gm_mgIFeelTrigger, 8.5, gm_mgAccelTrigger, gm_mgPredefined, + TRANS("ENABLE IFEEL"), astrNoYes); + gm_mgIFeelTrigger.mg_strTip = TRANS("enable support for iFeel tactile feedback mouse"); + + gm_mgPredefined.mg_strText = TRANS("LOAD PREDEFINED SETTINGS"); + gm_mgPredefined.mg_iCenterI = 0; + gm_mgPredefined.mg_boxOnScreen = BoxMediumRow(10); + gm_mgPredefined.mg_bfsFontSize = BFS_MEDIUM; + gm_lhGadgets.AddTail(gm_mgPredefined.mg_lnNode); + gm_mgPredefined.mg_pmgUp = &gm_mgIFeelTrigger; + gm_mgPredefined.mg_pmgDown = &gm_mgButtons; + gm_mgPredefined.mg_pActivatedFunction = NULL; + gm_mgPredefined.mg_strTip = TRANS("load one of several predefined control settings"); +} + +void CControlsMenu::StartMenu(void) +{ + gm_pmgSelectedByDefault = &gm_mgButtons; + INDEX iPlayer = _pGame->gm_iSinglePlayer; + if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { + iPlayer = _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer]; + } + _fnmControlsToCustomize.PrintF("Controls\\Controls%d.ctl", iPlayer); + + ControlsMenuOn(); + + gm_mgNameLabel.mg_strText.PrintF(TRANS("CONTROLS FOR: %s"), _pGame->gm_apcPlayers[iPlayer].GetNameForPrinting()); + + ObtainActionSettings(); + CGameMenu::StartMenu(); +} + +void CControlsMenu::EndMenu(void) +{ + ApplyActionSettings(); + + ControlsMenuOff(); + + CGameMenu::EndMenu(); +} + +void CControlsMenu::ObtainActionSettings(void) +{ + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + + gm_mgSensitivity.mg_iMinPos = 0; + gm_mgSensitivity.mg_iMaxPos = 50; + gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_fSensitivity / 2; + gm_mgSensitivity.ApplyCurrentPosition(); + + gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_bInvertLook ? 1 : 0; + gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_bSmoothAxes ? 1 : 0; + gm_mgAccelTrigger.mg_iSelected = _pShell->GetINDEX("inp_bAllowMouseAcceleration") ? 1 : 0; + gm_mgIFeelTrigger.mg_bEnabled = _pShell->GetINDEX("sys_bIFeelEnabled") ? 1 : 0; + gm_mgIFeelTrigger.mg_iSelected = _pShell->GetFLOAT("inp_fIFeelGain")>0 ? 1 : 0; + + gm_mgInvertTrigger.ApplyCurrentSelection(); + gm_mgSmoothTrigger.ApplyCurrentSelection(); + gm_mgAccelTrigger.ApplyCurrentSelection(); + gm_mgIFeelTrigger.ApplyCurrentSelection(); +} + +void CControlsMenu::ApplyActionSettings(void) +{ + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + + FLOAT fSensitivity = + FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / + FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; + + BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; + BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; + BOOL bAccel = gm_mgAccelTrigger.mg_iSelected != 0; + BOOL bIFeel = gm_mgIFeelTrigger.mg_iSelected != 0; + + if (INDEX(ctrls.ctrl_fSensitivity) != INDEX(fSensitivity)) { + ctrls.ctrl_fSensitivity = fSensitivity; + } + ctrls.ctrl_bInvertLook = bInvert; + ctrls.ctrl_bSmoothAxes = bSmooth; + _pShell->SetINDEX("inp_bAllowMouseAcceleration", bAccel); + _pShell->SetFLOAT("inp_fIFeelGain", bIFeel ? 1.0f : 0.0f); + ctrls.CalculateInfluencesForAllAxis(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MControls.h b/Sources/SeriousSam/MControls.h index 949e17e..dafbc7c 100644 --- a/Sources/SeriousSam/MControls.h +++ b/Sources/SeriousSam/MControls.h @@ -7,10 +7,24 @@ #endif #include "GameMenu.h" - +#include "MGButton.h" +#include "MGSlider.h" +#include "MGTitle.h" +#include "MGTrigger.h" class CControlsMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGButton gm_mgNameLabel; + CMGButton gm_mgButtons; + CMGSlider gm_mgSensitivity; + CMGTrigger gm_mgInvertTrigger; + CMGTrigger gm_mgSmoothTrigger; + CMGTrigger gm_mgAccelTrigger; + CMGTrigger gm_mgIFeelTrigger; + CMGButton gm_mgPredefined; + CMGButton gm_mgAdvanced; + void Initialize_t(void); void StartMenu(void); void EndMenu(void); diff --git a/Sources/SeriousSam/MCustomizeAxis.cpp b/Sources/SeriousSam/MCustomizeAxis.cpp index ef1b020..a819fb3 100644 --- a/Sources/SeriousSam/MCustomizeAxis.cpp +++ b/Sources/SeriousSam/MCustomizeAxis.cpp @@ -3,20 +3,9 @@ #include "StdH.h" #include #include "MenuPrinting.h" +#include "MenuStuff.h" #include "MCustomizeAxis.h" -#define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up; \ - mg.mg_pmgDown = &down; \ - mg.mg_boxOnScreen = BoxMediumRow(y); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); \ - mg.mg_astrTexts = astr; \ - mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ - mg.mg_iSelected = 0; \ - mg.mg_strLabel = text; \ - mg.mg_strValue = astr[0]; - -extern CTString astrNoYes[2]; extern void ControlsMenuOn(); extern void ControlsMenuOff(); diff --git a/Sources/SeriousSam/MCustomizeKeyboard.cpp b/Sources/SeriousSam/MCustomizeKeyboard.cpp index 7fdc950..589ba3d 100644 --- a/Sources/SeriousSam/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/MCustomizeKeyboard.cpp @@ -5,6 +5,9 @@ #include "MenuPrinting.h" #include "MCustomizeKeyboard.h" +extern void ControlsMenuOn(); +extern void ControlsMenuOff(); + void CCustomizeKeyboardMenu::FillListItems(void) { @@ -82,9 +85,6 @@ void CCustomizeKeyboardMenu::Initialize_t(void) gm_pmgListBottom = &gm_mgKey[KEYS_ON_SCREEN - 1]; } -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); - void CCustomizeKeyboardMenu::StartMenu(void) { ControlsMenuOn(); diff --git a/Sources/SeriousSam/MNetworkStart.cpp b/Sources/SeriousSam/MNetworkStart.cpp index 414db34..3602efb 100644 --- a/Sources/SeriousSam/MNetworkStart.cpp +++ b/Sources/SeriousSam/MNetworkStart.cpp @@ -7,21 +7,7 @@ #include "MenuStuff.h" #include "MNetworkStart.h" -#define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up; \ - mg.mg_pmgDown = &down; \ - mg.mg_boxOnScreen = BoxMediumRow(y); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); \ - mg.mg_astrTexts = astr; \ - mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ - mg.mg_iSelected = 0; \ - mg.mg_strLabel = text; \ - mg.mg_strValue = astr[0]; - -extern INDEX ctGameTypeRadioTexts; extern void UpdateNetworkLevel(INDEX iDummy); -extern CTString astrGameTypeRadioTexts[20]; -extern CTString astrDifficultyRadioTexts[6]; void CNetworkStartMenu::Initialize_t(void) diff --git a/Sources/SeriousSam/MSelectPlayers.cpp b/Sources/SeriousSam/MSelectPlayers.cpp index f16fe4f..1c90f16 100644 --- a/Sources/SeriousSam/MSelectPlayers.cpp +++ b/Sources/SeriousSam/MSelectPlayers.cpp @@ -3,6 +3,7 @@ #include "StdH.h" #include #include "MenuPrinting.h" +#include "MenuStuff.h" #include "MSelectPlayers.h" #define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ @@ -14,17 +15,6 @@ gd.mg_strText = txt; \ gm_lhGadgets.AddTail(gd.mg_lnNode); -#define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up; \ - mg.mg_pmgDown = &down; \ - mg.mg_boxOnScreen = BoxMediumRow(y); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); \ - mg.mg_astrTexts = astr; \ - mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ - mg.mg_iSelected = 0; \ - mg.mg_strLabel = text; \ - mg.mg_strValue = astr[0]; - extern CTString astrNoYes[2]; extern CTString astrSplitScreenRadioTexts[4]; extern void SelectPlayersFillMenu(void); diff --git a/Sources/SeriousSam/MSplitStart.cpp b/Sources/SeriousSam/MSplitStart.cpp index 6df0b44..fafaccf 100644 --- a/Sources/SeriousSam/MSplitStart.cpp +++ b/Sources/SeriousSam/MSplitStart.cpp @@ -7,18 +7,6 @@ #include "MenuStuff.h" #include "MSplitStart.h" -#define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up; \ - mg.mg_pmgDown = &down; \ - mg.mg_boxOnScreen = BoxMediumRow(y); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); \ - mg.mg_astrTexts = astr; \ - mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ - mg.mg_iSelected = 0; \ - mg.mg_strLabel = text; \ - mg.mg_strValue = astr[0]; - -extern INDEX ctGameTypeRadioTexts; extern void UpdateSplitLevel(INDEX iDummy); diff --git a/Sources/SeriousSam/MVideoOptions.cpp b/Sources/SeriousSam/MVideoOptions.cpp new file mode 100644 index 0000000..b83a6bd --- /dev/null +++ b/Sources/SeriousSam/MVideoOptions.cpp @@ -0,0 +1,73 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MVideoOptions.h" + +extern void InitVideoOptionsButtons(); +extern void UpdateVideoOptionsButtons(INDEX iSelected); + + +void CVideoOptionsMenu::Initialize_t(void) +{ + // intialize video options menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("VIDEO"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + TRIGGER_MG(gm_mgDisplayAPITrigger, 0, + gm_mgApply, gm_mgDisplayAdaptersTrigger, TRANS("GRAPHICS API"), astrDisplayAPIRadioTexts); + gm_mgDisplayAPITrigger.mg_strTip = TRANS("choose graphics API to be used"); + TRIGGER_MG(gm_mgDisplayAdaptersTrigger, 1, + gm_mgDisplayAPITrigger, gm_mgDisplayPrefsTrigger, TRANS("DISPLAY ADAPTER"), astrNoYes); + gm_mgDisplayAdaptersTrigger.mg_strTip = TRANS("choose display adapter to be used"); + TRIGGER_MG(gm_mgDisplayPrefsTrigger, 2, + gm_mgDisplayAdaptersTrigger, gm_mgResolutionsTrigger, TRANS("PREFERENCES"), astrDisplayPrefsRadioTexts); + gm_mgDisplayPrefsTrigger.mg_strTip = TRANS("balance between speed and rendering quality, depending on your system"); + TRIGGER_MG(gm_mgResolutionsTrigger, 3, + gm_mgDisplayPrefsTrigger, gm_mgFullScreenTrigger, TRANS("RESOLUTION"), astrNoYes); + gm_mgResolutionsTrigger.mg_strTip = TRANS("select video mode resolution"); + TRIGGER_MG(gm_mgFullScreenTrigger, 4, + gm_mgResolutionsTrigger, gm_mgBitsPerPixelTrigger, TRANS("FULL SCREEN"), astrNoYes); + gm_mgFullScreenTrigger.mg_strTip = TRANS("make game run in a window or in full screen"); + TRIGGER_MG(gm_mgBitsPerPixelTrigger, 5, + gm_mgFullScreenTrigger, gm_mgVideoRendering, TRANS("BITS PER PIXEL"), astrBitsPerPixelRadioTexts); + gm_mgBitsPerPixelTrigger.mg_strTip = TRANS("select number of colors used for display"); + + gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = NULL; + gm_mgDisplayAPITrigger.mg_pOnTriggerChange = NULL; + gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = NULL; + gm_mgFullScreenTrigger.mg_pOnTriggerChange = NULL; + gm_mgResolutionsTrigger.mg_pOnTriggerChange = NULL; + gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = NULL; + + gm_mgVideoRendering.mg_bfsFontSize = BFS_MEDIUM; + gm_mgVideoRendering.mg_boxOnScreen = BoxMediumRow(7.0f); + gm_mgVideoRendering.mg_pmgUp = &gm_mgBitsPerPixelTrigger; + gm_mgVideoRendering.mg_pmgDown = &gm_mgApply; + gm_mgVideoRendering.mg_strText = TRANS("RENDERING OPTIONS"); + gm_mgVideoRendering.mg_strTip = TRANS("manually adjust rendering settings"); + gm_lhGadgets.AddTail(gm_mgVideoRendering.mg_lnNode); + gm_mgVideoRendering.mg_pActivatedFunction = NULL; + + gm_mgApply.mg_bfsFontSize = BFS_LARGE; + gm_mgApply.mg_boxOnScreen = BoxBigRow(5.5f); + gm_mgApply.mg_pmgUp = &gm_mgVideoRendering; + gm_mgApply.mg_pmgDown = &gm_mgDisplayAPITrigger; + gm_mgApply.mg_strText = TRANS("APPLY"); + gm_mgApply.mg_strTip = TRANS("apply selected options"); + gm_lhGadgets.AddTail(gm_mgApply.mg_lnNode); + gm_mgApply.mg_pActivatedFunction = NULL; +} + + +void CVideoOptionsMenu::StartMenu(void) +{ + InitVideoOptionsButtons(); + + CGameMenu::StartMenu(); + + UpdateVideoOptionsButtons(-1); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MVideoOptions.h b/Sources/SeriousSam/MVideoOptions.h index 14572d3..9904f48 100644 --- a/Sources/SeriousSam/MVideoOptions.h +++ b/Sources/SeriousSam/MVideoOptions.h @@ -11,6 +11,16 @@ class CVideoOptionsMenu : public CGameMenu { public: + CMGTitle gm_mgTitle; + CMGTrigger gm_mgDisplayAPITrigger; + CMGTrigger gm_mgDisplayAdaptersTrigger; + CMGTrigger gm_mgFullScreenTrigger; + CMGTrigger gm_mgResolutionsTrigger; + CMGTrigger gm_mgDisplayPrefsTrigger; + CMGButton gm_mgVideoRendering; + CMGTrigger gm_mgBitsPerPixelTrigger; + CMGButton gm_mgApply; + void StartMenu(void); void Initialize_t(void); }; diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index be8214d..faf5c82 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -102,7 +102,9 @@ extern CTString sam_strNetworkSettings; void (*_pAfterLevelChosen)(void); // functions for init actions +void InitActionsForAudioOptionsMenu(); void InitActionsForConfirmMenu(); +void InitActionsForControlsMenu(); void InitActionsForCustomizeAxisMenu(); void InitActionsForMainMenu(); void InitActionsForInGameMenu(); @@ -117,6 +119,7 @@ void InitActionsForSinglePlayerMenu(); void InitActionsForSinglePlayerNewMenu(); void InitActionsForSplitScreenMenu(); void InitActionsForSplitStartMenu(); +void InitActionsForVideoOptionsMenu(); void InitActionsForVarMenu(); // functions to activate when user chose 'yes/no' on confirmation @@ -201,17 +204,6 @@ static CTextureObject _toLogoMenuB; #define BIG_BUTTONS_CT 6 #define SAVELOAD_BUTTONS_CT 14 -#define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up;\ - mg.mg_pmgDown = &down;\ - mg.mg_boxOnScreen = BoxMediumRow(y);\ - gm_lhGadgets.AddTail( mg.mg_lnNode);\ - mg.mg_astrTexts = astr;\ - mg.mg_ctTexts = sizeof( astr)/sizeof( astr[0]);\ - mg.mg_iSelected = 0;\ - mg.mg_strLabel = text;\ - mg.mg_strValue = astr[0]; - #define CHANGETRIGGERARRAY(ltbmg, astr) \ ltbmg.mg_astrTexts = astr;\ ltbmg.mg_ctTexts = sizeof( astr)/sizeof( astr[0]);\ @@ -275,16 +267,6 @@ CMGModel mgPlayerModel; // -------- Controls menu CControlsMenu gmControls; -CMGTitle mgControlsTitle; -CMGButton mgControlsNameLabel; -CMGButton mgControlsButtons; -CMGSlider mgControlsSensitivity; -CMGTrigger mgControlsInvertTrigger; -CMGTrigger mgControlsSmoothTrigger; -CMGTrigger mgControlsAccelTrigger; -CMGTrigger mgControlsIFeelTrigger; -CMGButton mgControlsPredefined; -CMGButton mgControlsAdvanced; // -------- Load/Save menu CLoadSaveMenu gmLoadSaveMenu; @@ -311,31 +293,16 @@ COptionsMenu gmOptionsMenu; // -------- Video options menu CVideoOptionsMenu gmVideoOptionsMenu; -CMGTitle mgVideoOptionsTitle; -CMGTrigger mgDisplayAPITrigger; -CMGTrigger mgDisplayAdaptersTrigger; -CMGTrigger mgFullScreenTrigger; -CMGTrigger mgResolutionsTrigger; -CMGTrigger mgDisplayPrefsTrigger; INDEX _ctResolutions = 0; CTString * _astrResolutionTexts = NULL; CDisplayMode *_admResolutionModes = NULL; INDEX _ctAdapters = 0; CTString * _astrAdapterTexts = NULL; -CMGButton mgVideoRendering; -CMGTrigger mgBitsPerPixelTrigger; -CMGButton mgVideoOptionsApply; + // -------- Audio options menu CAudioOptionsMenu gmAudioOptionsMenu; -CMGTitle mgAudioOptionsTitle; -CMGTrigger mgAudioAutoTrigger; -CMGTrigger mgAudioAPITrigger; -CMGTrigger mgFrequencyTrigger; -CMGSlider mgWaveVolume; -CMGSlider mgMPEGVolume; -CMGButton mgAudioOptionsApply; // -------- Network menu CNetworkMenu gmNetworkMenu; @@ -1724,8 +1691,8 @@ static enum DisplayDepth SwitchToDepth(INDEX i) } } -static void InitVideoOptionsButtons(void); -static void UpdateVideoOptionsButtons(INDEX i); +extern void InitVideoOptionsButtons(void); +extern void UpdateVideoOptionsButtons(INDEX i); void RevertVideoSettings(void) { @@ -1757,17 +1724,17 @@ void ApplyVideoOptions(void) sam_old_iGfxAPI = sam_iGfxAPI; sam_old_iVideoSetup = sam_iVideoSetup; - BOOL bFullScreenMode = mgFullScreenTrigger.mg_iSelected == 1; + BOOL bFullScreenMode = gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 1; PIX pixWindowSizeI, pixWindowSizeJ; - ResolutionToSize(mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); - enum GfxAPIType gat = SwitchToAPI(mgDisplayAPITrigger.mg_iSelected); - enum DisplayDepth dd = SwitchToDepth(mgBitsPerPixelTrigger.mg_iSelected); - const INDEX iAdapter = mgDisplayAdaptersTrigger.mg_iSelected; + ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); + enum GfxAPIType gat = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); + enum DisplayDepth dd = SwitchToDepth(gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected); + const INDEX iAdapter = gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected; // setup preferences extern INDEX _iLastPreferences; if( sam_iVideoSetup==3) _iLastPreferences = 3; - sam_iVideoSetup = mgDisplayPrefsTrigger.mg_iSelected; + sam_iVideoSetup = gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected; // force fullscreen mode if needed CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; @@ -1789,44 +1756,44 @@ void ApplyVideoOptions(void) #define VOLUME_STEPS 50 -void RefreshSoundFormat( void) +extern void RefreshSoundFormat( void) { switch( _pSound->GetFormat()) { - case CSoundLibrary::SF_NONE: {mgFrequencyTrigger.mg_iSelected = 0;break;} - case CSoundLibrary::SF_11025_16: {mgFrequencyTrigger.mg_iSelected = 1;break;} - case CSoundLibrary::SF_22050_16: {mgFrequencyTrigger.mg_iSelected = 2;break;} - case CSoundLibrary::SF_44100_16: {mgFrequencyTrigger.mg_iSelected = 3;break;} - default: mgFrequencyTrigger.mg_iSelected = 0; + case CSoundLibrary::SF_NONE: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } + case CSoundLibrary::SF_11025_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } + case CSoundLibrary::SF_22050_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } + case CSoundLibrary::SF_44100_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } + default: gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; } - mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); - mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); + gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); - mgWaveVolume.mg_iMinPos = 0; - mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; - mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS +0.5f); - mgWaveVolume.ApplyCurrentPosition(); + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMinPos = 0; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); + gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); - mgMPEGVolume.mg_iMinPos = 0; - mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; - mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS +0.5f); - mgMPEGVolume.ApplyCurrentPosition(); + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMinPos = 0; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); + gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); - mgAudioAutoTrigger.ApplyCurrentSelection(); - mgAudioAPITrigger.ApplyCurrentSelection(); - mgFrequencyTrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgAudioAPITrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgFrequencyTrigger.ApplyCurrentSelection(); } void ApplyAudioOptions(void) { - sam_bAutoAdjustAudio = mgAudioAutoTrigger.mg_iSelected; + sam_bAutoAdjustAudio = gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected; if (sam_bAutoAdjustAudio) { _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); } else { - _pShell->SetINDEX("snd_iInterface", mgAudioAPITrigger.mg_iSelected); + _pShell->SetINDEX("snd_iInterface", gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected); - switch( mgFrequencyTrigger.mg_iSelected) + switch (gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected) { case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE) ;break;} case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16);break;} @@ -2010,7 +1977,8 @@ void InitializeMenus(void) gmControls.Initialize_t(); gmControls.gm_strName="Controls"; - gmControls.gm_pmgSelectedByDefault = &mgControlsButtons; + gmControls.gm_pmgSelectedByDefault = &gmControls.gm_mgButtons; + InitActionsForControlsMenu(); // warning! parent menu has to be set inside button activate function from where // Load/Save menu is called @@ -2041,13 +2009,15 @@ void InitializeMenus(void) gmVideoOptionsMenu.Initialize_t(); gmVideoOptionsMenu.gm_strName="VideoOptions"; - gmVideoOptionsMenu.gm_pmgSelectedByDefault = &mgDisplayAPITrigger; + gmVideoOptionsMenu.gm_pmgSelectedByDefault = &gmVideoOptionsMenu.gm_mgDisplayAPITrigger; gmVideoOptionsMenu.gm_pgmParentMenu = &gmOptionsMenu; + InitActionsForVideoOptionsMenu(); gmAudioOptionsMenu.Initialize_t(); gmAudioOptionsMenu.gm_strName="AudioOptions"; - gmAudioOptionsMenu.gm_pmgSelectedByDefault = &mgFrequencyTrigger; + gmAudioOptionsMenu.gm_pmgSelectedByDefault = &gmAudioOptionsMenu.gm_mgFrequencyTrigger; gmAudioOptionsMenu.gm_pgmParentMenu = &gmOptionsMenu; + InitActionsForAudioOptionsMenu(); gmLevelsMenu.Initialize_t(); gmLevelsMenu.gm_strName="Levels"; @@ -3426,141 +3396,13 @@ void CPlayerProfileMenu::EndMenu(void) } // ------------------------ CControlsMenu implementation -void CControlsMenu::Initialize_t(void) +void InitActionsForControlsMenu() { - // intialize player and controls menu - mgControlsTitle.mg_boxOnScreen = BoxTitle(); - mgControlsTitle.mg_strText = TRANS("CONTROLS"); - gm_lhGadgets.AddTail( mgControlsTitle.mg_lnNode); - - mgControlsNameLabel.mg_strText = ""; - mgControlsNameLabel.mg_boxOnScreen = BoxMediumRow(0.0); - mgControlsNameLabel.mg_bfsFontSize = BFS_MEDIUM; - mgControlsNameLabel.mg_iCenterI = -1; - mgControlsNameLabel.mg_bEnabled = FALSE; - mgControlsNameLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgControlsNameLabel.mg_lnNode); - - mgControlsButtons.mg_strText = TRANS("CUSTOMIZE BUTTONS"); - mgControlsButtons.mg_boxOnScreen = BoxMediumRow(2.0); - mgControlsButtons.mg_bfsFontSize = BFS_MEDIUM; - mgControlsButtons.mg_iCenterI = 0; - gm_lhGadgets.AddTail( mgControlsButtons.mg_lnNode); - mgControlsButtons.mg_pmgUp = &mgControlsPredefined; - mgControlsButtons.mg_pmgDown = &mgControlsAdvanced; - mgControlsButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; - mgControlsButtons.mg_strTip = TRANS("customize buttons in current controls"); - - mgControlsAdvanced.mg_strText = TRANS("ADVANCED JOYSTICK SETUP"); - mgControlsAdvanced.mg_iCenterI = 0; - mgControlsAdvanced.mg_boxOnScreen = BoxMediumRow(3); - mgControlsAdvanced.mg_bfsFontSize = BFS_MEDIUM; - gm_lhGadgets.AddTail( mgControlsAdvanced.mg_lnNode); - mgControlsAdvanced.mg_pmgUp = &mgControlsButtons; - mgControlsAdvanced.mg_pmgDown = &mgControlsSensitivity; - mgControlsAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; - mgControlsAdvanced.mg_strTip = TRANS("adjust advanced settings for joystick axis"); - - mgControlsSensitivity.mg_boxOnScreen = BoxMediumRow(4.5); - mgControlsSensitivity.mg_strText = TRANS("SENSITIVITY"); - mgControlsSensitivity.mg_pmgUp = &mgControlsAdvanced; - mgControlsSensitivity.mg_pmgDown = &mgControlsInvertTrigger; - mgControlsSensitivity.mg_strTip = TRANS("sensitivity for all axis in this control set"); - gm_lhGadgets.AddTail( mgControlsSensitivity.mg_lnNode); - - TRIGGER_MG( mgControlsInvertTrigger, 5.5, mgControlsSensitivity, mgControlsSmoothTrigger, - TRANS("INVERT LOOK"), astrNoYes); - mgControlsInvertTrigger.mg_strTip = TRANS("invert up/down looking"); - TRIGGER_MG( mgControlsSmoothTrigger, 6.5, mgControlsInvertTrigger, mgControlsAccelTrigger, - TRANS("SMOOTH AXIS"), astrNoYes); - mgControlsSmoothTrigger.mg_strTip = TRANS("smooth mouse/joystick movements"); - TRIGGER_MG( mgControlsAccelTrigger, 7.5, mgControlsSmoothTrigger, mgControlsIFeelTrigger, - TRANS("MOUSE ACCELERATION"), astrNoYes); - mgControlsAccelTrigger.mg_strTip = TRANS("allow mouse acceleration"); - TRIGGER_MG( mgControlsIFeelTrigger, 8.5, mgControlsAccelTrigger, mgControlsPredefined, - TRANS("ENABLE IFEEL"), astrNoYes); - mgControlsIFeelTrigger.mg_strTip = TRANS("enable support for iFeel tactile feedback mouse"); - - mgControlsPredefined.mg_strText = TRANS("LOAD PREDEFINED SETTINGS"); - mgControlsPredefined.mg_iCenterI = 0; - mgControlsPredefined.mg_boxOnScreen = BoxMediumRow(10); - mgControlsPredefined.mg_bfsFontSize = BFS_MEDIUM; - gm_lhGadgets.AddTail( mgControlsPredefined.mg_lnNode); - mgControlsPredefined.mg_pmgUp = &mgControlsIFeelTrigger; - mgControlsPredefined.mg_pmgDown = &mgControlsButtons; - mgControlsPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; - mgControlsPredefined.mg_strTip = TRANS("load one of several predefined control settings"); + gmControls.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; + gmControls.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; + gmControls.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; } -void CControlsMenu::StartMenu(void) -{ - gm_pmgSelectedByDefault = &mgControlsButtons; - INDEX iPlayer = _pGame->gm_iSinglePlayer; - if (_iLocalPlayer>=0 && _iLocalPlayer<4) { - iPlayer = _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer]; - } - _fnmControlsToCustomize.PrintF("Controls\\Controls%d.ctl", iPlayer); - - ControlsMenuOn(); - - mgControlsNameLabel.mg_strText.PrintF(TRANS("CONTROLS FOR: %s"), _pGame->gm_apcPlayers[iPlayer].GetNameForPrinting()); - - ObtainActionSettings(); - CGameMenu::StartMenu(); -} - -void CControlsMenu::EndMenu(void) -{ - ApplyActionSettings(); - - ControlsMenuOff(); - - CGameMenu::EndMenu(); -} - -void CControlsMenu::ObtainActionSettings(void) -{ - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - - mgControlsSensitivity.mg_iMinPos = 0; - mgControlsSensitivity.mg_iMaxPos = 50; - mgControlsSensitivity.mg_iCurPos = ctrls.ctrl_fSensitivity/2; - mgControlsSensitivity.ApplyCurrentPosition(); - - mgControlsInvertTrigger.mg_iSelected = ctrls.ctrl_bInvertLook ? 1 : 0; - mgControlsSmoothTrigger.mg_iSelected = ctrls.ctrl_bSmoothAxes ? 1 : 0; - mgControlsAccelTrigger .mg_iSelected = _pShell->GetINDEX("inp_bAllowMouseAcceleration") ? 1 : 0; - mgControlsIFeelTrigger .mg_bEnabled = _pShell->GetINDEX("sys_bIFeelEnabled") ? 1 : 0; - mgControlsIFeelTrigger .mg_iSelected = _pShell->GetFLOAT("inp_fIFeelGain")>0 ? 1 : 0; - - mgControlsInvertTrigger.ApplyCurrentSelection(); - mgControlsSmoothTrigger.ApplyCurrentSelection(); - mgControlsAccelTrigger .ApplyCurrentSelection(); - mgControlsIFeelTrigger .ApplyCurrentSelection(); -} - -void CControlsMenu::ApplyActionSettings(void) -{ - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - - FLOAT fSensitivity = - FLOAT(mgControlsSensitivity.mg_iCurPos-mgControlsSensitivity.mg_iMinPos) / - FLOAT(mgControlsSensitivity.mg_iMaxPos-mgControlsSensitivity.mg_iMinPos)*100.0f; - - BOOL bInvert = mgControlsInvertTrigger.mg_iSelected != 0; - BOOL bSmooth = mgControlsSmoothTrigger.mg_iSelected != 0; - BOOL bAccel = mgControlsAccelTrigger .mg_iSelected != 0; - BOOL bIFeel = mgControlsIFeelTrigger .mg_iSelected != 0; - - if (INDEX(ctrls.ctrl_fSensitivity)!=INDEX(fSensitivity)) { - ctrls.ctrl_fSensitivity = fSensitivity; - } - ctrls.ctrl_bInvertLook = bInvert; - ctrls.ctrl_bSmoothAxes = bSmooth; - _pShell->SetINDEX("inp_bAllowMouseAcceleration", bAccel); - _pShell->SetFLOAT("inp_fIFeelGain", bIFeel ? 1.0f : 0.0f); - ctrls.CalculateInfluencesForAllAxis(); -} // ------------------------ CLoadSaveMenu implementation void CLoadSaveMenu::Initialize_t(void) @@ -3606,31 +3448,6 @@ void CLoadSaveMenu::Initialize_t(void) gm_pmgListBottom = &amgLSButton[SAVELOAD_BUTTONS_CT-1]; } -int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2 ) -{ - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return strcmp(fi1.fi_strName, fi2.fi_strName); -} -int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2 ) -{ - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return -strcmp(fi1.fi_strName, fi2.fi_strName); -} -int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2 ) -{ - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return strcmp(fi1.fi_fnFile, fi2.fi_fnFile); -} -int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2 ) -{ - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return -strcmp(fi1.fi_fnFile, fi2.fi_fnFile); -} - void CLoadSaveMenu::StartMenu(void) { gm_bNoEscape = FALSE; @@ -3837,7 +3654,7 @@ static void FillResolutionsList(void) _ctResolutions = 0; // if window - if( mgFullScreenTrigger.mg_iSelected==0) { + if (gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 0) { // always has fixed resolutions, but not greater than desktop static PIX apixWidths[][2] = { 320, 240, @@ -3876,7 +3693,7 @@ static void FillResolutionsList(void) } else { // get resolutions list from engine CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, - SwitchToAPI(mgDisplayAPITrigger.mg_iSelected), mgDisplayAdaptersTrigger.mg_iSelected); + SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected), gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected); // allocate that much _astrResolutionTexts = new CTString [_ctResolutions]; _admResolutionModes = new CDisplayMode[_ctResolutions]; @@ -3886,8 +3703,8 @@ static void FillResolutionsList(void) SetResolutionInList( iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); } } - mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; - mgResolutionsTrigger.mg_ctTexts = _ctResolutions; + gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; + gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; } @@ -3898,18 +3715,18 @@ static void FillAdaptersList(void) } _ctAdapters = 0; - INDEX iApi = SwitchToAPI(mgDisplayAPITrigger.mg_iSelected); + INDEX iApi = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; _astrAdapterTexts = new CTString[_ctAdapters]; for(INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; } - mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; - mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; } -static void UpdateVideoOptionsButtons(INDEX iSelected) +extern void UpdateVideoOptionsButtons(INDEX iSelected) { const BOOL _bVideoOptionsChanged = (iSelected != -1); @@ -3920,142 +3737,90 @@ static void UpdateVideoOptionsButtons(INDEX iSelected) #else // ASSERT( bOGLEnabled ); #endif // SE1_D3D - CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(mgDisplayAPITrigger.mg_iSelected)] - .ga_adaAdapter[mgDisplayAdaptersTrigger.mg_iSelected]; + CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected)] + .ga_adaAdapter[gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected]; // number of available preferences is higher if video setup is custom - mgDisplayPrefsTrigger.mg_ctTexts = 3; - if( sam_iVideoSetup==3) mgDisplayPrefsTrigger.mg_ctTexts++; + gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; + if (sam_iVideoSetup == 3) gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_ctTexts++; // enumerate adapters FillAdaptersList(); // show or hide buttons - mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled + gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled #ifdef SE1_D3D && bD3DEnabled #endif // SE1_D3D ; - mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; - mgVideoOptionsApply.mg_bEnabled = _bVideoOptionsChanged; + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; + gmVideoOptionsMenu.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; // determine which should be visible - mgFullScreenTrigger.mg_bEnabled = TRUE; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; if( da.da_ulFlags&DAF_FULLSCREENONLY) { - mgFullScreenTrigger.mg_bEnabled = FALSE; - mgFullScreenTrigger.mg_iSelected = 1; - mgFullScreenTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 1; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.ApplyCurrentSelection(); } - mgBitsPerPixelTrigger.mg_bEnabled = TRUE; - if( mgFullScreenTrigger.mg_iSelected==0) { - mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); - mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; + if (gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 0) { + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } else if( da.da_ulFlags&DAF_16BITONLY) { - mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); - mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } // remember current selected resolution PIX pixSizeI, pixSizeJ; - ResolutionToSize(mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); + ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); // select same resolution again if possible FillResolutionsList(); - SizeToResolution(pixSizeI, pixSizeJ, mgResolutionsTrigger.mg_iSelected); + SizeToResolution(pixSizeI, pixSizeJ, gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected); // apply adapter and resolutions - mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - mgResolutionsTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgResolutionsTrigger.ApplyCurrentSelection(); } -static void InitVideoOptionsButtons(void) +extern void InitVideoOptionsButtons(void) { if( sam_bFullScreenActive) { - mgFullScreenTrigger.mg_iSelected = 1; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 1; } else { - mgFullScreenTrigger.mg_iSelected = 0; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 0; } - mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); - mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; - mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); + gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); FillResolutionsList(); - SizeToResolution( sam_iScreenSizeI, sam_iScreenSizeJ, mgResolutionsTrigger.mg_iSelected); - mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0,3); + SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected); + gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); - mgFullScreenTrigger.ApplyCurrentSelection(); - mgDisplayPrefsTrigger.ApplyCurrentSelection(); - mgDisplayAPITrigger.ApplyCurrentSelection(); - mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - mgResolutionsTrigger.ApplyCurrentSelection(); - mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } - -void CVideoOptionsMenu::Initialize_t(void) +void InitActionsForVideoOptionsMenu() { - // intialize video options menu - mgVideoOptionsTitle.mg_boxOnScreen = BoxTitle(); - mgVideoOptionsTitle.mg_strText = TRANS("VIDEO"); - gm_lhGadgets.AddTail( mgVideoOptionsTitle.mg_lnNode); - - TRIGGER_MG(mgDisplayAPITrigger, 0, - mgVideoOptionsApply, mgDisplayAdaptersTrigger, TRANS("GRAPHICS API"), astrDisplayAPIRadioTexts); - mgDisplayAPITrigger.mg_strTip = TRANS("choose graphics API to be used"); - TRIGGER_MG(mgDisplayAdaptersTrigger, 1, - mgDisplayAPITrigger, mgDisplayPrefsTrigger, TRANS("DISPLAY ADAPTER"), astrNoYes); - mgDisplayAdaptersTrigger.mg_strTip = TRANS("choose display adapter to be used"); - TRIGGER_MG(mgDisplayPrefsTrigger, 2, - mgDisplayAdaptersTrigger, mgResolutionsTrigger, TRANS("PREFERENCES"), astrDisplayPrefsRadioTexts); - mgDisplayPrefsTrigger.mg_strTip = TRANS("balance between speed and rendering quality, depending on your system"); - TRIGGER_MG(mgResolutionsTrigger, 3, - mgDisplayPrefsTrigger, mgFullScreenTrigger, TRANS("RESOLUTION"), astrNoYes); - mgResolutionsTrigger.mg_strTip = TRANS("select video mode resolution"); - TRIGGER_MG(mgFullScreenTrigger, 4, - mgResolutionsTrigger, mgBitsPerPixelTrigger, TRANS("FULL SCREEN"), astrNoYes); - mgFullScreenTrigger.mg_strTip = TRANS("make game run in a window or in full screen"); - TRIGGER_MG(mgBitsPerPixelTrigger, 5, - mgFullScreenTrigger, mgVideoRendering, TRANS("BITS PER PIXEL"), astrBitsPerPixelRadioTexts); - mgBitsPerPixelTrigger.mg_strTip = TRANS("select number of colors used for display"); - - mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - - - mgVideoRendering.mg_bfsFontSize = BFS_MEDIUM; - mgVideoRendering.mg_boxOnScreen = BoxMediumRow(7.0f); - mgVideoRendering.mg_pmgUp = &mgBitsPerPixelTrigger; - mgVideoRendering.mg_pmgDown = &mgVideoOptionsApply; - mgVideoRendering.mg_strText = TRANS("RENDERING OPTIONS"); - mgVideoRendering.mg_strTip = TRANS("manually adjust rendering settings"); - gm_lhGadgets.AddTail( mgVideoRendering.mg_lnNode); - mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; - - mgVideoOptionsApply.mg_bfsFontSize = BFS_LARGE; - mgVideoOptionsApply.mg_boxOnScreen = BoxBigRow(5.5f); - mgVideoOptionsApply.mg_pmgUp = &mgVideoRendering; - mgVideoOptionsApply.mg_pmgDown = &mgDisplayAPITrigger; - mgVideoOptionsApply.mg_strText = TRANS("APPLY"); - mgVideoOptionsApply.mg_strTip = TRANS("apply selected options"); - gm_lhGadgets.AddTail( mgVideoOptionsApply.mg_lnNode); - mgVideoOptionsApply.mg_pActivatedFunction = &ApplyVideoOptions; -} - - -void CVideoOptionsMenu::StartMenu(void) -{ - InitVideoOptionsButtons(); - - CGameMenu::StartMenu(); - - UpdateVideoOptionsButtons(-1); + gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmVideoOptionsMenu.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; + gmVideoOptionsMenu.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; } // ------------------------ CAudioOptionsMenu implementation @@ -4067,88 +3832,43 @@ static void OnWaveVolumeChange(INDEX iCurPos) void WaveSliderChange(void) { if (_bMouseRight) { - mgWaveVolume.mg_iCurPos+=5; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos += 5; } else { - mgWaveVolume.mg_iCurPos-=5; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos -= 5; } - mgWaveVolume.ApplyCurrentPosition(); + gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); } void FrequencyTriggerChange(INDEX iDummy) { sam_bAutoAdjustAudio = 0; - mgAudioAutoTrigger.mg_iSelected = 0; - mgAudioAutoTrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = 0; + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); } void MPEGSliderChange(void) { if (_bMouseRight) { - mgMPEGVolume.mg_iCurPos+=5; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos += 5; } else { - mgMPEGVolume.mg_iCurPos-=5; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos -= 5; } - mgMPEGVolume.ApplyCurrentPosition(); + gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); } static void OnMPEGVolumeChange(INDEX iCurPos) { - _pShell->SetFLOAT("snd_fMusicVolume", iCurPos/FLOAT(VOLUME_STEPS)); + _pShell->SetFLOAT("snd_fMusicVolume", iCurPos / FLOAT(VOLUME_STEPS)); } -void CAudioOptionsMenu::Initialize_t(void) +void InitActionsForAudioOptionsMenu() { - // intialize Audio options menu - mgAudioOptionsTitle.mg_boxOnScreen = BoxTitle(); - mgAudioOptionsTitle.mg_strText = TRANS("AUDIO"); - gm_lhGadgets.AddTail( mgAudioOptionsTitle.mg_lnNode); - - TRIGGER_MG(mgAudioAutoTrigger, 0, - mgAudioOptionsApply, mgFrequencyTrigger, TRANS("AUTO-ADJUST"), astrNoYes); - mgAudioAutoTrigger.mg_strTip = TRANS("adjust quality to fit your system"); - - TRIGGER_MG(mgFrequencyTrigger, 1, - mgAudioAutoTrigger, mgAudioAPITrigger, TRANS("FREQUENCY"), astrFrequencyRadioTexts); - mgFrequencyTrigger.mg_strTip = TRANS("select sound quality or turn sound off"); - mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - - TRIGGER_MG(mgAudioAPITrigger, 2, - mgFrequencyTrigger, mgWaveVolume, TRANS("SOUND SYSTEM"), astrSoundAPIRadioTexts); - mgAudioAPITrigger.mg_strTip = TRANS("choose sound system (API) to use"); - mgAudioAPITrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - - mgWaveVolume.mg_boxOnScreen = BoxMediumRow(3); - mgWaveVolume.mg_strText = TRANS("SOUND EFFECTS VOLUME"); - mgWaveVolume.mg_strTip = TRANS("adjust volume of in-game sound effects"); - mgWaveVolume.mg_pmgUp = &mgAudioAPITrigger; - mgWaveVolume.mg_pmgDown = &mgMPEGVolume; - mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; - mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; - gm_lhGadgets.AddTail( mgWaveVolume.mg_lnNode); - - mgMPEGVolume.mg_boxOnScreen = BoxMediumRow(4); - mgMPEGVolume.mg_strText = TRANS("MUSIC VOLUME"); - mgMPEGVolume.mg_strTip = TRANS("adjust volume of in-game music"); - mgMPEGVolume.mg_pmgUp = &mgWaveVolume; - mgMPEGVolume.mg_pmgDown = &mgAudioOptionsApply; - mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; - mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; - gm_lhGadgets.AddTail( mgMPEGVolume.mg_lnNode); - - mgAudioOptionsApply.mg_bfsFontSize = BFS_LARGE; - mgAudioOptionsApply.mg_boxOnScreen = BoxBigRow(4); - mgAudioOptionsApply.mg_strText = TRANS("APPLY"); - mgAudioOptionsApply.mg_strTip = TRANS("activate selected options"); - gm_lhGadgets.AddTail( mgAudioOptionsApply.mg_lnNode); - mgAudioOptionsApply.mg_pmgUp = &mgMPEGVolume; - mgAudioOptionsApply.mg_pmgDown = &mgAudioAutoTrigger; - mgAudioOptionsApply.mg_pActivatedFunction = &ApplyAudioOptions; -} - -void CAudioOptionsMenu::StartMenu(void) -{ - RefreshSoundFormat(); - CGameMenu::StartMenu(); + gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; + gmAudioOptionsMenu.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; } // ------------------------ CVarMenu implementation diff --git a/Sources/SeriousSam/MenuStuff.cpp b/Sources/SeriousSam/MenuStuff.cpp index 8713855..b73949b 100644 --- a/Sources/SeriousSam/MenuStuff.cpp +++ b/Sources/SeriousSam/MenuStuff.cpp @@ -140,4 +140,29 @@ BOOL IsMenuEnabled(const CTString &strMenuName) BOOL(*pFunc)(const CTString &) = (BOOL(*)(const CTString &))pss->ss_pvValue; return pFunc(strMenuName); +} + +int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2) +{ + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return strcmp(fi1.fi_strName, fi2.fi_strName); +} +int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2) +{ + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return -strcmp(fi1.fi_strName, fi2.fi_strName); +} +int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2) +{ + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return strcmp(fi1.fi_fnFile, fi2.fi_fnFile); +} +int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2) +{ + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return -strcmp(fi1.fi_fnFile, fi2.fi_fnFile); } \ No newline at end of file diff --git a/Sources/SeriousSam/MenuStuff.h b/Sources/SeriousSam/MenuStuff.h index efc7a68..859a261 100644 --- a/Sources/SeriousSam/MenuStuff.h +++ b/Sources/SeriousSam/MenuStuff.h @@ -6,6 +6,20 @@ #pragma once #endif +#include "FileInfo.h" + +#define TRIGGER_MG(mg, y, up, down, text, astr) \ + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; + + extern INDEX ctGameTypeRadioTexts; extern CTString astrNoYes[2]; @@ -25,4 +39,9 @@ extern CTString astrSoundAPIRadioTexts[3]; ULONG GetSpawnFlagsForGameType(INDEX iGameType); BOOL IsMenuEnabled(const CTString &strMenuName); +int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2); +int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2); +int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2); +int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2); + #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 813b63d..f8c2896 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -182,7 +182,9 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + @@ -228,6 +230,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + Use StdH.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 132d40c..81c2e84 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -177,6 +177,15 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + + + Source Files\Menus + From d9cd480103ca3ee6e1488d7f44f93bc68adc9723 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 16 Mar 2016 01:21:35 +0300 Subject: [PATCH 34/62] GameExecutable: Move some stuff from Menu.cpp into files PART VII 3700 lines! Yay! --- Sources/SeriousSam/MConfirm.cpp | 12 +- Sources/SeriousSam/MLoadSave.cpp | 222 +++++++ Sources/SeriousSam/MLoadSave.h | 12 + Sources/SeriousSam/MPlayerProfile.cpp | 289 +++++++++ Sources/SeriousSam/MPlayerProfile.h | 25 + Sources/SeriousSam/Menu.cpp | 597 ++---------------- Sources/SeriousSam/SeriousSam.vcxproj | 2 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 6 + 8 files changed, 620 insertions(+), 545 deletions(-) create mode 100644 Sources/SeriousSam/MLoadSave.cpp create mode 100644 Sources/SeriousSam/MPlayerProfile.cpp diff --git a/Sources/SeriousSam/MConfirm.cpp b/Sources/SeriousSam/MConfirm.cpp index 4673c1f..ebae619 100644 --- a/Sources/SeriousSam/MConfirm.cpp +++ b/Sources/SeriousSam/MConfirm.cpp @@ -15,11 +15,11 @@ void CConfirmMenu::Initialize_t(void) gm_mgConfirmLabel.mg_iCenterI = 0; gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmLabel.mg_strText = TRANS("YES"); - gm_lhGadgets.AddTail(gm_mgConfirmLabel.mg_lnNode); - gm_mgConfirmLabel.mg_boxOnScreen = BoxPopupYesLarge(); - gm_mgConfirmLabel.mg_pActivatedFunction = NULL; - gm_mgConfirmLabel.mg_pmgLeft = + gm_mgConfirmYes.mg_strText = TRANS("YES"); + gm_lhGadgets.AddTail(gm_mgConfirmYes.mg_lnNode); + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); + gm_mgConfirmYes.mg_pActivatedFunction = NULL; + gm_mgConfirmYes.mg_pmgLeft = gm_mgConfirmYes.mg_pmgRight = &gm_mgConfirmNo; gm_mgConfirmYes.mg_iCenterI = 1; gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; @@ -39,6 +39,7 @@ void CConfirmMenu::BeLarge(void) gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmLabel.mg_iCenterI = 0; gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); @@ -49,6 +50,7 @@ void CConfirmMenu::BeSmall(void) gm_mgConfirmLabel.mg_bfsFontSize = BFS_MEDIUM; gm_mgConfirmYes.mg_bfsFontSize = BFS_MEDIUM; gm_mgConfirmNo.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmLabel.mg_iCenterI = -1; gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); diff --git a/Sources/SeriousSam/MLoadSave.cpp b/Sources/SeriousSam/MLoadSave.cpp new file mode 100644 index 0000000..ccf834e --- /dev/null +++ b/Sources/SeriousSam/MLoadSave.cpp @@ -0,0 +1,222 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MLoadSave.h" + + +void CLoadSaveMenu::Initialize_t(void) +{ + gm_pgmNextMenu = NULL; + + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + + gm_mgNotes.mg_boxOnScreen = BoxMediumRow(10.0); + gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNotes.mg_iCenterI = -1; + gm_mgNotes.mg_bEnabled = FALSE; + gm_mgNotes.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); + + for (INDEX iLabel = 0; iLabel afnmDir; + MakeDirList(afnmDir, gm_fnmDirectory, "", 0); + gm_iLastFile = -1; + + // for each file in the directory + for (INDEX i = 0; ifi_fnFile = fnm; + pfi->fi_strName = strName; + // add it to list + gm_lhFileInfos.AddTail(pfi->fi_lnNode); + } + } + + // sort if needed + switch (gm_iSortType) { + default: ASSERT(FALSE); + case LSSORT_NONE: break; + case LSSORT_NAMEUP: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameUp, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_NAMEDN: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameDn, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_FILEUP: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileUp, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_FILEDN: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileDn, offsetof(CFileInfo, fi_lnNode)); + break; + } + + // if saving + if (gm_bSave) { + // add one info as empty slot + CFileInfo *pfi = new CFileInfo; + CTString strNumber; + strNumber.PrintF("%04d", gm_iLastFile + 1); + pfi->fi_fnFile = gm_fnmDirectory + gm_fnmBaseName + strNumber + gm_fnmExt; + pfi->fi_strName = EMPTYSLOTSTRING; + // add it to beginning + gm_lhFileInfos.AddHead(pfi->fi_lnNode); + } + + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = gm_lhFileInfos.Count(); + + // find which one should be selected + gm_iListWantedItem = 0; + if (gm_fnmSelected != "") { + INDEX i = 0; + FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + CFileInfo &fi = *itfi; + if (fi.fi_fnFile == gm_fnmSelected) { + gm_iListWantedItem = i; + break; + } + i++; + } + } + + CGameMenu::StartMenu(); +} +void CLoadSaveMenu::EndMenu(void) +{ + // delete all file infos + FORDELETELIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + delete &itfi.Current(); + } + gm_pgmNextMenu = NULL; + CGameMenu::EndMenu(); +} + +void CLoadSaveMenu::FillListItems(void) +{ + // disable all items first + for (INDEX i = 0; i"); + gm_amgButton[i].mg_strTip = ""; + gm_amgButton[i].mg_iInList = -2; + } + + BOOL bHasFirst = FALSE; + BOOL bHasLast = FALSE; + INDEX ctLabels = gm_lhFileInfos.Count(); + INDEX iLabel = 0; + FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + CFileInfo &fi = *itfi; + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + SAVELOAD_BUTTONS_CT))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_amgButton[iInMenu].mg_iInList = iLabel; + gm_amgButton[iInMenu].mg_strDes = fi.fi_strName; + gm_amgButton[iInMenu].mg_fnm = fi.fi_fnFile; + gm_amgButton[iInMenu].mg_bEnabled = TRUE; + gm_amgButton[iInMenu].RefreshText(); + if (gm_bSave) { + if (!FileExistsForWriting(gm_amgButton[iInMenu].mg_fnm)) { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save in new slot"); + } + else { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save here, F2 - rename, Del - delete"); + } + } + else if (gm_bManage) { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this, F2 - rename, Del - delete"); + } + else { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this"); + } + } + iLabel++; + } + + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; +} + +// called to get info of a file from directory, or to skip it +BOOL CLoadSaveMenu::ParseFile(const CTFileName &fnm, CTString &strName) +{ + if (fnm.FileExt() != gm_fnmExt) { + return FALSE; + } + CTFileName fnSaveGameDescription = fnm.NoExt() + ".des"; + try { + strName.Load_t(fnSaveGameDescription); + } + catch (char *strError) { + (void)strError; + strName = fnm.FileName(); + + if (fnm.FileExt() == ".ctl") { + INDEX iCtl = -1; + strName.ScanF("Controls%d", &iCtl); + if (iCtl >= 0 && iCtl <= 7) { + strName.PrintF(TRANS("From player: %s"), _pGame->gm_apcPlayers[iCtl].GetNameForPrinting()); + } + } + } + + INDEX iFile = -1; + fnm.FileName().ScanF((const char*)(gm_fnmBaseName + "%d"), &iFile); + + gm_iLastFile = Max(gm_iLastFile, iFile); + + return TRUE; +} \ No newline at end of file diff --git a/Sources/SeriousSam/MLoadSave.h b/Sources/SeriousSam/MLoadSave.h index b51b971..12a90b6 100644 --- a/Sources/SeriousSam/MLoadSave.h +++ b/Sources/SeriousSam/MLoadSave.h @@ -7,6 +7,12 @@ #endif #include "GameMenu.h" +#include "MGArrow.h" +#include "MGButton.h" +#include "MGFileButton.h" +#include "MGTitle.h" + +#define SAVELOAD_BUTTONS_CT 14 class CLoadSaveMenu : public CGameMenu { @@ -38,6 +44,12 @@ public: CListHead gm_lhFileInfos; // all file infos to list INDEX gm_iLastFile; // index of last saved file in numbered format + CMGTitle gm_mgTitle; + CMGButton gm_mgNotes; + CMGFileButton gm_amgButton[SAVELOAD_BUTTONS_CT]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; + // called to get info of a file from directory, or to skip it BOOL ParseFile(const CTFileName &fnm, CTString &strName); diff --git a/Sources/SeriousSam/MPlayerProfile.cpp b/Sources/SeriousSam/MPlayerProfile.cpp new file mode 100644 index 0000000..5339ec8 --- /dev/null +++ b/Sources/SeriousSam/MPlayerProfile.cpp @@ -0,0 +1,289 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "MenuStuff.h" +#include "MPlayerProfile.h" + +#define ADD_SELECT_PLAYER_MG( index, mg, mgprev, mgnext, me)\ + mg.mg_iIndex = index; \ + mg.mg_bfsFontSize = BFS_MEDIUM; \ + mg.mg_boxOnScreen = BoxNoUp(index); \ + mg.mg_bRectangle = TRUE; \ + mg.mg_pmgLeft = &mgprev; \ + mg.mg_pmgRight = &mgnext; \ + mg.mg_pmgUp = &gm_mgCustomizeControls; \ + mg.mg_pmgDown = &gm_mgNameField; \ + mg.mg_pActivatedFunction = &PPOnPlayerSelect; \ + mg.mg_strText = #index; \ + mg.mg_strTip = TRANS("select new currently active player"); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); + +extern BOOL _bPlayerMenuFromSinglePlayer; +extern CTString _strLastPlayerAppearance; +extern void PPOnPlayerSelect(void); + + +void CPlayerProfileMenu::Initialize_t(void) +{ + // intialize player and controls menu + _bPlayerMenuFromSinglePlayer = FALSE; + gm_mgProfileTitle.mg_boxOnScreen = BoxTitle(); + gm_mgProfileTitle.mg_strText = TRANS("PLAYER PROFILE"); + gm_lhGadgets.AddTail(gm_mgProfileTitle.mg_lnNode); + + gm_mgNoLabel.mg_strText = TRANS("PROFILE:"); + gm_mgNoLabel.mg_boxOnScreen = BoxMediumLeft(0.0f); + gm_mgNoLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNoLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgNoLabel.mg_lnNode); + + ADD_SELECT_PLAYER_MG(0, gm_mgNumber[0], gm_mgNumber[7], gm_mgNumber[1], gm_mgNumber[0]); + ADD_SELECT_PLAYER_MG(1, gm_mgNumber[1], gm_mgNumber[0], gm_mgNumber[2], gm_mgNumber[1]); + ADD_SELECT_PLAYER_MG(2, gm_mgNumber[2], gm_mgNumber[1], gm_mgNumber[3], gm_mgNumber[2]); + ADD_SELECT_PLAYER_MG(3, gm_mgNumber[3], gm_mgNumber[2], gm_mgNumber[4], gm_mgNumber[3]); + ADD_SELECT_PLAYER_MG(4, gm_mgNumber[4], gm_mgNumber[3], gm_mgNumber[5], gm_mgNumber[4]); + ADD_SELECT_PLAYER_MG(5, gm_mgNumber[5], gm_mgNumber[4], gm_mgNumber[6], gm_mgNumber[5]); + ADD_SELECT_PLAYER_MG(6, gm_mgNumber[6], gm_mgNumber[5], gm_mgNumber[7], gm_mgNumber[6]); + ADD_SELECT_PLAYER_MG(7, gm_mgNumber[7], gm_mgNumber[6], gm_mgNumber[0], gm_mgNumber[7]); + gm_mgNumber[7].mg_pmgRight = &gm_mgModel; + + gm_mgNameLabel.mg_strText = TRANS("NAME:"); + gm_mgNameLabel.mg_boxOnScreen = BoxMediumLeft(1.25f); + gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); + + // setup of player name button is done on start menu + gm_mgNameField.mg_strText = ""; + gm_mgNameField.mg_ctMaxStringLen = 25; + gm_mgNameField.mg_boxOnScreen = BoxPlayerEdit(1.25); + gm_mgNameField.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameField.mg_iCenterI = -1; + gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; + gm_mgNameField.mg_pmgDown = &gm_mgTeam; + gm_mgNameField.mg_pmgRight = &gm_mgModel; + gm_mgNameField.mg_strTip = TRANS("rename currently active player"); + gm_lhGadgets.AddTail(gm_mgNameField.mg_lnNode); + + gm_mgTeamLabel.mg_strText = TRANS("TEAM:"); + gm_mgTeamLabel.mg_boxOnScreen = BoxMediumLeft(2.25f); + gm_mgTeamLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgTeamLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgTeamLabel.mg_lnNode); + + // setup of player name button is done on start menu + gm_mgTeam.mg_strText = ""; + gm_mgTeam.mg_ctMaxStringLen = 25; + gm_mgTeam.mg_boxOnScreen = BoxPlayerEdit(2.25f); + gm_mgTeam.mg_bfsFontSize = BFS_MEDIUM; + gm_mgTeam.mg_iCenterI = -1; + gm_mgTeam.mg_pmgUp = gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; + + gm_mgTeam.mg_pmgDown = &gm_mgCrosshair; + gm_mgTeam.mg_pmgRight = &gm_mgModel; + //gm_mgTeam.mg_strTip = TRANS("teamplay is disabled in this version"); + gm_mgTeam.mg_strTip = TRANS("enter team name, if playing in team"); + gm_lhGadgets.AddTail(gm_mgTeam.mg_lnNode); + + TRIGGER_MG(gm_mgCrosshair, 4.0, gm_mgTeam, gm_mgWeaponSelect, TRANS("CROSSHAIR"), astrCrosshair); + gm_mgCrosshair.mg_bVisual = TRUE; + gm_mgCrosshair.mg_boxOnScreen = BoxPlayerSwitch(5.0f); + gm_mgCrosshair.mg_iCenterI = -1; + gm_mgCrosshair.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgWeaponSelect, 4.0, gm_mgCrosshair, gm_mgWeaponHide, TRANS("AUTO SELECT WEAPON"), astrWeapon); + gm_mgWeaponSelect.mg_boxOnScreen = BoxPlayerSwitch(6.0f); + gm_mgWeaponSelect.mg_iCenterI = -1; + gm_mgWeaponSelect.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgWeaponHide, 4.0, gm_mgWeaponSelect, gm_mg3rdPerson, TRANS("HIDE WEAPON MODEL"), astrNoYes); + gm_mgWeaponHide.mg_boxOnScreen = BoxPlayerSwitch(7.0f); + gm_mgWeaponHide.mg_iCenterI = -1; + gm_mgWeaponHide.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mg3rdPerson, 4.0, gm_mgWeaponHide, gm_mgQuotes, TRANS("PREFER 3RD PERSON VIEW"), astrNoYes); + gm_mg3rdPerson.mg_boxOnScreen = BoxPlayerSwitch(8.0f); + gm_mg3rdPerson.mg_iCenterI = -1; + gm_mg3rdPerson.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgQuotes, 4.0, gm_mg3rdPerson, gm_mgAutoSave, TRANS("VOICE QUOTES"), astrNoYes); + gm_mgQuotes.mg_boxOnScreen = BoxPlayerSwitch(9.0f); + gm_mgQuotes.mg_iCenterI = -1; + gm_mgQuotes.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgAutoSave, 4.0, gm_mgQuotes, gm_mgCompDoubleClick, TRANS("AUTO SAVE"), astrNoYes); + gm_mgAutoSave.mg_boxOnScreen = BoxPlayerSwitch(10.0f); + gm_mgAutoSave.mg_iCenterI = -1; + gm_mgAutoSave.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgCompDoubleClick, 4.0, gm_mgAutoSave, gm_mgSharpTurning, TRANS("INVOKE COMPUTER"), astrComputerInvoke); + gm_mgCompDoubleClick.mg_boxOnScreen = BoxPlayerSwitch(11.0f); + gm_mgCompDoubleClick.mg_iCenterI = -1; + gm_mgCompDoubleClick.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgSharpTurning, 4.0, gm_mgCompDoubleClick, gm_mgViewBobbing, TRANS("SHARP TURNING"), astrNoYes); + gm_mgSharpTurning.mg_boxOnScreen = BoxPlayerSwitch(12.0f); + gm_mgSharpTurning.mg_iCenterI = -1; + gm_mgSharpTurning.mg_pOnTriggerChange = NULL; + + TRIGGER_MG(gm_mgViewBobbing, 4.0, gm_mgSharpTurning, gm_mgCustomizeControls, TRANS("VIEW BOBBING"), astrNoYes); + gm_mgViewBobbing.mg_boxOnScreen = BoxPlayerSwitch(13.0f); + gm_mgViewBobbing.mg_iCenterI = -1; + gm_mgViewBobbing.mg_pOnTriggerChange = NULL; + + gm_mgCustomizeControls.mg_strText = TRANS("CUSTOMIZE CONTROLS"); + gm_mgCustomizeControls.mg_boxOnScreen = BoxMediumLeft(14.5f); + gm_mgCustomizeControls.mg_bfsFontSize = BFS_MEDIUM; + gm_mgCustomizeControls.mg_iCenterI = -1; + gm_mgCustomizeControls.mg_pmgUp = &gm_mgViewBobbing; + gm_mgCustomizeControls.mg_pActivatedFunction = NULL; + gm_mgCustomizeControls.mg_pmgDown = &gm_mgNumber[0]; + gm_mgCustomizeControls.mg_pmgRight = &gm_mgModel; + gm_mgCustomizeControls.mg_strTip = TRANS("customize controls for this player"); + gm_lhGadgets.AddTail(gm_mgCustomizeControls.mg_lnNode); + + gm_mgModel.mg_boxOnScreen = BoxPlayerModel(); + gm_mgModel.mg_pmgLeft = &gm_mgNameField; + gm_mgModel.mg_pActivatedFunction = NULL; + gm_mgModel.mg_pmgDown = &gm_mgNameField; + gm_mgModel.mg_pmgLeft = &gm_mgNameField; + gm_mgModel.mg_strTip = TRANS("change model for this player"); + gm_lhGadgets.AddTail(gm_mgModel.mg_lnNode); +} + +INDEX CPlayerProfileMenu::ComboFromPlayer(INDEX iPlayer) +{ + return iPlayer; +} + +INDEX CPlayerProfileMenu::PlayerFromCombo(INDEX iCombo) +{ + return iCombo; +} + +void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) +{ + CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; + + for (INDEX iPl = 0; iPl<8; iPl++) + { + gm_mgNumber[iPl].mg_bHighlighted = FALSE; + } + + gm_mgNumber[iPlayer].mg_bHighlighted = TRUE; + + iPlayer = Clamp(iPlayer, INDEX(0), INDEX(7)); + + if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { + _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer] = iPlayer; + } + else { + _pGame->gm_iSinglePlayer = iPlayer; + } + gm_mgNameField.mg_pstrToChange = &pc.pc_strName; + gm_mgNameField.SetText(*gm_mgNameField.mg_pstrToChange); + gm_mgTeam.mg_pstrToChange = &pc.pc_strTeam; + gm_mgTeam.SetText(*gm_mgTeam.mg_pstrToChange); + + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + + gm_mgCrosshair.mg_iSelected = pps->ps_iCrossHairType + 1; + gm_mgCrosshair.ApplyCurrentSelection(); + gm_mgWeaponSelect.mg_iSelected = pps->ps_iWeaponAutoSelect; + gm_mgWeaponSelect.ApplyCurrentSelection(); + gm_mgWeaponHide.mg_iSelected = (pps->ps_ulFlags&PSF_HIDEWEAPON) ? 1 : 0; + gm_mgWeaponHide.ApplyCurrentSelection(); + gm_mg3rdPerson.mg_iSelected = (pps->ps_ulFlags&PSF_PREFER3RDPERSON) ? 1 : 0; + gm_mg3rdPerson.ApplyCurrentSelection(); + gm_mgQuotes.mg_iSelected = (pps->ps_ulFlags&PSF_NOQUOTES) ? 0 : 1; + gm_mgQuotes.ApplyCurrentSelection(); + gm_mgAutoSave.mg_iSelected = (pps->ps_ulFlags&PSF_AUTOSAVE) ? 1 : 0; + gm_mgAutoSave.ApplyCurrentSelection(); + gm_mgCompDoubleClick.mg_iSelected = (pps->ps_ulFlags&PSF_COMPSINGLECLICK) ? 0 : 1; + gm_mgCompDoubleClick.ApplyCurrentSelection(); + gm_mgViewBobbing.mg_iSelected = (pps->ps_ulFlags&PSF_NOBOBBING) ? 0 : 1; + gm_mgViewBobbing.ApplyCurrentSelection(); + gm_mgSharpTurning.mg_iSelected = (pps->ps_ulFlags&PSF_SHARPTURNING) ? 1 : 0; + gm_mgSharpTurning.ApplyCurrentSelection(); + + // get function that will set player appearance + CShellSymbol *pss = _pShell->GetSymbol("SetPlayerAppearance", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // no model + gm_mgModel.mg_moModel.SetData(NULL); + // if there is some + } + else { + // set the model + BOOL(*pFunc)(CModelObject *, CPlayerCharacter *, CTString &, BOOL) = + (BOOL(*)(CModelObject *, CPlayerCharacter *, CTString &, BOOL))pss->ss_pvValue; + CTString strName; + BOOL bSet; + if (_gmRunningGameMode != GM_SINGLE_PLAYER && !_bPlayerMenuFromSinglePlayer) { + bSet = pFunc(&gm_mgModel.mg_moModel, &pc, strName, TRUE); + gm_mgModel.mg_strTip = TRANS("change model for this player"); + gm_mgModel.mg_bEnabled = TRUE; + } + else { + // cannot change player appearance in single player mode + bSet = pFunc(&gm_mgModel.mg_moModel, NULL, strName, TRUE); + gm_mgModel.mg_strTip = TRANS("cannot change model for single-player game"); + gm_mgModel.mg_bEnabled = FALSE; + } + // ignore gender flags, if any + strName.RemovePrefix("#female#"); + strName.RemovePrefix("#male#"); + gm_mgModel.mg_plModel = CPlacement3D(FLOAT3D(0.1f, -1.0f, -3.5f), ANGLE3D(150, 0, 0)); + gm_mgModel.mg_strText = strName; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + _strLastPlayerAppearance = pps->GetModelFilename(); + try { + gm_mgModel.mg_moFloor.SetData_t(CTFILENAME("Models\\Computer\\Floor.mdl")); + gm_mgModel.mg_moFloor.mo_toTexture.SetData_t(CTFILENAME("Models\\Computer\\Floor.tex")); + } + catch (char *strError) { + (void)strError; + } + } +} + +void CPlayerProfileMenu::StartMenu(void) +{ + gmPlayerProfile.gm_pmgSelectedByDefault = &gm_mgNameField; + + if (_gmRunningGameMode == GM_NONE || _gmRunningGameMode == GM_DEMO) { + for (INDEX i = 0; i<8; i++) { + gm_mgNumber[i].mg_bEnabled = TRUE; + } + } + else { + for (INDEX i = 0; i<8; i++) { + gm_mgNumber[i].mg_bEnabled = FALSE; + } + INDEX iFirstEnabled = 0; + {for (INDEX ilp = 0; ilp<4; ilp++) { + CLocalPlayer &lp = _pGame->gm_lpLocalPlayers[ilp]; + if (lp.lp_bActive) { + gm_mgNumber[lp.lp_iPlayer].mg_bEnabled = TRUE; + if (iFirstEnabled == 0) { + iFirstEnabled = lp.lp_iPlayer; + } + } + }} + // backup to first player in case current player is disabled + if (!gm_mgNumber[*gm_piCurrentPlayer].mg_bEnabled) *gm_piCurrentPlayer = iFirstEnabled; + } + // done + SelectPlayer(*gm_piCurrentPlayer); + CGameMenu::StartMenu(); +} + + +void CPlayerProfileMenu::EndMenu(void) +{ + _pGame->SavePlayersAndControls(); + CGameMenu::EndMenu(); +} \ No newline at end of file diff --git a/Sources/SeriousSam/MPlayerProfile.h b/Sources/SeriousSam/MPlayerProfile.h index 0541e5b..274dd77 100644 --- a/Sources/SeriousSam/MPlayerProfile.h +++ b/Sources/SeriousSam/MPlayerProfile.h @@ -7,11 +7,36 @@ #endif #include "GameMenu.h" +#include "MGButton.h" +#include "MGEdit.h" +#include "MGModel.h" +#include "MGTrigger.h" +#include "MGTitle.h" class CPlayerProfileMenu : public CGameMenu { public: INDEX *gm_piCurrentPlayer; + + CMGTitle gm_mgProfileTitle; + CMGButton gm_mgNoLabel; + CMGButton gm_mgNumber[8]; + CMGButton gm_mgNameLabel; + CMGEdit gm_mgNameField; + CMGButton gm_mgTeamLabel; + CMGEdit gm_mgTeam; + CMGButton gm_mgCustomizeControls; + CMGTrigger gm_mgCrosshair; + CMGTrigger gm_mgWeaponSelect; + CMGTrigger gm_mgWeaponHide; + CMGTrigger gm_mg3rdPerson; + CMGTrigger gm_mgQuotes; + CMGTrigger gm_mgAutoSave; + CMGTrigger gm_mgCompDoubleClick; + CMGTrigger gm_mgViewBobbing; + CMGTrigger gm_mgSharpTurning; + CMGModel gm_mgModel; + void Initialize_t(void); INDEX ComboFromPlayer(INDEX iPlayer); INDEX PlayerFromCombo(INDEX iCombo); diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index faf5c82..391e18c 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -67,7 +67,7 @@ extern CTextureObject *_ptoLogoODI; extern CTextureObject *_ptoLogoEAX; INDEX _iLocalPlayer = -1; -BOOL _bPlayerMenuFromSinglePlayer = FALSE; +extern BOOL _bPlayerMenuFromSinglePlayer = FALSE; GameMode _gmMenuGameMode = GM_NONE; @@ -95,7 +95,7 @@ CListHead lhMenuEntities; // controls that are currently customized CTFileName _fnmControlsToCustomize = CTString(""); -static CTString _strLastPlayerAppearance; +extern CTString _strLastPlayerAppearance = ""; extern CTString sam_strNetworkSettings; // function to activate when level is chosen @@ -113,6 +113,7 @@ void InitActionsForNetworkJoinMenu(); void InitActionsForNetworkOpenMenu(); void InitActionsForNetworkStartMenu(); void InitActionsForOptionsMenu(); +void InitActionsForPlayerProfileMenu(); void InitActionsForSelectPlayersMenu(); void InitActionsForServersMenu(); void InitActionsForSinglePlayerMenu(); @@ -202,7 +203,6 @@ static CTextureObject _toLogoMenuB; // -------------- All possible menu entities #define BIG_BUTTONS_CT 6 -#define SAVELOAD_BUTTONS_CT 14 #define CHANGETRIGGERARRAY(ltbmg, astr) \ ltbmg.mg_astrTexts = astr;\ @@ -246,35 +246,12 @@ CVarMenu gmVarMenu; // -------- Player profile menu CPlayerProfileMenu gmPlayerProfile; -CMGTitle mgPlayerProfileTitle; -CMGButton mgPlayerNoLabel; -CMGButton mgPlayerNo[8]; -CMGButton mgPlayerNameLabel; -CMGEdit mgPlayerName; -CMGButton mgPlayerTeamLabel; -CMGEdit mgPlayerTeam; -CMGButton mgPlayerCustomizeControls; -CMGTrigger mgPlayerCrosshair; -CMGTrigger mgPlayerWeaponSelect; -CMGTrigger mgPlayerWeaponHide; -CMGTrigger mgPlayer3rdPerson; -CMGTrigger mgPlayerQuotes; -CMGTrigger mgPlayerAutoSave; -CMGTrigger mgPlayerCompDoubleClick; -CMGTrigger mgPlayerViewBobbing; -CMGTrigger mgPlayerSharpTurning; -CMGModel mgPlayerModel; // -------- Controls menu CControlsMenu gmControls; // -------- Load/Save menu CLoadSaveMenu gmLoadSaveMenu; -CMGTitle mgLoadSaveTitle; -CMGButton mgLoadSaveNotes; -CMGFileButton amgLSButton[SAVELOAD_BUTTONS_CT]; -CMGArrow mgLSArrowUp; -CMGArrow mgLSArrowDn; // -------- High-score menu CHighScoreMenu gmHighScoreMenu; @@ -1224,7 +1201,7 @@ BOOL LSSaveDemo(const CTFileName &fnm) // save/load menu calling functions void StartPlayerModelLoadMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("CHOOSE MODEL"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1233,7 +1210,7 @@ void StartPlayerModelLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = &gmPlayerProfile; ChangeToMenu( &gmLoadSaveMenu); @@ -1241,7 +1218,7 @@ void StartPlayerModelLoadMenu(void) void StartControlsLoadMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("LOAD CONTROLS"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1250,7 +1227,7 @@ void StartControlsLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = &gmControls; ChangeToMenu( &gmLoadSaveMenu); @@ -1258,7 +1235,7 @@ void StartControlsLoadMenu(void) void StartCustomLoadMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1267,7 +1244,7 @@ void StartCustomLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1275,7 +1252,7 @@ void StartCustomLoadMenu(void) void StartAddonsLoadMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("EXECUTE ADDON"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1284,7 +1261,7 @@ void StartAddonsLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1292,7 +1269,7 @@ void StartAddonsLoadMenu(void) void StartModsLoadMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("CHOOSE MOD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1308,7 +1285,7 @@ void StartModsLoadMenu(void) void StartNetworkSettingsMenu(void) { - mgLoadSaveTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1318,7 +1295,7 @@ void StartNetworkSettingsMenu(void) gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; if (sam_strNetworkSettings=="") { - mgLoadSaveNotes.mg_strText = TRANS( + gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( "Before joining a network game,\n" "you have to adjust your connection parameters.\n" "Choose one option from the list.\n" @@ -1326,7 +1303,7 @@ void StartNetworkSettingsMenu(void) "these parameters again from the Options menu.\n" ); } else { - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; } gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; @@ -1336,12 +1313,12 @@ void StartNetworkSettingsMenu(void) void SetQuickLoadNotes(void) { if (_pShell->GetINDEX("gam_iQuickSaveSlots")<=8) { - mgLoadSaveNotes.mg_strText = TRANS( + gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( "In-game QuickSave shortcuts:\n" "F6 - save a new QuickSave\n" "F9 - load the last QuickSave\n"); } else { - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; } } @@ -1349,7 +1326,7 @@ void StartSinglePlayerQuickLoadMenu(void) { _gmMenuGameMode = GM_SINGLE_PLAYER; - mgLoadSaveTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1368,7 +1345,7 @@ void StartSinglePlayerLoadMenu(void) { _gmMenuGameMode = GM_SINGLE_PLAYER; - mgLoadSaveTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1377,7 +1354,7 @@ void StartSinglePlayerLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1391,7 +1368,7 @@ void StartSinglePlayerSaveMenu(void) return; } _gmMenuGameMode = GM_SINGLE_PLAYER; - mgLoadSaveTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = TRUE; @@ -1401,7 +1378,7 @@ void StartSinglePlayerSaveMenu(void) gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; @@ -1411,7 +1388,7 @@ void StartDemoLoadMenu(void) { _gmMenuGameMode = GM_DEMO; - mgLoadSaveTitle.mg_strText = TRANS("PLAY DEMO"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1420,7 +1397,7 @@ void StartDemoLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1430,7 +1407,7 @@ void StartDemoSaveMenu(void) if( _gmRunningGameMode == GM_NONE) return; _gmMenuGameMode = GM_DEMO; - mgLoadSaveTitle.mg_strText = TRANS("RECORD DEMO"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; gmLoadSaveMenu.gm_bSave = TRUE; @@ -1440,7 +1417,7 @@ void StartDemoSaveMenu(void) gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; @@ -1451,7 +1428,7 @@ void StartNetworkQuickLoadMenu(void) { _gmMenuGameMode = GM_NETWORK; - mgLoadSaveTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1470,7 +1447,7 @@ void StartNetworkLoadMenu(void) { _gmMenuGameMode = GM_NETWORK; - mgLoadSaveTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1479,7 +1456,7 @@ void StartNetworkLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1490,7 +1467,7 @@ void StartNetworkSaveMenu(void) if( _gmRunningGameMode != GM_NETWORK) return; _gmMenuGameMode = GM_NETWORK; - mgLoadSaveTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = TRUE; @@ -1500,7 +1477,7 @@ void StartNetworkSaveMenu(void) gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; @@ -1511,7 +1488,7 @@ void StartSplitScreenQuickLoadMenu(void) { _gmMenuGameMode = GM_SPLIT_SCREEN; - mgLoadSaveTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1530,7 +1507,7 @@ void StartSplitScreenLoadMenu(void) { _gmMenuGameMode = GM_SPLIT_SCREEN; - mgLoadSaveTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = FALSE; @@ -1539,7 +1516,7 @@ void StartSplitScreenLoadMenu(void) gmLoadSaveMenu.gm_fnmSelected = CTString(""); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); @@ -1549,7 +1526,7 @@ void StartSplitScreenSaveMenu(void) if( _gmRunningGameMode != GM_SPLIT_SCREEN) return; _gmMenuGameMode = GM_SPLIT_SCREEN; - mgLoadSaveTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; gmLoadSaveMenu.gm_bSave = TRUE; @@ -1559,7 +1536,7 @@ void StartSplitScreenSaveMenu(void) gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - mgLoadSaveNotes.mg_strText = ""; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; @@ -1973,7 +1950,8 @@ void InitializeMenus(void) gmPlayerProfile.Initialize_t(); gmPlayerProfile.gm_strName="PlayerProfile"; - gmPlayerProfile.gm_pmgSelectedByDefault = &mgPlayerName; + gmPlayerProfile.gm_pmgSelectedByDefault = &gmPlayerProfile.gm_mgNameField; + InitActionsForPlayerProfileMenu(); gmControls.Initialize_t(); gmControls.gm_strName="Controls"; @@ -1984,7 +1962,7 @@ void InitializeMenus(void) // Load/Save menu is called gmLoadSaveMenu.Initialize_t(); gmLoadSaveMenu.gm_strName="LoadSave"; - gmLoadSaveMenu.gm_pmgSelectedByDefault = &amgLSButton[0]; + gmLoadSaveMenu.gm_pmgSelectedByDefault = &gmLoadSaveMenu.gm_amgButton[0]; gmHighScoreMenu.Initialize_t(); gmHighScoreMenu.gm_strName="HighScore"; @@ -2945,7 +2923,7 @@ BOOL CGameMenu::OnChar(MSG msg) // ------------------------ CConfirmMenu implementation void InitActionsForConfirmMenu() { - gmConfirmMenu.gm_mgConfirmLabel.mg_pActivatedFunction = &ConfirmYes; + gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; } @@ -3123,276 +3101,27 @@ void ChangeSharpTurning(INDEX iNew) } // ------------------------ CPlayerProfileMenu implementation -void CPlayerProfileMenu::Initialize_t(void) +extern void PPOnPlayerSelect(void) { - // intialize player and controls menu - _bPlayerMenuFromSinglePlayer = FALSE; - mgPlayerProfileTitle.mg_boxOnScreen = BoxTitle(); - mgPlayerProfileTitle.mg_strText = TRANS("PLAYER PROFILE"); - gm_lhGadgets.AddTail( mgPlayerProfileTitle.mg_lnNode); - - mgPlayerNoLabel.mg_strText = TRANS("PROFILE:"); - mgPlayerNoLabel.mg_boxOnScreen = BoxMediumLeft(0.0f); - mgPlayerNoLabel.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerNoLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail( mgPlayerNoLabel.mg_lnNode); - -#define ADD_SELECT_PLAYER_MG( index, mg, mgprev, mgnext, me)\ - mg.mg_iIndex = index;\ - mg.mg_bfsFontSize = BFS_MEDIUM;\ - mg.mg_boxOnScreen = BoxNoUp(index);\ - mg.mg_bRectangle = TRUE;\ - mg.mg_pmgLeft = &mgprev;\ - mg.mg_pmgRight = &mgnext;\ - mg.mg_pmgUp = &mgPlayerCustomizeControls;\ - mg.mg_pmgDown = &mgPlayerName;\ - mg.mg_pActivatedFunction = &OnPlayerSelect;\ - mg.mg_strText = #index;\ - mg.mg_strTip = TRANS("select new currently active player");\ - gm_lhGadgets.AddTail( mg.mg_lnNode); - - ADD_SELECT_PLAYER_MG( 0, mgPlayerNo[0], mgPlayerNo[7], mgPlayerNo[1], mePlayerNo[0]); - ADD_SELECT_PLAYER_MG( 1, mgPlayerNo[1], mgPlayerNo[0], mgPlayerNo[2], mePlayerNo[1]); - ADD_SELECT_PLAYER_MG( 2, mgPlayerNo[2], mgPlayerNo[1], mgPlayerNo[3], mePlayerNo[2]); - ADD_SELECT_PLAYER_MG( 3, mgPlayerNo[3], mgPlayerNo[2], mgPlayerNo[4], mePlayerNo[3]); - ADD_SELECT_PLAYER_MG( 4, mgPlayerNo[4], mgPlayerNo[3], mgPlayerNo[5], mePlayerNo[4]); - ADD_SELECT_PLAYER_MG( 5, mgPlayerNo[5], mgPlayerNo[4], mgPlayerNo[6], mePlayerNo[5]); - ADD_SELECT_PLAYER_MG( 6, mgPlayerNo[6], mgPlayerNo[5], mgPlayerNo[7], mePlayerNo[6]); - ADD_SELECT_PLAYER_MG( 7, mgPlayerNo[7], mgPlayerNo[6], mgPlayerNo[0], mePlayerNo[7]); - mgPlayerNo[7].mg_pmgRight = &mgPlayerModel; - - mgPlayerNameLabel.mg_strText = TRANS("NAME:"); - mgPlayerNameLabel.mg_boxOnScreen = BoxMediumLeft(1.25f); - mgPlayerNameLabel.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerNameLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail( mgPlayerNameLabel.mg_lnNode); - - // setup of player name button is done on start menu - mgPlayerName.mg_strText = ""; - mgPlayerName.mg_ctMaxStringLen = 25; - mgPlayerName.mg_boxOnScreen = BoxPlayerEdit(1.25); - mgPlayerName.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerName.mg_iCenterI = -1; - mgPlayerName.mg_pmgUp = &mgPlayerNo[0]; - mgPlayerName.mg_pmgDown = &mgPlayerTeam; - mgPlayerName.mg_pmgRight = &mgPlayerModel; - mgPlayerName.mg_strTip = TRANS("rename currently active player"); - gm_lhGadgets.AddTail( mgPlayerName.mg_lnNode); - - mgPlayerTeamLabel.mg_strText = TRANS("TEAM:"); - mgPlayerTeamLabel.mg_boxOnScreen = BoxMediumLeft(2.25f); - mgPlayerTeamLabel.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerTeamLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail( mgPlayerTeamLabel.mg_lnNode); - - // setup of player name button is done on start menu - mgPlayerTeam.mg_strText = ""; - mgPlayerName.mg_ctMaxStringLen = 25; - mgPlayerTeam.mg_boxOnScreen = BoxPlayerEdit(2.25f); - mgPlayerTeam.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerTeam.mg_iCenterI = -1; - mgPlayerTeam.mg_pmgUp = &mgPlayerName; - mgPlayerTeam.mg_pmgDown = &mgPlayerCrosshair; - mgPlayerTeam.mg_pmgRight = &mgPlayerModel; - //mgPlayerTeam.mg_strTip = TRANS("teamplay is disabled in this version"); - mgPlayerTeam.mg_strTip = TRANS("enter team name, if playing in team"); - gm_lhGadgets.AddTail( mgPlayerTeam.mg_lnNode); - - TRIGGER_MG(mgPlayerCrosshair, 4.0, mgPlayerTeam, mgPlayerWeaponSelect, TRANS("CROSSHAIR"), astrCrosshair); - mgPlayerCrosshair.mg_bVisual = TRUE; - mgPlayerCrosshair.mg_boxOnScreen = BoxPlayerSwitch(5.0f); - mgPlayerCrosshair.mg_iCenterI = -1; - mgPlayerCrosshair.mg_pOnTriggerChange = ChangeCrosshair; - TRIGGER_MG(mgPlayerWeaponSelect, 4.0, mgPlayerCrosshair, mgPlayerWeaponHide, TRANS("AUTO SELECT WEAPON"), astrWeapon); - mgPlayerWeaponSelect.mg_boxOnScreen = BoxPlayerSwitch(6.0f); - mgPlayerWeaponSelect.mg_iCenterI = -1; - mgPlayerWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; - TRIGGER_MG(mgPlayerWeaponHide, 4.0, mgPlayerWeaponSelect, mgPlayer3rdPerson, TRANS("HIDE WEAPON MODEL"), astrNoYes); - mgPlayerWeaponHide.mg_boxOnScreen = BoxPlayerSwitch(7.0f); - mgPlayerWeaponHide.mg_iCenterI = -1; - mgPlayerWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; - TRIGGER_MG(mgPlayer3rdPerson, 4.0, mgPlayerWeaponHide, mgPlayerQuotes, TRANS("PREFER 3RD PERSON VIEW"), astrNoYes); - mgPlayer3rdPerson.mg_boxOnScreen = BoxPlayerSwitch(8.0f); - mgPlayer3rdPerson.mg_iCenterI = -1; - mgPlayer3rdPerson.mg_pOnTriggerChange = Change3rdPerson; - TRIGGER_MG(mgPlayerQuotes, 4.0, mgPlayer3rdPerson, mgPlayerAutoSave, TRANS("VOICE QUOTES"), astrNoYes); - mgPlayerQuotes.mg_boxOnScreen = BoxPlayerSwitch(9.0f); - mgPlayerQuotes.mg_iCenterI = -1; - mgPlayerQuotes.mg_pOnTriggerChange = ChangeQuotes; - TRIGGER_MG(mgPlayerAutoSave, 4.0, mgPlayerQuotes, mgPlayerCompDoubleClick, TRANS("AUTO SAVE"), astrNoYes); - mgPlayerAutoSave.mg_boxOnScreen = BoxPlayerSwitch(10.0f); - mgPlayerAutoSave.mg_iCenterI = -1; - mgPlayerAutoSave.mg_pOnTriggerChange = ChangeAutoSave; - TRIGGER_MG(mgPlayerCompDoubleClick, 4.0, mgPlayerAutoSave, mgPlayerSharpTurning, TRANS("INVOKE COMPUTER"), astrComputerInvoke); - mgPlayerCompDoubleClick.mg_boxOnScreen = BoxPlayerSwitch(11.0f); - mgPlayerCompDoubleClick.mg_iCenterI = -1; - mgPlayerCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; - TRIGGER_MG(mgPlayerSharpTurning, 4.0, mgPlayerCompDoubleClick, mgPlayerViewBobbing, TRANS("SHARP TURNING"), astrNoYes); - mgPlayerSharpTurning.mg_boxOnScreen = BoxPlayerSwitch(12.0f); - mgPlayerSharpTurning.mg_iCenterI = -1; - mgPlayerSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; - TRIGGER_MG(mgPlayerViewBobbing, 4.0, mgPlayerSharpTurning, mgPlayerCustomizeControls, TRANS("VIEW BOBBING"), astrNoYes); - mgPlayerViewBobbing.mg_boxOnScreen = BoxPlayerSwitch(13.0f); - mgPlayerViewBobbing.mg_iCenterI = -1; - mgPlayerViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; - - mgPlayerCustomizeControls.mg_strText = TRANS("CUSTOMIZE CONTROLS"); - mgPlayerCustomizeControls.mg_boxOnScreen = BoxMediumLeft(14.5f); - mgPlayerCustomizeControls.mg_bfsFontSize = BFS_MEDIUM; - mgPlayerCustomizeControls.mg_iCenterI = -1; - mgPlayerCustomizeControls.mg_pmgUp = &mgPlayerViewBobbing; - mgPlayerCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; - mgPlayerCustomizeControls.mg_pmgDown = &mgPlayerNo[0]; - mgPlayerCustomizeControls.mg_pmgRight = &mgPlayerModel; - mgPlayerCustomizeControls.mg_strTip = TRANS("customize controls for this player"); - gm_lhGadgets.AddTail( mgPlayerCustomizeControls.mg_lnNode); - - mgPlayerModel.mg_boxOnScreen = BoxPlayerModel(); - mgPlayerModel.mg_pmgLeft = &mgPlayerName; - mgPlayerModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; - mgPlayerModel.mg_pmgDown = &mgPlayerName; - mgPlayerModel.mg_pmgLeft = &mgPlayerName; - mgPlayerModel.mg_strTip = TRANS("change model for this player"); - gm_lhGadgets.AddTail( mgPlayerModel.mg_lnNode); + ASSERT(_pmgLastActivatedGadget != NULL); + if (_pmgLastActivatedGadget->mg_bEnabled) { + gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); + } } -INDEX CPlayerProfileMenu::ComboFromPlayer(INDEX iPlayer) +void InitActionsForPlayerProfileMenu() { - return iPlayer; -} - -INDEX CPlayerProfileMenu::PlayerFromCombo(INDEX iCombo) -{ - return iCombo; -} - -void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) -{ - CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; - - for( INDEX iPl=0; iPl<8; iPl++) - { - mgPlayerNo[iPl].mg_bHighlighted = FALSE; - } - - mgPlayerNo[iPlayer].mg_bHighlighted = TRUE; - - iPlayer = Clamp(iPlayer, INDEX(0), INDEX(7)); - - if (_iLocalPlayer>=0 && _iLocalPlayer<4) { - _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer] = iPlayer; - } else { - _pGame->gm_iSinglePlayer = iPlayer; - } - mgPlayerName.mg_pstrToChange = &pc.pc_strName; - mgPlayerName.SetText( *mgPlayerName.mg_pstrToChange); - mgPlayerTeam.mg_pstrToChange = &pc.pc_strTeam; - mgPlayerTeam.SetText( *mgPlayerTeam.mg_pstrToChange); - - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - - mgPlayerCrosshair.mg_iSelected = pps->ps_iCrossHairType+1; - mgPlayerCrosshair.ApplyCurrentSelection(); - mgPlayerWeaponSelect.mg_iSelected = pps->ps_iWeaponAutoSelect; - mgPlayerWeaponSelect.ApplyCurrentSelection(); - mgPlayerWeaponHide.mg_iSelected = (pps->ps_ulFlags&PSF_HIDEWEAPON)?1:0; - mgPlayerWeaponHide.ApplyCurrentSelection(); - mgPlayer3rdPerson.mg_iSelected = (pps->ps_ulFlags&PSF_PREFER3RDPERSON)?1:0; - mgPlayer3rdPerson.ApplyCurrentSelection(); - mgPlayerQuotes.mg_iSelected = (pps->ps_ulFlags&PSF_NOQUOTES)?0:1; - mgPlayerQuotes.ApplyCurrentSelection(); - mgPlayerAutoSave.mg_iSelected = (pps->ps_ulFlags&PSF_AUTOSAVE)?1:0; - mgPlayerAutoSave.ApplyCurrentSelection(); - mgPlayerCompDoubleClick.mg_iSelected = (pps->ps_ulFlags&PSF_COMPSINGLECLICK)?0:1; - mgPlayerCompDoubleClick.ApplyCurrentSelection(); - mgPlayerViewBobbing.mg_iSelected = (pps->ps_ulFlags&PSF_NOBOBBING)?0:1; - mgPlayerViewBobbing.ApplyCurrentSelection(); - mgPlayerSharpTurning.mg_iSelected = (pps->ps_ulFlags&PSF_SHARPTURNING)?1:0; - mgPlayerSharpTurning.ApplyCurrentSelection(); - - // get function that will set player appearance - CShellSymbol *pss = _pShell->GetSymbol("SetPlayerAppearance", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss==NULL) { - // no model - mgPlayerModel.mg_moModel.SetData(NULL); - // if there is some - } else { - // set the model - BOOL (*pFunc)(CModelObject *, CPlayerCharacter *, CTString &, BOOL) = - (BOOL (*)(CModelObject *, CPlayerCharacter *, CTString &, BOOL))pss->ss_pvValue; - CTString strName; - BOOL bSet; - if( _gmRunningGameMode!=GM_SINGLE_PLAYER && !_bPlayerMenuFromSinglePlayer) { - bSet = pFunc(&mgPlayerModel.mg_moModel, &pc, strName, TRUE); - mgPlayerModel.mg_strTip = TRANS("change model for this player"); - mgPlayerModel.mg_bEnabled = TRUE; - } else { - // cannot change player appearance in single player mode - bSet = pFunc(&mgPlayerModel.mg_moModel, NULL, strName, TRUE); - mgPlayerModel.mg_strTip = TRANS("cannot change model for single-player game"); - mgPlayerModel.mg_bEnabled = FALSE; - } - // ignore gender flags, if any - strName.RemovePrefix("#female#"); - strName.RemovePrefix("#male#"); - mgPlayerModel.mg_plModel = CPlacement3D(FLOAT3D(0.1f,-1.0f,-3.5f), ANGLE3D(150,0,0)); - mgPlayerModel.mg_strText = strName; - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - _strLastPlayerAppearance = pps->GetModelFilename(); - try { - mgPlayerModel.mg_moFloor.SetData_t(CTFILENAME("Models\\Computer\\Floor.mdl")); - mgPlayerModel.mg_moFloor.mo_toTexture.SetData_t(CTFILENAME("Models\\Computer\\Floor.tex")); - } catch (char *strError) { - (void)strError; - } - } -} - - -void OnPlayerSelect(void) -{ - ASSERT( _pmgLastActivatedGadget != NULL); - if (_pmgLastActivatedGadget->mg_bEnabled) { - gmPlayerProfile.SelectPlayer( ((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); - } -} - -void CPlayerProfileMenu::StartMenu(void) -{ - gmPlayerProfile.gm_pmgSelectedByDefault = &mgPlayerName; - - if (_gmRunningGameMode==GM_NONE || _gmRunningGameMode==GM_DEMO) { - for(INDEX i=0; i<8; i++) { - mgPlayerNo[i].mg_bEnabled = TRUE; - } - } else { - for(INDEX i=0; i<8; i++) { - mgPlayerNo[i].mg_bEnabled = FALSE; - } - INDEX iFirstEnabled = 0; - {for(INDEX ilp=0; ilp<4; ilp++) { - CLocalPlayer &lp = _pGame->gm_lpLocalPlayers[ilp]; - if (lp.lp_bActive) { - mgPlayerNo[lp.lp_iPlayer].mg_bEnabled = TRUE; - if (iFirstEnabled==0) { - iFirstEnabled = lp.lp_iPlayer; - } - } - }} - // backup to first player in case current player is disabled - if( !mgPlayerNo[*gm_piCurrentPlayer].mg_bEnabled) *gm_piCurrentPlayer = iFirstEnabled; - } - // done - SelectPlayer( *gm_piCurrentPlayer); - CGameMenu::StartMenu(); -} - - -void CPlayerProfileMenu::EndMenu(void) -{ - _pGame->SavePlayersAndControls(); - CGameMenu::EndMenu(); + gmPlayerProfile.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; + gmPlayerProfile.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; + gmPlayerProfile.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; + gmPlayerProfile.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; + gmPlayerProfile.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; + gmPlayerProfile.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; + gmPlayerProfile.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; + gmPlayerProfile.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; + gmPlayerProfile.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; + gmPlayerProfile.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; + gmPlayerProfile.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; } // ------------------------ CControlsMenu implementation @@ -3403,218 +3132,6 @@ void InitActionsForControlsMenu() gmControls.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; } - -// ------------------------ CLoadSaveMenu implementation -void CLoadSaveMenu::Initialize_t(void) -{ - gm_pgmNextMenu = NULL; - - mgLoadSaveTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( mgLoadSaveTitle.mg_lnNode); - - mgLoadSaveNotes.mg_boxOnScreen = BoxMediumRow(10.0); - mgLoadSaveNotes.mg_bfsFontSize = BFS_MEDIUM; - mgLoadSaveNotes.mg_iCenterI = -1; - mgLoadSaveNotes.mg_bEnabled = FALSE; - mgLoadSaveNotes.mg_bLabel = TRUE; - gm_lhGadgets.AddTail( mgLoadSaveNotes.mg_lnNode); - - for( INDEX iLabel=0; iLabel afnmDir; - MakeDirList(afnmDir, gm_fnmDirectory, "", 0); - gm_iLastFile = -1; - - // for each file in the directory - for (INDEX i=0; ifi_fnFile = fnm; - pfi->fi_strName = strName; - // add it to list - gm_lhFileInfos.AddTail(pfi->fi_lnNode); - } - } - - // sort if needed - switch (gm_iSortType) { - default: ASSERT(FALSE); - case LSSORT_NONE: break; - case LSSORT_NAMEUP: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameUp, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_NAMEDN: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameDn, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_FILEUP: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileUp, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_FILEDN: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileDn, offsetof(CFileInfo, fi_lnNode)); - break; - } - - // if saving - if (gm_bSave) { - // add one info as empty slot - CFileInfo *pfi = new CFileInfo; - CTString strNumber; - strNumber.PrintF("%04d", gm_iLastFile+1); - pfi->fi_fnFile = gm_fnmDirectory+gm_fnmBaseName+strNumber+gm_fnmExt; - pfi->fi_strName = EMPTYSLOTSTRING; - // add it to beginning - gm_lhFileInfos.AddHead(pfi->fi_lnNode); - } - - // set default parameters for the list - gm_iListOffset = 0; - gm_ctListTotal = gm_lhFileInfos.Count(); - - // find which one should be selected - gm_iListWantedItem = 0; - if (gm_fnmSelected != "") { - INDEX i = 0; - FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - CFileInfo &fi = *itfi; - if (fi.fi_fnFile==gm_fnmSelected) { - gm_iListWantedItem = i; - break; - } - i++; - } - } - - CGameMenu::StartMenu(); -} -void CLoadSaveMenu::EndMenu(void) -{ - // delete all file infos - FORDELETELIST( CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - delete &itfi.Current(); - } - gm_pgmNextMenu = NULL; - CGameMenu::EndMenu(); -} - -void CLoadSaveMenu::FillListItems(void) -{ - // disable all items first - for(INDEX i=0; i"); - amgLSButton[i].mg_strTip = ""; - amgLSButton[i].mg_iInList = -2; - } - - BOOL bHasFirst = FALSE; - BOOL bHasLast = FALSE; - INDEX ctLabels = gm_lhFileInfos.Count(); - INDEX iLabel=0; - FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - CFileInfo &fi = *itfi; - INDEX iInMenu = iLabel-gm_iListOffset; - if( (iLabel>=gm_iListOffset) && - (iLabel<(gm_iListOffset+SAVELOAD_BUTTONS_CT)) ) - { - bHasFirst|=(iLabel==0); - bHasLast |=(iLabel==ctLabels-1); - amgLSButton[iInMenu].mg_iInList = iLabel; - amgLSButton[iInMenu].mg_strDes = fi.fi_strName; - amgLSButton[iInMenu].mg_fnm = fi.fi_fnFile; - amgLSButton[iInMenu].mg_bEnabled = TRUE; - amgLSButton[iInMenu].RefreshText(); - if (gm_bSave) { - if (!FileExistsForWriting(amgLSButton[iInMenu].mg_fnm)) { - amgLSButton[iInMenu].mg_strTip = TRANS("Enter - save in new slot"); - } else { - amgLSButton[iInMenu].mg_strTip = TRANS("Enter - save here, F2 - rename, Del - delete"); - } - } else if (gm_bManage) { - amgLSButton[iInMenu].mg_strTip = TRANS("Enter - load this, F2 - rename, Del - delete"); - } else { - amgLSButton[iInMenu].mg_strTip = TRANS("Enter - load this"); - } - } - iLabel++; - } - - // enable/disable up/down arrows - mgLSArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - mgLSArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; -} - -// called to get info of a file from directory, or to skip it -BOOL CLoadSaveMenu::ParseFile(const CTFileName &fnm, CTString &strName) -{ - if (fnm.FileExt()!=gm_fnmExt) { - return FALSE; - } - CTFileName fnSaveGameDescription = fnm.NoExt()+".des"; - try { - strName.Load_t( fnSaveGameDescription); - } catch( char *strError) { - (void)strError; - strName = fnm.FileName(); - - if (fnm.FileExt()==".ctl") { - INDEX iCtl = -1; - strName.ScanF("Controls%d", &iCtl); - if (iCtl>=0 && iCtl<=7) { - strName.PrintF(TRANS("From player: %s"), _pGame->gm_apcPlayers[iCtl].GetNameForPrinting()); - } - } - } - - INDEX iFile = -1; - fnm.FileName().ScanF((const char*)(gm_fnmBaseName+"%d"), &iFile); - - gm_iLastFile = Max(gm_iLastFile, iFile); - - return TRUE; -} - // ------------------------ CCustomizeAxisMenu implementation void PreChangeAxis(INDEX iDummy) { diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index f8c2896..b93067a 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -217,12 +217,14 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 81c2e84..44b3a41 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -186,6 +186,12 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Menus + From 66cc1d014f12f097499195d0f1f8c3727caa7c7c Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 16 Mar 2016 21:43:05 +0300 Subject: [PATCH 35/62] GameExecutable: Some improvements. Idk how to name it. Add some empty lines. Move some files. Replace long repeating variable names with shorter preprocessors. --- .../{ => GUI/Components}/MGArrow.cpp | 0 .../SeriousSam/{ => GUI/Components}/MGArrow.h | 0 .../{ => GUI/Components}/MGButton.cpp | 0 .../{ => GUI/Components}/MGButton.h | 0 .../{ => GUI/Components}/MGChangePlayer.cpp | 0 .../{ => GUI/Components}/MGChangePlayer.h | 0 .../{ => GUI/Components}/MGEdit.cpp | 0 .../SeriousSam/{ => GUI/Components}/MGEdit.h | 0 .../{ => GUI/Components}/MGFileButton.cpp | 0 .../{ => GUI/Components}/MGFileButton.h | 0 .../{ => GUI/Components}/MGHighScore.cpp | 0 .../{ => GUI/Components}/MGHighScore.h | 0 .../{ => GUI/Components}/MGKeyDefinition.cpp | 0 .../{ => GUI/Components}/MGKeyDefinition.h | 0 .../{ => GUI/Components}/MGLevelButton.cpp | 0 .../{ => GUI/Components}/MGLevelButton.h | 0 .../{ => GUI/Components}/MGModel.cpp | 0 .../SeriousSam/{ => GUI/Components}/MGModel.h | 0 .../{ => GUI/Components}/MGServerList.cpp | 0 .../{ => GUI/Components}/MGServerList.h | 0 .../{ => GUI/Components}/MGSlider.cpp | 0 .../{ => GUI/Components}/MGSlider.h | 0 .../{ => GUI/Components}/MGTitle.cpp | 0 .../SeriousSam/{ => GUI/Components}/MGTitle.h | 0 .../{ => GUI/Components}/MGTrigger.cpp | 0 .../{ => GUI/Components}/MGTrigger.h | 0 .../{ => GUI/Components}/MGVarButton.cpp | 0 .../{ => GUI/Components}/MGVarButton.h | 0 .../{ => GUI/Components}/MenuGadget.cpp | 0 .../{ => GUI/Components}/MenuGadget.h | 0 Sources/SeriousSam/GameMenu.cpp | 339 ++++++ Sources/SeriousSam/MAudioOptions.h | 8 +- Sources/SeriousSam/MConfirm.h | 2 +- Sources/SeriousSam/MControls.h | 9 +- Sources/SeriousSam/MCustomizeAxis.h | 6 +- Sources/SeriousSam/MCustomizeKeyboard.h | 6 +- Sources/SeriousSam/MDisabled.h | 4 +- Sources/SeriousSam/MHighScore.h | 4 +- Sources/SeriousSam/MInGame.h | 5 +- Sources/SeriousSam/MLevels.h | 7 +- Sources/SeriousSam/MLoadSave.h | 8 +- Sources/SeriousSam/MMain.h | 2 +- Sources/SeriousSam/MNetwork.h | 5 +- Sources/SeriousSam/MNetworkJoin.h | 4 +- Sources/SeriousSam/MNetworkOpen.h | 7 +- Sources/SeriousSam/MNetworkStart.h | 8 +- Sources/SeriousSam/MOptions.h | 4 +- Sources/SeriousSam/MPlayerProfile.h | 10 +- Sources/SeriousSam/MSelectPlayers.h | 8 +- Sources/SeriousSam/MServers.h | 8 +- Sources/SeriousSam/MSinglePlayer.h | 4 +- Sources/SeriousSam/MSinglePlayerNew.h | 4 +- Sources/SeriousSam/MSplitScreen.h | 5 +- Sources/SeriousSam/MSplitStart.h | 7 +- Sources/SeriousSam/MVar.h | 8 +- Sources/SeriousSam/Menu.cpp | 990 ++++++------------ Sources/SeriousSam/MenuStuff.cpp | 28 + Sources/SeriousSam/MenuStuff.h | 1 + Sources/SeriousSam/SeriousSam.vcxproj | 64 +- Sources/SeriousSam/SeriousSam.vcxproj.filters | 180 ++-- 60 files changed, 907 insertions(+), 838 deletions(-) rename Sources/SeriousSam/{ => GUI/Components}/MGArrow.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGArrow.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGButton.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGButton.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGChangePlayer.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGChangePlayer.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGEdit.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGEdit.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGFileButton.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGFileButton.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGHighScore.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGHighScore.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGKeyDefinition.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGKeyDefinition.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGLevelButton.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGLevelButton.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGModel.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGModel.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGServerList.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGServerList.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGSlider.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGSlider.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGTitle.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGTitle.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGTrigger.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGTrigger.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGVarButton.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MGVarButton.h (100%) rename Sources/SeriousSam/{ => GUI/Components}/MenuGadget.cpp (100%) rename Sources/SeriousSam/{ => GUI/Components}/MenuGadget.h (100%) create mode 100644 Sources/SeriousSam/GameMenu.cpp diff --git a/Sources/SeriousSam/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp similarity index 100% rename from Sources/SeriousSam/MGArrow.cpp rename to Sources/SeriousSam/GUI/Components/MGArrow.cpp diff --git a/Sources/SeriousSam/MGArrow.h b/Sources/SeriousSam/GUI/Components/MGArrow.h similarity index 100% rename from Sources/SeriousSam/MGArrow.h rename to Sources/SeriousSam/GUI/Components/MGArrow.h diff --git a/Sources/SeriousSam/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp similarity index 100% rename from Sources/SeriousSam/MGButton.cpp rename to Sources/SeriousSam/GUI/Components/MGButton.cpp diff --git a/Sources/SeriousSam/MGButton.h b/Sources/SeriousSam/GUI/Components/MGButton.h similarity index 100% rename from Sources/SeriousSam/MGButton.h rename to Sources/SeriousSam/GUI/Components/MGButton.h diff --git a/Sources/SeriousSam/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp similarity index 100% rename from Sources/SeriousSam/MGChangePlayer.cpp rename to Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp diff --git a/Sources/SeriousSam/MGChangePlayer.h b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h similarity index 100% rename from Sources/SeriousSam/MGChangePlayer.h rename to Sources/SeriousSam/GUI/Components/MGChangePlayer.h diff --git a/Sources/SeriousSam/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp similarity index 100% rename from Sources/SeriousSam/MGEdit.cpp rename to Sources/SeriousSam/GUI/Components/MGEdit.cpp diff --git a/Sources/SeriousSam/MGEdit.h b/Sources/SeriousSam/GUI/Components/MGEdit.h similarity index 100% rename from Sources/SeriousSam/MGEdit.h rename to Sources/SeriousSam/GUI/Components/MGEdit.h diff --git a/Sources/SeriousSam/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp similarity index 100% rename from Sources/SeriousSam/MGFileButton.cpp rename to Sources/SeriousSam/GUI/Components/MGFileButton.cpp diff --git a/Sources/SeriousSam/MGFileButton.h b/Sources/SeriousSam/GUI/Components/MGFileButton.h similarity index 100% rename from Sources/SeriousSam/MGFileButton.h rename to Sources/SeriousSam/GUI/Components/MGFileButton.h diff --git a/Sources/SeriousSam/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp similarity index 100% rename from Sources/SeriousSam/MGHighScore.cpp rename to Sources/SeriousSam/GUI/Components/MGHighScore.cpp diff --git a/Sources/SeriousSam/MGHighScore.h b/Sources/SeriousSam/GUI/Components/MGHighScore.h similarity index 100% rename from Sources/SeriousSam/MGHighScore.h rename to Sources/SeriousSam/GUI/Components/MGHighScore.h diff --git a/Sources/SeriousSam/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp similarity index 100% rename from Sources/SeriousSam/MGKeyDefinition.cpp rename to Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp diff --git a/Sources/SeriousSam/MGKeyDefinition.h b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h similarity index 100% rename from Sources/SeriousSam/MGKeyDefinition.h rename to Sources/SeriousSam/GUI/Components/MGKeyDefinition.h diff --git a/Sources/SeriousSam/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp similarity index 100% rename from Sources/SeriousSam/MGLevelButton.cpp rename to Sources/SeriousSam/GUI/Components/MGLevelButton.cpp diff --git a/Sources/SeriousSam/MGLevelButton.h b/Sources/SeriousSam/GUI/Components/MGLevelButton.h similarity index 100% rename from Sources/SeriousSam/MGLevelButton.h rename to Sources/SeriousSam/GUI/Components/MGLevelButton.h diff --git a/Sources/SeriousSam/MGModel.cpp b/Sources/SeriousSam/GUI/Components/MGModel.cpp similarity index 100% rename from Sources/SeriousSam/MGModel.cpp rename to Sources/SeriousSam/GUI/Components/MGModel.cpp diff --git a/Sources/SeriousSam/MGModel.h b/Sources/SeriousSam/GUI/Components/MGModel.h similarity index 100% rename from Sources/SeriousSam/MGModel.h rename to Sources/SeriousSam/GUI/Components/MGModel.h diff --git a/Sources/SeriousSam/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp similarity index 100% rename from Sources/SeriousSam/MGServerList.cpp rename to Sources/SeriousSam/GUI/Components/MGServerList.cpp diff --git a/Sources/SeriousSam/MGServerList.h b/Sources/SeriousSam/GUI/Components/MGServerList.h similarity index 100% rename from Sources/SeriousSam/MGServerList.h rename to Sources/SeriousSam/GUI/Components/MGServerList.h diff --git a/Sources/SeriousSam/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp similarity index 100% rename from Sources/SeriousSam/MGSlider.cpp rename to Sources/SeriousSam/GUI/Components/MGSlider.cpp diff --git a/Sources/SeriousSam/MGSlider.h b/Sources/SeriousSam/GUI/Components/MGSlider.h similarity index 100% rename from Sources/SeriousSam/MGSlider.h rename to Sources/SeriousSam/GUI/Components/MGSlider.h diff --git a/Sources/SeriousSam/MGTitle.cpp b/Sources/SeriousSam/GUI/Components/MGTitle.cpp similarity index 100% rename from Sources/SeriousSam/MGTitle.cpp rename to Sources/SeriousSam/GUI/Components/MGTitle.cpp diff --git a/Sources/SeriousSam/MGTitle.h b/Sources/SeriousSam/GUI/Components/MGTitle.h similarity index 100% rename from Sources/SeriousSam/MGTitle.h rename to Sources/SeriousSam/GUI/Components/MGTitle.h diff --git a/Sources/SeriousSam/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp similarity index 100% rename from Sources/SeriousSam/MGTrigger.cpp rename to Sources/SeriousSam/GUI/Components/MGTrigger.cpp diff --git a/Sources/SeriousSam/MGTrigger.h b/Sources/SeriousSam/GUI/Components/MGTrigger.h similarity index 100% rename from Sources/SeriousSam/MGTrigger.h rename to Sources/SeriousSam/GUI/Components/MGTrigger.h diff --git a/Sources/SeriousSam/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp similarity index 100% rename from Sources/SeriousSam/MGVarButton.cpp rename to Sources/SeriousSam/GUI/Components/MGVarButton.cpp diff --git a/Sources/SeriousSam/MGVarButton.h b/Sources/SeriousSam/GUI/Components/MGVarButton.h similarity index 100% rename from Sources/SeriousSam/MGVarButton.h rename to Sources/SeriousSam/GUI/Components/MGVarButton.h diff --git a/Sources/SeriousSam/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp similarity index 100% rename from Sources/SeriousSam/MenuGadget.cpp rename to Sources/SeriousSam/GUI/Components/MenuGadget.cpp diff --git a/Sources/SeriousSam/MenuGadget.h b/Sources/SeriousSam/GUI/Components/MenuGadget.h similarity index 100% rename from Sources/SeriousSam/MenuGadget.h rename to Sources/SeriousSam/GUI/Components/MenuGadget.h diff --git a/Sources/SeriousSam/GameMenu.cpp b/Sources/SeriousSam/GameMenu.cpp new file mode 100644 index 0000000..4518dfd --- /dev/null +++ b/Sources/SeriousSam/GameMenu.cpp @@ -0,0 +1,339 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include +#include "MenuPrinting.h" +#include "GameMenu.h" + + +CGameMenu::CGameMenu(void) +{ + gm_pgmParentMenu = NULL; + gm_pmgSelectedByDefault = NULL; + gm_pmgArrowUp = NULL; + gm_pmgArrowDn = NULL; + gm_pmgListTop = NULL; + gm_pmgListBottom = NULL; + gm_iListOffset = 0; + gm_ctListVisible = 0; + gm_ctListTotal = 0; + gm_bPopup = FALSE; +} + +void CGameMenu::Initialize_t(void) +{ +} + +void CGameMenu::Destroy(void) +{ +} + +void CGameMenu::FillListItems(void) +{ + ASSERT(FALSE); // must be implemented to scroll up/down +} + +void CGameMenu::KillAllFocuses(void) +{ + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { + itmg->mg_bFocused = FALSE; + } +} + +void CGameMenu::Think(void) +{ +} + +// +-1 -> hit top/bottom when pressing up/down on keyboard +// +-2 -> pressed pageup/pagedown on keyboard +// +-3 -> pressed arrow up/down button in menu +// +-4 -> scrolling with mouse wheel +void CGameMenu::ScrollList(INDEX iDir) +{ + // if not valid for scrolling + if (gm_ctListTotal <= 0 + || gm_pmgArrowUp == NULL || gm_pmgArrowDn == NULL + || gm_pmgListTop == NULL || gm_pmgListBottom == NULL) { + // do nothing + return; + } + + INDEX iOldTopKey = gm_iListOffset; + // change offset + switch (iDir) { + case -1: + gm_iListOffset -= 1; + break; + case -4: + gm_iListOffset -= 3; + break; + case -2: + case -3: + gm_iListOffset -= gm_ctListVisible; + break; + case +1: + gm_iListOffset += 1; + break; + case +4: + gm_iListOffset += 3; + break; + case +2: + case +3: + gm_iListOffset += gm_ctListVisible; + break; + default: + ASSERT(FALSE); + return; + } + if (gm_ctListTotal <= gm_ctListVisible) { + gm_iListOffset = 0; + } + else { + gm_iListOffset = Clamp(gm_iListOffset, INDEX(0), INDEX(gm_ctListTotal - gm_ctListVisible)); + } + + // set new names + FillListItems(); + + // if scroling with wheel + if (iDir == +4 || iDir == -4) { + // no focus changing + return; + } + + // delete all focuses + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + itmg->OnKillFocus(); + } + + // set new focus + const INDEX iFirst = 0; + const INDEX iLast = gm_ctListVisible - 1; + switch (iDir) { + case +1: + gm_pmgListBottom->OnSetFocus(); + break; + case +2: + if (gm_iListOffset != iOldTopKey) { + gm_pmgListTop->OnSetFocus(); + } + else { + gm_pmgListBottom->OnSetFocus(); + } + break; + case +3: + gm_pmgArrowDn->OnSetFocus(); + break; + case -1: + gm_pmgListTop->OnSetFocus(); + break; + case -2: + gm_pmgListTop->OnSetFocus(); + break; + case -3: + gm_pmgArrowUp->OnSetFocus(); + break; + } +} + +BOOL CGameMenu::OnChar(MSG msg) +{ + // find curently active gadget + CMenuGadget *pmgActive = NULL; + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + // if focused + if (itmg->mg_bFocused) { + // remember as active + pmgActive = &itmg.Current(); + } + } + + // if none focused + if (pmgActive == NULL) { + // do nothing + return FALSE; + } + + // if active gadget handles it + if (pmgActive->OnChar(msg)) { + // key is handled + return TRUE; + } + + // key is not handled + return FALSE; +} + +// return TRUE if handled +BOOL CGameMenu::OnKeyDown(int iVKey) +{ + // find curently active gadget + CMenuGadget *pmgActive = NULL; + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + // if focused + if (itmg->mg_bFocused) { + // remember as active + pmgActive = &itmg.Current(); + } + } + + // if none focused + if (pmgActive == NULL) { + // do nothing + return FALSE; + } + + // if active gadget handles it + if (pmgActive->OnKeyDown(iVKey)) { + // key is handled + return TRUE; + } + + // process normal in menu movement + switch (iVKey) { + case VK_PRIOR: + ScrollList(-2); + return TRUE; + case VK_NEXT: + ScrollList(+2); + return TRUE; + + case 11: + ScrollList(-4); + return TRUE; + case 10: + ScrollList(+4); + return TRUE; + + case VK_UP: + // if this is top button in list + if (pmgActive == gm_pmgListTop) { + // scroll list up + ScrollList(-1); + // key is handled + return TRUE; + } + // if we can go up + if (pmgActive->mg_pmgUp != NULL && pmgActive->mg_pmgUp->mg_bVisible) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + pmgActive = pmgActive->mg_pmgUp; + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_DOWN: + // if this is bottom button in list + if (pmgActive == gm_pmgListBottom) { + // scroll list down + ScrollList(+1); + // key is handled + return TRUE; + } + // if we can go down + if (pmgActive->mg_pmgDown != NULL && pmgActive->mg_pmgDown->mg_bVisible) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + pmgActive = pmgActive->mg_pmgDown; + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_LEFT: + // if we can go left + if (pmgActive->mg_pmgLeft != NULL) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + if (!pmgActive->mg_pmgLeft->mg_bVisible && gm_pmgSelectedByDefault != NULL) { + pmgActive = gm_pmgSelectedByDefault; + } + else { + pmgActive = pmgActive->mg_pmgLeft; + } + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_RIGHT: + // if we can go right + if (pmgActive->mg_pmgRight != NULL) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + if (!pmgActive->mg_pmgRight->mg_bVisible && gm_pmgSelectedByDefault != NULL) { + pmgActive = gm_pmgSelectedByDefault; + } + else { + pmgActive = pmgActive->mg_pmgRight; + } + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + } + + // key is not handled + return FALSE; +} + +void CGameMenu::StartMenu(void) +{ + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) + { + itmg->mg_bFocused = FALSE; + // call appear + itmg->Appear(); + } + + // if there is a list + if (gm_pmgListTop != NULL) { + // scroll it so that the wanted tem is centered + gm_iListOffset = gm_iListWantedItem - gm_ctListVisible / 2; + // clamp the scrolling + gm_iListOffset = Clamp(gm_iListOffset, 0L, Max(0L, gm_ctListTotal - gm_ctListVisible)); + + // fill the list + FillListItems(); + + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { + // if in list, but disabled + if (itmg->mg_iInList == -2) { + // hide it + itmg->mg_bVisible = FALSE; + // if in list + } + else if (itmg->mg_iInList >= 0) { + // show it + itmg->mg_bVisible = TRUE; + } + // if wanted + if (itmg->mg_iInList == gm_iListWantedItem) { + // focus it + itmg->OnSetFocus(); + gm_pmgSelectedByDefault = itmg; + } + } + } +} + +void CGameMenu::EndMenu(void) +{ + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) + { + // call disappear + itmg->Disappear(); + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/MAudioOptions.h b/Sources/SeriousSam/MAudioOptions.h index 8b76fa2..7f2cdf1 100644 --- a/Sources/SeriousSam/MAudioOptions.h +++ b/Sources/SeriousSam/MAudioOptions.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGSlider.h" -#include "MGTrigger.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGSlider.h" +#include "GUI/Components/MGTrigger.h" +#include "GUI/Components/MGTitle.h" class CAudioOptionsMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MConfirm.h b/Sources/SeriousSam/MConfirm.h index 49a9131..689fc14 100644 --- a/Sources/SeriousSam/MConfirm.h +++ b/Sources/SeriousSam/MConfirm.h @@ -7,7 +7,7 @@ #endif #include "GameMenu.h" -#include "MGButton.h" +#include "GUI/Components/MGButton.h" class CConfirmMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MControls.h b/Sources/SeriousSam/MControls.h index dafbc7c..7f07ee0 100644 --- a/Sources/SeriousSam/MControls.h +++ b/Sources/SeriousSam/MControls.h @@ -7,10 +7,11 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGSlider.h" -#include "MGTitle.h" -#include "MGTrigger.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGSlider.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" + class CControlsMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MCustomizeAxis.h b/Sources/SeriousSam/MCustomizeAxis.h index 741d1e3..f050279 100644 --- a/Sources/SeriousSam/MCustomizeAxis.h +++ b/Sources/SeriousSam/MCustomizeAxis.h @@ -7,9 +7,9 @@ #endif #include "GameMenu.h" -#include "MGSlider.h" -#include "MGTitle.h" -#include "MGTrigger.h" +#include "GUI/Components/MGSlider.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" class CCustomizeAxisMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MCustomizeKeyboard.h b/Sources/SeriousSam/MCustomizeKeyboard.h index c7461b7..0f7746a 100644 --- a/Sources/SeriousSam/MCustomizeKeyboard.h +++ b/Sources/SeriousSam/MCustomizeKeyboard.h @@ -7,9 +7,9 @@ #endif #include "GameMenu.h" -#include "MGArrow.h" -#include "MGKeyDefinition.h" -#include "MGTitle.h" +#include "GUI/Components/MGArrow.h" +#include "GUI/Components/MGKeyDefinition.h" +#include "GUI/Components/MGTitle.h" class CCustomizeKeyboardMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MDisabled.h b/Sources/SeriousSam/MDisabled.h index 90de7ec..6b648c2 100644 --- a/Sources/SeriousSam/MDisabled.h +++ b/Sources/SeriousSam/MDisabled.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" class CDisabledMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MHighScore.h b/Sources/SeriousSam/MHighScore.h index 22d7fd7..862edbc 100644 --- a/Sources/SeriousSam/MHighScore.h +++ b/Sources/SeriousSam/MHighScore.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGHighScore.h" -#include "MGTitle.h" +#include "GUI/Components/MGHighScore.h" +#include "GUI/Components/MGTitle.h" class CHighScoreMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MInGame.h b/Sources/SeriousSam/MInGame.h index b873183..548c2f6 100644 --- a/Sources/SeriousSam/MInGame.h +++ b/Sources/SeriousSam/MInGame.h @@ -7,8 +7,9 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" + class CInGameMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MLevels.h b/Sources/SeriousSam/MLevels.h index 61b8d0c..f6272df 100644 --- a/Sources/SeriousSam/MLevels.h +++ b/Sources/SeriousSam/MLevels.h @@ -7,9 +7,10 @@ #endif #include "GameMenu.h" -#include "MGArrow.h" -#include "MGLevelButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGArrow.h" +#include "GUI/Components/MGLevelButton.h" +#include "GUI/Components/MGTitle.h" + class CLevelsMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MLoadSave.h b/Sources/SeriousSam/MLoadSave.h index 12a90b6..228cfce 100644 --- a/Sources/SeriousSam/MLoadSave.h +++ b/Sources/SeriousSam/MLoadSave.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGArrow.h" -#include "MGButton.h" -#include "MGFileButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGArrow.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGFileButton.h" +#include "GUI/Components/MGTitle.h" #define SAVELOAD_BUTTONS_CT 14 diff --git a/Sources/SeriousSam/MMain.h b/Sources/SeriousSam/MMain.h index 6ff5c55..5ff07ef 100644 --- a/Sources/SeriousSam/MMain.h +++ b/Sources/SeriousSam/MMain.h @@ -7,7 +7,7 @@ #endif #include "GameMenu.h" -#include "MGButton.h" +#include "GUI/Components/MGButton.h" class CMainMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MNetwork.h b/Sources/SeriousSam/MNetwork.h index c26cc60..5769349 100644 --- a/Sources/SeriousSam/MNetwork.h +++ b/Sources/SeriousSam/MNetwork.h @@ -7,8 +7,9 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" + class CNetworkMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MNetworkJoin.h b/Sources/SeriousSam/MNetworkJoin.h index 0410a5e..144c28a 100644 --- a/Sources/SeriousSam/MNetworkJoin.h +++ b/Sources/SeriousSam/MNetworkJoin.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" class CNetworkJoinMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MNetworkOpen.h b/Sources/SeriousSam/MNetworkOpen.h index 5c8c51d..11a5759 100644 --- a/Sources/SeriousSam/MNetworkOpen.h +++ b/Sources/SeriousSam/MNetworkOpen.h @@ -7,9 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGEdit.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGEdit.h" +#include "GUI/Components/MGTitle.h" + class CNetworkOpenMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MNetworkStart.h b/Sources/SeriousSam/MNetworkStart.h index 79bbdc5..e58b27b 100644 --- a/Sources/SeriousSam/MNetworkStart.h +++ b/Sources/SeriousSam/MNetworkStart.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGEdit.h" -#include "MGTitle.h" -#include "MGTrigger.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGEdit.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" class CNetworkStartMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MOptions.h b/Sources/SeriousSam/MOptions.h index 6510595..c0283db 100644 --- a/Sources/SeriousSam/MOptions.h +++ b/Sources/SeriousSam/MOptions.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" class COptionsMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MPlayerProfile.h b/Sources/SeriousSam/MPlayerProfile.h index 274dd77..53e5139 100644 --- a/Sources/SeriousSam/MPlayerProfile.h +++ b/Sources/SeriousSam/MPlayerProfile.h @@ -7,11 +7,11 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGEdit.h" -#include "MGModel.h" -#include "MGTrigger.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGEdit.h" +#include "GUI/Components/MGModel.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" class CPlayerProfileMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MSelectPlayers.h b/Sources/SeriousSam/MSelectPlayers.h index 4f747d8..e08a31d 100644 --- a/Sources/SeriousSam/MSelectPlayers.h +++ b/Sources/SeriousSam/MSelectPlayers.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGChangePlayer.h" -#include "MGTitle.h" -#include "MGTrigger.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGChangePlayer.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" class CSelectPlayersMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MServers.h b/Sources/SeriousSam/MServers.h index bc8f5bd..be7dadc 100644 --- a/Sources/SeriousSam/MServers.h +++ b/Sources/SeriousSam/MServers.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGEdit.h" -#include "MGServerList.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGEdit.h" +#include "GUI/Components/MGServerList.h" +#include "GUI/Components/MGTitle.h" class CServersMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MSinglePlayer.h b/Sources/SeriousSam/MSinglePlayer.h index f08d07b..e472d69 100644 --- a/Sources/SeriousSam/MSinglePlayer.h +++ b/Sources/SeriousSam/MSinglePlayer.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" class CSinglePlayerMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MSinglePlayerNew.h b/Sources/SeriousSam/MSinglePlayerNew.h index e0689da..37914e0 100644 --- a/Sources/SeriousSam/MSinglePlayerNew.h +++ b/Sources/SeriousSam/MSinglePlayerNew.h @@ -7,8 +7,8 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" class CSinglePlayerNewMenu : public CGameMenu { diff --git a/Sources/SeriousSam/MSplitScreen.h b/Sources/SeriousSam/MSplitScreen.h index 721faea..dca86ec 100644 --- a/Sources/SeriousSam/MSplitScreen.h +++ b/Sources/SeriousSam/MSplitScreen.h @@ -7,8 +7,9 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" + class CSplitScreenMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MSplitStart.h b/Sources/SeriousSam/MSplitStart.h index 1ed2838..5ccaaa9 100644 --- a/Sources/SeriousSam/MSplitStart.h +++ b/Sources/SeriousSam/MSplitStart.h @@ -7,9 +7,10 @@ #endif #include "GameMenu.h" -#include "MGButton.h" -#include "MGTitle.h" -#include "MGTrigger.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" + class CSplitStartMenu : public CGameMenu { public: diff --git a/Sources/SeriousSam/MVar.h b/Sources/SeriousSam/MVar.h index 4f406b2..02186e0 100644 --- a/Sources/SeriousSam/MVar.h +++ b/Sources/SeriousSam/MVar.h @@ -7,10 +7,10 @@ #endif #include "GameMenu.h" -#include "MGArrow.h" -#include "MGButton.h" -#include "MGTitle.h" -#include "MGVarButton.h" +#include "GUI/Components/MGArrow.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGVarButton.h" class CVarMenu : public CGameMenu { diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index 391e18c..f1c862d 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -14,20 +14,20 @@ #include "VarList.h" #include "FileInfo.h" -#include "MGArrow.h" -#include "MGButton.h" -#include "MGChangePlayer.h" -#include "MGEdit.h" -#include "MGFileButton.h" -#include "MGHighScore.h" -#include "MGKeyDefinition.h" -#include "MGLevelButton.h" -#include "MGModel.h" -#include "MGServerList.h" -#include "MGSlider.h" -#include "MGTitle.h" -#include "MGTrigger.h" -#include "MGVarButton.h" +#include "GUI/Components/MGArrow.h" +#include "GUI/Components/MGButton.h" +#include "GUI/Components/MGChangePlayer.h" +#include "GUI/Components/MGEdit.h" +#include "GUI/Components/MGFileButton.h" +#include "GUI/Components/MGHighScore.h" +#include "GUI/Components/MGKeyDefinition.h" +#include "GUI/Components/MGLevelButton.h" +#include "GUI/Components/MGModel.h" +#include "GUI/Components/MGServerList.h" +#include "GUI/Components/MGSlider.h" +#include "GUI/Components/MGTitle.h" +#include "GUI/Components/MGTrigger.h" +#include "GUI/Components/MGVarButton.h" #include "MAudioOptions.h" #include "MConfirm.h" @@ -69,7 +69,6 @@ extern CTextureObject *_ptoLogoEAX; INDEX _iLocalPlayer = -1; extern BOOL _bPlayerMenuFromSinglePlayer = FALSE; - GameMode _gmMenuGameMode = GM_NONE; GameMode _gmRunningGameMode = GM_NONE; CListHead _lhServers; @@ -146,7 +145,6 @@ void ConfirmNo(void) MenuGoToParent(); } - extern void ControlsMenuOn() { _pGame->SavePlayersAndControls(); @@ -192,7 +190,6 @@ CFontData _fdMedium; CFontData _fdSmall; CFontData _fdTitle; - CSoundData *_psdSelect = NULL; CSoundData *_psdPress = NULL; CSoundObject *_psoMenuSound = NULL; @@ -219,57 +216,35 @@ CGameMenu *pgmCurrentMenu = NULL; // global back button CMGButton mgBack; -// -------- Confirm menu +// Menus CConfirmMenu gmConfirmMenu; - -// -------- Main menu CMainMenu gmMainMenu; - -// -------- InGame menu CInGameMenu gmInGameMenu; - -// -------- Single player menu CSinglePlayerMenu gmSinglePlayerMenu; - -// -------- New single player menu CSinglePlayerNewMenu gmSinglePlayerNewMenu; - -// -------- Disabled menu CDisabledMenu gmDisabledFunction; - -// -------- Manual levels menu CLevelsMenu gmLevelsMenu; +CVarMenu gmVarMenu; +CPlayerProfileMenu gmPlayerProfile; +CControlsMenu gmControls; +CLoadSaveMenu gmLoadSaveMenu; +CHighScoreMenu gmHighScoreMenu; +CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; +CServersMenu gmServersMenu; +CCustomizeAxisMenu gmCustomizeAxisMenu; +COptionsMenu gmOptionsMenu; +CVideoOptionsMenu gmVideoOptionsMenu; +CAudioOptionsMenu gmAudioOptionsMenu; +CNetworkMenu gmNetworkMenu; +CNetworkJoinMenu gmNetworkJoinMenu; +CNetworkStartMenu gmNetworkStartMenu; +CNetworkOpenMenu gmNetworkOpenMenu; +CSplitScreenMenu gmSplitScreenMenu; +CSplitStartMenu gmSplitStartMenu; +CSelectPlayersMenu gmSelectPlayersMenu; // -------- console variable adjustment menu extern BOOL _bVarChanged = FALSE; -CVarMenu gmVarMenu; - -// -------- Player profile menu -CPlayerProfileMenu gmPlayerProfile; - -// -------- Controls menu -CControlsMenu gmControls; - -// -------- Load/Save menu -CLoadSaveMenu gmLoadSaveMenu; - -// -------- High-score menu -CHighScoreMenu gmHighScoreMenu; - -// -------- Customize keyboard menu -CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; - -// -------- Choose servers menu -CServersMenu gmServersMenu; - -// -------- Customize axis menu -CCustomizeAxisMenu gmCustomizeAxisMenu; - -// -------- Options menu -COptionsMenu gmOptionsMenu; - -// -------- Video options menu -CVideoOptionsMenu gmVideoOptionsMenu; INDEX _ctResolutions = 0; CTString * _astrResolutionTexts = NULL; @@ -278,30 +253,6 @@ INDEX _ctAdapters = 0; CTString * _astrAdapterTexts = NULL; -// -------- Audio options menu -CAudioOptionsMenu gmAudioOptionsMenu; - -// -------- Network menu -CNetworkMenu gmNetworkMenu; - -// -------- Network join menu -CNetworkJoinMenu gmNetworkJoinMenu; - -// -------- Network start menu -CNetworkStartMenu gmNetworkStartMenu; - -// -------- Network open menu -CNetworkOpenMenu gmNetworkOpenMenu; - -// -------- Split screen menu -CSplitScreenMenu gmSplitScreenMenu; - -// -------- Split screen start menu -CSplitStartMenu gmSplitStartMenu; - -// -------- Select players menu -CSelectPlayersMenu gmSelectPlayersMenu; - extern void PlayMenuSound(CSoundData *psd) { if (_psoMenuSound!=NULL && !_psoMenuSound->IsPlaying()) { @@ -388,7 +339,6 @@ void ClearThumbnail(void) } // start load/save menus depending on type of game running - void QuickSaveFromMenu() { _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting @@ -408,6 +358,7 @@ void StartCurrentLoadMenu() StartSinglePlayerLoadMenu(); } } + void StartCurrentSaveMenu() { if (_gmRunningGameMode==GM_NETWORK) { @@ -421,6 +372,7 @@ void StartCurrentSaveMenu() StartSinglePlayerSaveMenu(); } } + void StartCurrentQuickLoadMenu() { if (_gmRunningGameMode==GM_NETWORK) { @@ -602,7 +554,6 @@ void SaveConfirm(void) ChangeToMenu( &gmConfirmMenu); } - void ModLoadYes(void) { extern CTFileName _fnmModToLoad; @@ -655,11 +606,13 @@ void StopCurrentGame(void) StopMenus(TRUE); StartMenus(""); } + void StartSinglePlayerNewMenuCustom(void) { gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmLevelsMenu; ChangeToMenu( &gmSinglePlayerNewMenu); } + void StartSinglePlayerNewMenu(void) { gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; @@ -702,30 +655,35 @@ void StartSinglePlayerGame_Tourist(void) _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } + void StartSinglePlayerGame_Easy(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } + void StartSinglePlayerGame_Normal(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } + void StartSinglePlayerGame_Hard(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } + void StartSinglePlayerGame_Serious(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } + void StartSinglePlayerGame_Mental(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME+1); @@ -740,6 +698,7 @@ void StartTraining(void) _pGame->gam_strCustomLevel = sam_strTrainingLevel; ChangeToMenu( &gmSinglePlayerNewMenu); } + void StartTechTest(void) { gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; @@ -770,6 +729,7 @@ void StartControlsMenuFromPlayer(void) gmControls.gm_pgmParentMenu = &gmPlayerProfile; ChangeToMenu( &gmControls); } + void StartControlsMenuFromOptions(void) { gmControls.gm_pgmParentMenu = &gmOptionsMenu; @@ -858,6 +818,7 @@ void StartNetworkGame(void) _gmRunningGameMode = GM_NONE; } } + void JoinNetworkGame(void) { // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; @@ -891,11 +852,13 @@ void JoinNetworkGame(void) _gmRunningGameMode = GM_NONE; } } + void StartHighScoreMenu(void) { gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmHighScoreMenu); } + CTFileName _fnGameToLoad; void StartNetworkLoadGame(void) { @@ -1085,6 +1048,7 @@ BOOL LSLoadSinglePlayer(const CTFileName &fnm) } return TRUE; } + BOOL LSLoadNetwork(const CTFileName &fnm) { // call local players menu @@ -1092,6 +1056,7 @@ BOOL LSLoadNetwork(const CTFileName &fnm) StartSelectPlayersMenuFromNetworkLoad(); return TRUE; } + BOOL LSLoadSplitScreen(const CTFileName &fnm) { // call local players menu @@ -1099,6 +1064,7 @@ BOOL LSLoadSplitScreen(const CTFileName &fnm) StartSelectPlayersMenuFromSplitScreenLoad(); return TRUE; } + extern BOOL LSLoadDemo(const CTFileName &fnm) { // call local players menu @@ -1384,6 +1350,7 @@ void StartSinglePlayerSaveMenu(void) gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); } + void StartDemoLoadMenu(void) { _gmMenuGameMode = GM_DEMO; @@ -1402,6 +1369,7 @@ void StartDemoLoadMenu(void) gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); } + void StartDemoSaveMenu(void) { if( _gmRunningGameMode == GM_NONE) return; @@ -1521,6 +1489,7 @@ void StartSplitScreenLoadMenu(void) gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmLoadSaveMenu); } + void StartSplitScreenSaveMenu(void) { if( _gmRunningGameMode != GM_SPLIT_SCREEN) return; @@ -1550,6 +1519,7 @@ void StartVarGameOptions(void) gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); ChangeToMenu( &gmVarMenu); } + void StartSinglePlayerGameOptions(void) { gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); @@ -1558,7 +1528,6 @@ void StartSinglePlayerGameOptions(void) gmVarMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; } - void StartGameOptionsFromNetwork(void) { StartVarGameOptions(); @@ -1584,21 +1553,25 @@ void StartCustomizeKeyboardMenu(void) { ChangeToMenu( &gmCustomizeKeyboardMenu); } + void StartCustomizeAxisMenu(void) { ChangeToMenu( &gmCustomizeAxisMenu); } + void StopRecordingDemo(void) { _pNetwork->StopDemoRec(); void SetDemoStartStopRecText(void); SetDemoStartStopRecText(); } + void StartOptionsMenu(void) { gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; ChangeToMenu( &gmOptionsMenu); } + static void ResolutionToSize(INDEX iRes, PIX &pixSizeI, PIX &pixSizeJ) { ASSERT(iRes>=0 && iRes<_ctResolutions); @@ -1606,6 +1579,7 @@ static void ResolutionToSize(INDEX iRes, PIX &pixSizeI, PIX &pixSizeJ) pixSizeI = dm.dm_pixSizeI; pixSizeJ = dm.dm_pixSizeJ; } + static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) { for(iRes=0; iRes<_ctResolutions; iRes++) { @@ -1638,6 +1612,7 @@ static INDEX APIToSwitch(enum GfxAPIType gat) default: ASSERT(FALSE); return 0; } } + static enum GfxAPIType SwitchToAPI(INDEX i) { switch(i) { @@ -1658,6 +1633,7 @@ static INDEX DepthToSwitch(enum DisplayDepth dd) default: ASSERT(FALSE); return 0; } } + static enum DisplayDepth SwitchToDepth(INDEX i) { switch(i) { @@ -1798,10 +1774,12 @@ void StartNetworkMenu(void) { ChangeToMenu( &gmNetworkMenu); } + void StartNetworkJoinMenu(void) { ChangeToMenu( &gmNetworkJoinMenu); } + void StartNetworkStartMenu(void) { ChangeToMenu( &gmNetworkStartMenu); @@ -1816,40 +1794,12 @@ void StartSplitScreenMenu(void) { ChangeToMenu( &gmSplitScreenMenu); } + void StartSplitStartMenu(void) { ChangeToMenu( &gmSplitStartMenu); } -// initialize game type strings table -void InitGameTypes(void) -{ - // get function that will provide us the info about gametype - CShellSymbol *pss = _pShell->GetSymbol("GetGameTypeNameSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss==NULL) { - // error - astrGameTypeRadioTexts[0] = ""; - ctGameTypeRadioTexts = 1; - return; - } - - // for each mode - for(ctGameTypeRadioTexts=0; ctGameTypeRadioTextsss_pvValue; - CTString strMode = pFunc(ctGameTypeRadioTexts); - // if no mode modes - if (strMode=="") { - // stop - break; - } - // add that mode - astrGameTypeRadioTexts[ctGameTypeRadioTexts] = strMode; - } -} - - // ------------------------ Global menu function implementation void InitializeMenus(void) { @@ -2594,333 +2544,6 @@ void ChangeToMenu( CGameMenu *pgmNewMenu) pgmCurrentMenu = pgmNewMenu; } -// ------------------------ SGameMenu implementation -CGameMenu::CGameMenu( void) -{ - gm_pgmParentMenu = NULL; - gm_pmgSelectedByDefault = NULL; - gm_pmgArrowUp = NULL; - gm_pmgArrowDn = NULL; - gm_pmgListTop = NULL; - gm_pmgListBottom = NULL; - gm_iListOffset = 0; - gm_ctListVisible = 0; - gm_ctListTotal = 0; - gm_bPopup = FALSE; -} - -void CGameMenu::Initialize_t( void) -{ -} - -void CGameMenu::Destroy(void) -{ -} -void CGameMenu::FillListItems(void) -{ - ASSERT(FALSE); // must be implemented to scroll up/down -} - -// +-1 -> hit top/bottom when pressing up/down on keyboard -// +-2 -> pressed pageup/pagedown on keyboard -// +-3 -> pressed arrow up/down button in menu -// +-4 -> scrolling with mouse wheel -void CGameMenu::ScrollList(INDEX iDir) -{ - // if not valid for scrolling - if (gm_ctListTotal<=0 - || gm_pmgArrowUp == NULL || gm_pmgArrowDn == NULL - || gm_pmgListTop == NULL || gm_pmgListBottom == NULL) { - // do nothing - return; - } - - INDEX iOldTopKey = gm_iListOffset; - // change offset - switch(iDir) { - case -1: - gm_iListOffset -= 1; - break; - case -4: - gm_iListOffset -= 3; - break; - case -2: - case -3: - gm_iListOffset -= gm_ctListVisible; - break; - case +1: - gm_iListOffset += 1; - break; - case +4: - gm_iListOffset += 3; - break; - case +2: - case +3: - gm_iListOffset += gm_ctListVisible; - break; - default: - ASSERT(FALSE); - return; - } - if (gm_ctListTotal<=gm_ctListVisible) { - gm_iListOffset = 0; - } else { - gm_iListOffset = Clamp(gm_iListOffset, INDEX(0), INDEX(gm_ctListTotal-gm_ctListVisible)); - } - - // set new names - FillListItems(); - - // if scroling with wheel - if (iDir==+4 || iDir==-4) { - // no focus changing - return; - } - - // delete all focuses - FOREACHINLIST( CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - itmg->OnKillFocus(); - } - - // set new focus - const INDEX iFirst = 0; - const INDEX iLast = gm_ctListVisible-1; - switch(iDir) { - case +1: - gm_pmgListBottom->OnSetFocus(); - break; - case +2: - if (gm_iListOffset!=iOldTopKey) { - gm_pmgListTop->OnSetFocus(); - } else { - gm_pmgListBottom->OnSetFocus(); - } - break; - case +3: - gm_pmgArrowDn->OnSetFocus(); - break; - case -1: - gm_pmgListTop->OnSetFocus(); - break; - case -2: - gm_pmgListTop->OnSetFocus(); - break; - case -3: - gm_pmgArrowUp->OnSetFocus(); - break; - } -} - -void CGameMenu::KillAllFocuses(void) -{ - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { - itmg->mg_bFocused = FALSE; - } -} - -void CGameMenu::StartMenu(void) -{ - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) - { - itmg->mg_bFocused = FALSE; - // call appear - itmg->Appear(); - } - - // if there is a list - if (gm_pmgListTop!=NULL) { - // scroll it so that the wanted tem is centered - gm_iListOffset = gm_iListWantedItem-gm_ctListVisible/2; - // clamp the scrolling - gm_iListOffset = Clamp(gm_iListOffset, 0L, Max(0L, gm_ctListTotal-gm_ctListVisible)); - - // fill the list - FillListItems(); - - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { - // if in list, but disabled - if (itmg->mg_iInList==-2) { - // hide it - itmg->mg_bVisible = FALSE; - // if in list - } else if (itmg->mg_iInList>=0) { - // show it - itmg->mg_bVisible = TRUE; - } - // if wanted - if (itmg->mg_iInList==gm_iListWantedItem) { - // focus it - itmg->OnSetFocus(); - gm_pmgSelectedByDefault = itmg; - } - } - } -} - -void CGameMenu::EndMenu(void) -{ - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) - { - // call disappear - itmg->Disappear(); - } -} - -// return TRUE if handled -BOOL CGameMenu::OnKeyDown( int iVKey) -{ - // find curently active gadget - CMenuGadget *pmgActive = NULL; - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - // if focused - if( itmg->mg_bFocused) { - // remember as active - pmgActive = &itmg.Current(); - } - } - - // if none focused - if( pmgActive == NULL) { - // do nothing - return FALSE; - } - - // if active gadget handles it - if( pmgActive->OnKeyDown( iVKey)) { - // key is handled - return TRUE; - } - - // process normal in menu movement - switch( iVKey) { - case VK_PRIOR: - ScrollList(-2); - return TRUE; - case VK_NEXT: - ScrollList(+2); - return TRUE; - - case 11: - ScrollList(-4); - return TRUE; - case 10: - ScrollList(+4); - return TRUE; - - case VK_UP: - // if this is top button in list - if (pmgActive==gm_pmgListTop) { - // scroll list up - ScrollList(-1); - // key is handled - return TRUE; - } - // if we can go up - if(pmgActive->mg_pmgUp != NULL && pmgActive->mg_pmgUp->mg_bVisible) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - pmgActive = pmgActive->mg_pmgUp; - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_DOWN: - // if this is bottom button in list - if (pmgActive==gm_pmgListBottom) { - // scroll list down - ScrollList(+1); - // key is handled - return TRUE; - } - // if we can go down - if(pmgActive->mg_pmgDown != NULL && pmgActive->mg_pmgDown->mg_bVisible) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - pmgActive = pmgActive->mg_pmgDown; - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_LEFT: - // if we can go left - if(pmgActive->mg_pmgLeft != NULL) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - if (!pmgActive->mg_pmgLeft->mg_bVisible && gm_pmgSelectedByDefault!=NULL) { - pmgActive = gm_pmgSelectedByDefault; - } else { - pmgActive = pmgActive->mg_pmgLeft; - } - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_RIGHT: - // if we can go right - if(pmgActive->mg_pmgRight != NULL) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - if (!pmgActive->mg_pmgRight->mg_bVisible && gm_pmgSelectedByDefault!=NULL) { - pmgActive = gm_pmgSelectedByDefault; - } else { - pmgActive = pmgActive->mg_pmgRight; - } - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - } - - // key is not handled - return FALSE; -} - -void CGameMenu::Think(void) -{ -} - -BOOL CGameMenu::OnChar(MSG msg) -{ - // find curently active gadget - CMenuGadget *pmgActive = NULL; - // for each menu gadget in menu - FOREACHINLIST( CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - // if focused - if( itmg->mg_bFocused) { - // remember as active - pmgActive = &itmg.Current(); - } - } - - // if none focused - if( pmgActive == NULL) { - // do nothing - return FALSE; - } - - // if active gadget handles it - if( pmgActive->OnChar(msg)) { - // key is handled - return TRUE; - } - - // key is not handled - return FALSE; -} - // ------------------------ CConfirmMenu implementation void InitActionsForConfirmMenu() { gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; @@ -2938,98 +2561,116 @@ BOOL CConfirmMenu::OnKeyDown(int iVKey) } // ------------------------ CMainMenu implementation +#define CMENU gmMainMenu + void InitActionsForMainMenu() { - gmMainMenu.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; - gmMainMenu.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; - gmMainMenu.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; - gmMainMenu.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; + CMENU.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; + CMENU.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; + CMENU.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; + CMENU.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; #if TECHTESTONLY - gmMainMenu.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; + CMENU.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; #else - gmMainMenu.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; + CMENU.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; #endif - gmMainMenu.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - gmMainMenu.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - gmMainMenu.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; + CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } +#undef CMENU + // ------------------------ CInGameMenu implementation +#define CMENU gmInGameMenu + void InitActionsForInGameMenu() { - gmInGameMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; - gmInGameMenu.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; - gmInGameMenu.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; - gmInGameMenu.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; - gmInGameMenu.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - gmInGameMenu.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; + CMENU.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; + CMENU.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; + CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; #if TECHTESTONLY - gmInGameMenu.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; + CMENU.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; #else - gmInGameMenu.gm_mgStop.mg_pActivatedFunction = &StopConfirm; + CMENU.gm_mgStop.mg_pActivatedFunction = &StopConfirm; #endif - gmInGameMenu.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; + CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } extern void SetDemoStartStopRecText(void) { if( _pNetwork->IsRecordingDemo()) { - gmInGameMenu.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); - gmInGameMenu.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); - gmInGameMenu.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; + CMENU.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); + CMENU.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); + CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; } else { - gmInGameMenu.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); - gmInGameMenu.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); - gmInGameMenu.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; + CMENU.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); + CMENU.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); + CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; } } +#undef CMENU // ------------------------ CSinglePlayerMenu implementation +#define CMENU gmSinglePlayerMenu + void InitActionsForSinglePlayerMenu() { - gmSinglePlayerMenu.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; + CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; #if _SE_DEMO || TECHTESTONLY - gmSinglePlayerMenu.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; + CMENU.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; #else - gmSinglePlayerMenu.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; + CMENU.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; #endif - gmSinglePlayerMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; - gmSinglePlayerMenu.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; - gmSinglePlayerMenu.gm_mgTraining.mg_pActivatedFunction = &StartTraining; - gmSinglePlayerMenu.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; - gmSinglePlayerMenu.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; - gmSinglePlayerMenu.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; + CMENU.gm_mgTraining.mg_pActivatedFunction = &StartTraining; + CMENU.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; + CMENU.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; } +#undef CMENU + // ------------------------ CSinglePlayerNewMenu implementation +#define CMENU gmSinglePlayerNewMenu + void InitActionsForSinglePlayerNewMenu() { - gmSinglePlayerNewMenu.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; - gmSinglePlayerNewMenu.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; - gmSinglePlayerNewMenu.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; - gmSinglePlayerNewMenu.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; - gmSinglePlayerNewMenu.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; - gmSinglePlayerNewMenu.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; + CMENU.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; + CMENU.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; + CMENU.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; + CMENU.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; + CMENU.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; + CMENU.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; } -// ------------------------ CDisabledMenu implementation +#undef CMENU + +// ------------------------ CPlayerProfileMenu implementation +#define CMENU gmPlayerProfile void ChangeCrosshair(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iCrossHairType = iNew-1; } + void ChangeWeaponSelect(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iWeaponAutoSelect = iNew; } + void ChangeWeaponHide(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_HIDEWEAPON; @@ -3037,9 +2678,10 @@ void ChangeWeaponHide(INDEX iNew) pps->ps_ulFlags &= ~PSF_HIDEWEAPON; } } + void Change3rdPerson(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_PREFER3RDPERSON; @@ -3047,9 +2689,10 @@ void Change3rdPerson(INDEX iNew) pps->ps_ulFlags &= ~PSF_PREFER3RDPERSON; } } + void ChangeQuotes(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_NOQUOTES; @@ -3057,9 +2700,10 @@ void ChangeQuotes(INDEX iNew) pps->ps_ulFlags |= PSF_NOQUOTES; } } + void ChangeAutoSave(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_AUTOSAVE; @@ -3067,9 +2711,10 @@ void ChangeAutoSave(INDEX iNew) pps->ps_ulFlags &= ~PSF_AUTOSAVE; } } + void ChangeCompDoubleClick(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; @@ -3080,7 +2725,7 @@ void ChangeCompDoubleClick(INDEX iNew) void ChangeViewBobbing(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_NOBOBBING; @@ -3091,7 +2736,7 @@ void ChangeViewBobbing(INDEX iNew) void ChangeSharpTurning(INDEX iNew) { - INDEX iPlayer = *gmPlayerProfile.gm_piCurrentPlayer; + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_SHARPTURNING; @@ -3100,7 +2745,6 @@ void ChangeSharpTurning(INDEX iNew) } } -// ------------------------ CPlayerProfileMenu implementation extern void PPOnPlayerSelect(void) { ASSERT(_pmgLastActivatedGadget != NULL); @@ -3111,54 +2755,71 @@ extern void PPOnPlayerSelect(void) void InitActionsForPlayerProfileMenu() { - gmPlayerProfile.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; - gmPlayerProfile.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; - gmPlayerProfile.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; - gmPlayerProfile.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; - gmPlayerProfile.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; - gmPlayerProfile.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; - gmPlayerProfile.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; - gmPlayerProfile.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; - gmPlayerProfile.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; - gmPlayerProfile.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; - gmPlayerProfile.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; + CMENU.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; + CMENU.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; + CMENU.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; + CMENU.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; + CMENU.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; + CMENU.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; + CMENU.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; + CMENU.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; + CMENU.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; + CMENU.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; + CMENU.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; } +#undef CMENU + // ------------------------ CControlsMenu implementation +#define CMENU gmControls + void InitActionsForControlsMenu() { - gmControls.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; - gmControls.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; - gmControls.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; + CMENU.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; + CMENU.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; + CMENU.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; } +#undef CMENU + // ------------------------ CCustomizeAxisMenu implementation +#define CMENU gmCustomizeAxisMenu + void PreChangeAxis(INDEX iDummy) { - gmCustomizeAxisMenu.ApplyActionSettings(); + CMENU.ApplyActionSettings(); } + void PostChangeAxis(INDEX iDummy) { - gmCustomizeAxisMenu.ObtainActionSettings(); + CMENU.ObtainActionSettings(); } void InitActionsForCustomizeAxisMenu() { - gmCustomizeAxisMenu.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; - gmCustomizeAxisMenu.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; + CMENU.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; + CMENU.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; } +#undef CMENU + // ------------------------ COptionsMenu implementation +#define CMENU gmOptionsMenu + void InitActionsForOptionsMenu() { - gmOptionsMenu.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; - gmOptionsMenu.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; - gmOptionsMenu.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; - gmOptionsMenu.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; - gmOptionsMenu.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; - gmOptionsMenu.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; + CMENU.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; + CMENU.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; + CMENU.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; + CMENU.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; + CMENU.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; + CMENU.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; } +#undef CMENU + // ------------------------ CVideoOptionsMenu implementation +#define CMENU gmVideoOptionsMenu + static void FillResolutionsList(void) { // free resolutions @@ -3171,7 +2832,7 @@ static void FillResolutionsList(void) _ctResolutions = 0; // if window - if (gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 0) { + if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { // always has fixed resolutions, but not greater than desktop static PIX apixWidths[][2] = { 320, 240, @@ -3210,7 +2871,7 @@ static void FillResolutionsList(void) } else { // get resolutions list from engine CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, - SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected), gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected); + SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected), CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected); // allocate that much _astrResolutionTexts = new CTString [_ctResolutions]; _admResolutionModes = new CDisplayMode[_ctResolutions]; @@ -3220,8 +2881,8 @@ static void FillResolutionsList(void) SetResolutionInList( iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); } } - gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; - gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; + CMENU.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; + CMENU.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; } @@ -3232,14 +2893,14 @@ static void FillAdaptersList(void) } _ctAdapters = 0; - INDEX iApi = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); + INDEX iApi = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; _astrAdapterTexts = new CTString[_ctAdapters]; for(INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; } - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; + CMENU.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; + CMENU.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; } @@ -3254,93 +2915,97 @@ extern void UpdateVideoOptionsButtons(INDEX iSelected) #else // ASSERT( bOGLEnabled ); #endif // SE1_D3D - CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected)] - .ga_adaAdapter[gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected]; + CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected)] + .ga_adaAdapter[CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected]; // number of available preferences is higher if video setup is custom - gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; - if (sam_iVideoSetup == 3) gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_ctTexts++; + CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; + if (sam_iVideoSetup == 3) CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts++; // enumerate adapters FillAdaptersList(); // show or hide buttons - gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled + CMENU.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled #ifdef SE1_D3D && bD3DEnabled #endif // SE1_D3D ; - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; - gmVideoOptionsMenu.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; + CMENU.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; + CMENU.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; // determine which should be visible - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; + CMENU.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; if( da.da_ulFlags&DAF_FULLSCREENONLY) { - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 1; - gmVideoOptionsMenu.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + CMENU.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; + CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); } - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; - if (gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 0) { - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; + if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } else if( da.da_ulFlags&DAF_16BITONLY) { - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } // remember current selected resolution PIX pixSizeI, pixSizeJ; - ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); + ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); // select same resolution again if possible FillResolutionsList(); - SizeToResolution(pixSizeI, pixSizeJ, gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected); + SizeToResolution(pixSizeI, pixSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); // apply adapter and resolutions - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); } extern void InitVideoOptionsButtons(void) { if( sam_bFullScreenActive) { - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 1; + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; } else { - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected = 0; + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 0; } - gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); + CMENU.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); + CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); FillResolutionsList(); - SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected); - gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); + SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); + CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); - gmVideoOptionsMenu.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgResolutionsTrigger.ApplyCurrentSelection(); - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } void InitActionsForVideoOptionsMenu() { - gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmVideoOptionsMenu.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; - gmVideoOptionsMenu.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; + CMENU.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; + CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; } +#undef CMENU + // ------------------------ CAudioOptionsMenu implementation +#define CMENU gmAudioOptionsMenu + static void OnWaveVolumeChange(INDEX iCurPos) { _pShell->SetFLOAT("snd_fSoundVolume", iCurPos/FLOAT(VOLUME_STEPS)); @@ -3349,28 +3014,28 @@ static void OnWaveVolumeChange(INDEX iCurPos) void WaveSliderChange(void) { if (_bMouseRight) { - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos += 5; + CMENU.gm_mgWaveVolume.mg_iCurPos += 5; } else { - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos -= 5; + CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; } - gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); + CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); } void FrequencyTriggerChange(INDEX iDummy) { sam_bAutoAdjustAudio = 0; - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = 0; - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + CMENU.gm_mgAudioAutoTrigger.mg_iSelected = 0; + CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); } void MPEGSliderChange(void) { if (_bMouseRight) { - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos += 5; + CMENU.gm_mgMPEGVolume.mg_iCurPos += 5; } else { - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos -= 5; + CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; } - gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); + CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); } static void OnMPEGVolumeChange(INDEX iCurPos) @@ -3380,26 +3045,31 @@ static void OnMPEGVolumeChange(INDEX iCurPos) void InitActionsForAudioOptionsMenu() { - gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; - gmAudioOptionsMenu.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; + CMENU.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; + CMENU.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; + CMENU.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; + CMENU.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; + CMENU.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; + CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; } +#undef CMENU + // ------------------------ CVarMenu implementation +#define CMENU gmVarMenu + void VarApply(void) { FlushVarSettings(TRUE); - gmVarMenu.EndMenu(); - gmVarMenu.StartMenu(); + CMENU.EndMenu(); + CMENU.StartMenu(); } void InitActionsForVarMenu() { - gmVarMenu.gm_mgApply.mg_pActivatedFunction = &VarApply; + CMENU.gm_mgApply.mg_pActivatedFunction = &VarApply; } +#undef CMENU // ------------------------ CServersMenu implementation extern void RefreshServerList(void) { @@ -3445,21 +3115,25 @@ void InitActionsForServersMenu() { } // ------------------------ CNetworkMenu implementation +#define CMENU gmNetworkMenu void InitActionsForNetworkMenu() { - gmNetworkMenu.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; - gmNetworkMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; - gmNetworkMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; - gmNetworkMenu.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; + CMENU.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; } +#undef CMENU // ------------------------ CNetworkJoinMenu implementation +#define CMENU gmNetworkJoinMenu void InitActionsForNetworkJoinMenu() { - gmNetworkJoinMenu.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; - gmNetworkJoinMenu.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; - gmNetworkJoinMenu.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; + CMENU.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; + CMENU.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; + CMENU.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; } +#undef CMENU // ------------------------ CNetworkStartMenu implementation extern void UpdateNetworkLevel(INDEX iDummy) @@ -3493,6 +3167,8 @@ void InitActionsForNetworkStartMenu() gd.mg_iLocalPlayer = iplayer; // ------------------------ CSelectPlayersMenu implementation +#define CMENU gmSelectPlayersMenu + INDEX FindUnusedPlayer(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; @@ -3517,40 +3193,40 @@ extern void SelectPlayersFillMenu(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - gmSelectPlayersMenu.gm_mgPlayer0Change.mg_iLocalPlayer = 0; - gmSelectPlayersMenu.gm_mgPlayer1Change.mg_iLocalPlayer = 1; - gmSelectPlayersMenu.gm_mgPlayer2Change.mg_iLocalPlayer = 2; - gmSelectPlayersMenu.gm_mgPlayer3Change.mg_iLocalPlayer = 3; + CMENU.gm_mgPlayer0Change.mg_iLocalPlayer = 0; + CMENU.gm_mgPlayer1Change.mg_iLocalPlayer = 1; + CMENU.gm_mgPlayer2Change.mg_iLocalPlayer = 2; + CMENU.gm_mgPlayer3Change.mg_iLocalPlayer = 3; - if (gmSelectPlayersMenu.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg==CGame::SSC_DEDICATED) { - gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected = 1; + if (CMENU.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + CMENU.gm_mgDedicated.mg_iSelected = 1; } else { - gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected = 0; + CMENU.gm_mgDedicated.mg_iSelected = 0; } gmSelectPlayersMenu.gm_mgDedicated.ApplyCurrentSelection(); - if (gmSelectPlayersMenu.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg==CGame::SSC_OBSERVER) { - gmSelectPlayersMenu.gm_mgObserver.mg_iSelected = 1; + if (CMENU.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { + CMENU.gm_mgObserver.mg_iSelected = 1; } else { - gmSelectPlayersMenu.gm_mgObserver.mg_iSelected = 0; + CMENU.gm_mgObserver.mg_iSelected = 0; } - gmSelectPlayersMenu.gm_mgObserver.ApplyCurrentSelection(); + CMENU.gm_mgObserver.ApplyCurrentSelection(); if (_pGame->gm_MenuSplitScreenCfg>=CGame::SSC_PLAY1) { - gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; - gmSelectPlayersMenu.gm_mgSplitScreenCfg.ApplyCurrentSelection(); + CMENU.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; + CMENU.gm_mgSplitScreenCfg.ApplyCurrentSelection(); } - BOOL bHasDedicated = gmSelectPlayersMenu.gm_bAllowDedicated; - BOOL bHasObserver = gmSelectPlayersMenu.gm_bAllowObserving; + BOOL bHasDedicated = CMENU.gm_bAllowDedicated; + BOOL bHasObserver = CMENU.gm_bAllowObserving; BOOL bHasPlayers = TRUE; - if (bHasDedicated && gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected) { + if (bHasDedicated && CMENU.gm_mgDedicated.mg_iSelected) { bHasObserver = FALSE; bHasPlayers = FALSE; } - if (bHasObserver && gmSelectPlayersMenu.gm_mgObserver.mg_iSelected) { + if (bHasObserver && CMENU.gm_mgObserver.mg_iSelected) { bHasPlayers = FALSE; } @@ -3559,16 +3235,16 @@ extern void SelectPlayersFillMenu(void) INDEX i=0; if (bHasDedicated) { - gmSelectPlayersMenu.gm_mgDedicated.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgDedicated; + CMENU.gm_mgDedicated.Appear(); + apmg[i++] = &CMENU.gm_mgDedicated; } else { - gmSelectPlayersMenu.gm_mgDedicated.Disappear(); + CMENU.gm_mgDedicated.Disappear(); } if (bHasObserver) { - gmSelectPlayersMenu.gm_mgObserver.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgObserver; + CMENU.gm_mgObserver.Appear(); + apmg[i++] = &CMENU.gm_mgObserver; } else { - gmSelectPlayersMenu.gm_mgObserver.Disappear(); + CMENU.gm_mgObserver.Disappear(); } for (INDEX iLocal=0; iLocal<4; iLocal++) { @@ -3582,32 +3258,32 @@ extern void SelectPlayersFillMenu(void) } } - gmSelectPlayersMenu.gm_mgPlayer0Change.Disappear(); - gmSelectPlayersMenu.gm_mgPlayer1Change.Disappear(); - gmSelectPlayersMenu.gm_mgPlayer2Change.Disappear(); - gmSelectPlayersMenu.gm_mgPlayer3Change.Disappear(); + CMENU.gm_mgPlayer0Change.Disappear(); + CMENU.gm_mgPlayer1Change.Disappear(); + CMENU.gm_mgPlayer2Change.Disappear(); + CMENU.gm_mgPlayer3Change.Disappear(); if (bHasPlayers) { - gmSelectPlayersMenu.gm_mgSplitScreenCfg.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgSplitScreenCfg; - gmSelectPlayersMenu.gm_mgPlayer0Change.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer0Change; - if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 1) { - gmSelectPlayersMenu.gm_mgPlayer1Change.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer1Change; + CMENU.gm_mgSplitScreenCfg.Appear(); + apmg[i++] = &CMENU.gm_mgSplitScreenCfg; + CMENU.gm_mgPlayer0Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer0Change; + if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + CMENU.gm_mgPlayer1Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer1Change; } - if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 2) { - gmSelectPlayersMenu.gm_mgPlayer2Change.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer2Change; + if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 2) { + CMENU.gm_mgPlayer2Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer2Change; } - if (gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected >= 3) { - gmSelectPlayersMenu.gm_mgPlayer3Change.Appear(); - apmg[i++] = &gmSelectPlayersMenu.gm_mgPlayer3Change; + if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 3) { + CMENU.gm_mgPlayer3Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer3Change; } } else { - gmSelectPlayersMenu.gm_mgSplitScreenCfg.Disappear(); + CMENU.gm_mgSplitScreenCfg.Disappear(); } - apmg[i++] = &gmSelectPlayersMenu.gm_mgStart; + apmg[i++] = &CMENU.gm_mgStart; // relink for (INDEX img=0; img<8; img++) { @@ -3630,31 +3306,31 @@ extern void SelectPlayersFillMenu(void) apmg[img]->mg_pmgDown = apmg[imgSucc]; } - gmSelectPlayersMenu.gm_mgPlayer0Change.SetPlayerText(); - gmSelectPlayersMenu.gm_mgPlayer1Change.SetPlayerText(); - gmSelectPlayersMenu.gm_mgPlayer2Change.SetPlayerText(); - gmSelectPlayersMenu.gm_mgPlayer3Change.SetPlayerText(); + CMENU.gm_mgPlayer0Change.SetPlayerText(); + CMENU.gm_mgPlayer1Change.SetPlayerText(); + CMENU.gm_mgPlayer2Change.SetPlayerText(); + CMENU.gm_mgPlayer3Change.SetPlayerText(); - if (bHasPlayers && gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected>=1) { - gmSelectPlayersMenu.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); + if (bHasPlayers && CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + CMENU.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); } else { - gmSelectPlayersMenu.gm_mgNotes.mg_strText = ""; + CMENU.gm_mgNotes.mg_strText = ""; } } extern void SelectPlayersApplyMenu(void) { - if (gmSelectPlayersMenu.gm_bAllowDedicated && gmSelectPlayersMenu.gm_mgDedicated.mg_iSelected) { + if (CMENU.gm_bAllowDedicated && CMENU.gm_mgDedicated.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; return; } - if (gmSelectPlayersMenu.gm_bAllowObserving && gmSelectPlayersMenu.gm_mgObserver.mg_iSelected) { + if (CMENU.gm_bAllowObserving && CMENU.gm_mgObserver.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; return; } - _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_iSelected; + _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) CMENU.gm_mgSplitScreenCfg.mg_iSelected; } void UpdateSelectPlayers(INDEX i) @@ -3665,11 +3341,13 @@ void UpdateSelectPlayers(INDEX i) void InitActionsForSelectPlayersMenu() { - gmSelectPlayersMenu.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; - gmSelectPlayersMenu.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; - gmSelectPlayersMenu.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; + CMENU.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; + CMENU.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; + CMENU.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; } +#undef CMENU + // ------------------------ CNetworkOpenMenu implementation void InitActionsForNetworkOpenMenu() { @@ -3677,19 +3355,25 @@ void InitActionsForNetworkOpenMenu() } // ------------------------ CSplitScreenMenu implementation +#define CMENU gmSplitScreenMenu + void InitActionsForSplitScreenMenu() { - gmSplitScreenMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; - gmSplitScreenMenu.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; - gmSplitScreenMenu.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; } +#undef CMENU + // ------------------------ CSplitStartMenu implementation +#define CMENU gmSplitStartMenu + void InitActionsForSplitStartMenu() { - gmSplitStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; - gmSplitStartMenu.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - gmSplitStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + CMENU.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; } extern void UpdateSplitLevel(INDEX iDummy) @@ -3697,4 +3381,6 @@ extern void UpdateSplitLevel(INDEX iDummy) ValidateLevelForFlags(_pGame->gam_strCustomLevel, GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); gmSplitStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; -} \ No newline at end of file +} + +#undef CMENU \ No newline at end of file diff --git a/Sources/SeriousSam/MenuStuff.cpp b/Sources/SeriousSam/MenuStuff.cpp index b73949b..ee2bb8f 100644 --- a/Sources/SeriousSam/MenuStuff.cpp +++ b/Sources/SeriousSam/MenuStuff.cpp @@ -142,6 +142,34 @@ BOOL IsMenuEnabled(const CTString &strMenuName) return pFunc(strMenuName); } +// initialize game type strings table +void InitGameTypes(void) +{ + // get function that will provide us the info about gametype + CShellSymbol *pss = _pShell->GetSymbol("GetGameTypeNameSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + astrGameTypeRadioTexts[0] = ""; + ctGameTypeRadioTexts = 1; + return; + } + + // for each mode + for (ctGameTypeRadioTexts = 0; ctGameTypeRadioTextsss_pvValue; + CTString strMode = pFunc(ctGameTypeRadioTexts); + // if no mode modes + if (strMode == "") { + // stop + break; + } + // add that mode + astrGameTypeRadioTexts[ctGameTypeRadioTexts] = strMode; + } +} + int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2) { const CFileInfo &fi1 = **(CFileInfo **)elem1; diff --git a/Sources/SeriousSam/MenuStuff.h b/Sources/SeriousSam/MenuStuff.h index 859a261..3c73717 100644 --- a/Sources/SeriousSam/MenuStuff.h +++ b/Sources/SeriousSam/MenuStuff.h @@ -38,6 +38,7 @@ extern CTString astrSoundAPIRadioTexts[3]; ULONG GetSpawnFlagsForGameType(INDEX iGameType); BOOL IsMenuEnabled(const CTString &strMenuName); +void InitGameTypes(void); int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2); int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2); diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index b93067a..71b362f 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -58,7 +58,7 @@ Debug\ Debug\ false - $(SolutionDir);$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Include;$(IncludePath) + $(SolutionDir);$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Include;$(ProjectDir);$(IncludePath) $(SolutionDir)..\Bin\Debug;$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Lib;$(LibraryPath) true true @@ -67,7 +67,7 @@ Release\ Release\ false - $(SolutionDir);$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Include;$(IncludePath) + $(SolutionDir);$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Include;$(ProjectDir);$(IncludePath) $(SolutionDir)..\Bin;$(SolutionDir)..\Tools.Win32\Libraries\DX8SDK\Lib;$(LibraryPath) true true @@ -178,7 +178,23 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + + + + + + + + + + + + + + @@ -194,26 +210,26 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul Use StdH.h - + + + + + + + + + + + + + + + CppCode - - - - - - - - - - - - - - @@ -269,20 +285,6 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - - - - - - - - - - - - - - diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 44b3a41..c15f77e 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -66,51 +66,6 @@ Source Files - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - - - Source Files\Gadgets - Source Files @@ -192,6 +147,54 @@ Source Files\Menus + + Source Files\Menus + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + + + Source Files\Gadgets + @@ -239,48 +242,6 @@ Header Files - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - - - Header Files\Gadgets headers - Header Files\Menus headers @@ -374,6 +335,51 @@ Header Files + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + + + Header Files\Gadgets headers + From d29d0c64abc763c41b3261fbcd8a6e080af4d8df Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 16 Mar 2016 21:56:44 +0300 Subject: [PATCH 36/62] GameExecutable: Some improvements part II --- Sources/SeriousSam/GUI/Components/MGArrow.cpp | 1 - .../SeriousSam/GUI/Components/MGButton.cpp | 1 - .../GUI/Components/MGChangePlayer.cpp | 1 - Sources/SeriousSam/GUI/Components/MGEdit.cpp | 1 - .../GUI/Components/MGFileButton.cpp | 1 - .../SeriousSam/GUI/Components/MGHighScore.cpp | 1 - .../GUI/Components/MGKeyDefinition.cpp | 1 - .../GUI/Components/MGLevelButton.cpp | 1 - Sources/SeriousSam/GUI/Components/MGModel.cpp | 1 - .../GUI/Components/MGServerList.cpp | 1 - .../SeriousSam/GUI/Components/MGSlider.cpp | 1 - Sources/SeriousSam/GUI/Components/MGTitle.cpp | 1 - .../SeriousSam/GUI/Components/MGTrigger.cpp | 1 - .../SeriousSam/GUI/Components/MGVarButton.cpp | 1 - .../SeriousSam/GUI/Components/MenuGadget.cpp | 1 - .../SeriousSam/GUI/Components/MenuGadget.h | 2 + .../SeriousSam/{ => GUI/Menus}/GameMenu.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/GameMenu.h | 0 .../{ => GUI/Menus}/MAudioOptions.cpp | 0 .../{ => GUI/Menus}/MAudioOptions.h | 0 .../SeriousSam/{ => GUI/Menus}/MConfirm.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MConfirm.h | 0 .../SeriousSam/{ => GUI/Menus}/MControls.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MControls.h | 0 Sources/SeriousSam/{ => GUI/Menus}/MCredits.h | 0 .../{ => GUI/Menus}/MCustomizeAxis.cpp | 0 .../{ => GUI/Menus}/MCustomizeAxis.h | 0 .../{ => GUI/Menus}/MCustomizeKeyboard.cpp | 0 .../{ => GUI/Menus}/MCustomizeKeyboard.h | 0 .../SeriousSam/{ => GUI/Menus}/MDisabled.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MDisabled.h | 0 .../SeriousSam/{ => GUI/Menus}/MHighScore.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MHighScore.h | 0 .../SeriousSam/{ => GUI/Menus}/MInGame.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MInGame.h | 0 .../SeriousSam/{ => GUI/Menus}/MLevels.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MLevels.h | 0 .../SeriousSam/{ => GUI/Menus}/MLoadSave.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MLoadSave.h | 0 Sources/SeriousSam/{ => GUI/Menus}/MMain.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MMain.h | 0 .../SeriousSam/{ => GUI/Menus}/MNetwork.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MNetwork.h | 0 .../{ => GUI/Menus}/MNetworkJoin.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MNetworkJoin.h | 0 .../{ => GUI/Menus}/MNetworkOpen.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MNetworkOpen.h | 0 .../{ => GUI/Menus}/MNetworkStart.cpp | 0 .../{ => GUI/Menus}/MNetworkStart.h | 0 .../SeriousSam/{ => GUI/Menus}/MOptions.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MOptions.h | 0 .../{ => GUI/Menus}/MPlayerProfile.cpp | 0 .../{ => GUI/Menus}/MPlayerProfile.h | 0 .../{ => GUI/Menus}/MRenderingOptions.h | 0 .../{ => GUI/Menus}/MSelectPlayers.cpp | 0 .../{ => GUI/Menus}/MSelectPlayers.h | 0 .../SeriousSam/{ => GUI/Menus}/MServers.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MServers.h | 0 .../{ => GUI/Menus}/MSinglePlayer.cpp | 0 .../{ => GUI/Menus}/MSinglePlayer.h | 0 .../{ => GUI/Menus}/MSinglePlayerNew.cpp | 0 .../{ => GUI/Menus}/MSinglePlayerNew.h | 0 .../{ => GUI/Menus}/MSplitScreen.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MSplitScreen.h | 0 .../{ => GUI/Menus}/MSplitStart.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MSplitStart.h | 0 Sources/SeriousSam/{ => GUI/Menus}/MVar.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/MVar.h | 0 .../{ => GUI/Menus}/MVideoOptions.cpp | 0 .../{ => GUI/Menus}/MVideoOptions.h | 0 Sources/SeriousSam/{ => GUI/Menus}/Menu.cpp | 0 Sources/SeriousSam/{ => GUI/Menus}/Menu.h | 0 .../{ => GUI/Menus}/MenuPrinting.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MenuPrinting.h | 0 .../SeriousSam/{ => GUI/Menus}/MenuStuff.cpp | 0 .../SeriousSam/{ => GUI/Menus}/MenuStuff.h | 0 Sources/SeriousSam/SeriousSam.vcxproj | 128 +++-- Sources/SeriousSam/SeriousSam.vcxproj.filters | 439 +++++++++--------- Sources/SeriousSam/StdH.h | 2 +- 79 files changed, 284 insertions(+), 302 deletions(-) rename Sources/SeriousSam/{ => GUI/Menus}/GameMenu.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/GameMenu.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MAudioOptions.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MAudioOptions.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MConfirm.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MConfirm.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MControls.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MControls.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MCredits.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MCustomizeAxis.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MCustomizeAxis.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MCustomizeKeyboard.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MCustomizeKeyboard.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MDisabled.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MDisabled.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MHighScore.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MHighScore.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MInGame.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MInGame.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MLevels.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MLevels.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MLoadSave.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MLoadSave.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MMain.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MMain.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetwork.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetwork.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkJoin.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkJoin.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkOpen.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkOpen.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkStart.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MNetworkStart.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MOptions.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MOptions.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MPlayerProfile.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MPlayerProfile.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MRenderingOptions.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSelectPlayers.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSelectPlayers.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MServers.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MServers.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSinglePlayer.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSinglePlayer.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSinglePlayerNew.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSinglePlayerNew.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSplitScreen.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSplitScreen.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSplitStart.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MSplitStart.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MVar.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MVar.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MVideoOptions.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MVideoOptions.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/Menu.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/Menu.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MenuPrinting.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MenuPrinting.h (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MenuStuff.cpp (100%) rename Sources/SeriousSam/{ => GUI/Menus}/MenuStuff.h (100%) diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp index 65c553e..5cc09a2 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.cpp +++ b/Sources/SeriousSam/GUI/Components/MGArrow.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGArrow.h" diff --git a/Sources/SeriousSam/GUI/Components/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp index 9fedc4a..49fc985 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGButton.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "LevelInfo.h" #include "VarList.h" diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index e7b2a4c..8a466a5 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGChangePlayer.h" diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index 0ae93f3..1b0d642 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGEdit.h" diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index 56e6ffe..13c9a91 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGFileButton.h" diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp index 61b4109..3b7bfaa 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGHighScore.h" diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index 8ef80d5..b06ffc2 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGKeyDefinition.h" diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp index 33fede9..4237435 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGLevelButton.h" diff --git a/Sources/SeriousSam/GUI/Components/MGModel.cpp b/Sources/SeriousSam/GUI/Components/MGModel.cpp index 243a9bd..a776b32 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.cpp +++ b/Sources/SeriousSam/GUI/Components/MGModel.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGModel.h" diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index 331c197..279b2ec 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGServerList.h" #include "MGEdit.h" diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index 9dbe014..a1e131a 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGSlider.h" diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.cpp b/Sources/SeriousSam/GUI/Components/MGTitle.cpp index 215fa11..1151fa3 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTitle.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGTitle.h" diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index 7a4363d..494e576 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "MGTrigger.h" diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index 93e1032..0a2f899 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "VarList.h" #include "MGVarButton.h" diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp index fab91ba..449ac78 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp @@ -3,7 +3,6 @@ #include "StdH.h" #include #include -#include "MenuPrinting.h" #include #include "LevelInfo.h" #include "VarList.h" diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.h b/Sources/SeriousSam/GUI/Components/MenuGadget.h index 66974dd..d788e59 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.h +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.h @@ -6,6 +6,7 @@ #pragma once #endif +#include "MenuPrinting.h" #define DOING_NOTHING 0 #define PRESS_KEY_WAITING 1 @@ -13,6 +14,7 @@ #define EMPTYSLOTSTRING TRANS("") + class CMenuGadget { public: CListNode mg_lnNode; diff --git a/Sources/SeriousSam/GameMenu.cpp b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp similarity index 100% rename from Sources/SeriousSam/GameMenu.cpp rename to Sources/SeriousSam/GUI/Menus/GameMenu.cpp diff --git a/Sources/SeriousSam/GameMenu.h b/Sources/SeriousSam/GUI/Menus/GameMenu.h similarity index 100% rename from Sources/SeriousSam/GameMenu.h rename to Sources/SeriousSam/GUI/Menus/GameMenu.h diff --git a/Sources/SeriousSam/MAudioOptions.cpp b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp similarity index 100% rename from Sources/SeriousSam/MAudioOptions.cpp rename to Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp diff --git a/Sources/SeriousSam/MAudioOptions.h b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h similarity index 100% rename from Sources/SeriousSam/MAudioOptions.h rename to Sources/SeriousSam/GUI/Menus/MAudioOptions.h diff --git a/Sources/SeriousSam/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp similarity index 100% rename from Sources/SeriousSam/MConfirm.cpp rename to Sources/SeriousSam/GUI/Menus/MConfirm.cpp diff --git a/Sources/SeriousSam/MConfirm.h b/Sources/SeriousSam/GUI/Menus/MConfirm.h similarity index 100% rename from Sources/SeriousSam/MConfirm.h rename to Sources/SeriousSam/GUI/Menus/MConfirm.h diff --git a/Sources/SeriousSam/MControls.cpp b/Sources/SeriousSam/GUI/Menus/MControls.cpp similarity index 100% rename from Sources/SeriousSam/MControls.cpp rename to Sources/SeriousSam/GUI/Menus/MControls.cpp diff --git a/Sources/SeriousSam/MControls.h b/Sources/SeriousSam/GUI/Menus/MControls.h similarity index 100% rename from Sources/SeriousSam/MControls.h rename to Sources/SeriousSam/GUI/Menus/MControls.h diff --git a/Sources/SeriousSam/MCredits.h b/Sources/SeriousSam/GUI/Menus/MCredits.h similarity index 100% rename from Sources/SeriousSam/MCredits.h rename to Sources/SeriousSam/GUI/Menus/MCredits.h diff --git a/Sources/SeriousSam/MCustomizeAxis.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp similarity index 100% rename from Sources/SeriousSam/MCustomizeAxis.cpp rename to Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp diff --git a/Sources/SeriousSam/MCustomizeAxis.h b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h similarity index 100% rename from Sources/SeriousSam/MCustomizeAxis.h rename to Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h diff --git a/Sources/SeriousSam/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp similarity index 100% rename from Sources/SeriousSam/MCustomizeKeyboard.cpp rename to Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp diff --git a/Sources/SeriousSam/MCustomizeKeyboard.h b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h similarity index 100% rename from Sources/SeriousSam/MCustomizeKeyboard.h rename to Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h diff --git a/Sources/SeriousSam/MDisabled.cpp b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp similarity index 100% rename from Sources/SeriousSam/MDisabled.cpp rename to Sources/SeriousSam/GUI/Menus/MDisabled.cpp diff --git a/Sources/SeriousSam/MDisabled.h b/Sources/SeriousSam/GUI/Menus/MDisabled.h similarity index 100% rename from Sources/SeriousSam/MDisabled.h rename to Sources/SeriousSam/GUI/Menus/MDisabled.h diff --git a/Sources/SeriousSam/MHighScore.cpp b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp similarity index 100% rename from Sources/SeriousSam/MHighScore.cpp rename to Sources/SeriousSam/GUI/Menus/MHighScore.cpp diff --git a/Sources/SeriousSam/MHighScore.h b/Sources/SeriousSam/GUI/Menus/MHighScore.h similarity index 100% rename from Sources/SeriousSam/MHighScore.h rename to Sources/SeriousSam/GUI/Menus/MHighScore.h diff --git a/Sources/SeriousSam/MInGame.cpp b/Sources/SeriousSam/GUI/Menus/MInGame.cpp similarity index 100% rename from Sources/SeriousSam/MInGame.cpp rename to Sources/SeriousSam/GUI/Menus/MInGame.cpp diff --git a/Sources/SeriousSam/MInGame.h b/Sources/SeriousSam/GUI/Menus/MInGame.h similarity index 100% rename from Sources/SeriousSam/MInGame.h rename to Sources/SeriousSam/GUI/Menus/MInGame.h diff --git a/Sources/SeriousSam/MLevels.cpp b/Sources/SeriousSam/GUI/Menus/MLevels.cpp similarity index 100% rename from Sources/SeriousSam/MLevels.cpp rename to Sources/SeriousSam/GUI/Menus/MLevels.cpp diff --git a/Sources/SeriousSam/MLevels.h b/Sources/SeriousSam/GUI/Menus/MLevels.h similarity index 100% rename from Sources/SeriousSam/MLevels.h rename to Sources/SeriousSam/GUI/Menus/MLevels.h diff --git a/Sources/SeriousSam/MLoadSave.cpp b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp similarity index 100% rename from Sources/SeriousSam/MLoadSave.cpp rename to Sources/SeriousSam/GUI/Menus/MLoadSave.cpp diff --git a/Sources/SeriousSam/MLoadSave.h b/Sources/SeriousSam/GUI/Menus/MLoadSave.h similarity index 100% rename from Sources/SeriousSam/MLoadSave.h rename to Sources/SeriousSam/GUI/Menus/MLoadSave.h diff --git a/Sources/SeriousSam/MMain.cpp b/Sources/SeriousSam/GUI/Menus/MMain.cpp similarity index 100% rename from Sources/SeriousSam/MMain.cpp rename to Sources/SeriousSam/GUI/Menus/MMain.cpp diff --git a/Sources/SeriousSam/MMain.h b/Sources/SeriousSam/GUI/Menus/MMain.h similarity index 100% rename from Sources/SeriousSam/MMain.h rename to Sources/SeriousSam/GUI/Menus/MMain.h diff --git a/Sources/SeriousSam/MNetwork.cpp b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp similarity index 100% rename from Sources/SeriousSam/MNetwork.cpp rename to Sources/SeriousSam/GUI/Menus/MNetwork.cpp diff --git a/Sources/SeriousSam/MNetwork.h b/Sources/SeriousSam/GUI/Menus/MNetwork.h similarity index 100% rename from Sources/SeriousSam/MNetwork.h rename to Sources/SeriousSam/GUI/Menus/MNetwork.h diff --git a/Sources/SeriousSam/MNetworkJoin.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp similarity index 100% rename from Sources/SeriousSam/MNetworkJoin.cpp rename to Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp diff --git a/Sources/SeriousSam/MNetworkJoin.h b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h similarity index 100% rename from Sources/SeriousSam/MNetworkJoin.h rename to Sources/SeriousSam/GUI/Menus/MNetworkJoin.h diff --git a/Sources/SeriousSam/MNetworkOpen.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp similarity index 100% rename from Sources/SeriousSam/MNetworkOpen.cpp rename to Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp diff --git a/Sources/SeriousSam/MNetworkOpen.h b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h similarity index 100% rename from Sources/SeriousSam/MNetworkOpen.h rename to Sources/SeriousSam/GUI/Menus/MNetworkOpen.h diff --git a/Sources/SeriousSam/MNetworkStart.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp similarity index 100% rename from Sources/SeriousSam/MNetworkStart.cpp rename to Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp diff --git a/Sources/SeriousSam/MNetworkStart.h b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h similarity index 100% rename from Sources/SeriousSam/MNetworkStart.h rename to Sources/SeriousSam/GUI/Menus/MNetworkStart.h diff --git a/Sources/SeriousSam/MOptions.cpp b/Sources/SeriousSam/GUI/Menus/MOptions.cpp similarity index 100% rename from Sources/SeriousSam/MOptions.cpp rename to Sources/SeriousSam/GUI/Menus/MOptions.cpp diff --git a/Sources/SeriousSam/MOptions.h b/Sources/SeriousSam/GUI/Menus/MOptions.h similarity index 100% rename from Sources/SeriousSam/MOptions.h rename to Sources/SeriousSam/GUI/Menus/MOptions.h diff --git a/Sources/SeriousSam/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp similarity index 100% rename from Sources/SeriousSam/MPlayerProfile.cpp rename to Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp diff --git a/Sources/SeriousSam/MPlayerProfile.h b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h similarity index 100% rename from Sources/SeriousSam/MPlayerProfile.h rename to Sources/SeriousSam/GUI/Menus/MPlayerProfile.h diff --git a/Sources/SeriousSam/MRenderingOptions.h b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h similarity index 100% rename from Sources/SeriousSam/MRenderingOptions.h rename to Sources/SeriousSam/GUI/Menus/MRenderingOptions.h diff --git a/Sources/SeriousSam/MSelectPlayers.cpp b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp similarity index 100% rename from Sources/SeriousSam/MSelectPlayers.cpp rename to Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp diff --git a/Sources/SeriousSam/MSelectPlayers.h b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h similarity index 100% rename from Sources/SeriousSam/MSelectPlayers.h rename to Sources/SeriousSam/GUI/Menus/MSelectPlayers.h diff --git a/Sources/SeriousSam/MServers.cpp b/Sources/SeriousSam/GUI/Menus/MServers.cpp similarity index 100% rename from Sources/SeriousSam/MServers.cpp rename to Sources/SeriousSam/GUI/Menus/MServers.cpp diff --git a/Sources/SeriousSam/MServers.h b/Sources/SeriousSam/GUI/Menus/MServers.h similarity index 100% rename from Sources/SeriousSam/MServers.h rename to Sources/SeriousSam/GUI/Menus/MServers.h diff --git a/Sources/SeriousSam/MSinglePlayer.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp similarity index 100% rename from Sources/SeriousSam/MSinglePlayer.cpp rename to Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp diff --git a/Sources/SeriousSam/MSinglePlayer.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h similarity index 100% rename from Sources/SeriousSam/MSinglePlayer.h rename to Sources/SeriousSam/GUI/Menus/MSinglePlayer.h diff --git a/Sources/SeriousSam/MSinglePlayerNew.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp similarity index 100% rename from Sources/SeriousSam/MSinglePlayerNew.cpp rename to Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp diff --git a/Sources/SeriousSam/MSinglePlayerNew.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h similarity index 100% rename from Sources/SeriousSam/MSinglePlayerNew.h rename to Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h diff --git a/Sources/SeriousSam/MSplitScreen.cpp b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp similarity index 100% rename from Sources/SeriousSam/MSplitScreen.cpp rename to Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp diff --git a/Sources/SeriousSam/MSplitScreen.h b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h similarity index 100% rename from Sources/SeriousSam/MSplitScreen.h rename to Sources/SeriousSam/GUI/Menus/MSplitScreen.h diff --git a/Sources/SeriousSam/MSplitStart.cpp b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp similarity index 100% rename from Sources/SeriousSam/MSplitStart.cpp rename to Sources/SeriousSam/GUI/Menus/MSplitStart.cpp diff --git a/Sources/SeriousSam/MSplitStart.h b/Sources/SeriousSam/GUI/Menus/MSplitStart.h similarity index 100% rename from Sources/SeriousSam/MSplitStart.h rename to Sources/SeriousSam/GUI/Menus/MSplitStart.h diff --git a/Sources/SeriousSam/MVar.cpp b/Sources/SeriousSam/GUI/Menus/MVar.cpp similarity index 100% rename from Sources/SeriousSam/MVar.cpp rename to Sources/SeriousSam/GUI/Menus/MVar.cpp diff --git a/Sources/SeriousSam/MVar.h b/Sources/SeriousSam/GUI/Menus/MVar.h similarity index 100% rename from Sources/SeriousSam/MVar.h rename to Sources/SeriousSam/GUI/Menus/MVar.h diff --git a/Sources/SeriousSam/MVideoOptions.cpp b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp similarity index 100% rename from Sources/SeriousSam/MVideoOptions.cpp rename to Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp diff --git a/Sources/SeriousSam/MVideoOptions.h b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h similarity index 100% rename from Sources/SeriousSam/MVideoOptions.h rename to Sources/SeriousSam/GUI/Menus/MVideoOptions.h diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp similarity index 100% rename from Sources/SeriousSam/Menu.cpp rename to Sources/SeriousSam/GUI/Menus/Menu.cpp diff --git a/Sources/SeriousSam/Menu.h b/Sources/SeriousSam/GUI/Menus/Menu.h similarity index 100% rename from Sources/SeriousSam/Menu.h rename to Sources/SeriousSam/GUI/Menus/Menu.h diff --git a/Sources/SeriousSam/MenuPrinting.cpp b/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp similarity index 100% rename from Sources/SeriousSam/MenuPrinting.cpp rename to Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp diff --git a/Sources/SeriousSam/MenuPrinting.h b/Sources/SeriousSam/GUI/Menus/MenuPrinting.h similarity index 100% rename from Sources/SeriousSam/MenuPrinting.h rename to Sources/SeriousSam/GUI/Menus/MenuPrinting.h diff --git a/Sources/SeriousSam/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp similarity index 100% rename from Sources/SeriousSam/MenuStuff.cpp rename to Sources/SeriousSam/GUI/Menus/MenuStuff.cpp diff --git a/Sources/SeriousSam/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h similarity index 100% rename from Sources/SeriousSam/MenuStuff.h rename to Sources/SeriousSam/GUI/Menus/MenuStuff.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 71b362f..4d0e9ac 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -178,7 +178,6 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - @@ -195,22 +194,38 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - Use - StdH.h - Use - StdH.h - - @@ -226,29 +241,37 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - - CppCode - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Use StdH.h @@ -270,41 +293,10 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index c15f77e..6e9db1e 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -19,18 +19,24 @@ {332d9393-d918-4caf-86b2-2e63c2cca9bd} - - {47ffb7e3-433b-480c-a22a-849524a5bd1e} + + {b1fe2cd0-889c-48dd-897c-cdbbdcb0a131} - + {3bc65fe2-8c15-4ecd-bf59-de962bb42275} - + {df54d6d1-39c3-4f26-93f8-116311f5a0eb} - + + {4c95322d-560a-4738-a631-e3e860b59560} + + {9a04e8a8-ecfc-42c3-bf28-fe3d8b49e626} + + {47ffb7e3-433b-480c-a22a-849524a5bd1e} + @@ -51,9 +57,6 @@ Source Files - - Source Files - Source Files @@ -66,134 +69,137 @@ Source Files - - Source Files - - - Source Files\Menus - - - Source Files\Menus - - - Source Files - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - - Source Files\Menus - - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets - Source Files\Gadgets + Source Files\GUI\Gadgets + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus @@ -218,9 +224,6 @@ Header Files - - Header Files - Header Files @@ -236,149 +239,149 @@ Header Files - - Header Files - Header Files - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - Header Files - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files\Menus headers - - - Header Files - - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers - Header Files\Gadgets headers + Header Files\GUI headers\Gadgets headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index 1c65f03..e918afb 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -23,4 +23,4 @@ #define TECHTESTONLY 0 #include "SeriousSam.h" -#include "Menu.h" \ No newline at end of file +#include "GUI/Menus/Menu.h" \ No newline at end of file From 83bb896e893cf599be7bba30c67cc0ca8c36586f Mon Sep 17 00:00:00 2001 From: SLAwww Date: Thu, 17 Mar 2016 02:37:43 +0200 Subject: [PATCH 37/62] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 878c1e2..ee94f14 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ And its working directory: Common problems --------------- -In case if ECC crashes during compilation of ES files in debug mode, make your solution path shorter. Paths longer than 31 symbols are known to cause problems in debug mode. +In case if you are getting "fatal error C1083: Cannot open include file: 'Engine/Classes/BaseEvents.h'", or in case if ECC crashes during compilation of ES files in debug mode, make your solution path shorter. Paths longer than 31 symbols are known to cause problems in debug mode. Before starting the build process, make sure you have a "Temp" folder in your development directory. If it doesn't exist, create it. SeriousSkaStudio has some issues with MFC windows that can prevent the main window from being displayed properly. From 344c836cd9bdafe917ec6176f8263f31fe99a3e7 Mon Sep 17 00:00:00 2001 From: Aron Visontai Date: Wed, 16 Mar 2016 21:56:08 -0700 Subject: [PATCH 38/62] Fix compilation when build path is long Also remove generated file Parser.cpp --- Sources/Ecc/Parser.cpp | 3508 ---------------------------------------- Sources/Ecc/Scanner.l | 8 +- 2 files changed, 4 insertions(+), 3512 deletions(-) delete mode 100644 Sources/Ecc/Parser.cpp diff --git a/Sources/Ecc/Parser.cpp b/Sources/Ecc/Parser.cpp deleted file mode 100644 index c328e48..0000000 --- a/Sources/Ecc/Parser.cpp +++ /dev/null @@ -1,3508 +0,0 @@ - -/* A Bison parser, made from ecc/parser.y with Bison version GNU Bison version 1.24 - */ - -#define YYBISON 1 /* Identify Bison output. */ - -#define c_char 258 -#define c_int 259 -#define c_float 260 -#define c_bool 261 -#define c_string 262 -#define identifier 263 -#define cppblock 264 -#define k_while 265 -#define k_for 266 -#define k_if 267 -#define k_else 268 -#define k_enum 269 -#define k_switch 270 -#define k_case 271 -#define k_class 272 -#define k_do 273 -#define k_void 274 -#define k_const 275 -#define k_inline 276 -#define k_static 277 -#define k_virtual 278 -#define k_return 279 -#define k_autowait 280 -#define k_autocall 281 -#define k_waitevent 282 -#define k_event 283 -#define k_name 284 -#define k_thumbnail 285 -#define k_features 286 -#define k_uses 287 -#define k_export 288 -#define k_texture 289 -#define k_sound 290 -#define k_model 291 -#define k_properties 292 -#define k_components 293 -#define k_functions 294 -#define k_procedures 295 -#define k_wait 296 -#define k_on 297 -#define k_otherwise 298 -#define k_call 299 -#define k_jump 300 -#define k_stop 301 -#define k_resume 302 -#define k_pass 303 -#define k_CTString 304 -#define k_CTStringTrans 305 -#define k_CTFileName 306 -#define k_CTFileNameNoDep 307 -#define k_BOOL 308 -#define k_COLOR 309 -#define k_FLOAT 310 -#define k_INDEX 311 -#define k_RANGE 312 -#define k_CEntityPointer 313 -#define k_CModelObject 314 -#define k_CModelInstance 315 -#define k_CAnimObject 316 -#define k_CSoundObject 317 -#define k_CPlacement3D 318 -#define k_FLOATaabbox3D 319 -#define k_FLOATmatrix3D 320 -#define k_FLOATquat3D 321 -#define k_ANGLE 322 -#define k_FLOAT3D 323 -#define k_ANGLE3D 324 -#define k_FLOATplane3D 325 -#define k_ANIMATION 326 -#define k_ILLUMINATIONTYPE 327 -#define k_FLAGS 328 - -#line 1 "ecc/parser.y" - -// rcg10042001 Changed to specify Ecc directory... -#include "Ecc/StdH.h" -#include "Ecc/Main.h" - -static char *_strCurrentClass; -static int _iCurrentClassID; -static char *_strCurrentBase; -static char *_strCurrentDescription; -static char *_strCurrentThumbnail; -static char *_strCurrentEnum; -static int _bClassIsExported = 0; - -static char *_strCurrentPropertyID; -static char *_strCurrentPropertyIdentifier; -static char *_strCurrentPropertyPropertyType; -static char *_strCurrentPropertyEnumType; -static char *_strCurrentPropertyDataType; -static char *_strCurrentPropertyName; -static char *_strCurrentPropertyShortcut; -static char *_strCurrentPropertyColor; -static char *_strCurrentPropertyFlags; -static char *_strCurrentPropertyDefaultCode; - -static char *_strCurrentComponentIdentifier; -static char *_strCurrentComponentType; -static char *_strCurrentComponentID; -static char *_strCurrentComponentFileName; - -static int _ctInProcedureHandler = 0; -static char _strLastProcedureName[256]; - -static char _strInWaitName[256]; -static char _strAfterWaitName[256]; -static char _strInWaitID[256]; -static char _strAfterWaitID[256]; - -static char _strInLoopName[256]; -static char _strAfterLoopName[256]; -static char _strInLoopID[256]; -static char _strAfterLoopID[256]; -static char _strCurrentStateID[256]; - -static int _bInProcedure; // set if currently compiling a procedure -static int _bInHandler; -static int _bHasOtherwise; // set if current 'wait' block has an 'otherwise' statement - -static char *_strCurrentEvent; -static int _bFeature_AbstractBaseClass; -static int _bFeature_ImplementsOnInitClass; -static int _bFeature_ImplementsOnEndClass; -static int _bFeature_ImplementsOnPrecache; -static int _bFeature_ImplementsOnWorldInit; -static int _bFeature_ImplementsOnWorldEnd; -static int _bFeature_ImplementsOnWorldTick; -static int _bFeature_ImplementsOnWorldRender; -static int _bFeature_CanBePredictable; - -static int _iNextFreeID; -inline int CreateID(void) { - return _iNextFreeID++; -} - -static int _ctBraces = 0; -void OpenBrace(void) { - _ctBraces++; -} -void CloseBrace(void) { - _ctBraces--; -} -SType Braces(int iBraces) { - static char strBraces[50]; - memset(strBraces, '}', sizeof(strBraces)); - strBraces[iBraces] = 0; - return SType(strBraces); -} -char *RemoveLineDirective(char *str) -{ - if (str[0]=='\n' && str[1]=='#') { - return strchr(str+2, '\n')+1; - } else { - return str; - } -} -char *GetLineDirective(SType &st) -{ - char *str = st.strString; - if (str[0]=='\n' && str[1]=='#' && str[2]=='l') { - char *strResult = strdup(str); - strchr(strResult+3,'\n')[1] = 0; - return strResult; - } else { - return ""; - } -} -void AddHandlerFunction(char *strProcedureName, int iStateID) -{ - fprintf(_fDeclaration, " BOOL %s(const CEntityEvent &__eeInput);\n", strProcedureName); - fprintf(_fTables, " {0x%08x, -1, CEntity::pEventHandler(&%s::%s), " - "DEBUGSTRING(\"%s::%s\")},\n", - iStateID, _strCurrentClass, strProcedureName, _strCurrentClass, strProcedureName); -} - - -void AddHandlerFunction(char *strProcedureName, char *strStateID, char *strBaseStateID) -{ - fprintf(_fDeclaration, " BOOL %s(const CEntityEvent &__eeInput);\n", strProcedureName); - fprintf(_fTables, " {%s, %s, CEntity::pEventHandler(&%s::%s)," - "DEBUGSTRING(\"%s::%s\")},\n", - strStateID, strBaseStateID, _strCurrentClass, strProcedureName, - _strCurrentClass, RemoveLineDirective(strProcedureName)); - strcpy(_strLastProcedureName, RemoveLineDirective(strProcedureName)); - _ctInProcedureHandler = 0; -} - -void CreateInternalHandlerFunction(char *strFunctionName, char *strID) -{ - int iID = CreateID(); - _ctInProcedureHandler++; - sprintf(strID, "0x%08x", iID); - sprintf(strFunctionName, "H0x%08x_%s_%02d", iID, _strLastProcedureName, _ctInProcedureHandler); - AddHandlerFunction(strFunctionName, iID); -} - -void DeclareFeatureProperties(void) -{ - if (_bFeature_CanBePredictable) { - fprintf(_fTables, " CEntityProperty(CEntityProperty::EPT_ENTITYPTR, NULL, (0x%08x<<8)+%s, offsetof(%s, %s), %s, %s, %s, %s),\n", - _iCurrentClassID, - "255", - _strCurrentClass, - "m_penPrediction", - "\"\"", - "0", - "0", - "0"); - fprintf(_fDeclaration, " %s %s;\n", - "CEntityPointer", - "m_penPrediction" - ); - fprintf(_fImplementation, " m_penPrediction = NULL;\n"); - } -} - -#undef YYERROR_VERBOSE - - -#ifndef YYLTYPE -typedef - struct yyltype - { - int timestamp; - int first_line; - int first_column; - int last_line; - int last_column; - char *text; - } - yyltype; - -#define YYLTYPE yyltype -#endif - -#ifndef YYSTYPE -#define YYSTYPE int -#endif -#include - -#ifndef __cplusplus -#ifndef __STDC__ -#define const -#endif -#endif - - - -#define YYFINAL 490 -#define YYFLAG -32768 -#define YYNTBASE 98 - -#define YYTRANSLATE(x) ((unsigned)(x) <= 328 ? yytranslate[x] : 204) - -static const char yytranslate[] = { 0, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 89, 2, 2, 2, 92, 85, 2, 79, - 80, 84, 88, 77, 82, 96, 91, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 78, 74, 86, - 81, 87, 97, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 94, 2, 95, 93, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 75, 90, 76, 83, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, - 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 69, 70, 71, 72, 73 -}; - -#if YYDEBUG != 0 -static const short yyprhs[] = { 0, - 0, 1, 2, 3, 4, 5, 17, 18, 20, 21, - 24, 28, 29, 32, 35, 36, 45, 46, 48, 50, - 54, 58, 59, 68, 69, 71, 73, 77, 80, 81, - 83, 84, 85, 86, 87, 88, 89, 90, 91, 126, - 128, 131, 132, 133, 138, 140, 144, 146, 147, 151, - 152, 155, 159, 161, 164, 166, 170, 171, 178, 180, - 182, 185, 188, 190, 192, 194, 196, 198, 200, 202, - 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, - 224, 226, 228, 230, 232, 234, 236, 237, 241, 242, - 244, 245, 250, 251, 256, 257, 260, 262, 264, 266, - 268, 270, 272, 277, 282, 285, 289, 291, 294, 296, - 300, 301, 306, 308, 310, 312, 314, 316, 318, 320, - 321, 324, 338, 339, 341, 342, 344, 345, 347, 348, - 350, 351, 353, 354, 356, 358, 360, 364, 367, 369, - 371, 373, 375, 378, 381, 384, 387, 390, 393, 396, - 399, 404, 405, 408, 409, 415, 416, 427, 428, 430, - 433, 435, 437, 439, 441, 443, 445, 447, 449, 451, - 453, 455, 457, 459, 461, 463, 465, 467, 469, 471, - 473, 475, 477, 479, 481, 483, 485, 488, 491, 494, - 497, 500, 503, 506, 509, 512, 515, 518, 521, 524, - 527, 530, 533, 536, 539, 542, 545, 548, 551, 555, - 559, 563, 566, 568, 570, 572, 574, 576, 578, 580, - 582, 584, 586, 588, 590, 592, 594, 596, 598, 600, - 602, 604, 606, 608, 610, 612, 614, 616, 618, 620, - 622, 624, 626, 628, 630, 631, 634, 637, 645, 649, - 653, 658, 660, 662, 664, 666, 668, 670, 672, 674, - 676, 678, 680, 682, 684, 686, 688, 690, 698, 708, - 709, 718, 719, 730, 731, 744, 745, 752, 756, 762, - 763, 765, 774, 777, 781, 788, 795, 797, 798, 800, - 805, 808, 811, 814, 818, 819, 821, 831, 841, 842 -}; - -static const short yyrhs[] = { -1, - 0, 0, 0, 0, 4, 99, 104, 100, 105, 101, - 107, 102, 104, 103, 118, 0, 0, 9, 0, 0, - 105, 106, 0, 32, 7, 74, 0, 0, 107, 108, - 0, 107, 113, 0, 0, 14, 8, 109, 75, 111, - 110, 76, 74, 0, 0, 77, 0, 112, 0, 111, - 77, 112, 0, 4, 8, 7, 0, 0, 28, 8, - 114, 75, 115, 110, 76, 74, 0, 0, 116, 0, - 117, 0, 115, 77, 117, 0, 167, 8, 0, 0, - 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 127, 8, 78, 8, 75, 29, 7, 74, 30, 7, - 74, 120, 128, 121, 37, 78, 135, 122, 132, 123, - 38, 78, 148, 124, 39, 78, 156, 125, 40, 78, - 168, 126, 76, 74, 0, 17, 0, 17, 33, 0, - 0, 0, 31, 129, 130, 74, 0, 131, 0, 130, - 77, 131, 0, 7, 0, 0, 75, 133, 76, 0, - 0, 133, 134, 0, 167, 8, 74, 0, 137, 0, - 136, 110, 0, 138, 0, 136, 77, 138, 0, 0, - 139, 141, 140, 142, 146, 145, 0, 4, 0, 8, - 0, 14, 8, 0, 73, 8, 0, 49, 0, 50, - 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, - 0, 56, 0, 57, 0, 58, 0, 59, 0, 60, - 0, 61, 0, 62, 0, 63, 0, 64, 0, 65, - 0, 66, 0, 67, 0, 69, 0, 68, 0, 70, - 0, 72, 0, 71, 0, 0, 7, 143, 144, 0, - 0, 3, 0, 0, 54, 79, 173, 80, 0, 0, - 31, 79, 173, 80, 0, 0, 81, 147, 0, 4, - 0, 5, 0, 6, 0, 3, 0, 7, 0, 8, - 0, 8, 79, 173, 80, 0, 174, 79, 173, 80, - 0, 82, 147, 0, 79, 173, 80, 0, 150, 0, - 149, 110, 0, 151, 0, 149, 77, 151, 0, 0, - 152, 155, 153, 154, 0, 4, 0, 8, 0, 7, - 0, 36, 0, 34, 0, 35, 0, 17, 0, 0, - 156, 157, 0, 159, 161, 166, 158, 8, 79, 163, - 80, 160, 75, 176, 76, 162, 0, 0, 83, 0, - 0, 33, 0, 0, 20, 0, 0, 23, 0, 0, - 74, 0, 0, 19, 0, 164, 0, 165, 0, 164, - 77, 165, 0, 167, 8, 0, 167, 0, 19, 0, - 174, 0, 8, 0, 14, 8, 0, 167, 84, 0, - 167, 85, 0, 19, 84, 0, 20, 167, 0, 21, - 167, 0, 22, 167, 0, 17, 167, 0, 8, 86, - 167, 87, 0, 0, 168, 170, 0, 0, 78, 8, - 78, 78, 8, 0, 0, 8, 79, 172, 80, 169, - 171, 75, 176, 76, 162, 0, 0, 8, 0, 8, - 8, 0, 4, 0, 5, 0, 6, 0, 3, 0, - 7, 0, 8, 0, 174, 0, 81, 0, 88, 0, - 82, 0, 86, 0, 87, 0, 89, 0, 90, 0, - 85, 0, 84, 0, 91, 0, 92, 0, 93, 0, - 94, 0, 95, 0, 78, 0, 77, 0, 96, 0, - 97, 0, 83, 0, 79, 80, 0, 88, 88, 0, - 82, 82, 0, 82, 87, 0, 78, 78, 0, 85, - 85, 0, 90, 90, 0, 93, 93, 0, 87, 87, - 0, 86, 86, 0, 81, 81, 0, 89, 81, 0, - 87, 81, 0, 86, 81, 0, 85, 81, 0, 90, - 81, 0, 93, 81, 0, 88, 81, 0, 82, 81, - 0, 91, 81, 0, 92, 81, 0, 84, 81, 0, - 87, 87, 81, 0, 86, 86, 81, 0, 79, 173, - 80, 0, 173, 173, 0, 49, 0, 50, 0, 51, - 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, - 0, 57, 0, 58, 0, 59, 0, 60, 0, 61, - 0, 62, 0, 63, 0, 64, 0, 65, 0, 66, - 0, 67, 0, 71, 0, 72, 0, 69, 0, 68, - 0, 70, 0, 20, 0, 22, 0, 4, 0, 5, - 0, 6, 0, 3, 0, 7, 0, 8, 0, 0, - 176, 177, 0, 173, 74, 0, 15, 79, 173, 80, - 75, 176, 76, 0, 16, 175, 78, 0, 75, 176, - 76, 0, 173, 75, 176, 76, 0, 180, 0, 182, - 0, 184, 0, 178, 0, 179, 0, 186, 0, 188, - 0, 189, 0, 194, 0, 191, 0, 197, 0, 198, - 0, 199, 0, 200, 0, 193, 0, 74, 0, 12, - 79, 173, 80, 75, 176, 76, 0, 12, 79, 173, - 80, 75, 176, 76, 13, 177, 0, 0, 10, 79, - 173, 80, 181, 75, 176, 76, 0, 0, 18, 75, - 176, 76, 183, 10, 79, 173, 80, 74, 0, 0, - 11, 79, 173, 74, 173, 74, 173, 80, 185, 75, - 176, 76, 0, 0, 41, 192, 187, 75, 203, 76, - 0, 25, 192, 74, 0, 27, 192, 8, 190, 74, - 0, 0, 8, 0, 26, 196, 79, 195, 80, 8, - 190, 74, 0, 79, 80, 0, 79, 173, 80, 0, - 45, 196, 79, 195, 80, 74, 0, 44, 196, 79, - 195, 80, 74, 0, 173, 0, 0, 8, 0, 8, - 78, 78, 8, 0, 46, 74, 0, 47, 74, 0, - 48, 74, 0, 24, 201, 74, 0, 0, 173, 0, - 42, 79, 172, 80, 78, 75, 176, 76, 162, 0, - 43, 79, 172, 80, 78, 75, 176, 76, 162, 0, - 0, 203, 202, 0 -}; - -#endif - -#if YYDEBUG != 0 -static const short yyrline[] = { 0, - 246, 256, 259, 264, 265, 266, 276, 277, 281, 282, - 285, 294, 295, 296, 302, 307, 313, 313, 315, 316, - 320, 330, 345, 353, 354, 358, 359, 363, 373, 374, - 378, 379, 393, 398, 402, 403, 409, 412, 413, 478, - 479, 483, 484, 494, 497, 498, 501, 544, 545, 548, - 549, 552, 562, 569, 578, 579, 582, 586, 609, 610, - 613, 618, 623, 628, 633, 638, 643, 648, 653, 658, - 663, 668, 673, 678, 683, 688, 693, 698, 703, 708, - 713, 718, 723, 728, 733, 738, 746, 751, 756, 759, - 764, 767, 771, 774, 779, 801, 810, 810, 810, 810, - 810, 811, 812, 813, 814, 815, 822, 828, 836, 837, - 840, 844, 857, 858, 859, 862, 863, 864, 865, 872, - 873, 877, 896, 897, 901, 902, 912, 913, 916, 917, - 920, 921, 924, 925, 926, 929, 930, 933, 937, 938, - 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, - 952, 960, 961, 965, 966, 972, 1003, 1010, 1013, 1016, - 1022, 1022, 1022, 1022, 1022, 1023, 1024, 1025, 1025, 1025, - 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, 1025, - 1025, 1025, 1025, 1025, 1025, 1025, 1026, 1027, 1028, 1029, - 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, - 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, - 1050, 1051, 1054, 1054, 1054, 1054, 1055, 1055, 1055, 1055, - 1055, 1056, 1056, 1056, 1056, 1056, 1057, 1057, 1057, 1057, - 1057, 1057, 1057, 1058, 1058, 1058, 1059, 1060, 1063, 1063, - 1063, 1063, 1063, 1064, 1071, 1072, 1075, 1076, 1077, 1078, - 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, - 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1100, 1116, 1138, - 1142, 1163, 1168, 1189, 1193, 1206, 1214, 1240, 1264, 1289, - 1292, 1297, 1321, 1324, 1330, 1339, 1351, 1354, 1360, 1363, - 1369, 1375, 1380, 1385, 1399, 1400, 1404, 1413, 1423, 1424 -}; - -static const char * const yytname[] = { "$","error","$undefined.","c_char", -"c_int","c_float","c_bool","c_string","identifier","cppblock","k_while","k_for", -"k_if","k_else","k_enum","k_switch","k_case","k_class","k_do","k_void","k_const", -"k_inline","k_static","k_virtual","k_return","k_autowait","k_autocall","k_waitevent", -"k_event","k_name","k_thumbnail","k_features","k_uses","k_export","k_texture", -"k_sound","k_model","k_properties","k_components","k_functions","k_procedures", -"k_wait","k_on","k_otherwise","k_call","k_jump","k_stop","k_resume","k_pass", -"k_CTString","k_CTStringTrans","k_CTFileName","k_CTFileNameNoDep","k_BOOL","k_COLOR", -"k_FLOAT","k_INDEX","k_RANGE","k_CEntityPointer","k_CModelObject","k_CModelInstance", -"k_CAnimObject","k_CSoundObject","k_CPlacement3D","k_FLOATaabbox3D","k_FLOATmatrix3D", -"k_FLOATquat3D","k_ANGLE","k_FLOAT3D","k_ANGLE3D","k_FLOATplane3D","k_ANIMATION", -"k_ILLUMINATIONTYPE","k_FLAGS","';'","'{'","'}'","','","':'","'('","')'","'='", -"'-'","'~'","'*'","'&'","'<'","'>'","'+'","'!'","'|'","'/'","'%'","'^'","'['", -"']'","'.'","'?'","program","@1","@2","@3","@4","@5","opt_global_cppblock","uses_list", -"uses_statement","enum_and_event_declarations_list","enum_declaration","@6", -"opt_comma","enum_values_list","enum_value","event_declaration","@7","event_members_list", -"non_empty_event_members_list","event_member","opt_class_declaration","class_declaration", -"@8","@9","@10","@11","@12","@13","@14","class_optexport","opt_features","@15", -"features_list","feature","opt_internal_properties","internal_property_list", -"internal_property","property_declaration_list","nonempty_property_declaration_list", -"empty_property_declaration_list","property_declaration","property_id","property_identifier", -"property_type","property_wed_name_opt","property_shortcut_opt","property_color_opt", -"property_flags_opt","property_default_opt","property_default_expression","component_declaration_list", -"nonempty_component_declaration_list","empty_component_declaration_list","component_declaration", -"component_id","component_identifier","component_filename","component_type", -"function_list","function_implementation","opt_tilde","opt_export","opt_const", -"opt_virtual","opt_semicolon","parameters_list","non_void_parameters_list","parameter_declaration", -"return_type","any_type","procedure_list","opt_override","procedure_implementation", -"@16","event_specification","expression","type_keyword","case_constant_expression", -"statements","statement","statement_if","statement_if_else","statement_while", -"@17","statement_dowhile","@18","statement_for","@19","statement_wait","@20", -"statement_autowait","statement_waitevent","opt_eventvar","statement_autocall", -"wait_expression","statement_jump","statement_call","event_expression","jumptarget", -"statement_stop","statement_resume","statement_pass","statement_return","opt_expression", -"handler","handlers_list","" -}; -#endif - -static const short yyr1[] = { 0, - 99, 100, 101, 102, 103, 98, 104, 104, 105, 105, - 106, 107, 107, 107, 109, 108, 110, 110, 111, 111, - 112, 114, 113, 115, 115, 116, 116, 117, 118, 118, - 119, 120, 121, 122, 123, 124, 125, 126, 119, 127, - 127, 128, 129, 128, 130, 130, 131, 132, 132, 133, - 133, 134, 135, 135, 136, 136, 137, 138, 139, 140, - 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, - 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, - 141, 141, 141, 141, 141, 141, 142, 142, 143, 143, - 144, 144, 145, 145, 146, 146, 147, 147, 147, 147, - 147, 147, 147, 147, 147, 147, 148, 148, 149, 149, - 150, 151, 152, 153, 154, 155, 155, 155, 155, 156, - 156, 157, 158, 158, 159, 159, 160, 160, 161, 161, - 162, 162, 163, 163, 163, 164, 164, 165, 166, 166, - 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, - 167, 168, 168, 169, 169, 171, 170, 172, 172, 172, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 175, 175, - 175, 175, 175, 175, 176, 176, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 178, 179, 181, - 180, 183, 182, 185, 184, 187, 186, 188, 189, 190, - 190, 191, 192, 192, 193, 194, 195, 195, 196, 196, - 197, 198, 199, 200, 201, 201, 202, 202, 203, 203 -}; - -static const short yyr2[] = { 0, - 0, 0, 0, 0, 0, 11, 0, 1, 0, 2, - 3, 0, 2, 2, 0, 8, 0, 1, 1, 3, - 3, 0, 8, 0, 1, 1, 3, 2, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 34, 1, - 2, 0, 0, 4, 1, 3, 1, 0, 3, 0, - 2, 3, 1, 2, 1, 3, 0, 6, 1, 1, - 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 0, 3, 0, 1, - 0, 4, 0, 4, 0, 2, 1, 1, 1, 1, - 1, 1, 4, 4, 2, 3, 1, 2, 1, 3, - 0, 4, 1, 1, 1, 1, 1, 1, 1, 0, - 2, 13, 0, 1, 0, 1, 0, 1, 0, 1, - 0, 1, 0, 1, 1, 1, 3, 2, 1, 1, - 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, - 4, 0, 2, 0, 5, 0, 10, 0, 1, 2, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, - 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 0, 2, 2, 7, 3, 3, - 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 7, 9, 0, - 8, 0, 10, 0, 12, 0, 6, 3, 5, 0, - 1, 8, 2, 3, 6, 6, 1, 0, 1, 4, - 2, 2, 2, 3, 0, 1, 9, 9, 0, 2 -}; - -static const short yydefact[] = { 0, - 1, 7, 8, 2, 9, 3, 0, 12, 10, 0, - 4, 11, 0, 0, 7, 13, 14, 15, 22, 5, - 0, 0, 29, 0, 24, 40, 6, 30, 0, 0, - 17, 19, 142, 0, 0, 0, 237, 0, 238, 213, - 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, - 224, 225, 226, 227, 228, 229, 230, 231, 235, 234, - 236, 232, 233, 17, 25, 26, 0, 141, 41, 0, - 0, 18, 0, 0, 143, 150, 146, 147, 148, 149, - 18, 0, 28, 144, 145, 0, 21, 20, 0, 0, - 27, 0, 0, 16, 151, 23, 0, 0, 0, 0, - 0, 0, 32, 42, 43, 33, 0, 0, 47, 0, - 45, 0, 44, 0, 57, 46, 59, 34, 17, 53, - 55, 0, 48, 18, 54, 0, 63, 64, 65, 66, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 80, 81, 83, 82, 84, 86, 85, - 0, 0, 50, 35, 56, 61, 62, 60, 87, 0, - 0, 89, 95, 49, 51, 0, 0, 90, 91, 0, - 93, 0, 111, 0, 88, 100, 97, 98, 99, 101, - 102, 237, 238, 0, 0, 96, 0, 0, 58, 52, - 113, 36, 17, 107, 109, 0, 0, 0, 164, 161, - 162, 163, 165, 166, 183, 182, 0, 168, 170, 186, - 176, 175, 171, 172, 169, 173, 174, 177, 178, 179, - 180, 181, 184, 185, 0, 167, 105, 0, 0, 0, - 18, 108, 119, 117, 118, 116, 0, 0, 0, 191, - 187, 0, 197, 205, 189, 190, 208, 201, 192, 200, - 196, 199, 195, 204, 188, 198, 202, 193, 206, 207, - 203, 194, 106, 212, 0, 0, 0, 110, 114, 0, - 92, 103, 211, 210, 209, 104, 94, 120, 115, 112, - 125, 126, 0, 121, 129, 0, 130, 0, 152, 140, - 123, 139, 38, 124, 0, 0, 0, 153, 0, 158, - 0, 133, 159, 0, 39, 134, 0, 135, 136, 0, - 160, 154, 127, 0, 138, 0, 156, 128, 0, 137, - 0, 0, 245, 0, 245, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 295, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 267, 245, 131, 0, 246, 255, - 256, 252, 253, 254, 257, 258, 259, 261, 266, 260, - 262, 263, 264, 265, 155, 131, 0, 0, 0, 0, - 242, 239, 240, 241, 243, 244, 0, 245, 296, 0, - 0, 0, 289, 0, 0, 276, 0, 0, 291, 292, - 293, 0, 132, 122, 247, 245, 157, 0, 0, 0, - 0, 249, 0, 294, 283, 0, 278, 0, 288, 280, - 0, 288, 288, 250, 0, 270, 0, 0, 0, 272, - 284, 0, 287, 0, 281, 0, 299, 0, 0, 251, - 0, 0, 245, 245, 0, 290, 0, 279, 0, 0, - 0, 245, 0, 0, 0, 0, 280, 0, 0, 277, - 300, 286, 285, 0, 0, 268, 248, 0, 0, 158, - 158, 271, 274, 0, 0, 282, 0, 0, 0, 269, - 0, 0, 0, 245, 273, 0, 0, 0, 245, 245, - 275, 0, 0, 131, 131, 297, 298, 0, 0, 0 -}; - -static const short yydefgoto[] = { 488, - 2, 5, 8, 15, 23, 4, 6, 9, 11, 16, - 21, 73, 31, 32, 17, 22, 64, 65, 66, 27, - 28, 104, 108, 123, 161, 230, 283, 297, 29, 106, - 107, 110, 111, 154, 160, 165, 118, 119, 120, 121, - 122, 159, 152, 163, 169, 175, 189, 171, 186, 192, - 193, 194, 195, 196, 270, 280, 237, 281, 284, 295, - 285, 319, 288, 394, 307, 308, 309, 291, 67, 293, - 317, 298, 322, 304, 264, 226, 377, 326, 349, 350, - 351, 352, 431, 353, 435, 354, 469, 355, 411, 356, - 357, 426, 358, 382, 359, 360, 424, 384, 361, 362, - 363, 364, 380, 451, 439 -}; - -static const short yypact[] = { -3, --32768, 0,-32768,-32768,-32768, -13, 44,-32768,-32768, -1, - -2,-32768, 102, 111, 0,-32768,-32768,-32768,-32768,-32768, - 50, 51, 113, 127, 3207, 99,-32768,-32768, 125, 126, - 58,-32768, 52, 129, 3207, 55, 3207, 3207, 3207,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768, 63,-32768,-32768, 17,-32768,-32768, 67, - 134, 127, 70, 3207,-32768, 15,-32768, 15, 15, 15, - 3207, 71,-32768,-32768,-32768, 140,-32768,-32768, 75, 22, --32768, 76, 79,-32768,-32768,-32768, 130, 148, 82, 131, - 153, 88,-32768, 132,-32768,-32768, 157, 128,-32768, -35, --32768, 89,-32768, 157, 162,-32768,-32768,-32768, 92,-32768, --32768, 3320, 95, 162,-32768, 163,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - 164, 165,-32768,-32768,-32768,-32768,-32768,-32768, 167, 3142, - 137, 173, 96,-32768,-32768, 19, 100,-32768, 133, 26, - 149, 105, 177, 103,-32768,-32768,-32768,-32768,-32768,-32768, - 109,-32768,-32768, 3052, 26,-32768, 110, 112,-32768,-32768, --32768,-32768, 115,-32768,-32768, 18, 3052, 3052,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 116, 1532, 114, -21,-32768, - 117, -22, -31, -70, -45, 118, -43, 119, 120, -53, --32768,-32768,-32768,-32768, 1627,-32768,-32768, 3052, 3052, 151, - 177,-32768,-32768,-32768,-32768,-32768, 185, 1722, 1817,-32768, --32768, 1912,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - 121,-32768, 122,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768, 3052, 2007, 2102, 135,-32768,-32768, 189, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, - 25,-32768, 166,-32768, 181, 136,-32768, 3231,-32768, 55, - 124, 15, 197,-32768, 201, 138, 139,-32768, 141, 202, - 142, 3296, 203, 143,-32768, 55, 144, 145,-32768, 29, --32768, 152, 192, 3207,-32768, 210,-32768,-32768, 146,-32768, - 154, 159,-32768, 158,-32768, 297, 218, 392, 156, 160, - 161, 168, 64, 169, 3052, 170, 219, 170, 170, 219, - 219, 171, 172, 174,-32768,-32768, 176, 1437,-32768,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768,-32768,-32768, 176, 3052, 3052, 3052, 3052, --32768,-32768,-32768,-32768,-32768,-32768, 175,-32768, 3052, 178, - 2197, 180, 179, 183, 229,-32768, 184, 186,-32768,-32768, --32768, 487,-32768,-32768,-32768,-32768,-32768, 2292, 2387, 2482, - 2577,-32768, 582,-32768,-32768, 2672,-32768, 188, 3052, 230, - 193, 3052, 3052,-32768, 677,-32768, 3052, 198, 200,-32768, --32768, 233, 3052, 187,-32768, 182,-32768, 196, 199,-32768, - 207, 2767,-32768,-32768, 232,-32768, 235,-32768, -27, 190, - 204,-32768, 3052, 772, 867, 205, 230, 208, 209,-32768, --32768,-32768,-32768, 962, 2862, 238,-32768, 3052, 212, 202, - 202,-32768,-32768, 1342, 2957,-32768, 211, 213, 214,-32768, - 216, 194, 217,-32768,-32768, 221, 231, 1057,-32768,-32768, --32768, 1152, 1247, 176, 176,-32768,-32768, 258, 277,-32768 -}; - -static const short yypgoto[] = {-32768, --32768,-32768,-32768,-32768,-32768, 268,-32768,-32768,-32768,-32768, --32768, -57,-32768, 220,-32768,-32768,-32768,-32768, 237,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768, 206,-32768,-32768,-32768,-32768,-32768,-32768, 215, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, 147,-32768, --32768,-32768, 80,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768,-32768,-32768, -356,-32768,-32768, -4,-32768, -33,-32768, --32768,-32768,-32768, -345, -184, -17,-32768, -322, -150,-32768, --32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768, --32768, -131,-32768, -221,-32768,-32768, -291, -217,-32768,-32768, --32768,-32768,-32768,-32768,-32768 -}; - - -#define YYLAST 3393 - - -static const short yytable[] = { 225, - 1, 76, 328, 78, 79, 80, 82, 68, 3, 397, - 252, 13, 238, 239, 448, 449, 253, 68, 7, 68, - 68, 68, 242, 392, 83, 14, 172, 261, 176, 177, - 178, 179, 180, 181, 233, 254, 315, 257, 113, 262, - 90, 114, 255, 265, 266, 182, 258, 183, 450, 250, - 10, 234, 235, 236, 251, 403, 68, 282, 248, 244, - 245, 125, 249, 68, -37, 246, 371, 372, 373, 374, - 375, 376, 12, 415, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 84, 85, - 84, 85, 84, 85, 184, 84, 85, 185, 95, 18, - 444, 445, 84, 85, 467, 468, 385, 386, 19, 454, - 428, 429, 387, 388, 24, 25, 166, 486, 487, 26, - 30, 69, 70, 71, 72, 232, 75, 74, 77, 81, - 87, 348, 68, 348, 86, 89, 92, 93, 94, 96, - 379, 478, 187, 97, 99, 100, 482, 483, 98, 102, - 101, 103, 105, 109, 112, 117, 115, 187, 124, 153, - 156, 157, 158, 162, 167, 168, 170, 173, 190, 188, - 191, 197, 398, 399, 400, 401, 174, 198, 228, 267, - 229, 231, 269, 240, 243, 279, 406, 247, 256, 259, - 260, 274, 275, 287, 296, 286, 294, 348, 299, 303, - 311, 318, 278, 289, 301, 305, 300, 321, 348, 302, - 323, 314, 312, 313, 423, 365, 383, 423, 423, 316, - 348, 324, 432, 325, 367, 327, 410, 425, 368, 369, - 436, 446, 447, 378, 389, 390, 370, 391, 381, 393, - 464, 404, 402, 407, 292, 438, 408, 489, 455, 348, - 348, 409, 412, 452, 413, 422, 437, 427, 310, 348, - 68, 476, 433, 465, 434, 440, 490, 453, 441, 348, - 310, 442, 20, 458, 68, 466, 460, 461, 474, 475, - 472, 88, 473, 348, 477, 479, 68, 348, 348, 199, - 200, 201, 202, 203, 204, 480, 329, 330, 331, 320, - 268, 332, 333, 470, 334, 459, 182, 91, 183, 116, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 227, 0, 0, 0, 0, 0, 339, 155, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 347, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 366, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 329, 330, 331, 0, - 0, 332, 333, 0, 334, 0, 182, 0, 183, 0, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 0, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 414, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 420, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 329, 330, 331, 0, - 0, 332, 333, 0, 334, 0, 182, 0, 183, 0, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 0, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 430, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 456, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 329, 330, 331, 0, - 0, 332, 333, 0, 334, 0, 182, 0, 183, 0, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 0, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 457, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 462, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 329, 330, 331, 0, - 0, 332, 333, 0, 334, 0, 182, 0, 183, 0, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 0, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 481, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 484, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 329, 330, 331, 0, - 0, 332, 333, 0, 334, 0, 182, 0, 183, 0, - 335, 336, 337, 338, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 339, 0, 0, - 340, 341, 342, 343, 344, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 345, 346, 485, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 329, 330, 331, 0, 0, 332, 333, 0, 334, - 0, 182, 0, 183, 0, 335, 336, 337, 338, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 339, 0, 0, 340, 341, 342, 343, 344, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 345, 346, 0, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 395, 396, 0, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 241, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 263, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 271, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 272, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 273, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 276, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 277, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 405, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 416, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 417, 0, 0, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 418, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 419, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 421, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 443, 0, 0, 205, 206, 207, 0, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 463, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 199, - 200, 201, 202, 203, 204, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 182, 0, 183, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 0, - 0, 0, 0, 205, 206, 207, 471, 208, 209, 210, - 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, - 221, 222, 223, 224, 199, 200, 201, 202, 203, 204, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 182, 0, 183, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 0, 0, 0, 0, 205, 206, - 207, 0, 208, 209, 210, 211, 212, 213, 214, 215, - 216, 217, 218, 219, 220, 221, 222, 223, 224, 33, - 0, 0, 0, 0, 0, 34, 0, 0, 35, 0, - 36, 37, 38, 39, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 33, 0, 0, 164, 0, 0, - 34, 0, 0, 35, 0, 36, 37, 38, 39, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, - 0, 0, 0, 0, 34, 0, 0, 35, 0, 290, - 37, 38, 39, 0, 0, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, - 61, 62, 63, 33, 0, 0, 0, 0, 0, 34, - 0, 0, 35, 0, 306, 37, 38, 39, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 126, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, - 56, 57, 58, 59, 60, 61, 62, 63, 127, 128, - 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, - 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, - 149, 150, 151 -}; - -static const short yycheck[] = { 184, - 4, 35, 325, 37, 38, 39, 64, 25, 9, 366, - 81, 14, 197, 198, 42, 43, 87, 35, 32, 37, - 38, 39, 207, 346, 8, 28, 8, 81, 3, 4, - 5, 6, 7, 8, 17, 81, 8, 81, 74, 93, - 74, 77, 88, 228, 229, 20, 90, 22, 76, 81, - 7, 34, 35, 36, 86, 378, 74, 33, 81, 81, - 82, 119, 85, 81, 40, 87, 3, 4, 5, 6, - 7, 8, 74, 396, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 84, 85, - 84, 85, 84, 85, 79, 84, 85, 82, 87, 8, - 433, 434, 84, 85, 460, 461, 338, 339, 8, 442, - 412, 413, 340, 341, 75, 75, 160, 484, 485, 17, - 4, 33, 8, 8, 77, 193, 8, 86, 84, 77, - 7, 326, 160, 328, 78, 76, 76, 8, 74, 74, - 335, 474, 170, 75, 7, 74, 479, 480, 29, 7, - 30, 74, 31, 7, 37, 4, 78, 185, 77, 75, - 8, 8, 8, 7, 38, 3, 81, 78, 74, 31, - 4, 79, 367, 368, 369, 370, 54, 79, 79, 39, - 79, 77, 8, 78, 81, 7, 381, 81, 81, 81, - 81, 81, 81, 23, 8, 40, 83, 392, 8, 8, - 8, 20, 78, 78, 76, 74, 79, 8, 403, 79, - 75, 77, 80, 80, 409, 8, 8, 412, 413, 78, - 415, 78, 417, 75, 79, 78, 8, 8, 79, 79, - 8, 10, 8, 75, 74, 74, 79, 74, 79, 74, - 13, 74, 78, 74, 288, 74, 78, 0, 443, 444, - 445, 79, 79, 74, 79, 78, 80, 75, 302, 454, - 288, 78, 75, 458, 75, 80, 0, 74, 80, 464, - 314, 75, 15, 79, 302, 74, 79, 79, 75, 74, - 80, 72, 80, 478, 78, 75, 314, 482, 483, 3, - 4, 5, 6, 7, 8, 75, 10, 11, 12, 314, - 231, 15, 16, 464, 18, 447, 20, 81, 22, 114, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, 185, -1, -1, -1, -1, -1, 41, 124, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, 76, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, 10, 11, 12, -1, - -1, 15, 16, -1, 18, -1, 20, -1, 22, -1, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, 76, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, 10, 11, 12, -1, - -1, 15, 16, -1, 18, -1, 20, -1, 22, -1, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, 76, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, 10, 11, 12, -1, - -1, 15, 16, -1, 18, -1, 20, -1, 22, -1, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, 76, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, 10, 11, 12, -1, - -1, 15, 16, -1, 18, -1, 20, -1, 22, -1, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, 76, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, 10, 11, 12, -1, - -1, 15, 16, -1, 18, -1, 20, -1, 22, -1, - 24, 25, 26, 27, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, 76, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, 10, 11, 12, -1, -1, 15, 16, -1, 18, - -1, 20, -1, 22, -1, 24, 25, 26, 27, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, 41, -1, -1, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, 74, 75, -1, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, 75, -1, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, -1, -1, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - 74, -1, -1, 77, 78, 79, -1, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 3, - 4, 5, 6, 7, 8, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, 20, -1, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, -1, - -1, -1, -1, 77, 78, 79, 80, 81, 82, 83, - 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, - 94, 95, 96, 97, 3, 4, 5, 6, 7, 8, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 20, -1, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, -1, -1, -1, -1, 77, 78, - 79, -1, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 93, 94, 95, 96, 97, 8, - -1, -1, -1, -1, -1, 14, -1, -1, 17, -1, - 19, 20, 21, 22, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, - 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, 8, -1, -1, 76, -1, -1, - 14, -1, -1, 17, -1, 19, 20, 21, 22, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 8, -1, - -1, -1, -1, -1, 14, -1, -1, 17, -1, 19, - 20, 21, 22, -1, -1, 49, 50, 51, 52, 53, - 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, - 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, - 70, 71, 72, 8, -1, -1, -1, -1, -1, 14, - -1, -1, 17, -1, 19, 20, 21, 22, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 14, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 49, 50, 51, 52, 53, 54, - 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 49, 50, - 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, - 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, - 71, 72, 73 -}; -/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "bison.simple" - -/* Skeleton output parser for bison, - Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - -/* As a special exception, when this file is copied by Bison into a - Bison output file, you may use that output file without restriction. - This special exception was added by the Free Software Foundation - in version 1.24 of Bison. */ - -#undef YYERROR_VERBOSE -#ifndef alloca -#ifdef __GNUC__ -#define alloca __builtin_alloca -#else /* not GNU C. */ -#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) -#include -#else /* not sparc */ -#if defined (MSDOS) && !defined (__TURBOC__) -#include -#else /* not MSDOS, or __TURBOC__ */ -#if defined(_AIX) -#include - #pragma alloca -#else /* not MSDOS, __TURBOC__, or _AIX */ -#ifdef __hpux -#ifdef __cplusplus -extern "C" { -void *alloca (unsigned int); -}; -#else /* not __cplusplus */ -void *alloca (); -#endif /* not __cplusplus */ -#endif /* __hpux */ -#endif /* not _AIX */ -#endif /* not MSDOS, or __TURBOC__ */ -#endif /* not sparc. */ -#endif /* not GNU C. */ -#endif /* alloca not defined. */ - -/* This is the parser code that is written into each bison parser - when the %semantic_parser declaration is not specified in the grammar. - It was written by Richard Stallman by simplifying the hairy parser - used when %semantic_parser is specified. */ - -/* Note: there must be only one dollar sign in this file. - It is replaced by the list of actions, each action - as one case of the switch. */ - -#define yyerrok (yyerrstatus = 0) -#define yyclearin (yychar = YYEMPTY) -#define YYEMPTY -2 -#define YYEOF 0 -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYERROR goto yyerrlab1 -/* Like YYERROR except do call yyerror. - This remains here temporarily to ease the - transition to the new meaning of YYERROR, for GCC. - Once GCC version 2 has supplanted version 1, this can go. */ -#define YYFAIL goto yyerrlab -#define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(token, value) \ -do \ - if (yychar == YYEMPTY && yylen == 1) \ - { yychar = (token), yylval = (value); \ - yychar1 = YYTRANSLATE (yychar); \ - YYPOPSTACK; \ - goto yybackup; \ - } \ - else \ - { yyerror ("syntax error: cannot back up"); YYERROR; } \ -while (0) - -#define YYTERROR 1 -#define YYERRCODE 256 - -#ifndef YYPURE -#define YYLEX yylex() -#endif - -#ifdef YYPURE -#ifdef YYLSP_NEEDED -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval, &yylloc) -#endif -#else /* not YYLSP_NEEDED */ -#ifdef YYLEX_PARAM -#define YYLEX yylex(&yylval, YYLEX_PARAM) -#else -#define YYLEX yylex(&yylval) -#endif -#endif /* not YYLSP_NEEDED */ -#endif - -/* If nonreentrant, generate the variables here */ - -#ifndef YYPURE - -int yychar; /* the lookahead symbol */ -YYSTYPE yylval; /* the semantic value of the */ - /* lookahead symbol */ - -#ifdef YYLSP_NEEDED -YYLTYPE yylloc; /* location data for the lookahead */ - /* symbol */ -#endif - -int yynerrs; /* number of parse errors so far */ -#endif /* not YYPURE */ - -#if YYDEBUG != 0 -int yydebug; /* nonzero means print parse trace */ -/* Since this is uninitialized, it does not stop multiple parsers - from coexisting. */ -#endif - -/* YYINITDEPTH indicates the initial size of the parser's stacks */ - -#ifndef YYINITDEPTH -#define YYINITDEPTH 200 -#endif - -/* YYMAXDEPTH is the maximum size the stacks can grow to - (effective only if the built-in stack extension method is used). */ - -#if YYMAXDEPTH == 0 -#undef YYMAXDEPTH -#endif - -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 10000 -#endif - -/* Prevent warning if -Wstrict-prototypes. */ -#ifdef __GNUC__ -int yyparse (void); -#endif - -#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */ -#define __yy_memcpy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT) -#else /* not GNU C or C++ */ -#ifndef __cplusplus - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (from, to, count) - char *from; - char *to; - int count; -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#else /* __cplusplus */ - -/* This is the most reliable way to avoid incompatibilities - in available built-in functions on various systems. */ -static void -__yy_memcpy (char *from, char *to, int count) -{ - register char *f = from; - register char *t = to; - register int i = count; - - while (i-- > 0) - *t++ = *f++; -} - -#endif -#endif - -#line 192 "bison.simple" - -/* The user can define YYPARSE_PARAM as the name of an argument to be passed - into yyparse. The argument should have type void *. - It should actually point to an object. - Grammar actions can access the variable by casting it - to the proper pointer type. */ - -#ifdef YYPARSE_PARAM -#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; -#else -#define YYPARSE_PARAM -#define YYPARSE_PARAM_DECL -#endif - -int -yyparse(YYPARSE_PARAM) - YYPARSE_PARAM_DECL -{ - register int yystate; - register int yyn; - register short *yyssp; - register YYSTYPE *yyvsp; - int yyerrstatus; /* number of tokens to shift before error messages enabled */ - int yychar1 = 0; /* lookahead token as an internal (translated) token number */ - - short yyssa[YYINITDEPTH]; /* the state stack */ - YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ - - short *yyss = yyssa; /* refer to the stacks thru separate pointers */ - YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ - -#ifdef YYLSP_NEEDED - YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */ - YYLTYPE *yyls = yylsa; - YYLTYPE *yylsp; - -#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) -#else -#define YYPOPSTACK (yyvsp--, yyssp--) -#endif - - int yystacksize = YYINITDEPTH; - -#ifdef YYPURE - int yychar; - YYSTYPE yylval; - int yynerrs; -#ifdef YYLSP_NEEDED - YYLTYPE yylloc; -#endif -#endif - - YYSTYPE yyval; /* the variable used to return */ - /* semantic values from the action */ - /* routines */ - - int yylen; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Starting parse\n"); -#endif - - yystate = 0; - yyerrstatus = 0; - yynerrs = 0; - yychar = YYEMPTY; /* Cause a token to be read. */ - - /* Initialize stack pointers. - Waste one element of value and location stack - so that they stay on the same level as the state stack. - The wasted elements are never initialized. */ - - yyssp = yyss - 1; - yyvsp = yyvs; -#ifdef YYLSP_NEEDED - yylsp = yyls; -#endif - -/* Push a new state, which is found in yystate . */ -/* In all cases, when you get here, the value and location stacks - have just been pushed. so pushing a state here evens the stacks. */ -yynewstate: - - *++yyssp = yystate; - - if (yyssp >= yyss + yystacksize - 1) - { - /* Give user a chance to reallocate the stack */ - /* Use copies of these so that the &'s don't force the real ones into memory. */ - YYSTYPE *yyvs1 = yyvs; - short *yyss1 = yyss; -#ifdef YYLSP_NEEDED - YYLTYPE *yyls1 = yyls; -#endif - - /* Get the current used size of the three stacks, in elements. */ - int size = yyssp - yyss + 1; - -#ifdef yyoverflow - /* Each stack pointer address is followed by the size of - the data in use in that stack, in bytes. */ -#ifdef YYLSP_NEEDED - /* This used to be a conditional around just the two extra args, - but that might be undefined if yyoverflow is a macro. */ - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yyls1, size * sizeof (*yylsp), - &yystacksize); -#else - yyoverflow("parser stack overflow", - &yyss1, size * sizeof (*yyssp), - &yyvs1, size * sizeof (*yyvsp), - &yystacksize); -#endif - - yyss = yyss1; yyvs = yyvs1; -#ifdef YYLSP_NEEDED - yyls = yyls1; -#endif -#else /* no yyoverflow */ - /* Extend the stack our own way. */ - if (yystacksize >= YYMAXDEPTH) - { - yyerror("parser stack overflow"); - return 2; - } - yystacksize *= 2; - if (yystacksize > YYMAXDEPTH) - yystacksize = YYMAXDEPTH; - yyss = (short *) alloca (yystacksize * sizeof (*yyssp)); - __yy_memcpy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp)); - yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp)); - __yy_memcpy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp)); -#ifdef YYLSP_NEEDED - yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp)); - __yy_memcpy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp)); -#endif -#endif /* no yyoverflow */ - - yyssp = yyss + size - 1; - yyvsp = yyvs + size - 1; -#ifdef YYLSP_NEEDED - yylsp = yyls + size - 1; -#endif - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Stack size increased to %d\n", yystacksize); -#endif - - if (yyssp >= yyss + yystacksize - 1) - YYABORT; - } - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Entering state %d\n", yystate); -#endif - - goto yybackup; - yybackup: - -/* Do appropriate processing given the current state. */ -/* Read a lookahead token if we need one and don't already have one. */ -/* yyresume: */ - - /* First try to decide what to do without reference to lookahead token. */ - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yydefault; - - /* Not known => get a lookahead token if don't already have one. */ - - /* yychar is either YYEMPTY or YYEOF - or a valid token in external form. */ - - if (yychar == YYEMPTY) - { -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Reading a token: "); -#endif - yychar = YYLEX; - } - - /* Convert token to internal form (in yychar1) for indexing tables with */ - - if (yychar <= 0) /* This means end of input. */ - { - yychar1 = 0; - yychar = YYEOF; /* Don't call YYLEX any more */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Now at end of input.\n"); -#endif - } - else - { - yychar1 = YYTRANSLATE(yychar); - -#if YYDEBUG != 0 - if (yydebug) - { - fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]); - /* Give the individual parser a way to print the precise meaning - of a token, for further debugging info. */ -#ifdef YYPRINT - YYPRINT (stderr, yychar, yylval); -#endif - fprintf (stderr, ")\n"); - } -#endif - } - - yyn += yychar1; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) - goto yydefault; - - yyn = yytable[yyn]; - - /* yyn is what to do for this token type in this state. - Negative => reduce, -yyn is rule number. - Positive => shift, yyn is new state. - New state is final state => don't bother to shift, - just return success. - 0, or most negative number => error. */ - - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrlab; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrlab; - - if (yyn == YYFINAL) - YYACCEPT; - - /* Shift the lookahead token. */ - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]); -#endif - - /* Discard the token being shifted unless it is eof. */ - if (yychar != YYEOF) - yychar = YYEMPTY; - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - /* count tokens shifted since error; after three, turn off error status. */ - if (yyerrstatus) yyerrstatus--; - - yystate = yyn; - goto yynewstate; - -/* Do the default action for the current state. */ -yydefault: - - yyn = yydefact[yystate]; - if (yyn == 0) - goto yyerrlab; - -/* Do a reduction. yyn is the number of a rule to reduce with. */ -yyreduce: - yylen = yyr2[yyn]; - if (yylen > 0) - yyval = yyvsp[1-yylen]; /* implement default value of the action */ - -#if YYDEBUG != 0 - if (yydebug) - { - int i; - - fprintf (stderr, "Reducing via rule %d (line %d), ", - yyn, yyrline[yyn]); - - /* Print the symbols being reduced, and their result. */ - for (i = yyprhs[yyn]; yyrhs[i] > 0; i++) - fprintf (stderr, "%s ", yytname[yyrhs[i]]); - fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]); - } -#endif - - - switch (yyn) { - -case 1: -#line 246 "ecc/parser.y" -{ - int iID = atoi(yyvsp[0].strString); - if(iID>32767) { - yyerror("Maximum allowed id for entity source file is 32767"); - } - _iCurrentClassID = iID; - _iNextFreeID = iID<<16; - fprintf(_fDeclaration, "#ifndef _%s_INCLUDED\n", _strFileNameBaseIdentifier); - fprintf(_fDeclaration, "#define _%s_INCLUDED 1\n", _strFileNameBaseIdentifier); - - ; - break;} -case 2: -#line 256 "ecc/parser.y" -{ - - //fprintf(_fImplementation, "\n#undef DECL_DLL\n#define DECL_DLL _declspec(dllimport)\n"); - ; - break;} -case 3: -#line 259 "ecc/parser.y" -{ - //fprintf(_fImplementation, "\n#undef DECL_DLL\n#define DECL_DLL _declspec(dllexport)\n"); - - fprintf(_fImplementation, "#include <%s.h>\n", _strFileNameBase); - fprintf(_fImplementation, "#include <%s_tables.h>\n", _strFileNameBase); - ; - break;} -case 4: -#line 264 "ecc/parser.y" -{ - ; - break;} -case 5: -#line 265 "ecc/parser.y" -{ - ; - break;} -case 6: -#line 266 "ecc/parser.y" -{ - fprintf(_fDeclaration, "#endif // _%s_INCLUDED\n", _strFileNameBaseIdentifier); - ; - break;} -case 8: -#line 277 "ecc/parser.y" -{ fprintf(_fImplementation, "%s\n", yyvsp[0].strString); ; - break;} -case 11: -#line 285 "ecc/parser.y" -{ - char *strUsedFileName = strdup(yyvsp[-1].strString); - strUsedFileName[strlen(strUsedFileName)-1] = 0; - fprintf(_fDeclaration, "#include <%s.h>\n", strUsedFileName+1); - ; - break;} -case 15: -#line 302 "ecc/parser.y" -{ - _strCurrentEnum = yyvsp[0].strString; - fprintf(_fTables, "EP_ENUMBEG(%s)\n", _strCurrentEnum ); - fprintf(_fDeclaration, "extern DECL_DLL CEntityPropertyEnumType %s_enum;\n", _strCurrentEnum ); - fprintf(_fDeclaration, "enum %s {\n", _strCurrentEnum ); - ; - break;} -case 16: -#line 307 "ecc/parser.y" -{ - fprintf(_fTables, "EP_ENUMEND(%s);\n\n", _strCurrentEnum); - fprintf(_fDeclaration, "};\n"); - fprintf(_fDeclaration, "DECL_DLL inline void ClearToDefault(%s &e) { e = (%s)0; } ;\n", _strCurrentEnum, _strCurrentEnum); - ; - break;} -case 21: -#line 320 "ecc/parser.y" -{ - fprintf(_fTables, " EP_ENUMVALUE(%s, %s),\n", yyvsp[-1].strString, yyvsp[0].strString); - fprintf(_fDeclaration, " %s = %s,\n", yyvsp[-1].strString, yyvsp[-2].strString); - ; - break;} -case 22: -#line 330 "ecc/parser.y" -{ - _strCurrentEvent = yyvsp[0].strString; - int iID = CreateID(); - fprintf(_fDeclaration, "#define EVENTCODE_%s 0x%08x\n", _strCurrentEvent, iID); - fprintf(_fDeclaration, "class DECL_DLL %s : public CEntityEvent {\npublic:\n", - _strCurrentEvent); - fprintf(_fDeclaration, "%s();\n", _strCurrentEvent ); - fprintf(_fDeclaration, "CEntityEvent *MakeCopy(void);\n"); - fprintf(_fImplementation, - "CEntityEvent *%s::MakeCopy(void) { " - "CEntityEvent *peeCopy = new %s(*this); " - "return peeCopy;}\n", - _strCurrentEvent, _strCurrentEvent); - fprintf(_fImplementation, "%s::%s() : CEntityEvent(EVENTCODE_%s) {;\n", - _strCurrentEvent, _strCurrentEvent, _strCurrentEvent); - ; - break;} -case 23: -#line 345 "ecc/parser.y" -{ - fprintf(_fImplementation, "};\n"); - fprintf(_fDeclaration, "};\n"); - fprintf(_fDeclaration, "DECL_DLL inline void ClearToDefault(%s &e) { e = %s(); } ;\n", _strCurrentEvent, _strCurrentEvent); - ; - break;} -case 28: -#line 363 "ecc/parser.y" -{ - fprintf(_fDeclaration, "%s %s;\n", yyvsp[-1].strString, yyvsp[0].strString); - fprintf(_fImplementation, " ClearToDefault(%s);\n", yyvsp[0].strString); - ; - break;} -case 32: -#line 381 "ecc/parser.y" -{ - _strCurrentClass = yyvsp[-9].strString; - _strCurrentBase = yyvsp[-7].strString; - _strCurrentDescription = yyvsp[-4].strString; - _strCurrentThumbnail = yyvsp[-1].strString; - - fprintf(_fTables, "#define ENTITYCLASS %s\n\n", _strCurrentClass); - fprintf(_fDeclaration, "extern \"C\" DECL_DLL CDLLEntityClass %s_DLLClass;\n", - _strCurrentClass); - fprintf(_fDeclaration, "%s %s : public %s {\npublic:\n", - yyvsp[-10].strString, _strCurrentClass, _strCurrentBase); - - ; - break;} -case 33: -#line 393 "ecc/parser.y" -{ - fprintf(_fDeclaration, " %s virtual void SetDefaultProperties(void);\n", _bClassIsExported?"":"DECL_DLL"); - fprintf(_fImplementation, "void %s::SetDefaultProperties(void) {\n", _strCurrentClass); - fprintf(_fTables, "CEntityProperty %s_properties[] = {\n", _strCurrentClass); - - ; - break;} -case 34: -#line 398 "ecc/parser.y" -{ - fprintf(_fImplementation, " %s::SetDefaultProperties();\n}\n", _strCurrentBase); - - fprintf(_fTables, "CEntityComponent %s_components[] = {\n", _strCurrentClass); - ; - break;} -case 35: -#line 402 "ecc/parser.y" -{ - ; - break;} -case 36: -#line 403 "ecc/parser.y" -{ - _bTrackLineInformation = 1; - fprintf(_fTables, "CEventHandlerEntry %s_handlers[] = {\n", _strCurrentClass); - - _bInProcedure = 0; - _bInHandler = 0; - ; - break;} -case 37: -#line 409 "ecc/parser.y" -{ - - _bInProcedure = 1; - ; - break;} -case 38: -#line 412 "ecc/parser.y" -{ - ; - break;} -case 39: -#line 413 "ecc/parser.y" -{ - fprintf(_fTables, "};\n#define %s_handlersct ARRAYCOUNT(%s_handlers)\n", - _strCurrentClass, _strCurrentClass); - fprintf(_fTables, "\n"); - - if (_bFeature_AbstractBaseClass) { - fprintf(_fTables, "CEntity *%s_New(void) { return NULL; };\n", - _strCurrentClass); - } else { - fprintf(_fTables, "CEntity *%s_New(void) { return new %s; };\n", - _strCurrentClass, _strCurrentClass); - } - - if (!_bFeature_ImplementsOnInitClass) { - fprintf(_fTables, "void %s_OnInitClass(void) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnInitClass(void);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnEndClass) { - fprintf(_fTables, "void %s_OnEndClass(void) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnEndClass(void);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnPrecache) { - fprintf(_fTables, "void %s_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnPrecache(CDLLEntityClass *pdec, INDEX iUser);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnWorldEnd) { - fprintf(_fTables, "void %s_OnWorldEnd(CWorld *pwo) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnWorldEnd(CWorld *pwo);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnWorldInit) { - fprintf(_fTables, "void %s_OnWorldInit(CWorld *pwo) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnWorldInit(CWorld *pwo);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnWorldTick) { - fprintf(_fTables, "void %s_OnWorldTick(CWorld *pwo) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnWorldTick(CWorld *pwo);\n", _strCurrentClass); - } - - if (!_bFeature_ImplementsOnWorldRender) { - fprintf(_fTables, "void %s_OnWorldRender(CWorld *pwo) {};\n", _strCurrentClass); - } else { - fprintf(_fTables, "void %s_OnWorldRender(CWorld *pwo);\n", _strCurrentClass); - } - - fprintf(_fTables, "ENTITY_CLASSDEFINITION(%s, %s, %s, %s, 0x%08x);\n", - _strCurrentClass, _strCurrentBase, - _strCurrentDescription, _strCurrentThumbnail, _iCurrentClassID); - fprintf(_fTables, "DECLARE_CTFILENAME(_fnm%s_tbn, %s);\n", _strCurrentClass, _strCurrentThumbnail); - - fprintf(_fDeclaration, "};\n"); - ; - break;} -case 40: -#line 478 "ecc/parser.y" -{ yyval = yyvsp[0]; _bClassIsExported = 0; ; - break;} -case 41: -#line 479 "ecc/parser.y" -{ yyval = yyvsp[-1]+" DECL_DLL "; _bClassIsExported = 1; ; - break;} -case 43: -#line 484 "ecc/parser.y" -{ - _bFeature_ImplementsOnWorldInit = 0; - _bFeature_ImplementsOnWorldEnd = 0; - _bFeature_ImplementsOnWorldTick = 0; - _bFeature_ImplementsOnWorldRender = 0; - _bFeature_ImplementsOnInitClass = 0; - _bFeature_ImplementsOnEndClass = 0; - _bFeature_ImplementsOnPrecache = 0; - _bFeature_AbstractBaseClass = 0; - _bFeature_CanBePredictable = 0; - ; - break;} -case 47: -#line 501 "ecc/parser.y" -{ - if (strcmp(yyvsp[0].strString, "\"AbstractBaseClass\"")==0) { - _bFeature_AbstractBaseClass = 1; - } else if (strcmp(yyvsp[0].strString, "\"IsTargetable\"")==0) { - fprintf(_fDeclaration, "virtual BOOL IsTargetable(void) const { return TRUE; };\n"); - } else if (strcmp(yyvsp[0].strString, "\"IsImportant\"")==0) { - fprintf(_fDeclaration, "virtual BOOL IsImportant(void) const { return TRUE; };\n"); - } else if (strcmp(yyvsp[0].strString, "\"HasName\"")==0) { - fprintf(_fDeclaration, - "virtual const CTString &GetName(void) const { return m_strName; };\n"); - } else if (strcmp(yyvsp[0].strString, "\"CanBePredictable\"")==0) { - fprintf(_fDeclaration, - "virtual CEntity *GetPredictionPair(void) { return m_penPrediction; };\n"); - fprintf(_fDeclaration, - "virtual void SetPredictionPair(CEntity *penPair) { m_penPrediction = penPair; };\n"); - _bFeature_CanBePredictable = 1; - } else if (strcmp(yyvsp[0].strString, "\"HasDescription\"")==0) { - fprintf(_fDeclaration, - "virtual const CTString &GetDescription(void) const { return m_strDescription; };\n"); - } else if (strcmp(yyvsp[0].strString, "\"HasTarget\"")==0) { - fprintf(_fDeclaration, - "virtual CEntity *GetTarget(void) const { return m_penTarget; };\n"); - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnInitClass\"")==0) { - _bFeature_ImplementsOnInitClass = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnEndClass\"")==0) { - _bFeature_ImplementsOnEndClass = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnPrecache\"")==0) { - _bFeature_ImplementsOnPrecache = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnWorldInit\"")==0) { - _bFeature_ImplementsOnWorldInit = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnWorldEnd\"")==0) { - _bFeature_ImplementsOnWorldEnd = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnWorldTick\"")==0) { - _bFeature_ImplementsOnWorldTick = 1; - } else if (strcmp(yyvsp[0].strString, "\"ImplementsOnWorldRender\"")==0) { - _bFeature_ImplementsOnWorldRender = 1; - } else { - yyerror((SType("Unknown feature: ")+yyvsp[0]).strString); - } - ; - break;} -case 52: -#line 552 "ecc/parser.y" -{ - fprintf(_fDeclaration, "%s %s;\n", yyvsp[-2].strString, yyvsp[-1].strString); - ; - break;} -case 53: -#line 562 "ecc/parser.y" -{ - DeclareFeatureProperties(); // this won't work, but at least it will generate an error!!!! - fprintf(_fTables, " CEntityProperty()\n};\n"); - fprintf(_fTables, "#define %s_propertiesct 0\n", _strCurrentClass); - fprintf(_fTables, "\n"); - fprintf(_fTables, "\n"); - ; - break;} -case 54: -#line 569 "ecc/parser.y" -{ - DeclareFeatureProperties(); - fprintf(_fTables, "};\n"); - fprintf(_fTables, "#define %s_propertiesct ARRAYCOUNT(%s_properties)\n", - _strCurrentClass, _strCurrentClass); - fprintf(_fTables, "\n"); - ; - break;} -case 58: -#line 586 "ecc/parser.y" -{ - fprintf(_fTables, " CEntityProperty(%s, %s, (0x%08x<<8)+%s, offsetof(%s, %s), %s, %s, %s, %s),\n", - _strCurrentPropertyPropertyType, - _strCurrentPropertyEnumType, - _iCurrentClassID, - _strCurrentPropertyID, - _strCurrentClass, - _strCurrentPropertyIdentifier, - _strCurrentPropertyName, - _strCurrentPropertyShortcut, - _strCurrentPropertyColor, - _strCurrentPropertyFlags); - fprintf(_fDeclaration, " %s %s;\n", - _strCurrentPropertyDataType, - _strCurrentPropertyIdentifier - ); - - if (strlen(_strCurrentPropertyDefaultCode)>0) { - fprintf(_fImplementation, " %s\n", _strCurrentPropertyDefaultCode); - } - ; - break;} -case 59: -#line 609 "ecc/parser.y" -{ _strCurrentPropertyID = yyvsp[0].strString; ; - break;} -case 60: -#line 610 "ecc/parser.y" -{ _strCurrentPropertyIdentifier = yyvsp[0].strString; ; - break;} -case 61: -#line 613 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ENUM"; - _strCurrentPropertyEnumType = (SType("&")+yyvsp[0]+"_enum").strString; - _strCurrentPropertyDataType = (SType("enum ")+yyvsp[0].strString).strString; - ; - break;} -case 62: -#line 618 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLAGS"; - _strCurrentPropertyEnumType = (SType("&")+yyvsp[0]+"_enum").strString; - _strCurrentPropertyDataType = "ULONG"; - ; - break;} -case 63: -#line 623 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_STRING"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CTString"; - ; - break;} -case 64: -#line 628 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_STRINGTRANS"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CTStringTrans"; - ; - break;} -case 65: -#line 633 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FILENAME"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CTFileName"; - ; - break;} -case 66: -#line 638 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FILENAMENODEP"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CTFileNameNoDep"; - ; - break;} -case 67: -#line 643 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_BOOL"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "BOOL"; - ; - break;} -case 68: -#line 648 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_COLOR"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "COLOR"; - ; - break;} -case 69: -#line 653 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOAT"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOAT"; - ; - break;} -case 70: -#line 658 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_INDEX"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "INDEX"; - ; - break;} -case 71: -#line 663 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_RANGE"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "RANGE"; - ; - break;} -case 72: -#line 668 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ENTITYPTR"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CEntityPointer"; - ; - break;} -case 73: -#line 673 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_MODELOBJECT"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CModelObject"; - ; - break;} -case 74: -#line 678 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_MODELINSTANCE"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CModelInstance"; - ; - break;} -case 75: -#line 683 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ANIMOBJECT"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CAnimObject"; - ; - break;} -case 76: -#line 688 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_SOUNDOBJECT"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CSoundObject"; - ; - break;} -case 77: -#line 693 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_PLACEMENT3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "CPlacement3D"; - ; - break;} -case 78: -#line 698 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOATAABBOX3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOATaabbox3D"; - ; - break;} -case 79: -#line 703 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOATMATRIX3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOATmatrix3D"; - ; - break;} -case 80: -#line 708 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOATQUAT3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOATquat3D"; - ; - break;} -case 81: -#line 713 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ANGLE"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "ANGLE"; - ; - break;} -case 82: -#line 718 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ANGLE3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "ANGLE3D"; - ; - break;} -case 83: -#line 723 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOAT3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOAT3D"; - ; - break;} -case 84: -#line 728 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_FLOATplane3D"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "FLOATplane3D"; - ; - break;} -case 85: -#line 733 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ILLUMINATIONTYPE"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "ILLUMINATIONTYPE"; - ; - break;} -case 86: -#line 738 "ecc/parser.y" -{ - _strCurrentPropertyPropertyType = "CEntityProperty::EPT_ANIMATION"; - _strCurrentPropertyEnumType = "NULL"; - _strCurrentPropertyDataType = "ANIMATION"; - ; - break;} -case 87: -#line 746 "ecc/parser.y" -{ - _strCurrentPropertyName = "\"\""; - _strCurrentPropertyShortcut = "0"; - _strCurrentPropertyColor = "0"; // this won't be rendered anyway - ; - break;} -case 88: -#line 751 "ecc/parser.y" -{ - _strCurrentPropertyName = yyvsp[-2].strString; - ; - break;} -case 89: -#line 756 "ecc/parser.y" -{ - _strCurrentPropertyShortcut = "0"; - ; - break;} -case 90: -#line 759 "ecc/parser.y" -{ - _strCurrentPropertyShortcut = yyvsp[0].strString; - ; - break;} -case 91: -#line 764 "ecc/parser.y" -{ - _strCurrentPropertyColor = "0x7F0000FFUL"; // dark red - ; - break;} -case 92: -#line 767 "ecc/parser.y" -{ - _strCurrentPropertyColor = yyvsp[-1].strString; - ; - break;} -case 93: -#line 771 "ecc/parser.y" -{ - _strCurrentPropertyFlags = "0"; // dark red - ; - break;} -case 94: -#line 774 "ecc/parser.y" -{ - _strCurrentPropertyFlags = yyvsp[-1].strString; - ; - break;} -case 95: -#line 779 "ecc/parser.y" -{ - if (strcmp(_strCurrentPropertyDataType,"CEntityPointer")==0) { - _strCurrentPropertyDefaultCode = (SType(_strCurrentPropertyIdentifier)+" = NULL;").strString; - } else if (strcmp(_strCurrentPropertyDataType,"CModelObject")==0) { - _strCurrentPropertyDefaultCode = - (SType(_strCurrentPropertyIdentifier)+".SetData(NULL);\n"+ - _strCurrentPropertyIdentifier+".mo_toTexture.SetData(NULL);").strString; - } else if (strcmp(_strCurrentPropertyDataType,"CModelInstance")==0) { - _strCurrentPropertyDefaultCode = - (SType(_strCurrentPropertyIdentifier)+".Clear();\n").strString; - } else if (strcmp(_strCurrentPropertyDataType,"CAnimObject")==0) { - _strCurrentPropertyDefaultCode = - (SType(_strCurrentPropertyIdentifier)+".SetData(NULL);\n").strString; - } else if (strcmp(_strCurrentPropertyDataType,"CSoundObject")==0) { - _strCurrentPropertyDefaultCode = - (SType(_strCurrentPropertyIdentifier)+".SetOwner(this);\n"+ - _strCurrentPropertyIdentifier+".Stop_internal();").strString; - } else { - yyerror("this kind of property must have default value"); - _strCurrentPropertyDefaultCode = ""; - } - ; - break;} -case 96: -#line 801 "ecc/parser.y" -{ - if (strcmp(_strCurrentPropertyDataType,"CEntityPointer")==0) { - yyerror("CEntityPointer type properties always default to NULL"); - } else { - _strCurrentPropertyDefaultCode = (SType(_strCurrentPropertyIdentifier)+" = "+yyvsp[0].strString+";").strString; - } - ; - break;} -case 102: -#line 811 "ecc/parser.y" -{yyval = yyvsp[0] + " ";; - break;} -case 103: -#line 812 "ecc/parser.y" -{yyval = yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 104: -#line 813 "ecc/parser.y" -{yyval = yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 105: -#line 814 "ecc/parser.y" -{yyval = yyvsp[-1]+yyvsp[0];; - break;} -case 106: -#line 815 "ecc/parser.y" -{yyval = yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 107: -#line 822 "ecc/parser.y" -{ - fprintf(_fTables, " CEntityComponent()\n};\n"); - fprintf(_fTables, "#define %s_componentsct 0\n", _strCurrentClass); - fprintf(_fTables, "\n"); - fprintf(_fTables, "\n"); - ; - break;} -case 108: -#line 828 "ecc/parser.y" -{ - fprintf(_fTables, "};\n"); - fprintf(_fTables, "#define %s_componentsct ARRAYCOUNT(%s_components)\n", - _strCurrentClass, _strCurrentClass); - fprintf(_fTables, "\n"); - ; - break;} -case 112: -#line 844 "ecc/parser.y" -{ - fprintf(_fTables, "#define %s ((0x%08x<<8)+%s)\n", - _strCurrentComponentIdentifier, - _iCurrentClassID, - _strCurrentComponentID); - fprintf(_fTables, " CEntityComponent(%s, %s, \"%s%s\" %s),\n", - _strCurrentComponentType, - _strCurrentComponentIdentifier, - "EF","NM", - _strCurrentComponentFileName); - ; - break;} -case 113: -#line 857 "ecc/parser.y" -{ _strCurrentComponentID = yyvsp[0].strString; ; - break;} -case 114: -#line 858 "ecc/parser.y" -{ _strCurrentComponentIdentifier = yyvsp[0].strString; ; - break;} -case 115: -#line 859 "ecc/parser.y" -{ _strCurrentComponentFileName = yyvsp[0].strString; ; - break;} -case 116: -#line 862 "ecc/parser.y" -{ _strCurrentComponentType = "ECT_MODEL"; ; - break;} -case 117: -#line 863 "ecc/parser.y" -{ _strCurrentComponentType = "ECT_TEXTURE"; ; - break;} -case 118: -#line 864 "ecc/parser.y" -{ _strCurrentComponentType = "ECT_SOUND"; ; - break;} -case 119: -#line 865 "ecc/parser.y" -{ _strCurrentComponentType = "ECT_CLASS"; ; - break;} -case 120: -#line 872 "ecc/parser.y" -{ yyval = "";; - break;} -case 121: -#line 873 "ecc/parser.y" -{yyval = yyvsp[-1]+yyvsp[0];; - break;} -case 122: -#line 878 "ecc/parser.y" -{ - char *strReturnType = yyvsp[-10].strString; - char *strFunctionHeader = (yyvsp[-9]+yyvsp[-8]+yyvsp[-7]+yyvsp[-6]+yyvsp[-5]+yyvsp[-4]).strString; - char *strFunctionBody = (yyvsp[-3]+yyvsp[-2]+yyvsp[-1]).strString; - if (strcmp(yyvsp[-8].strString, _strCurrentClass)==0) { - if (strcmp(strReturnType+strlen(strReturnType)-4, "void")==0 ) { - strReturnType = ""; - } else { - yyerror("use 'void' as return type for constructors"); - } - } - fprintf(_fDeclaration, " %s %s %s %s;\n", - yyvsp[-12].strString, yyvsp[-11].strString, strReturnType, strFunctionHeader); - fprintf(_fImplementation, " %s %s::%s %s\n", - strReturnType, _strCurrentClass, strFunctionHeader, strFunctionBody); - ; - break;} -case 123: -#line 896 "ecc/parser.y" -{ yyval = "";; - break;} -case 124: -#line 897 "ecc/parser.y" -{ yyval = " ~ "; ; - break;} -case 125: -#line 901 "ecc/parser.y" -{ yyval = "";; - break;} -case 126: -#line 902 "ecc/parser.y" -{ - if (_bClassIsExported) { - yyval = ""; - } else { - yyval = " DECL_DLL "; - } - ; - break;} -case 127: -#line 912 "ecc/parser.y" -{ yyval = "";; - break;} -case 128: -#line 913 "ecc/parser.y" -{ yyval = yyvsp[0]; ; - break;} -case 129: -#line 916 "ecc/parser.y" -{ yyval = "";; - break;} -case 130: -#line 917 "ecc/parser.y" -{ yyval = yyvsp[0]; ; - break;} -case 133: -#line 924 "ecc/parser.y" -{ yyval = "";; - break;} -case 137: -#line 930 "ecc/parser.y" -{yyval = yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 138: -#line 933 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 143: -#line 944 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 144: -#line 945 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 145: -#line 946 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 146: -#line 947 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 147: -#line 948 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 148: -#line 949 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 149: -#line 950 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 150: -#line 951 "ecc/parser.y" -{ yyval=yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 151: -#line 952 "ecc/parser.y" -{ yyval=yyvsp[-3]+" "+yyvsp[-2]+" "+yyvsp[-1]+" "+yyvsp[0]; ; - break;} -case 152: -#line 960 "ecc/parser.y" -{ yyval = "";; - break;} -case 153: -#line 961 "ecc/parser.y" -{yyval = yyvsp[-1]+yyvsp[0];; - break;} -case 154: -#line 965 "ecc/parser.y" -{ yyval = "-1"; ; - break;} -case 155: -#line 966 "ecc/parser.y" -{ - yyval = SType("STATE_")+yyvsp[-3]+"_"+yyvsp[0]; - ; - break;} -case 156: -#line 972 "ecc/parser.y" -{ - char *strProcedureName = yyvsp[-4].strString; - char strInputEventType[80]; - char strInputEventName[80]; - sscanf(yyvsp[-2].strString, "%s %s", strInputEventType, strInputEventName); - - char strStateID[256]; - char *strBaseStateID = "-1"; - if(strcmp(RemoveLineDirective(strProcedureName), "Main")==0){ - strcpy(strStateID, "1"); - if(strncmp(strInputEventType, "EVoid", 4)!=0 && _strCurrentThumbnail[2]!=0) { - yyerror("procedure 'Main' can take input parameters only in classes without thumbnails"); - } - } else { - sprintf(strStateID, "0x%08x", CreateID()); - } - - sprintf(_strCurrentStateID, "STATE_%s_%s", - _strCurrentClass, RemoveLineDirective(strProcedureName)); - fprintf(_fDeclaration, "#define %s %s\n", _strCurrentStateID, strStateID); - AddHandlerFunction(strProcedureName, strStateID, yyvsp[0].strString); - fprintf(_fImplementation, - "BOOL %s::%s(const CEntityEvent &__eeInput) {\n#undef STATE_CURRENT\n#define STATE_CURRENT %s\n", - _strCurrentClass, strProcedureName, _strCurrentStateID); - fprintf(_fImplementation, - " ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_%s, \"%s::%s expects '%s' as input!\");", - strInputEventType, _strCurrentClass, RemoveLineDirective(strProcedureName), - strInputEventType); - fprintf(_fImplementation, " const %s &%s = (const %s &)__eeInput;", - strInputEventType, strInputEventName, strInputEventType); - - ; - break;} -case 157: -#line 1003 "ecc/parser.y" -{ - char *strFunctionBody = yyvsp[-2].strString; - fprintf(_fImplementation, "%s ASSERT(FALSE); return TRUE;};", strFunctionBody); - ; - break;} -case 158: -#line 1010 "ecc/parser.y" -{ - yyval="EVoid e"; - ; - break;} -case 159: -#line 1013 "ecc/parser.y" -{ - yyval=yyvsp[0]+" e"; - ; - break;} -case 160: -#line 1016 "ecc/parser.y" -{ - yyval=yyvsp[-1]+" "+yyvsp[0]; - ; - break;} -case 166: -#line 1023 "ecc/parser.y" -{yyval = yyvsp[0] + " ";; - break;} -case 187: -#line 1026 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 188: -#line 1027 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 189: -#line 1028 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 190: -#line 1029 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 191: -#line 1030 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 192: -#line 1031 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 193: -#line 1032 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 194: -#line 1033 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 195: -#line 1034 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 196: -#line 1035 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 197: -#line 1036 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 198: -#line 1037 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 199: -#line 1038 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 200: -#line 1039 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 201: -#line 1040 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 202: -#line 1041 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 203: -#line 1042 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 204: -#line 1043 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 205: -#line 1044 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 206: -#line 1045 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 207: -#line 1046 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 208: -#line 1047 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 209: -#line 1048 "ecc/parser.y" -{yyval=yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 210: -#line 1049 "ecc/parser.y" -{yyval=yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 211: -#line 1050 "ecc/parser.y" -{yyval = yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 212: -#line 1051 "ecc/parser.y" -{yyval = yyvsp[-1]+" "+yyvsp[0];; - break;} -case 244: -#line 1064 "ecc/parser.y" -{yyval = yyvsp[0] + " ";; - break;} -case 245: -#line 1071 "ecc/parser.y" -{ yyval = "";; - break;} -case 246: -#line 1072 "ecc/parser.y" -{ yyval = yyvsp[-1]+yyvsp[0]; ; - break;} -case 247: -#line 1075 "ecc/parser.y" -{yyval=yyvsp[-1]+yyvsp[0];; - break;} -case 248: -#line 1076 "ecc/parser.y" -{yyval=yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - break;} -case 249: -#line 1077 "ecc/parser.y" -{yyval=yyvsp[-2]+" "+yyvsp[-1]+yyvsp[0]+" ";; - break;} -case 250: -#line 1078 "ecc/parser.y" -{yyval=yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 251: -#line 1079 "ecc/parser.y" -{yyval=yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0];; - break;} -case 268: -#line 1100 "ecc/parser.y" -{ - if (yyvsp[-1].bCrossesStates) { - char strAfterIfName[80], strAfterIfID[11]; - CreateInternalHandlerFunction(strAfterIfName, strAfterIfID); - yyval = yyvsp[-6]+"(!"+yyvsp[-5]+yyvsp[-4]+yyvsp[-3]+"){ Jump(STATE_CURRENT,"+strAfterIfID+", FALSE, EInternal());return TRUE;}"+yyvsp[-1]+ - "Jump(STATE_CURRENT,"+strAfterIfID+", FALSE, EInternal());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+strAfterIfName+"(const CEntityEvent &__eeInput){"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+strAfterIfID+"\n"; - } else { - yyval = yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - } - ; - break;} -case 269: -#line 1116 "ecc/parser.y" -{ - if (yyvsp[-3].bCrossesStates || yyvsp[0].bCrossesStates) { - char strAfterIfName[80], strAfterIfID[11]; - char strElseName[80], strElseID[11]; - CreateInternalHandlerFunction(strAfterIfName, strAfterIfID); - CreateInternalHandlerFunction(strElseName, strElseID); - yyval = yyvsp[-8]+"(!"+yyvsp[-7]+yyvsp[-6]+yyvsp[-5]+"){ Jump(STATE_CURRENT,"+strElseID+", FALSE, EInternal());return TRUE;}"+ - yyvsp[-3]+"Jump(STATE_CURRENT,"+strAfterIfID+", FALSE, EInternal());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+strElseName+"(const CEntityEvent &__eeInput){"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+strElseID+"\n"+ - yyvsp[0]+"Jump(STATE_CURRENT,"+strAfterIfID+", FALSE, EInternal());return TRUE;}\n"+ - "BOOL "+_strCurrentClass+"::"+strAfterIfName+"(const CEntityEvent &__eeInput){"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+strAfterIfID+"\n"; - } else { - yyval = yyvsp[-8]+yyvsp[-7]+yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+" "+yyvsp[0]; - } - ; - break;} -case 270: -#line 1138 "ecc/parser.y" -{ - if (strlen(_strInLoopName)>0) { - yyerror("Nested loops are not implemented yet"); - } - ; - break;} -case 271: -#line 1142 "ecc/parser.y" -{ - if (yyvsp[-1].bCrossesStates) { - CreateInternalHandlerFunction(_strInLoopName, _strInLoopID); - CreateInternalHandlerFunction(_strAfterLoopName, _strAfterLoopID); - yyval = SType(GetLineDirective(yyvsp[-7]))+"Jump(STATE_CURRENT,"+_strInLoopID+", FALSE, EInternal());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInLoopName+"(const CEntityEvent &__eeInput)"+yyvsp[-2]+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInLoopID+"\n"+ - "if(!"+yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+"){ Jump(STATE_CURRENT,"+_strAfterLoopID+", FALSE, EInternal());return TRUE;}"+ - yyvsp[-1]+"Jump(STATE_CURRENT,"+_strInLoopID+", FALSE, EInternal());return TRUE;"+yyvsp[0]+ - "BOOL "+_strCurrentClass+"::"+_strAfterLoopName+"(const CEntityEvent &__eeInput) {"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterLoopID+"\n"; - } else { - yyval = yyvsp[-7]+yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - } - _strInLoopName[0] = 0; - ; - break;} -case 272: -#line 1163 "ecc/parser.y" -{ - if (strlen(_strInLoopName)>0) { - yyerror("Nested loops are not implemented yet"); - } - _strInLoopName[0] = 0; - ; - break;} -case 273: -#line 1168 "ecc/parser.y" -{ - if (yyvsp[-7].bCrossesStates) { - CreateInternalHandlerFunction(_strInLoopName, _strInLoopID); - CreateInternalHandlerFunction(_strAfterLoopName, _strAfterLoopID); - yyval = SType(GetLineDirective(yyvsp[-9]))+"Jump(STATE_CURRENT,"+_strInLoopID+", FALSE, EInternal());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInLoopName+"(const CEntityEvent &__eeInput)"+yyvsp[-8]+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInLoopID+"\n"+yyvsp[-7]+ - "if(!"+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+"){ Jump(STATE_CURRENT,"+_strAfterLoopID+", FALSE, EInternal());return TRUE;}"+ - "Jump(STATE_CURRENT,"+_strInLoopID+", FALSE, EInternal());return TRUE;"+yyvsp[-6]+ - "BOOL "+_strCurrentClass+"::"+_strAfterLoopName+"(const CEntityEvent &__eeInput) {"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterLoopID+"\n"; - } else { - yyval = yyvsp[-9]+yyvsp[-8]+yyvsp[-7]+yyvsp[-6]+yyvsp[-4]+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - } - _strInLoopName[0] = 0; - ; - break;} -case 274: -#line 1189 "ecc/parser.y" -{ - if (strlen(_strInLoopName)>0) { - yyerror("Nested loops are not implemented yet"); - } - ; - break;} -case 275: -#line 1193 "ecc/parser.y" -{ - if (yyvsp[-1].bCrossesStates) { - CreateInternalHandlerFunction(_strInLoopName, _strInLoopID); - CreateInternalHandlerFunction(_strAfterLoopName, _strAfterLoopID); - yyerror("For loops across states are not supported"); - } else { - yyval = yyvsp[-11]+yyvsp[-10]+yyvsp[-9]+yyvsp[-8]+yyvsp[-7]+yyvsp[-6]+yyvsp[-5]+yyvsp[-4]+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - } - _strInLoopName[0] = 0; - ; - break;} -case 276: -#line 1206 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'wait' in functions"); - } - CreateInternalHandlerFunction(_strInWaitName, _strInWaitID); - CreateInternalHandlerFunction(_strAfterWaitName, _strAfterWaitID); - _bHasOtherwise = 0; - _bInHandler = 1; - ; - break;} -case 277: -#line 1214 "ecc/parser.y" -{ - if (yyvsp[-1].bCrossesStates) { - yyerror("'wait' statements must not be nested"); - yyval = ""; - } else { - SType stDefault; - if (!_bHasOtherwise) { - stDefault = SType("default: return FALSE; break;"); - } else { - stDefault = SType(""); - } - - yyval = SType(GetLineDirective(yyvsp[-5]))+yyvsp[-4]+";\n"+ - "Jump(STATE_CURRENT, "+_strInWaitID+", FALSE, EBegin());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInWaitName+"(const CEntityEvent &__eeInput) {"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInWaitID+"\n"+ - "switch(__eeInput.ee_slEvent)"+yyvsp[-2]+yyvsp[-1]+stDefault+yyvsp[0]+ - "return TRUE;}BOOL "+_strCurrentClass+"::"+_strAfterWaitName+"(const CEntityEvent &__eeInput){"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterWaitID+"\n"; - yyval.bCrossesStates = 1; - _bInHandler = 0; - } - ; - break;} -case 278: -#line 1240 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'autowait' in functions"); - } - CreateInternalHandlerFunction(_strInWaitName, _strInWaitID); - CreateInternalHandlerFunction(_strAfterWaitName, _strAfterWaitID); - _bHasOtherwise = 0; - - yyval = SType(GetLineDirective(yyvsp[-2]))+yyvsp[-1]+";\n"+ - "Jump(STATE_CURRENT, "+_strInWaitID+", FALSE, EBegin());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInWaitName+"(const CEntityEvent &__eeInput) {"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInWaitID+"\n"+ - "switch(__eeInput.ee_slEvent) {"+ - "case EVENTCODE_EBegin: return TRUE;"+ - "case EVENTCODE_ETimer: Jump(STATE_CURRENT,"+_strAfterWaitID+", FALSE, EInternal()); return TRUE;"+ - "default: return FALSE; }}"+ - "BOOL "+_strCurrentClass+"::"+_strAfterWaitName+"(const CEntityEvent &__eeInput){"+ - "\nASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterWaitID+"\n"+yyvsp[0]; - yyval.bCrossesStates = 1; - ; - break;} -case 279: -#line 1264 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'autocall' in functions"); - } - CreateInternalHandlerFunction(_strInWaitName, _strInWaitID); - CreateInternalHandlerFunction(_strAfterWaitName, _strAfterWaitID); - _bHasOtherwise = 0; - - yyval = SType(GetLineDirective(yyvsp[-4]))+yyvsp[-3]+";\n"+ - "Jump(STATE_CURRENT, "+_strInWaitID+", FALSE, EBegin());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInWaitName+"(const CEntityEvent &__eeInput) {"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInWaitID+"\n"+ - "switch(__eeInput.ee_slEvent) {"+ - "case EVENTCODE_EBegin: return TRUE;"+ - "case EVENTCODE_"+yyvsp[-2]+": Jump(STATE_CURRENT,"+_strAfterWaitID+", FALSE, __eeInput); return TRUE;"+ - "default: return FALSE; }}"+ - "BOOL "+_strCurrentClass+"::"+_strAfterWaitName+"(const CEntityEvent &__eeInput){"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterWaitID+"\n"+ - "const "+yyvsp[-2]+"&"+yyvsp[-1]+"= ("+yyvsp[-2]+"&)__eeInput;\n"+yyvsp[0]; - yyval.bCrossesStates = 1; - ; - break;} -case 280: -#line 1289 "ecc/parser.y" -{ - yyval = SType("__e"); - ; - break;} -case 281: -#line 1292 "ecc/parser.y" -{ - yyval = yyvsp[0]; - ; - break;} -case 282: -#line 1297 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'autocall' in functions"); - } - CreateInternalHandlerFunction(_strInWaitName, _strInWaitID); - CreateInternalHandlerFunction(_strAfterWaitName, _strAfterWaitID); - _bHasOtherwise = 0; - - yyval = SType(GetLineDirective(yyvsp[-7]))+yyvsp[-6]+";\n"+ - "Jump(STATE_CURRENT, "+_strInWaitID+", FALSE, EBegin());return TRUE;}"+ - "BOOL "+_strCurrentClass+"::"+_strInWaitName+"(const CEntityEvent &__eeInput) {"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strInWaitID+"\n"+ - "switch(__eeInput.ee_slEvent) {"+ - "case EVENTCODE_EBegin: Call"+yyvsp[-5]+"STATE_CURRENT, "+yyvsp[-6]+", "+yyvsp[-4]+yyvsp[-3]+";return TRUE;"+ - "case EVENTCODE_"+yyvsp[-2]+": Jump(STATE_CURRENT,"+_strAfterWaitID+", FALSE, __eeInput); return TRUE;"+ - "default: return FALSE; }}"+ - "BOOL "+_strCurrentClass+"::"+_strAfterWaitName+"(const CEntityEvent &__eeInput){"+ - "\n#undef STATE_CURRENT\n#define STATE_CURRENT "+_strAfterWaitID+"\n"+ - "const "+yyvsp[-2]+"&"+yyvsp[-1]+"= ("+yyvsp[-2]+"&)__eeInput;\n"+yyvsp[0]; - yyval.bCrossesStates = 1; - ; - break;} -case 283: -#line 1321 "ecc/parser.y" -{ - yyval = SType("SetTimerAt(THINKTIME_NEVER)"); - ; - break;} -case 284: -#line 1324 "ecc/parser.y" -{ - yyval = SType("SetTimerAfter")+yyvsp[-2]+yyvsp[-1]+yyvsp[0]; - ; - break;} -case 285: -#line 1330 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'jump' in functions"); - } - yyval = SType(GetLineDirective(yyvsp[-5]))+"Jump"+yyvsp[-3]+"STATE_CURRENT, "+yyvsp[-4]+", "+yyvsp[-2]+yyvsp[-1]+";return TRUE;"; - ; - break;} -case 286: -#line 1339 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyerror("Cannot have 'call' in functions"); - } - if (!_bInHandler) { - yyerror("'call' must be inside a 'wait' statement"); - } - yyval = SType(GetLineDirective(yyvsp[-5]))+"Call"+yyvsp[-3]+"STATE_CURRENT, "+yyvsp[-4]+", "+yyvsp[-2]+yyvsp[-1]+";return TRUE;"; - ; - break;} -case 287: -#line 1351 "ecc/parser.y" -{ - yyval = yyvsp[0]; - ; - break;} -case 288: -#line 1354 "ecc/parser.y" -{ - yyval = SType("EVoid()"); - ; - break;} -case 289: -#line 1360 "ecc/parser.y" -{ - yyval = SType("STATE_")+_strCurrentClass+"_"+yyvsp[0]+", TRUE"; - ; - break;} -case 290: -#line 1363 "ecc/parser.y" -{ - yyval = SType("STATE_")+yyvsp[-3]+"_"+yyvsp[0]+", FALSE"; - ; - break;} -case 291: -#line 1369 "ecc/parser.y" -{ - yyval = SType(GetLineDirective(yyvsp[-1]))+"UnsetTimer();Jump(STATE_CURRENT," - +_strAfterWaitID+", FALSE, EInternal());"+"return TRUE"+yyvsp[0]; - ; - break;} -case 292: -#line 1375 "ecc/parser.y" -{ - yyval = SType(GetLineDirective(yyvsp[-1]))+"return TRUE"+yyvsp[0]; - ; - break;} -case 293: -#line 1380 "ecc/parser.y" -{ - yyval = SType(GetLineDirective(yyvsp[-1]))+"return FALSE"+yyvsp[0]; - ; - break;} -case 294: -#line 1385 "ecc/parser.y" -{ - if (!_bInProcedure) { - yyval = yyvsp[-2]+" "+yyvsp[-1]+yyvsp[0]; - } else { - if (strlen(yyvsp[-1].strString)==0) { - yyvsp[-1] = SType("EVoid()"); - } - yyval = SType(GetLineDirective(yyvsp[-2])) - +"Return(STATE_CURRENT,"+yyvsp[-1]+");" - +yyvsp[-2]+" TRUE"+yyvsp[0]; - } - ; - break;} -case 295: -#line 1399 "ecc/parser.y" -{yyval = "";; - break;} -case 297: -#line 1404 "ecc/parser.y" -{ - char strInputEventType[80]; - char strInputEventName[80]; - sscanf(yyvsp[-6].strString, "%s %s", strInputEventType, strInputEventName); - - yyval = SType("case")+yyvsp[-7]+"EVENTCODE_"+strInputEventType+yyvsp[-5]+yyvsp[-4]+yyvsp[-3]+ - "const "+strInputEventType+"&"+strInputEventName+"= ("+ - strInputEventType+"&)__eeInput;\n"+yyvsp[-2]+yyvsp[-1]+"ASSERT(FALSE);break;"; - ; - break;} -case 298: -#line 1413 "ecc/parser.y" -{ - char strInputEventType[80]; - char strInputEventName[80]; - sscanf(yyvsp[-6].strString, "%s %s", strInputEventType, strInputEventName); - - yyval = SType("default")+yyvsp[-4]+yyvsp[-3]+yyvsp[-2]+yyvsp[-1]+"ASSERT(FALSE);break;"; - _bHasOtherwise = 1; - ; - break;} -case 299: -#line 1423 "ecc/parser.y" -{ yyval = "";; - break;} -case 300: -#line 1424 "ecc/parser.y" -{ yyval = yyvsp[-1]+yyvsp[0]; ; - break;} -} - /* the action file gets copied in in place of this dollarsign */ -#line 487 "bison.simple" - - yyvsp -= yylen; - yyssp -= yylen; -#ifdef YYLSP_NEEDED - yylsp -= yylen; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - - *++yyvsp = yyval; - -#ifdef YYLSP_NEEDED - yylsp++; - if (yylen == 0) - { - yylsp->first_line = yylloc.first_line; - yylsp->first_column = yylloc.first_column; - yylsp->last_line = (yylsp-1)->last_line; - yylsp->last_column = (yylsp-1)->last_column; - yylsp->text = 0; - } - else - { - yylsp->last_line = (yylsp+yylen-1)->last_line; - yylsp->last_column = (yylsp+yylen-1)->last_column; - } -#endif - - /* Now "shift" the result of the reduction. - Determine what state that goes to, - based on the state we popped back to - and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTBASE] + *yyssp; - if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTBASE]; - - goto yynewstate; - -yyerrlab: /* here on detecting error */ - - if (! yyerrstatus) - /* If not already recovering from an error, report this error. */ - { - ++yynerrs; - -#ifdef YYERROR_VERBOSE - yyn = yypact[yystate]; - - if (yyn > YYFLAG && yyn < YYLAST) - { - int size = 0; - char *msg; - int x, count; - - count = 0; - /* Start X at -yyn if nec to avoid negative indexes in yycheck. */ - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - size += strlen(yytname[x]) + 15, count++; - msg = (char *) malloc(size + 15); - if (msg != 0) - { - strcpy(msg, "parse error"); - - if (count < 5) - { - count = 0; - for (x = (yyn < 0 ? -yyn : 0); - x < (sizeof(yytname) / sizeof(char *)); x++) - if (yycheck[x + yyn] == x) - { - strcat(msg, count == 0 ? ", expecting `" : " or `"); - strcat(msg, yytname[x]); - strcat(msg, "'"); - count++; - } - } - yyerror(msg); - free(msg); - } - else - yyerror ("parse error; also virtual memory exceeded"); - } - else -#endif /* YYERROR_VERBOSE */ - yyerror("parse error"); - } - - goto yyerrlab1; -yyerrlab1: /* here on error raised explicitly by an action */ - - if (yyerrstatus == 3) - { - /* if just tried and failed to reuse lookahead token after an error, discard it. */ - - /* return failure if at end of input */ - if (yychar == YYEOF) - YYABORT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]); -#endif - - yychar = YYEMPTY; - } - - /* Else will try to reuse lookahead token - after shifting the error token. */ - - yyerrstatus = 3; /* Each real token shifted decrements this */ - - goto yyerrhandle; - -yyerrdefault: /* current state does not do anything special for the error token. */ - -#if 0 - /* This is wrong; only states that explicitly want error tokens - should shift them. */ - yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/ - if (yyn) goto yydefault; -#endif - -yyerrpop: /* pop the current state because it cannot handle the error token */ - - if (yyssp == yyss) YYABORT; - yyvsp--; - yystate = *--yyssp; -#ifdef YYLSP_NEEDED - yylsp--; -#endif - -#if YYDEBUG != 0 - if (yydebug) - { - short *ssp1 = yyss - 1; - fprintf (stderr, "Error: state stack now"); - while (ssp1 != yyssp) - fprintf (stderr, " %d", *++ssp1); - fprintf (stderr, "\n"); - } -#endif - -yyerrhandle: - - yyn = yypact[yystate]; - if (yyn == YYFLAG) - goto yyerrdefault; - - yyn += YYTERROR; - if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) - goto yyerrdefault; - - yyn = yytable[yyn]; - if (yyn < 0) - { - if (yyn == YYFLAG) - goto yyerrpop; - yyn = -yyn; - goto yyreduce; - } - else if (yyn == 0) - goto yyerrpop; - - if (yyn == YYFINAL) - YYACCEPT; - -#if YYDEBUG != 0 - if (yydebug) - fprintf(stderr, "Shifting error token, "); -#endif - - *++yyvsp = yylval; -#ifdef YYLSP_NEEDED - *++yylsp = yylloc; -#endif - - yystate = yyn; - goto yynewstate; -} -#line 1427 "ecc/parser.y" - diff --git a/Sources/Ecc/Scanner.l b/Sources/Ecc/Scanner.l index 3fa9a01..2a2d85c 100644 --- a/Sources/Ecc/Scanner.l +++ b/Sources/Ecc/Scanner.l @@ -13,8 +13,8 @@ int iLastLine = -1; if (iLastLine==_iLinesCt || !_bTrackLineInformation){\ yylval = yytext; \ } else { \ - char strLine[200]; \ - sprintf(strLine, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ + char strLine[512]; \ + snprintf(strLine, 512, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ yylval = SType(strLine)+yytext; \ iLastLine=_iLinesCt; \ } \ @@ -128,8 +128,8 @@ EXP_FLT (({DIGIT}+("."({DIGIT}*)?)?)("E"|"e")("+"|"-")?{DIGIT}+) /* specially bracketed cpp blocks */ "%{" { - char strLine[80]; - sprintf(strLine, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); + char strLine[512]; + snprintf(strLine, 512, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); _strCppBlock = strdup(strLine); BEGIN(CPPBLOCK); } From 3ef31a97aab2d088441af693c9f3dca63cb97bb3 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Fri, 18 Mar 2016 03:15:05 +0200 Subject: [PATCH 39/62] ECC now works properly with long paths --- Sources/Ecc/Scanner.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Ecc/Scanner.l b/Sources/Ecc/Scanner.l index 2a2d85c..554b7e6 100644 --- a/Sources/Ecc/Scanner.l +++ b/Sources/Ecc/Scanner.l @@ -14,7 +14,7 @@ int iLastLine = -1; yylval = yytext; \ } else { \ char strLine[512]; \ - snprintf(strLine, 512, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ + sprintf(strLine, "\n#line %d \"%s\"\n", _iLinesCt, _strInputFileName);\ yylval = SType(strLine)+yytext; \ iLastLine=_iLinesCt; \ } \ @@ -129,7 +129,7 @@ EXP_FLT (({DIGIT}+("."({DIGIT}*)?)?)("E"|"e")("+"|"-")?{DIGIT}+) /* specially bracketed cpp blocks */ "%{" { char strLine[512]; - snprintf(strLine, 512, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); + sprintf(strLine, "#line %d \"%s\"\n", _iLinesCt, _strInputFileName ); _strCppBlock = strdup(strLine); BEGIN(CPPBLOCK); } From 2b742dbdbe4e70c4bc6147b6798af12c7bdfbcd0 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Fri, 18 Mar 2016 03:20:10 +0200 Subject: [PATCH 40/62] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ee94f14..e482390 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Building To build Serious Engine 1, you'll need Visual Studio 2013 or 2015, Professional or Community edition ( https://www.visualstudio.com/post-download-vs?sku=community ). -Try to keep the path to the solution file as short as possible. Do not use spaces in the path. +Do not use spaces in the path to the solution. Once you've installed Visual Studio and (optionally) DirectX8 SDK, you can build the engine solution (`/Sources/All.sln`). Press F7 or Build -> Build solution. The libraries and executables will be put into `\Bin\` directory (or `\Bin\Debug\` if you are using the Debug configuration). @@ -62,7 +62,6 @@ And its working directory: Common problems --------------- -In case if you are getting "fatal error C1083: Cannot open include file: 'Engine/Classes/BaseEvents.h'", or in case if ECC crashes during compilation of ES files in debug mode, make your solution path shorter. Paths longer than 31 symbols are known to cause problems in debug mode. Before starting the build process, make sure you have a "Temp" folder in your development directory. If it doesn't exist, create it. SeriousSkaStudio has some issues with MFC windows that can prevent the main window from being displayed properly. From c0a1b7bdf78460c775cf8b81da6bb989229f5c42 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Fri, 18 Mar 2016 12:56:52 +0300 Subject: [PATCH 41/62] .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index f6437c7..d4c8cca 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.bsc *.cnt *.exp +*.idb *.ipch *.log *.map @@ -75,4 +76,6 @@ Temp/Profile_CSG.txt *.gms Data/*.pri Data/*.bin +Demos/* +SaveGame/* Scripts/PersistentSymbols.ini \ No newline at end of file From ef0b97049051959e816e593f978243c69e61a1b2 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Tue, 22 Mar 2016 21:03:12 +0300 Subject: [PATCH 42/62] Fixes --- Sources/Engine/Entities/Entity.cpp | 2 +- Sources/Engine/Graphics/Gfx_wrapper.h | 2 +- Sources/Engine/Network/SessionState.cpp | 2 +- Sources/Engine/Terrain/Terrain.cpp | 2 +- Sources/SeriousSam/Menu.cpp | 2 +- Sources/WorldEditor/MainFrm.cpp | 4 ++-- Sources/WorldEditor/PropertyComboBar.cpp | 4 ++-- Sources/WorldEditor/WorldEditor.h | 1 - 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Sources/Engine/Entities/Entity.cpp b/Sources/Engine/Entities/Entity.cpp index 336b5ac..a31a646 100644 --- a/Sources/Engine/Entities/Entity.cpp +++ b/Sources/Engine/Entities/Entity.cpp @@ -3534,7 +3534,7 @@ void CEntity::DumpSync_t(CTStream &strm, INDEX iExtensiveSyncCheck) // throw ch (ULONG&)en_mRotation(3,1), (ULONG&)en_mRotation(3,2), (ULONG&)en_mRotation(3,3)); if( en_pciCollisionInfo == NULL) { strm.FPrintF_t("Collision info NULL\n"); - } else if (en_RenderType==RT_BRUSH && en_RenderType==RT_FIELDBRUSH) { + } else if (en_RenderType==RT_BRUSH || en_RenderType==RT_FIELDBRUSH) { strm.FPrintF_t("Collision info: Brush entity\n"); } else { strm.FPrintF_t("Collision info:\n"); diff --git a/Sources/Engine/Graphics/Gfx_wrapper.h b/Sources/Engine/Graphics/Gfx_wrapper.h index 065377d..b05b942 100644 --- a/Sources/Engine/Graphics/Gfx_wrapper.h +++ b/Sources/Engine/Graphics/Gfx_wrapper.h @@ -177,7 +177,7 @@ public: GfxWrap tp_eWrapU, tp_eWrapV; // wrapping states inline CTexParams(void) { Clear(); tp_bSingleMipmap = FALSE; }; inline void Clear(void) { tp_iFilter = 00; tp_iAnisotropy = 0; tp_eWrapU = tp_eWrapV = (GfxWrap)NONE; }; - inline BOOL IsEqual( CTexParams tp) { return tp_iFilter==tp.tp_iFilter && tp_iAnisotropy==tp_iAnisotropy && + inline BOOL IsEqual( CTexParams tp) { return tp_iFilter==tp.tp_iFilter && tp_iAnisotropy==tp.tp_iAnisotropy && tp_eWrapU==tp.tp_eWrapU && tp_eWrapV==tp.tp_eWrapV; }; }; diff --git a/Sources/Engine/Network/SessionState.cpp b/Sources/Engine/Network/SessionState.cpp index 4a2fe44..6f42d10 100644 --- a/Sources/Engine/Network/SessionState.cpp +++ b/Sources/Engine/Network/SessionState.cpp @@ -1188,7 +1188,7 @@ void CSessionState::ProcessGameStream(void) } // if it is not avaliable yet - } if (res==CNetworkStream::R_BLOCKNOTRECEIVEDYET) { + } else if (res==CNetworkStream::R_BLOCKNOTRECEIVEDYET) { // finish _pfNetworkProfile.StopTimer(CNetworkProfile::PTI_SESSIONSTATE_PROCESSGAMESTREAM); return; diff --git a/Sources/Engine/Terrain/Terrain.cpp b/Sources/Engine/Terrain/Terrain.cpp index 0b03022..fcc98d9 100644 --- a/Sources/Engine/Terrain/Terrain.cpp +++ b/Sources/Engine/Terrain/Terrain.cpp @@ -558,7 +558,7 @@ void CTerrain::SetShadowMapsSize(INDEX iShadowMapAspect, INDEX iShadingMapAspect tr_iShadowMapSizeAspect = -(FastLog2(tr_pixHeightMapWidth-1)-5); } - if(GetShadingMapWidth()<32 || GetShadingMapWidth()<32) { + if(GetShadingMapWidth()<32 || GetShadingMapHeight()<32) { tr_iShadingMapSizeAspect = 0; } diff --git a/Sources/SeriousSam/Menu.cpp b/Sources/SeriousSam/Menu.cpp index aa2f63e..5d5d7f9 100644 --- a/Sources/SeriousSam/Menu.cpp +++ b/Sources/SeriousSam/Menu.cpp @@ -1185,7 +1185,7 @@ void JoinNetworkGame(void) _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); _fnmModSelected = CTString(strModName); _strModURLSelected = strModURL; - if (_strModURLSelected="") { + if (_strModURLSelected == "") { _strModURLSelected = "http://www.croteam.com/mods/Old"; } _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); diff --git a/Sources/WorldEditor/MainFrm.cpp b/Sources/WorldEditor/MainFrm.cpp index 740edb9..470a86e 100644 --- a/Sources/WorldEditor/MainFrm.cpp +++ b/Sources/WorldEditor/MainFrm.cpp @@ -694,7 +694,7 @@ void CMainFrame::OnCancelMode() { // switches out of eventual direct screen mode CWorldEditorView *pwndView = (CWorldEditorView *)GetActiveView(); - if (pwndView = NULL) { + if (pwndView != NULL) { // get the MDIChildFrame of active window CChildFrame *pfrChild = (CChildFrame *)pwndView->GetParentFrame(); ASSERT(pfrChild!=NULL); @@ -707,7 +707,7 @@ void CMainFrame::OnInitMenu(CMenu* pMenu) { // switches out of eventual direct screen mode CWorldEditorView *pwndView = (CWorldEditorView *)GetActiveView(); - if (pwndView = NULL) { + if (pwndView != NULL) { // get the MDIChildFrame of active window CChildFrame *pfrChild = (CChildFrame *)pwndView->GetParentFrame(); ASSERT(pfrChild!=NULL); diff --git a/Sources/WorldEditor/PropertyComboBar.cpp b/Sources/WorldEditor/PropertyComboBar.cpp index f6a3c7f..eb858c2 100644 --- a/Sources/WorldEditor/PropertyComboBar.cpp +++ b/Sources/WorldEditor/PropertyComboBar.cpp @@ -1851,8 +1851,8 @@ CEntity *CPropertyComboBar::GetSelectedEntityPtr(void) CPropertyID *ppidProperty = GetSelectedProperty(); // if there is valid property selected if( (ppidProperty == NULL) || - (ppidProperty->pid_eptType != CEntityProperty::EPT_ENTITYPTR) || - (ppidProperty->pid_eptType != CEntityProperty::EPT_PARENT) ) + ((ppidProperty->pid_eptType != CEntityProperty::EPT_ENTITYPTR) && + (ppidProperty->pid_eptType != CEntityProperty::EPT_PARENT)) ) { return NULL; } diff --git a/Sources/WorldEditor/WorldEditor.h b/Sources/WorldEditor/WorldEditor.h index 73f23bc..0d672d6 100644 --- a/Sources/WorldEditor/WorldEditor.h +++ b/Sources/WorldEditor/WorldEditor.h @@ -582,7 +582,6 @@ inline BOOL CValuesForPrimitive::operator==(const CValuesForPrimitive &vfpToComp (vfp_plPrimitive == vfpToCompare.vfp_plPrimitive) && (vfp_ttTriangularisationType == vfpToCompare.vfp_ttTriangularisationType) && (vfp_bDummy == vfpToCompare.vfp_bDummy) && - (vfp_ptPrimitiveType == vfpToCompare.vfp_ptPrimitiveType) && (vfp_bAutoCreateMipBrushes == vfpToCompare.vfp_bAutoCreateMipBrushes) && (vfp_colSectorsColor == vfpToCompare.vfp_colSectorsColor) && (vfp_colPolygonsColor == vfpToCompare.vfp_colPolygonsColor) && From 1c5556dbd90a2989492e3d76c5d616b5e55dd144 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 23 Mar 2016 20:42:20 +0300 Subject: [PATCH 43/62] Fixes II --- Sources/GameMP/Computer.cpp | 2 +- Sources/LWSkaExporter/ModelerMeshExporter.cpp | 7 ++++--- Sources/WorldEditor/ToolTipWnd.cpp | 2 +- Sources/WorldEditor/WorldEditorView.cpp | 5 +++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Sources/GameMP/Computer.cpp b/Sources/GameMP/Computer.cpp index a4d84e0..2316cf4 100644 --- a/Sources/GameMP/Computer.cpp +++ b/Sources/GameMP/Computer.cpp @@ -851,7 +851,7 @@ static void ComputerOn(void) _ppenPlayer->GetStats(_strStatsDetails, CST_DETAIL, _ctTextCharsPerRow); // if end of level - if (_ppenPlayer!=NULL && _ppenPlayer->m_bEndOfLevel || _pNetwork->IsGameFinished()) { + if (_ppenPlayer->m_bEndOfLevel || _pNetwork->IsGameFinished()) { // select statistics _cmtWantedType = CMT_STATISTICS; // if not end of level diff --git a/Sources/LWSkaExporter/ModelerMeshExporter.cpp b/Sources/LWSkaExporter/ModelerMeshExporter.cpp index ad3d752..cb55ee8 100644 --- a/Sources/LWSkaExporter/ModelerMeshExporter.cpp +++ b/Sources/LWSkaExporter/ModelerMeshExporter.cpp @@ -413,13 +413,13 @@ void ExportMesh_modeler(int iFaceForward) { char fnmOut[256]; char *strFileName; - _state = _meshEditOperations->state; - if (_meshEditOperations == NULL) { - _msg->error("Error!","Error _meshEditOperations is NULL!"); + _msg->error("Error!", "Error _meshEditOperations is NULL!"); return; } + _state = _meshEditOperations->state; + _ctPntIDs = _meshEditOperations->pointCount(_state,OPLYR_FG,EDCOUNT_ALL); _ctPolIDs = _meshEditOperations->polyCount(_state,OPLYR_FG,EDCOUNT_ALL); @@ -438,6 +438,7 @@ void ExportMesh_modeler(int iFaceForward) { _fpOutput = fopen(fnmOut, "w"); if (_fpOutput==NULL) { msgbox_modeler(_xpanf, "Can't open file!"); + return; } // write the mesh header diff --git a/Sources/WorldEditor/ToolTipWnd.cpp b/Sources/WorldEditor/ToolTipWnd.cpp index e996e64..a22c2b8 100644 --- a/Sources/WorldEditor/ToolTipWnd.cpp +++ b/Sources/WorldEditor/ToolTipWnd.cpp @@ -135,8 +135,8 @@ void CToolTipWnd::OnPaint() dc.SetTextColor( colInk); CDC *pDC = GetDC(); + if (pDC == NULL) return; pDC->SelectObject( &theApp.m_FixedFont); - if( pDC == NULL) return; INDEX ctLines = GetLinesCount(); for(INDEX iLine = 0; iLinem_CSGDesitnationCombo.GetSelectedBrushEntity(); - CBrush3D &brBrush = *penBrush->en_pbrBrush; - if (penBrush==NULL) return; + if (penBrush == NULL) return; + + CBrush3D &brBrush = *penBrush->en_pbrBrush; // remember current time as time when last mip brushing option has been used _fLastMipBrushingOptionUsed = _pTimer->GetRealTimeTick(); From 503fc3a7ef98f8df687de4aab04712c86b8d4cd5 Mon Sep 17 00:00:00 2001 From: SLAwww Date: Fri, 25 Mar 2016 16:09:30 +0200 Subject: [PATCH 44/62] Updated gitignore --- .gitignore | 1 + Sources/WorldEditor/hlp/resources.hm | 536 --------------------------- 2 files changed, 1 insertion(+), 536 deletions(-) delete mode 100644 Sources/WorldEditor/hlp/resources.hm diff --git a/.gitignore b/.gitignore index 149ffa9..b0e5b8c 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ Debug/ *.suo *.tlog *.ipch +*.hm # Generated configuration files *.plr diff --git a/Sources/WorldEditor/hlp/resources.hm b/Sources/WorldEditor/hlp/resources.hm deleted file mode 100644 index 0095855..0000000 --- a/Sources/WorldEditor/hlp/resources.hm +++ /dev/null @@ -1,536 +0,0 @@ -HID_LOAD_PREFERENCES 0x10003 -HID_SELECT_ALL 0x10003 -HID_SAVE_GAME_SETTINGS 0x10003 -HID_GENERATE_TERRAIN_BRUSH 0x10003 -HID_SAVE_PREFERENCES 0x10004 -HID_DESELECT_ALL 0x10004 -HID_RESTORE_GAME_SETTINGS 0x10004 -HID_SAVE_ANIMATION 0x10004 -HID_FEED_VOLUME 0x10004 -HID_LOAD_ANIMATION 0x10005 -HID_REVERT 0x10005 -HID_SAVE_AS_ANIMATION 0x10006 -HID_CLOSE 0x10007 -HID_ADD_ANIMATION 0x10008 -HID_DELETE_ANIMATION 0x10009 -HID_OK_BUTTON 0x103F6 -HID_SECTOR_COLOR 0x10418 -HID_SECTOR_COLOR2 0x10419 -HID_POLYGON_COLOR 0x10419 -HID_COLOR_OF_POLYGONS_IN_SECTORS 0x10419 -HID_COMBINE_COLOR 0x10419 -HID_VISIBILITY_FLAGS 0x10419 -HID_SELECT_POLIGONS_IN_SECTORS 0x1041A -HID_CLASSIFICATION_FLAGS 0x1041A -HID_SHADOW_COLOR 0x1041F -HID_REMOVE 0x10431 -HID_LEAVE 0x10432 -HID_CENTER 0x10481 -HID_DELETE_BROWSE_BY_CLASS 0x10481 -HID_SELECT_SECTORS 0x10482 -HID_APPLY 0x10489 -HID_FLAGS_PROPERTY 0x104AA -HID_SAVE_VIRTUAL_TREE 0x18003 -HID_LOAD_VIRTUAL_TREE 0x18004 -HID_DELETE_DIRECTORY 0x18005 -HID_INSERT_DIRECTORY 0x18006 -HID_CREATE_DIRECTORY 0x18007 -HID_INSERT_OBJECTS 0x18009 -HID_RENAME_DIRECTORY 0x1800A -HID_VIRTUAL_TREE 0x1800B -HID_INSERT_ITEMS 0x1800C -HID_SMALL_ICONS 0x1800D -HID_BIG_ICONS 0x1800E -HID_DELETE_ITEMS 0x18011 -HID_MEDIUM_ICONS 0x18012 -HID_SHOW_DESCRIPTION 0x18013 -HID_SHOW_FILENAME 0x18014 -HID_VIEW_INFOWINDOW 0x18016 -HID_FILE_PREFERENCES 0x18017 -HID_CHOOSE_COLOR 0x18018 -HID_LOAD_BAR_STATUSES 0x18019 -HID_CREATE_PRIMITIVE 0x1801A -HID_SAVE_THUMBNAIL 0x18021 -HID_ISOMETRIC_TOP 0x18022 -HID_ISOMETRIC_BOTTOM 0x18023 -HID_ISOMETRIC_RIGHT 0x18024 -HID_ISOMETRIC_LEFT 0x18025 -HID_ISOMETRIC_FRONT 0x18026 -HID_ISOMETRIC_BACK 0x18027 -HID_PERSPECTIVE 0x18028 -HID_CSG_ADD_ROOMS 0x18029 -HID_CSG_ADD_MATERIAL 0x1802A -HID_CSG_REMOVE_MATERIAL 0x1802B -HID_CSG_SPLIT_SECTORS 0x1802D -HID_CSG_DESTINATION 0x1802E -HID_CSG_CANCEL 0x1802F -HID_GRID_ON_OFF 0x18031 -HID_VIEW_CSGTOOLS 0x18032 -HID_SHOW_ORIENTATION 0x18034 -HID_ZOOM_MORE 0x18036 -HID_ZOOM_LESS 0x18037 -HID_MOVE_RIGHT 0x18038 -HID_MOVE_LEFT 0x18039 -HID_MOVE_UP 0x1803A -HID_MOVE_DOWN 0x1803B -HID_TOP 0x1803C -HID_PROJECTION_TOP 0x1803D -HID_PROJECTION_BOTTOM 0x1803E -HID_PROJECTION_LEFT 0x1803F -HID_PROJECTION_RIGHT 0x18040 -HID_PROJECTION_FRONT 0x18041 -HID_PROJECTION_BACK 0x18042 -HID_PROJECTION_ISOMETRIC 0x18043 -HID_IMPORT_LWO 0x18045 -HID_MEASUREMENT_LENT 0x18046 -HID_MEASUREMENT_TAPE 0x18047 -HID_FRAME_RATE 0x18048 -HID_BUFFER01 0x18049 -HID_BUFFER02 0x1804A -HID_BUFFER03 0x1804B -HID_BUFFER04 0x1804C -HID_BUFFER05 0x1804D -HID_BUFFER06 0x1804E -HID_BUFFER07 0x1804F -HID_BUFFER08 0x18050 -HID_BUFFER09 0x18051 -HID_BUFFER10 0x18052 -HID_EDIT_BUFFER01 0x18053 -HID_EDIT_BUFFER02 0x18054 -HID_EDIT_BUFFER03 0x18055 -HID_EDIT_BUFFER04 0x18056 -HID_EDIT_BUFFER05 0x18057 -HID_EDIT_BUFFER06 0x18058 -HID_EDIT_BUFFER07 0x18059 -HID_EDIT_BUFFER08 0x1805A -HID_EDIT_BUFFER09 0x1805B -HID_EDIT_BUFFER10 0x1805C -HID_TOGGLE_MODES 0x1805E -HID_CIRCLE_MODES 0x1805F -HID_SELECT_BY_NAME 0x18060 -HID_VIEW_PROJECTIONS_BAR 0x18061 -HID_VIEW_SELECTON_BAR 0x18062 -HID_BCG_SETTINGS 0x18063 -HID_VIEW_SELECTION 0x18064 -HID_DELETE_ENTITY 0x18065 -HID_DELETE_ENTITIES 0x18066 -HID_COPY_TEXTURE 0x18067 -HID_TAKE_SS 0x18068 -HID_ENTITY_MODE 0x18069 -HID_POLYGON_MODE 0x1806A -HID_SECTOR_MODE 0x1806B -HID_REMOVE_MATERIAL 0x1806C -HID_JOIN_SECTORS 0x1806D -HID_CSG_JOIN_SECTORS 0x1806E -HID_TEST_GAME 0x1806F -HID_AUTO_SNAP 0x18070 -HID_CSG_ADD 0x18071 -HID_CSG_REMOVE 0x18072 -HID_SPLIT_POLYGONS 0x18073 -HID_JOIN_POLYGONS 0x18074 -HID_CSG_SPLIT_POLYGONS 0x18077 -HID_CSG_JOIN_POLYGONS 0x18078 -HID_AUTO_DELTA_PRIMITIVE 0x1807A -HID_CLONE_CSG 0x1807B -HID_CREATE_PRIMITIVE_POPUP 0x1807C -HID_BUTTON32893 0x1807D -HID_BUTTON32894 0x1807E -HID_BUTTON32895 0x1807F -HID_BUTTON32896 0x18080 -HID_BUTTON32899 0x18083 -HID_BUTTON32900 0x18084 -HID_BUTTON32901 0x18085 -HID_BUTTON32902 0x18086 -HID_BUTTON32905 0x18089 -HID_BUTTON32906 0x1808A -HID_BUTTON32908 0x1808C -HID_BUTTON32909 0x1808D -HID_BUTTON32910 0x1808E -HID_BUTTON32911 0x1808F -HID_BUTTON32912 0x18090 -HID_MEASURE_ON 0x18092 -HID_BUTTON32916 0x18094 -HID_BUTTON32917 0x18095 -HID_WORLD_SETTINGS 0x18096 -HID_SHOW_PANE_INFO 0x18097 -HID_BUTTON32920 0x18098 -HID_RESET_VIEWER 0x18099 -HID_CREATE_TEXTURE 0x1809A -HID_CALCULATESHADOWS 0x1809B -HID_EDIT_COPY_MAPPING 0x1809C -HID_EDIT_PASTE_MAPPING 0x1809D -HID_GLOBAL_SETTINGS 0x1809E -HID_GAME_SETTINGS 0x180A0 -HID_HIDE_SELECTED_SECTORS 0x180A2 -HID_SHOW_ALL_SECTORS 0x180A3 -HID_HIDE_UNSELECTED_SECTORS 0x180A4 -HID_BUTTON32933 0x180A5 -HID_BUTTON32934 0x180A6 -HID_BUTTON32935 0x180A7 -HID_RENDER_TARGETS 0x180A8 -HID_CALL_MODELER 0x180AA -HID_CALL_TEXMAKER 0x180AB -HID_VIEW_SETTINGS_AND_UTILITY_BAR 0x180AC -HID_VIEW_VIEW_TOOLS_BAR 0x180AD -HID_GAME_PLAYER 0x180AF -HID_GAME_AUDIO 0x180B0 -HID_GAME_VIDEO 0x180B1 -HID_GAME_SELECT_PLAYER 0x180B2 -HID_SHADOWS_NONE 0x180B3 -HID_SHADOWS_NO_FX 0x180B4 -HID_SHADOWS_WITH_EFFECTS 0x180B5 -HID_SAVE_AS_VIRTUAL_TREE 0x180B8 -HID_BUTTON32953 0x180B9 -HID_MOVE_ANCHORED 0x180BA -HID_PASTE_TEXTURE 0x180BD -HID_BUTTON32961 0x180C1 -HID_BUTTON32963 0x180C3 -HID_BUTTON32964 0x180C4 -HID_CENTER_ENTITY 0x180C6 -HID_BROWSE_ENTITIES_MODE 0x180C8 -HID_NEXT_SELECTED_ENTITY 0x180CA -HID_PREVIOUS_SELECTED_ENTITY 0x180CD -HID_SCENE_STATISTICS 0x180CE -HID_SCENE_RENDERING_TIME 0x180CF -HID_RECREATE_TEXTURE 0x180D0 -HID_SELECT_ALL_IN_VOLUME 0x180D1 -HID_DROP_MARKER 0x180D3 -HID_TEST_CONNECTIONS 0x180D4 -HID_JOIN_LAYERS 0x180D5 -HID_ALIGN_VOLUME 0x180D7 -HID_SHOW_TREE_SHORTCUTS 0x180D8 -HID_MENU_SHORTCUT01 0x180D9 -HID_MENU_SHORTCUT02 0x180DA -HID_MENU_SHORTCUT03 0x180DB -HID_MENU_SHORTCUT04 0x180DC -HID_MENU_SHORTCUT05 0x180DD -HID_MENU_SHORTCUT06 0x180DE -HID_MENU_SHORTCUT07 0x180DF -HID_MENU_SHORTCUT08 0x180E0 -HID_MENU_SHORTCUT09 0x180E1 -HID_MENU_SHORTCUT10 0x180E2 -HID_STORE_MENU_SHORTCUT01 0x180E3 -HID_TAKE_SCREEN_SHOOT 0x180E4 -HID_STORE_MENU_SHORTCUT02 0x180E4 -HID_STORE_MENU_SHORTCUT03 0x180E5 -HID_STORE_MENU_SHORTCUT04 0x180E6 -HID_STORE_MENU_SHORTCUT05 0x180E7 -HID_STORE_MENU_SHORTCUT06 0x180E8 -HID_STORE_MENU_SHORTCUT07 0x180E9 -HID_STORE_MENU_SHORTCUT08 0x180EA -HID_STORE_MENU_SHORTCUT09 0x180EB -HID_STORE_MENU_SHORTCUT10 0x180EC -HID_SELECT_BY_CLASS 0x180ED -HID_CURRENT_VIEW_PROPERTIES 0x180EF -HID_AUTO_MIP_LEVELING 0x180F0 -HID_DECADIC_GRID 0x180F1 -HID_ADD_MORE_PRECISE_MIP 0x180F2 -HID_ADD_ROUGHER_MIP_LEVEL 0x180F3 -HID_DELETE_MIP 0x180F4 -HID_CONSOLE 0x180F7 -HID_PREVIOUS_MIP 0x180F8 -HID_NEXT_MIP 0x180F9 -HID_PREVIOUS_MIP_BRUSH 0x180FB -HID_NEXT_MIP_BRUSH 0x180FC -HID_VIEW_MIP_TOOLS_BAR 0x180FD -HID_WINDOW_CLOSE 0x180FE -HID_TOOL_RECREATE_TEXTURE 0x18100 -HID_CROSSROAD_FOR_C 0x18101 -HID_SET_AS_CSG_TARGET 0x18103 -HID_RECREATE_CURRENT_TEXTURE 0x18104 -HID_COPY_MAPPING 0x18105 -HID_KEY_COPY 0x18105 -HID_PASTE_MAPPING 0x18106 -HID_KEY_PASTE 0x18106 -HID_CREATE_AND_ADD_TEXTURE 0x18107 -HID_SELECT_POLYGONS 0x18109 -HID_SELECT_POLYGONS_IN_SECTOR 0x1810A -HID_SELECT_POLYGONS_IN_WORLD 0x1810B -HID_FIND_TEXTURE 0x1810C -HID_SELECT_BY_TEXTURE_IN_SECTOR 0x1810D -HID_SELECT_BY_TEXTURE_ADJACENT 0x1810E -HID_SELECT_POLYGONS_BY_TEXTURE_IN_SELECTED_SECTORS 0x1810F -HID_SELECT_POLYGONS_BY_TEXTURE_IN_WORLD 0x18110 -HID_SELECT_BY_TEXTURE_IN_SELECTED_SECTORS 0x18111 -HID_SELECT_BY_TEXTURE_IN_WORLD 0x18112 -HID_CSG_JOIN_ALL_POLYGONS 0x18114 -HID_SELECT_BY_COLOR_IN_SECTOR 0x18115 -HID_MAXIMIZE_VIEW 0x18116 -HID_TRIANGULARIZE 0x18118 -HID_CREATE_TORUS 0x1811A -HID_STAIRCASE_PRIMITIVE 0x1811B -HID_TERRAIN_PRIMITIVE 0x1811C -HID_SPHERE_PRIMITIVE 0x1811D -HID_CONUS_PRIMITIVE 0x1811E -HID_TORUS_PRIMITIVE 0x1811F -HID_POPOUP_CONUS 0x18120 -HID_POPUP_CONUS 0x18121 -HID_POPUP_TORUS 0x18122 -HID_POPUP_STAIRS 0x18123 -HID_POPUP_SPHERE 0x18124 -HID_POPUP_TERRAIN 0x18125 -HID_TOGGLE_VIEW_PICTURES 0x18126 -HID_SELECT_FOR_DROP_MARKER 0x18127 -HID_LIGHT_ANIMATION 0x18128 -HID_VIEW_FROM_ENTITY 0x18129 -HID_SET_AS_CURRENT_TEXTURE 0x1812A -HID_SELECT_LIGHTS 0x1812B -HID_DISCARD_SHADOWS 0x1812C -HID_COPY_SECTOR_AMBIENT 0x1812D -HID_PASTE_SECTOR_AMBIENT 0x1812E -HID_SELECT_ALL_POLYGONS 0x1812F -HID_TOGGLE_LIGHT_SIZE 0x18130 -HID_COPY_SECTORS 0x18131 -HID_PASTE_SECTORS 0x18132 -HID_DELETE_SECTORS 0x18133 -HID_CONVERT_WORLDS 0x18136 -HID_TOGGLE_TOOL_TIPS 0x18137 -HID_BUTTON33084 0x1813C -HID_TEXTURE_1 0x1813C -HID_BUTTON33085 0x1813D -HID_TEXTURE_2 0x1813D -HID_BUTTON33086 0x1813E -HID_TEXTURE_3 0x1813E -HID_BUTTON33087 0x1813F -HID_TOGGLE_SHADOWS 0x18140 -HID_BUTTON33089 0x18141 -HID_BUTTON33093 0x18145 -HID_VIEW_SHADOWS_AND_TEXTURE_BAR 0x18146 -HID_VIEW_SELECT_ENTITY_BAR 0x18147 -HID_VIEW_WORK_BAR 0x18148 -HID_PASTE_TEXTURE_AS_PROJECTED 0x18149 -HID_EDIT_PASTE_AS_PROJECTED_MAPPING 0x1814A -HID_MENU_COPY_MAPPING 0x1814B -HID_MENU_PASTE_MAPPING 0x1814C -HID_MENU_PASTE_AS_PROJECTED_MAPPING 0x1814D -HID_BUTTON33104 0x18150 -HID_TEXTURE_MODE_1 0x18151 -HID_SELECT_ALL_SECTORS 0x18154 -HID_SELECT_ALL_ENTITIES 0x18155 -HID_LAST_PRIMITIVE 0x18156 -HID_COPY_COLOR 0x18157 -HID_PASTE_COLOR 0x18158 -HID_NUMERIC_ALPHA 0x18159 -HID_CREATE_EMPTY_ROUGHER_MIP 0x1815A -HID_CREATE_EMPTY_MORE_PRECISE_MIP 0x1815D -HID_CLONE_TO_MORE_PRECISE_MIP 0x1815E -HID_CLONE_TO_ROUGHER_MIP_LEVEL 0x1815F -HID_LOAD_PRIMITIVE_SETTINGS 0x18160 -HID_SAVE_PRIMITIVE_SETTINGS 0x18161 -HID_SAVE_AS_PRIMITIVE_SETTINGS 0x18162 -HID_EDIT_PASTE_ALTERNATIVE 0x18163 -HID_CALCULATE_SHADOWS_ONOFF 0x18166 -HID_BUTTON33127 0x18167 -HID_VIEW_SHADOWS 0x18168 -HID_VIEW_SHADOWS_ONOFF 0x18169 -HID_BUTTON33130 0x1816A -HID_BUTTON33131 0x1816B -HID_BUTTON33132 0x1816C -HID_SELECT_ALL_ENTITIES_IN_WORLD 0x1816E -HID_EDIT_PASTE_INTO_LAYER 0x1816F -HID_SELECT_SECTORS_WITH_SAME_NAME 0x18170 -HID_SELECT_SECTORS_ARROUND_ENTITY 0x18171 -HID_CHANGE_CLASS 0x18172 -HID_CONVERT_CLASS 0x18173 -HID_RESET_PRIMITIVE 0x18174 -HID_MENU_PASTE_TEXTURE 0x18175 -HID_MENU_COPY_TEXTURE 0x18176 -HID_INSERT_VERTEX 0x18177 -HID_DELETE_VERTEX 0x18178 -HID_SELECT_TARGET 0x18179 -HID_SAVE_PICTURES_FOR_ENVIRONMENT 0x1817A -HID_SELECT_SECTOR 0x1817B -HID_CSG_SELECT_SECTOR 0x1817C -HID_UPDATE_LINKS 0x18182 -HID_MENU_ALIGN_MAPPING 0x18183 -HID_MICRO_ICONS 0x18186 -HID_FALL_DOWN 0x18187 -HID_EXCEPT_TEXTURES_IN_WORLD 0x1818B -HID_SELECT_EXCEPT_TEXTURES 0x1818C -HID_REMOVE_UNUSED_TEXTURES 0x1818D -HID_ROTATE 0x1818E -HID_SELECT_VISIBLE_SECTORS 0x18190 -HID_SNAPSHOT 0x18192 -HID_EDIT_COPY_ALTERNATIVE 0x18193 -HID_STORE_POSITION01 0x18194 -HID_STORE_POSITION02 0x18195 -HID_RESTORE_POSITION01 0x18196 -HID_RESTORE_POSITION02 0x18197 -HID_MIRROR_AND_STRETCH 0x18198 -HID_DESELECT_BY_ORIENTATION 0x18199 -HID_ADD_TEXTURES_FROM_WORLD 0x1819A -HID_FLIP_LAYER 0x1819B -HID_ROTATE_RIGHT 0x1819C -HID_ROTATE_LEFT 0x1819D -HID_ROTATE_UP 0x1819E -HID_ROTATE_DOWN 0x1819F -HID_SELECT_WHO_TARGETS 0x181A0 -HID_SELECT_INVALIDTRIS 0x181A1 -HID_FILTER_SELECTION 0x181A2 -HID_TEST_CONNECTIONS_BACK 0x181A3 -HID_SET_AS_DEFAULT 0x181A4 -HID_HELP_SHOWTIPOFTHEDAY 0x181A5 -HID_UPDATE_CLONES 0x181A6 -HID_EDIT_MIP_SWITCH_DISTANCE 0x181A7 -HID_SELECT_SECTORS_OTHER_SIDE 0x181A8 -HID_SELECT_LINKS_TO_SECTOR 0x181A9 -HID_REMAIN_SELECTEDBY_ORIENTATION 0x181AA -HID_VERTEX_MODE 0x181AB -HID_REOPTIMIZE_BRUSHES 0x181AC -HID_MERGE_POINTS 0x181AD -HID_MERGE_VERTICES 0x181AE -HID_EXPORT_DISPLACE_MAP 0x181AF -HID_CUT_MODE 0x181B0 -HID_SELECT_ALL_TARGETS 0x181B3 -HID_SELECT_ALL_TARGETS_ON_CONTEXT 0x181B5 -HID_TEST_GAME_FULLSCREEN 0x181B6 -HID_SELECT_CLONES 0x181B7 -HID_SELECT_CLONES_ON_CONTEXT 0x181B8 -HID_FUNCTION 0x181BA -HID_SELECT_ALL_VERTICES 0x181BC -HID_HIDE_UNSELECTED 0x181BD -HID_HIDE_SELECTED 0x181BE -HID_SHOW_ALL 0x181BF -HID_SELECT_OF_SAME_CLASS 0x181C0 -HID_SELECT_OF_SAME_CLASS_ON_CONTEXT 0x181C1 -HID_ALTERNATIVE_MOVING_MODE 0x181C2 -HID_VIEW_AXIS 0x181C3 -HID_RE_TRIPLE 0x181C4 -HID_SELECT_WHO_TARGETS_ON_CONTEXT 0x181C6 -HID_SELECT_SECTORS_ARROUND_ENTITY_ON_CONTEXT 0x181C7 -HID_DISCARD_ALL_TARGETS 0x181C8 -HID_CLEAR_ALL_TARGETS 0x181C9 -HID_EXPORT_TEXTURES 0x181CA -HID_EXPORT_TEXTURE 0x181CB -HID_CHECK_EDIT 0x181CC -HID_CHECK_ADD 0x181CD -HID_CHECK_DELETE 0x181CE -HID_UNDO_CHECK_OUT 0x181CF -HID_SELECT_CSG_TARGET 0x181D0 -HID_REMAIN_SELECTEDBY_ORIENTATION_SINGLE 0x181D1 -HID_TRIANGULARIZE_POLYGON 0x181D3 -HID_BROWSER_HELP 0x181D4 -HID_BROWSER_CONTEXT_HELP 0x181D5 -HID_ENTITY_CONTEXT_HELP 0x181D6 -HID_FIT_TEXTURE 0x181D7 -HID_FIT_MAPPING 0x181D8 -HID_AUTO_FIT_MAPPING 0x181D9 -HID_POPUP_AUTO_FIT_MAPPING 0x181DA -HID_TRIANGULARIZE_SELECTION 0x181DB -HID_POPUP_AUTO_FIT_MAPPING_SMALL 0x181DD -HID_POPUP_AUTO_FIT_MAPPING_BOTH 0x181DE -HID_RESET_ROTATION 0x181DF -HID_RESET_OFFSET 0x181E0 -HID_RESET_MAPPING_ROTATION 0x181E1 -HID_RESET_MAPPING_OFFSET 0x181E2 -HID_RESET_MAPPING_STRETCH 0x181E3 -HID_TOGGLE_ENTITY_NAMES 0x181E4 -HID_VIEW_VIEW_TOOLS_BAR2 0x181E5 -HID_CROSSROAD_FOR_L 0x181E6 -HID_VIEW_TARGET_TREE 0x181E7 -HID_SELECT_USING_TARGET_TREE 0x181E8 -HID_LT_EXPAND_ALL 0x181E9 -HID_LT_CONTRACT_BRANCH 0x181EA -HID_LT_EXPAND_BRANCH 0x181EB -HID_LT_CONTRACT_LEVEL 0x181EC -HID_LT_EXPAND_LEVEL 0x181ED -HID_LT_CONTRACT_ALL 0x181EE -HID_LT_LEAVE_BRANCH 0x181EF -HID_LT_LAST_LEVEL 0x181F0 -HID_TARGET_LIST 0x181F1 -HID_TARGET_TREE 0x181F2 -HID_UPDATE_BRUSHES 0x181F3 -HID_TOGGLE_VISIBILITY_TWEAKS 0x181F5 -HID_SWAP_LAYERS_12 0x181F6 -HID_SWAP_LAYERS_23 0x181F7 -HID_IMPORT_3D_SERIES 0x181F8 -HID_IMPORT_3D_OBJECT 0x181F9 -HID_INSERT_3D_OBJECT 0x181FA -HID_EXPORT_3D_OBJECT 0x181FB -HID_CROSSROAD_FOR_N 0x181FC -HID_POPUP_VTX_NUMERIC 0x181FD -HID_POPUP_VTX_ALLIGN 0x181FE -HID_POPUP_VTX_FILTER 0x181FF -HID_SELECT_DESCENDANTS 0x18200 -HID_ENABLE_VISIBILITY_TWEAKS 0x18204 -HID_IMPORT_VIRTUAL_TREE 0x18209 -HID_EXPORT_VIRTUAL_TREE 0x1820A -HID_DUMP_VT 0x1820B -HID_TARGET_ENTITY 0x1820D -HID_ROTATE_TO_TARGET_ORIGIN 0x1820E -HID_ROTATE_TO_TARGET_CENTER 0x1820F -HID_COPY_PLACEMENT 0x18210 -HID_PASTE_PLACEMENT 0x18211 -HID_COPY_POSITION 0x18212 -HID_PASTE_POSITION 0x18213 -HID_COPY_ORIENTATION 0x18214 -HID_PASTE_ORIENTATION 0x18215 -HID_ALIGN_X 0x18216 -HID_ALIGN_Y 0x18217 -HID_ALIGN_Z 0x18218 -HID_ALIGN_H 0x18219 -HID_ALIGN_P 0x1821A -HID_ALIGN_B 0x1821B -HID_AUTOTEXTURIZE_MIPS 0x1821D -HID_RANDOM_OFFSET_U 0x1821E -HID_RANDOM_OFFSET_V 0x1821F -HID_STRETCH_RELATIVE_OFFSET 0x18220 -HID_DESELECT_HIDDEN 0x18221 -HID_SELECT_HIDDEN 0x18222 -HID_SECTORS_TO_BRUSH 0x18223 -HID_POLYGONS_TO_BRUSH 0x18224 -HID_CLONE_POLYGONS 0x18225 -HID_DELETE_POLYGONS 0x18226 -HID_KEY_U 0x18227 -HID_KEY_D 0x18228 -HID_FLIP_POLYGON 0x1822A -HID_CREATE_POLYGON 0x1822B -HID_SELECT_TERRAIN_ENTITY 0x1822E -HID_RECALCULATE_TERRAIN_SHADOWS 0x1822F -HID_OPTIMIZE_TERRAIN 0x18230 -HID_SELECT_BRUSH 0x18235 -HID_SELECT_LAYER 0x18236 -HID_PICK_LAYER 0x18237 -HID_TOGGLE_EDIT_MODE 0x18238 -HID_ALTITUDE_EDIT_MODE 0x1823A -HID_LAYER_TEXTURE_EDIT_MODE 0x1823B -HID_CHANGE_TERRAIN_SIZE 0x1823C -HID_EXPORT_HEIGHTMAP 0x1823D -HID_IMPORT_HEIGHTMAP 0x1823E -HID_LAYER_OPTIONS 0x1823F -HID_SELECT_TERRAIN 0x18240 -HID_TBRUSH_HEIGHT 0x18241 -HID_TBRUSH_ALTITUDE 0x18242 -HID_TBRUSH_SMOOTH 0x18243 -HID_TBRUSH_EQUILAZE 0x18244 -HID_TBRUSH_ERASE 0x18245 -HID_TBRUSH_UNERASE 0x18246 -HID_TBRUSH_FLATTEN 0x18247 -HID_TBRUSH_NOISE 0x18248 -HID_VIEW_HEIGHTMAP 0x18249 -HID_IMPORT_HEIGHTMAP16 0x1824A -HID_EXPORT_HEIGHTMAP16 0x1824B -HID_CHANGE_HIEGHTMAP_SIZE 0x1824C -HID_CHANGE_HEIGHTMAP_SIZE 0x1824D -HID_EQUILIZE 0x18256 -HID_POSTERIZE 0x18257 -HID_TE_SMOOTH 0x1825A -HID_APPLY_FILTER 0x1825B -HID_APPLY_CONTINOUS_NOISE 0x18262 -HID_APPLY_MINIMUM 0x18263 -HID_APPLY_MAXIMUM 0x18264 -HID_APPLY_FLATTEN 0x18265 -HID_APPLY_POSTERIZE 0x18266 -HID_OPTIMIZE_LAYERS 0x18267 -HID_TBRUSH_FILTER 0x18268 -HID_TBRUSH_MINIMUM 0x18269 -HID_TBRUSH_MAXIMUM 0x1826A -HID_TBRUSH_POSTERIZE 0x1826B -HID_TBRUSH_CONTINOUS_NOISE 0x1826C -HID_TERRAIN_PROPERTIES 0x1826D -HID_EXPORT_PLACEMENTS 0x1826F -HID_EXPORT_ENTITIES 0x18270 -HID_ACCELERATOR33402 0x1827A -HID_VIEW_BROWSEDIALOGBAR 0x1E808 -HID_VIEW_PROPERTYCOMBO 0x1E809 -HID_STATIC 0x1FFFF From 282ae65d9fac37f2df5ab0ac17b6c2d4ade90c2b Mon Sep 17 00:00:00 2001 From: SLAwww Date: Fri, 25 Mar 2016 17:28:31 +0200 Subject: [PATCH 45/62] Update .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b0e5b8c..3b998ef 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,8 @@ Debug/ *.sdf *.map *.opensdf +*.pdb +*.sbr *.suo *.tlog *.ipch From 31d597856dcc1e0437976f45208c5e92b2e1a224 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Tue, 29 Mar 2016 23:49:32 +0300 Subject: [PATCH 46/62] Add and remove excess empty lines between functions, Make code better. --- Sources/SeriousSam/GUI/Components/MGEdit.cpp | 6 ++--- .../GUI/Components/MGFileButton.cpp | 1 + .../GUI/Components/MGKeyDefinition.cpp | 2 -- .../GUI/Components/MGLevelButton.cpp | 1 - .../GUI/Components/MGServerList.cpp | 4 ++-- .../SeriousSam/GUI/Components/MGSlider.cpp | 2 -- .../SeriousSam/GUI/Components/MGTrigger.cpp | 3 --- .../SeriousSam/GUI/Components/MGVarButton.cpp | 3 --- .../SeriousSam/GUI/Components/MenuGadget.cpp | 1 + .../GUI/Menus/MCustomizeKeyboard.cpp | 1 + Sources/SeriousSam/GUI/Menus/MInGame.cpp | 7 +++--- Sources/SeriousSam/GUI/Menus/MLevels.cpp | 2 -- Sources/SeriousSam/GUI/Menus/MLoadSave.cpp | 5 ++-- Sources/SeriousSam/GUI/Menus/MMain.cpp | 1 + .../SeriousSam/GUI/Menus/MNetworkStart.cpp | 3 --- .../SeriousSam/GUI/Menus/MPlayerProfile.cpp | 10 +++----- .../SeriousSam/GUI/Menus/MSinglePlayer.cpp | 3 +-- .../SeriousSam/GUI/Menus/MVideoOptions.cpp | 1 - Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp | 23 +++++++++++++++++++ Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 3 +++ 20 files changed, 44 insertions(+), 38 deletions(-) diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index 1b0d642..512d0bd 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -18,7 +18,6 @@ CMGEdit::CMGEdit(void) Clear(); } - void CMGEdit::Clear(void) { mg_iCursorPos = 0; @@ -26,7 +25,6 @@ void CMGEdit::Clear(void) _bEditingString = FALSE; } - void CMGEdit::OnActivate(void) { if (!mg_bEnabled) { @@ -112,7 +110,6 @@ BOOL CMGEdit::OnKeyDown(int iVKey) return TRUE; } - // char typed BOOL CMGEdit::OnChar(MSG msg) { @@ -134,7 +131,6 @@ BOOL CMGEdit::OnChar(MSG msg) return TRUE; } - void CMGEdit::Render(CDrawPort *pdp) { if (mg_bEditing) { @@ -160,9 +156,11 @@ void CMGEdit::Render(CDrawPort *pdp) CMGButton::Render(pdp); } } + void CMGEdit::OnStringChanged(void) { } + void CMGEdit::OnStringCanceled(void) { } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index 13c9a91..421f2c4 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -120,6 +120,7 @@ void CMGFileButton::OnActivate(void) mg_iState = FBS_SAVENAME; } } + BOOL CMGFileButton::OnKeyDown(int iVKey) { if (mg_iState == FBS_NORMAL) { diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index b06ffc2..0c3f0d0 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -17,7 +17,6 @@ CMGKeyDefinition::CMGKeyDefinition(void) mg_iState = DOING_NOTHING; } - void CMGKeyDefinition::OnActivate(void) { PlayMenuSound(_psdPress); @@ -26,7 +25,6 @@ void CMGKeyDefinition::OnActivate(void) mg_iState = RELEASE_RETURN_WAITING; } - BOOL CMGKeyDefinition::OnKeyDown(int iVKey) { // if waiting for a key definition diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp index 4237435..0eeb0c1 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp @@ -18,7 +18,6 @@ void CMGLevelButton::OnActivate(void) _pAfterLevelChosen(); } - void CMGLevelButton::OnSetFocus(void) { SetThumbnail(mg_fnmLevel); diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index 279b2ec..a676913 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -31,7 +31,6 @@ void PrintInBox(CDrawPort *pdp, PIX pixI, PIX pixJ, PIX pixSizeI, CTString str, pdp->PutText(str, pixI, pixJ, col); } - CMGServerList::CMGServerList() { mg_iSelected = 0; @@ -285,7 +284,6 @@ static INDEX SliderPixToIndex(PIX pixOffset, INDEX iVisible, INDEX iTotal, PIXaa return (iTotal*pixOffset) / pixFull; } - static PIXaabbox2D GetSliderBox(INDEX iFirst, INDEX iVisible, INDEX iTotal, PIXaabbox2D boxFull) { @@ -306,6 +304,7 @@ PIXaabbox2D CMGServerList::GetScrollBarFullBox(void) { return PIXaabbox2D(PIX2D(mg_pixSBMinI, mg_pixSBMinJ), PIX2D(mg_pixSBMaxI, mg_pixSBMaxJ)); } + PIXaabbox2D CMGServerList::GetScrollBarHandleBox(void) { return GetSliderBox(mg_iFirstOnScreen, mg_ctOnScreen, _lhServers.Count(), GetScrollBarFullBox()); @@ -438,6 +437,7 @@ void CMGServerList::OnSetFocus(void) { mg_bFocused = TRUE; } + void CMGServerList::OnKillFocus(void) { mg_bFocused = FALSE; diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index a1e131a..0722e0f 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -72,7 +72,6 @@ BOOL CMGSlider::OnKeyDown(int iVKey) return CMenuGadget::OnKeyDown(iVKey); } - PIXaabbox2D CMGSlider::GetSliderBox(void) { extern CDrawPort *pdp; @@ -85,7 +84,6 @@ PIXaabbox2D CMGSlider::GetSliderBox(void) return PIXaabbox2D(PIX2D(pixIR + 1, pixJ + 1), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)); } - void CMGSlider::Render(CDrawPort *pdp) { SetFontMedium(pdp); diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index 494e576..443619b 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -37,7 +37,6 @@ void CMGTrigger::ApplyCurrentSelection(void) mg_strValue = mg_astrTexts[mg_iSelected]; } - void CMGTrigger::OnSetNextInList(int iVKey) { if (mg_pPreTriggerChange != NULL) { @@ -52,7 +51,6 @@ void CMGTrigger::OnSetNextInList(int iVKey) } } - BOOL CMGTrigger::OnKeyDown(int iVKey) { if ((iVKey == VK_RETURN || iVKey == VK_LBUTTON) || @@ -68,7 +66,6 @@ BOOL CMGTrigger::OnKeyDown(int iVKey) return FALSE; } - void CMGTrigger::Render(CDrawPort *pdp) { SetFontMedium(pdp); diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index 0a2f899..b783847 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -17,7 +17,6 @@ BOOL CMGVarButton::IsSeparator(void) return mg_pvsVar->vs_bSeparator; } - BOOL CMGVarButton::IsEnabled(void) { return(_gmRunningGameMode == GM_NONE @@ -25,7 +24,6 @@ BOOL CMGVarButton::IsEnabled(void) || mg_pvsVar->vs_bCanChangeInGame); } - // return slider position on scren PIXaabbox2D CMGVarButton::GetSliderBox(void) { @@ -111,7 +109,6 @@ BOOL CMGVarButton::OnKeyDown(int iVKey) return CMenuGadget::OnKeyDown(iVKey); } - void CMGVarButton::Render(CDrawPort *pdp) { if (mg_pvsVar == NULL) { diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp index 449ac78..18ef392 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp @@ -85,6 +85,7 @@ void CMenuGadget::Disappear(void) void CMenuGadget::Think(void) { } + void CMenuGadget::OnMouseOver(PIX pixI, PIX pixJ) { } diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp index 589ba3d..b74bb6a 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp @@ -93,6 +93,7 @@ void CCustomizeKeyboardMenu::StartMenu(void) gm_iListWantedItem = 0; CGameMenu::StartMenu(); } + void CCustomizeKeyboardMenu::EndMenu(void) { ControlsMenuOff(); diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.cpp b/Sources/SeriousSam/GUI/Menus/MInGame.cpp index 8368d19..93b4dbc 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.cpp +++ b/Sources/SeriousSam/GUI/Menus/MInGame.cpp @@ -126,8 +126,7 @@ void CInGameMenu::StartMenu(void) gm_mgLabel1.mg_strText.PrintF(TRANS("Player: %s"), pc.GetNameForPrinting()); gm_mgLabel2.mg_strText = ""; - } - else { + } else { if (_pNetwork->IsServer()) { CTString strHost, strAddress; @@ -142,8 +141,8 @@ void CInGameMenu::StartMenu(void) gm_mgLabel1.mg_strText = TRANS("Address: ") + strHostName; gm_mgLabel2.mg_strText = ""; - } - else { + + } else { CTString strConfig; strConfig = TRANS(""); diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.cpp b/Sources/SeriousSam/GUI/Menus/MLevels.cpp index 5fe5c6e..bf90414 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLevels.cpp @@ -77,8 +77,6 @@ void CLevelsMenu::FillListItems(void) gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; } - - void CLevelsMenu::StartMenu(void) { // set default parameters for the list diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp index ccf834e..7d18238 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp @@ -130,6 +130,7 @@ void CLoadSaveMenu::StartMenu(void) CGameMenu::StartMenu(); } + void CLoadSaveMenu::EndMenu(void) { // delete all file infos @@ -196,11 +197,11 @@ BOOL CLoadSaveMenu::ParseFile(const CTFileName &fnm, CTString &strName) if (fnm.FileExt() != gm_fnmExt) { return FALSE; } + CTFileName fnSaveGameDescription = fnm.NoExt() + ".des"; try { strName.Load_t(fnSaveGameDescription); - } - catch (char *strError) { + } catch (char *strError) { (void)strError; strName = fnm.FileName(); diff --git a/Sources/SeriousSam/GUI/Menus/MMain.cpp b/Sources/SeriousSam/GUI/Menus/MMain.cpp index b7d9e08..5cb9edb 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.cpp +++ b/Sources/SeriousSam/GUI/Menus/MMain.cpp @@ -106,6 +106,7 @@ void CMainMenu::Initialize_t(void) gm_mgQuit.mg_pmgDown = &gm_mgSingle; gm_mgQuit.mg_pActivatedFunction = NULL; } + void CMainMenu::StartMenu(void) { gm_mgSingle.mg_bEnabled = IsMenuEnabled("Single Player"); diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp index 3602efb..f84761f 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp @@ -88,9 +88,6 @@ void CNetworkStartMenu::Initialize_t(void) gm_mgStart.mg_strText = TRANS("START"); gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); gm_mgStart.mg_pActivatedFunction = NULL; - - - } void CNetworkStartMenu::StartMenu(void) diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp index 5339ec8..24f5bff 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp @@ -178,8 +178,7 @@ void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer] = iPlayer; - } - else { + } else { _pGame->gm_iSinglePlayer = iPlayer; } gm_mgNameField.mg_pstrToChange = &pc.pc_strName; @@ -215,8 +214,7 @@ void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) // no model gm_mgModel.mg_moModel.SetData(NULL); // if there is some - } - else { + } else { // set the model BOOL(*pFunc)(CModelObject *, CPlayerCharacter *, CTString &, BOOL) = (BOOL(*)(CModelObject *, CPlayerCharacter *, CTString &, BOOL))pss->ss_pvValue; @@ -258,8 +256,7 @@ void CPlayerProfileMenu::StartMenu(void) for (INDEX i = 0; i<8; i++) { gm_mgNumber[i].mg_bEnabled = TRUE; } - } - else { + } else { for (INDEX i = 0; i<8; i++) { gm_mgNumber[i].mg_bEnabled = FALSE; } @@ -281,7 +278,6 @@ void CPlayerProfileMenu::StartMenu(void) CGameMenu::StartMenu(); } - void CPlayerProfileMenu::EndMenu(void) { _pGame->SavePlayersAndControls(); diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp index 3edfba9..130b66d 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp @@ -119,8 +119,7 @@ void CSinglePlayerMenu::StartMenu(void) gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); - } - else { + } else { if (gm_mgTraining.mg_lnNode.IsLinked()) { gm_mgTraining.mg_lnNode.Remove(); } diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp index b83a6bd..f7ddaaa 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp @@ -62,7 +62,6 @@ void CVideoOptionsMenu::Initialize_t(void) gm_mgApply.mg_pActivatedFunction = NULL; } - void CVideoOptionsMenu::StartMenu(void) { InitVideoOptionsButtons(); diff --git a/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp b/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp index f19fa39..b3cea39 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp @@ -22,18 +22,21 @@ FLOATaabbox2D BoxTitle(void) FLOAT2D(0, _fBigSizeJ), FLOAT2D(1, _fBigSizeJ)); } + FLOATaabbox2D BoxNoUp(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(_fNoStartI+fRow*(_fNoSizeI+_fNoSpaceI), _fNoUpStartJ), FLOAT2D(_fNoStartI+fRow*(_fNoSizeI+_fNoSpaceI)+_fNoSizeI, _fNoUpStartJ+_fNoSizeJ)); } + FLOATaabbox2D BoxNoDown(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(_fNoStartI+fRow*(_fNoSizeI+_fNoSpaceI), _fNoDownStartJ), FLOAT2D(_fNoStartI+fRow*(_fNoSizeI+_fNoSpaceI)+_fNoSizeI, _fNoDownStartJ+_fNoSizeJ)); } + FLOATaabbox2D BoxBigRow(FLOAT fRow) { return FLOATaabbox2D( @@ -46,6 +49,7 @@ FLOATaabbox2D BoxBigLeft(FLOAT fRow) FLOAT2D(0.1f, _fBigStartJ+fRow*_fBigSizeJ), FLOAT2D(0.45f, _fBigStartJ+(fRow+1)*_fBigSizeJ)); } + FLOATaabbox2D BoxBigRight(FLOAT fRow) { return FLOATaabbox2D( @@ -66,48 +70,56 @@ FLOATaabbox2D BoxVersion(void) FLOAT2D(0.05f, _fBigStartJ+-5.5f*_fMediumSizeJ), FLOAT2D(0.97f, _fBigStartJ+(-5.5f+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxMediumRow(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(0.05f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.95f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxKeyRow(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(0.15f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.85f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxMediumLeft(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(0.05f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.45f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxPlayerSwitch(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(0.05f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.65f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxMediumMiddle(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(_fNoStartI, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.95f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxPlayerEdit(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(_fNoStartI, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.65f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxMediumRight(FLOAT fRow) { return FLOATaabbox2D( FLOAT2D(0.55f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.95f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxPopup(void) { return FLOATaabbox2D(FLOAT2D(0.2f, 0.4f), FLOAT2D(0.8f, 0.6f)); @@ -119,30 +131,35 @@ FLOATaabbox2D BoxPopupLabel(void) FLOAT2D(0.22f, 0.43f), FLOAT2D(0.78f, 0.49f)); } + FLOATaabbox2D BoxPopupYesLarge(void) { return FLOATaabbox2D( FLOAT2D(0.30f, 0.51f), FLOAT2D(0.48f, 0.57f)); } + FLOATaabbox2D BoxPopupNoLarge(void) { return FLOATaabbox2D( FLOAT2D(0.52f, 0.51f), FLOAT2D(0.70f, 0.57f)); } + FLOATaabbox2D BoxPopupYesSmall(void) { return FLOATaabbox2D( FLOAT2D(0.30f, 0.54f), FLOAT2D(0.48f, 0.59f)); } + FLOATaabbox2D BoxPopupNoSmall(void) { return FLOATaabbox2D( FLOAT2D(0.52f, 0.54f), FLOAT2D(0.70f, 0.59f)); } + FLOATaabbox2D BoxChangePlayer(INDEX iTable, INDEX iButton) { return FLOATaabbox2D( @@ -205,6 +222,7 @@ FLOATaabbox2D BoxLeftColumn(FLOAT fRow) FLOAT2D(0.02f, _fBigStartJ+fRow*_fMediumSizeJ), FLOAT2D(0.15f, _fBigStartJ+(fRow+1)*_fMediumSizeJ)); } + FLOATaabbox2D BoxPlayerModel(void) { extern INDEX sam_bWideScreen; @@ -214,10 +232,12 @@ FLOATaabbox2D BoxPlayerModel(void) return FLOATaabbox2D(FLOAT2D(0.68f, 0.235f), FLOAT2D(0.68f+(0.965f-0.68f)*9.0f/12.0f, 0.78f)); } } + FLOATaabbox2D BoxPlayerModelName(void) { return FLOATaabbox2D(FLOAT2D(0.68f, 0.78f), FLOAT2D(0.965f, 0.82f)); } + PIXaabbox2D FloatBoxToPixBox(const CDrawPort *pdp, const FLOATaabbox2D &boxF) { PIX pixW = pdp->GetWidth(); @@ -243,6 +263,7 @@ void SetFontTitle(CDrawPort *pdp) pdp->SetTextScaling( 1.25f * pdp->GetWidth() /640 *pdp->dp_fWideAdjustment); pdp->SetTextAspect(1.0f); } + extern CFontData _fdBig; void SetFontBig(CDrawPort *pdp) { @@ -250,6 +271,7 @@ void SetFontBig(CDrawPort *pdp) pdp->SetTextScaling( 1.0f * pdp->GetWidth() /640 *pdp->dp_fWideAdjustment); pdp->SetTextAspect(1.0f); } + extern CFontData _fdMedium; void SetFontMedium(CDrawPort *pdp) { @@ -257,6 +279,7 @@ void SetFontMedium(CDrawPort *pdp) pdp->SetTextScaling( 1.0f * pdp->GetWidth() /640 *pdp->dp_fWideAdjustment); pdp->SetTextAspect(0.75f); } + void SetFontSmall(CDrawPort *pdp) { pdp->SetFont( _pfdConsoleFont); diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index ee2bb8f..b80758e 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -176,18 +176,21 @@ int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2) const CFileInfo &fi2 = **(CFileInfo **)elem2; return strcmp(fi1.fi_strName, fi2.fi_strName); } + int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2) { const CFileInfo &fi1 = **(CFileInfo **)elem1; const CFileInfo &fi2 = **(CFileInfo **)elem2; return -strcmp(fi1.fi_strName, fi2.fi_strName); } + int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2) { const CFileInfo &fi1 = **(CFileInfo **)elem1; const CFileInfo &fi2 = **(CFileInfo **)elem2; return strcmp(fi1.fi_fnFile, fi2.fi_fnFile); } + int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2) { const CFileInfo &fi1 = **(CFileInfo **)elem1; From 0d8f7da3186d9f0c90657980d50792ec99c231fe Mon Sep 17 00:00:00 2001 From: RocketersAlex Date: Wed, 30 Mar 2016 16:54:30 +0300 Subject: [PATCH 47/62] Fixed SeriousSam and GameAgent bugs --- Sources/Engine/Classes/PlayerEntity.es | 4 +- Sources/Engine/GameAgent/GameAgent.cpp | 1014 +++++++++++++++++++++++- Sources/Engine/GameAgent/GameAgent.h | 6 + Sources/Engine/GameAgent/MSLegacy.h | 185 +++++ Sources/Engine/Network/Network.cpp | 66 +- Sources/Engine/Network/Network.h | 3 +- Sources/EntitiesMP/Player.es | 19 +- Sources/SeriousSam/SeriousSam.cpp | 40 +- 8 files changed, 1254 insertions(+), 83 deletions(-) create mode 100644 Sources/Engine/GameAgent/MSLegacy.h diff --git a/Sources/Engine/Classes/PlayerEntity.es b/Sources/Engine/Classes/PlayerEntity.es index ef534b7..b53f8de 100644 --- a/Sources/Engine/Classes/PlayerEntity.es +++ b/Sources/Engine/Classes/PlayerEntity.es @@ -111,7 +111,9 @@ functions: // provide info for GameAgent enumeration export virtual void GetGameAgentPlayerInfo( INDEX iPlayer, CTString &strOut) { }; - + // provide info for MSLegacy enumeration + export virtual void GetMSLegacyPlayerInf( INDEX iPlayer, CTString &strOut) { }; + // create a checksum value for sync-check export void ChecksumForSync(ULONG &ulCRC, INDEX iExtensiveSyncCheck) { diff --git a/Sources/Engine/GameAgent/GameAgent.cpp b/Sources/Engine/GameAgent/GameAgent.cpp index 156c289..b104756 100644 --- a/Sources/Engine/GameAgent/GameAgent.cpp +++ b/Sources/Engine/GameAgent/GameAgent.cpp @@ -17,21 +17,92 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include - #include - #include #include #include - #include #include #include - #include - #include +#include + +#define MSPORT 28900 +#define BUFFSZ 8192 +#define BUFFSZSTR 4096 + +#define PCK "\\gamename\\%s" \ + "\\enctype\\%d" \ + "\\validate\\%s" \ + "\\final\\" \ + "\\queryid\\1.1" \ + "\\list\\cmp" \ + "\\gamename\\%s" \ + "\\gamever\\1.05" \ + "%s%s" \ + "\\final\\" + +#define PCKQUERY "\\gamename\\%s" \ + "\\gamever\\%s" \ + "\\location\\%s" \ + "\\hostname\\%s" \ + "\\hostport\\%hu" \ + "\\mapname\\%s" \ + "\\gametype\\%s" \ + "\\activemod\\" \ + "\\numplayers\\%d" \ + "\\maxplayers\\%d" \ + "\\gamemode\\openplaying" \ + "\\difficulty\\Normal" \ + "\\friendlyfire\\%d" \ + "\\weaponsstay\\%d" \ + "\\ammosstay\\%d" \ + "\\healthandarmorstays\\%d" \ + "\\allowhealth\\%d" \ + "\\allowarmor\\%d" \ + "\\infinitearmor\\%d" \ + "\\respawninplace\\%d" \ + "\\password\\0" \ + "\\vipplayers\\1" + +#define PCKINFO "\\hostname\\%s" \ + "\\hostport\\%hu" \ + "\\mapname\\%s" \ + "\\gametype\\%s" \ + "\\numplayers\\%d" \ + "\\maxplayers\\%d" \ + "\\gamemode\\openplaying" \ + "\\final\\" \ + "\\queryid\\8.1" + +#define PCKBASIC "\\gamename\\%s" \ + "\\gamever\\%s" \ + "\\location\\EU" \ + "\\final\\" \ + "\\queryid\\1.1" + + +#define CHK_BUFFSTRLEN if((iLen < 0) || (iLen > BUFFSZSTR)) { \ + CPrintF("\n" \ + "Error: the used buffer is smaller than how much needed (%d < %d)\n" \ + "\n", iLen, BUFFSZSTR); \ + if(cMsstring) free (cMsstring); \ + closesocket(_sock); \ + WSACleanup(); \ + } + +#define CLEANMSSRUFF1 closesocket(_sock); \ + WSACleanup(); + +#define CLEANMSSRUFF2 if(cResponse) free (cResponse); \ + closesocket(_sock); \ + WSACleanup(); + +#define SERIOUSSAMKEY "AKbna4\0" +#define SERIOUSSAMSTR "serioussamse" + #pragma comment(lib, "wsock32.lib") WSADATA* _wsaData = NULL; @@ -42,15 +113,27 @@ sockaddr_in* _sinLocal = NULL; sockaddr_in _sinFrom; CHAR* _szBuffer = NULL; +CHAR* _szIPPortBuffer = NULL; +INT _iIPPortBufferLen = 0; +CHAR* _szIPPortBufferLocal = NULL; +INT _iIPPortBufferLocalLen = 0; BOOL _bServer = FALSE; -static BOOL _bInitialized = FALSE; +BOOL _bInitialized = FALSE; +BOOL _bActivated = FALSE; +BOOL _bActivatedLocal = FALSE; TIME _tmLastHeartbeat = 0; CDynamicStackArray ga_asrRequests; -extern CTString ga_strServer = "master1.croteam.org"; +//extern CTString ga_strServer = "master1.croteam.org"; +CTString ga_strServer = "master1.42amsterdam.net"; +//extern CTString ga_strMSLegacy = "master1.croteam.org"; +CTString ga_strMSLegacy = "42amsterdam.net"; + +BOOL ga_bMSLegacy = TRUE; +//BOOL ga_bMSLegacy = FALSE; void _uninitWinsock(); void _initializeWinsock(void) @@ -66,7 +149,7 @@ void _initializeWinsock(void) if(_szBuffer != NULL) { delete[] _szBuffer; } - _szBuffer = new char[1400]; + _szBuffer = new char[2050]; // start WSA if(WSAStartup(MAKEWORD(2, 2), _wsaData) != 0) { @@ -76,8 +159,12 @@ void _initializeWinsock(void) } // get the host IP - hostent* phe = gethostbyname(ga_strServer); - + hostent* phe; + if(!ga_bMSLegacy) { + phe = gethostbyname(ga_strServer); + } else { + phe = gethostbyname(ga_strMSLegacy); + } // if we couldn't resolve the hostname if(phe == NULL) { // report and stop @@ -90,7 +177,11 @@ void _initializeWinsock(void) _sin = new sockaddr_in; _sin->sin_family = AF_INET; _sin->sin_addr.s_addr = *(ULONG*)phe->h_addr_list[0]; - _sin->sin_port = htons(9005); + if(!ga_bMSLegacy) { + _sin->sin_port = htons(9005); + } else { + _sin->sin_port = htons(27900); + } // create the socket _socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); @@ -149,7 +240,7 @@ void _sendPacket(const char* szBuffer) int _recvPacket() { int fromLength = sizeof(_sinFrom); - return recvfrom(_socket, _szBuffer, 1024, 0, (sockaddr*)&_sinFrom, &fromLength); + return recvfrom(_socket, _szBuffer, 2048, 0, (sockaddr*)&_sinFrom, &fromLength); } CTString _getGameModeName(INDEX iGameMode) @@ -173,14 +264,18 @@ const CSessionProperties* _getSP() void _sendHeartbeat(INDEX iChallenge) { CTString strPacket; - strPacket.PrintF("0;challenge;%d;players;%d;maxplayers;%d;level;%s;gametype;%s;version;%s;product;%s", - iChallenge, - _pNetwork->ga_srvServer.GetPlayersCount(), - _pNetwork->ga_sesSessionState.ses_ctMaxPlayers, - _pNetwork->ga_World.wo_strName, - _getGameModeName(_getSP()->sp_gmGameMode), - _SE_VER_STRING, - _pShell->GetString("sam_strGameName")); + if (!ga_bMSLegacy) { + strPacket.PrintF("0;challenge;%d;players;%d;maxplayers;%d;level;%s;gametype;%s;version;%s;product;%s", + iChallenge, + _pNetwork->ga_srvServer.GetPlayersCount(), + _pNetwork->ga_sesSessionState.ses_ctMaxPlayers, + _pNetwork->ga_World.wo_strName, + _getGameModeName(_getSP()->sp_gmGameMode), + _SE_VER_STRING, + _pShell->GetString("sam_strGameName")); + } else { + strPacket.PrintF("\\heartbeat\\%hu\\gamename\\serioussamse", (_pShell->GetINDEX("net_iPort") + 1)); + } _sendPacket(strPacket); _tmLastHeartbeat = _pTimer->GetRealTimeTick(); } @@ -209,7 +304,14 @@ extern void GameAgent_ServerInit(void) // join _bServer = TRUE; _bInitialized = TRUE; - _sendPacket("q"); + + if (!ga_bMSLegacy) { + _sendPacket("q"); + } else { + CTString strPacket; + strPacket.PrintF("\\heartbeat\\%hu\\gamename\\serioussamse", (_pShell->GetINDEX("net_iPort") + 1)); + _sendPacket(strPacket); + } } /// Let GameAgent know that the server has stopped. @@ -217,7 +319,14 @@ extern void GameAgent_ServerEnd(void) { if (!_bInitialized) { return; - } + } + + if (ga_bMSLegacy) { + CTString strPacket; + strPacket.PrintF("\\heartbeat\\%hu\\gamename\\serioussamse\\statechanged", (_pShell->GetINDEX("net_iPort") + 1)); + _sendPacket(strPacket); + } + _uninitWinsock(); _bInitialized = FALSE; } @@ -231,6 +340,7 @@ extern void GameAgent_ServerUpdate(void) int iLen = _recvPacket(); if(iLen > 0) { + if (!ga_bMSLegacy) { // check the received packet ID switch(_szBuffer[0]) { case 1: // server join response @@ -270,7 +380,7 @@ extern void GameAgent_ServerUpdate(void) plt.plt_penPlayerEntity->GetGameAgentPlayerInfo(plb.plb_Index, strPlayer); // if we don't have enough space left for the next player - if(strlen(strPacket) + strlen(strPlayer) > 1024) { + if(strlen(strPacket) + strlen(strPlayer) > 2048) { // send the packet _sendPacketTo(strPacket, &_sinFrom); strPacket = ""; @@ -293,52 +403,439 @@ extern void GameAgent_ServerUpdate(void) _sendPacketTo(strPacket, &_sinFrom); break; } - } - } + } + } else { - // send a heartbeat every 150 seconds - if(_pTimer->GetRealTimeTick() - _tmLastHeartbeat >= 150.0f) { + _szBuffer[iLen] = 0; + char *sPch1 = NULL, *sPch2 = NULL, *sPch3 = NULL, *sPch4 = NULL; + sPch1 = strstr(_szBuffer, "\\status\\"); + sPch2 = strstr(_szBuffer, "\\info\\"); + sPch3 = strstr(_szBuffer, "\\basic\\"); + sPch4 = strstr(_szBuffer, "\\players\\"); + if(sPch1) { + CTString strPacket; + CTString strLocation; + strLocation = _pShell->GetString("net_strLocalHost"); + if ( strLocation == ""){ + strLocation = "Heartland"; + } + strPacket.PrintF( PCKQUERY, + _pShell->GetString("sam_strGameName"), + _SE_VER_STRING, + //_pShell->GetString("net_strLocalHost"), + strLocation, + _pShell->GetString("gam_strSessionName"), + _pShell->GetINDEX("net_iPort"), + _pNetwork->ga_World.wo_strName, + _getGameModeName(_getSP()->sp_gmGameMode), + _pNetwork->ga_srvServer.GetPlayersCount(), + _pNetwork->ga_sesSessionState.ses_ctMaxPlayers, + _pShell->GetINDEX("gam_bFriendlyFire"), + _pShell->GetINDEX("gam_bWeaponsStay"), + _pShell->GetINDEX("gam_bAmmoStays"), + _pShell->GetINDEX("gam_bHealthArmorStays"), + _pShell->GetINDEX("gam_bAllowHealth"), + _pShell->GetINDEX("gam_bAllowArmor"), + _pShell->GetINDEX("gam_bInfiniteAmmo"), + _pShell->GetINDEX("gam_bRespawnInPlace")); + + for(INDEX i=0; i<_pNetwork->ga_srvServer.GetPlayersCount(); i++) { + CPlayerBuffer &plb = _pNetwork->ga_srvServer.srv_aplbPlayers[i]; + CPlayerTarget &plt = _pNetwork->ga_sesSessionState.ses_apltPlayers[i]; + if(plt.plt_bActive) { + CTString strPlayer; + plt.plt_penPlayerEntity->GetMSLegacyPlayerInf(plb.plb_Index, strPlayer); + + // if we don't have enough space left for the next player + if(strlen(strPacket) + strlen(strPlayer) > 2048) { + // send the packet + _sendPacketTo(strPacket, &_sinFrom); + strPacket = ""; + } + strPacket += strPlayer; + } + } + + strPacket += "\\final\\\\queryid\\333.1"; + _sendPacketTo(strPacket, &_sinFrom); + + } else if (sPch2){ + + CTString strPacket; + strPacket.PrintF( PCKINFO, + _pShell->GetString("gam_strSessionName"), + _pShell->GetINDEX("net_iPort"), + _pNetwork->ga_World.wo_strName, + _getGameModeName(_getSP()->sp_gmGameMode), + _pNetwork->ga_srvServer.GetPlayersCount(), + _pNetwork->ga_sesSessionState.ses_ctMaxPlayers); + _sendPacketTo(strPacket, &_sinFrom); + + } else if (sPch3){ + + CTString strPacket; + CTString strLocation; + strLocation = _pShell->GetString("net_strLocalHost"); + if ( strLocation == ""){ + strLocation = "Heartland"; + } + strPacket.PrintF( PCKBASIC, + _pShell->GetString("sam_strGameName"), + _SE_VER_STRING, + //_pShell->GetString("net_strLocalHost")); + strLocation); + _sendPacketTo(strPacket, &_sinFrom); + + } else if (sPch4){ + + // send the player status response + CTString strPacket; + strPacket = ""; + for(INDEX i=0; i<_pNetwork->ga_srvServer.GetPlayersCount(); i++) { + CPlayerBuffer &plb = _pNetwork->ga_srvServer.srv_aplbPlayers[i]; + CPlayerTarget &plt = _pNetwork->ga_sesSessionState.ses_apltPlayers[i]; + if(plt.plt_bActive) { + CTString strPlayer; + plt.plt_penPlayerEntity->GetMSLegacyPlayerInf(plb.plb_Index, strPlayer); + + // if we don't have enough space left for the next player + if(strlen(strPacket) + strlen(strPlayer) > 2048) { + // send the packet + _sendPacketTo(strPacket, &_sinFrom); + strPacket = ""; + } + + strPacket += strPlayer; + } + } + + strPacket += "\\final\\\\queryid\\6.1"; + _sendPacketTo(strPacket, &_sinFrom); + + } else { + CPrintF("Unknown query server response!\n"); + return; + } + } + } + + // send a heartbeat every 150 seconds + if(_pTimer->GetRealTimeTick() - _tmLastHeartbeat >= 150.0f) { _sendHeartbeat(0); - } + } } /// Notify GameAgent that the server state has changed. extern void GameAgent_ServerStateChanged(void) { - if (_bInitialized) { + if (!_bInitialized) { + return; + } + if (!ga_bMSLegacy) { _sendPacket("u"); + } else { + CTString strPacket; + strPacket.PrintF("\\heartbeat\\%hu\\gamename\\serioussamse\\statechanged", (_pShell->GetINDEX("net_iPort") + 1)); + _sendPacket(strPacket); } } /// Request serverlist enumeration. extern void GameAgent_EnumTrigger(BOOL bInternet) { - if (!_bInitialized) { + + if ( _pNetwork->ga_bEnumerationChange ) { return; } - // make sure that there are no requests still stuck in buffer - ga_asrRequests.Clear(); + + if ( !bInternet && ga_bMSLegacy) { + // make sure that there are no requests still stuck in buffer + ga_asrRequests.Clear(); + // we're not a server + _bServer = FALSE; + _pNetwork->ga_strEnumerationStatus = "."; + + WORD _wsaRequested; + WSADATA wsaData; + PHOSTENT _phHostinfo; + ULONG _uIP,*_pchIP = &_uIP; + USHORT _uPort,*_pchPort = &_uPort; + INT _iLen; + char _cName[256],*_pch,_strFinal[8] = {0}; - // we're not a server - _bServer = FALSE; + struct in_addr addr; - // send enumeration packet to masterserver - _sendPacket("e"); - _setStatus(""); + // make the buffer that we'll use for packet reading + if(_szIPPortBufferLocal != NULL) { + return; + } + _szIPPortBufferLocal = new char[1024]; + + // start WSA + _wsaRequested = MAKEWORD( 2, 2 ); + if( WSAStartup(_wsaRequested, &wsaData) != 0) { + CPrintF("Error initializing winsock!\n"); + if(_szIPPortBufferLocal != NULL) { + delete[] _szIPPortBufferLocal; + } + _szIPPortBufferLocal = NULL; + _uninitWinsock(); + _bInitialized = FALSE; + _pNetwork->ga_bEnumerationChange = FALSE; + _pNetwork->ga_strEnumerationStatus = ""; + WSACleanup(); + return; + } + + _pch = _szIPPortBufferLocal; + _iLen = 0; + strcpy(_strFinal,"\\final\\"); + + if( gethostname ( _cName, sizeof(_cName)) == 0) + { + if((_phHostinfo = gethostbyname(_cName)) != NULL) + { + int _iCount = 0; + while(_phHostinfo->h_addr_list[_iCount]) + { + addr.s_addr = *(u_long *) _phHostinfo->h_addr_list[_iCount]; + _uIP = htonl(addr.s_addr); + + for (UINT uPort = 25601; uPort < 25622; ++uPort){ + _uPort = htons(uPort); + memcpy(_pch,_pchIP,4); + _pch +=4; + _iLen +=4; + memcpy(_pch,_pchPort,2); + _pch +=2; + _iLen +=2; + } + ++_iCount; + } + memcpy(_pch,_strFinal, 7); + _pch +=7; + _iLen +=7; + _pch[_iLen] = 0x00; + } + } + _iIPPortBufferLocalLen = _iLen; + + _bActivatedLocal = TRUE; + _bInitialized = TRUE; + _initializeWinsock(); + return; + + } else { + + if (!ga_bMSLegacy) { + // make sure that there are no requests still stuck in buffer + ga_asrRequests.Clear(); + // we're not a server + _bServer = FALSE; + // Initialization + _bInitialized = TRUE; + // send enumeration packet to masterserver + _sendPacket("e"); + _setStatus("."); + } + else + { /* MSLegacy */ + // make sure that there are no requests still stuck in buffer + ga_asrRequests.Clear(); + // we're not a server + _bServer = FALSE; + _pNetwork->ga_strEnumerationStatus = "."; + + struct sockaddr_in peer; + + SOCKET _sock = NULL; + u_int uiMSIP; + int iErr, + iLen, + iDynsz, + iEnctype = 0; + u_short usMSport = MSPORT; + + u_char ucGamekey[] = {SERIOUSSAMKEY}, + ucGamestr[] = {SERIOUSSAMSTR}, + *ucSec = NULL, + *ucKey = NULL; + + char *cFilter = "", + *cWhere = "", + cMS[128] = {0}, + *cResponse = NULL, + *cMsstring = NULL, + *cSec = NULL; + + + strcpy(cMS,ga_strMSLegacy); + + WSADATA wsadata; + if(WSAStartup(MAKEWORD(2,2), &wsadata) != 0) { + CPrintF("Error initializing winsock!\n"); + return; + } + +/* Open a socket and connect to the Master server */ + + peer.sin_addr.s_addr = uiMSIP = resolv(cMS); + peer.sin_port = htons(usMSport); + peer.sin_family = AF_INET; + + _sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + if(_sock < 0) { + CPrintF("Error creating TCP socket!\n"); + WSACleanup(); + return; + } + if(connect(_sock, (struct sockaddr *)&peer, sizeof(peer)) < 0) { + CPrintF("Error connecting to TCP socket!\n"); + CLEANMSSRUFF1; + return; + } + +/* Allocate memory for a buffer and get a pointer to it */ + + cResponse = (char*) malloc(BUFFSZSTR + 1); + if(!cResponse) { + CPrintF("Error initializing memory buffer!\n"); + CLEANMSSRUFF1; + return; + } + +/* Reading response from Master Server - returns the string with the secret key */ + + iLen = 0; + iErr = recv(_sock, (char*)cResponse + iLen, BUFFSZSTR - iLen, 0); + if(iErr < 0) { + CPrintF("Error reading from TCP socket!\n"); + CLEANMSSRUFF2; + return; + } + + iLen += iErr; + cResponse[iLen] = 0x00; + +/* Allocate memory for a buffer and get a pointer to it */ + + ucSec = (u_char*) malloc(BUFFSZSTR + 1); + if(!ucSec) { + CPrintF("Error initializing memory buffer!\n"); + CLEANMSSRUFF2; + return; + } + memcpy ( ucSec, cResponse, BUFFSZSTR); + ucSec[iLen] = 0x00; + +/* Geting the secret key from a string */ + + cSec = strstr(cResponse, "\\secure\\"); + if(!cSec) { + CPrintF("Not valid master server response!\n"); + CLEANMSSRUFF2; + return; + } else { + ucSec += 15; + +/* Creating a key for authentication (Validate key) */ + + ucKey = gsseckey(ucSec, ucGamekey, iEnctype); + } + ucSec -= 15; + if(cResponse) free (cResponse); + if(ucSec) free (ucSec); + +/* Generate a string for the response (to Master Server) with the specified (Validate ucKey) */ + + cMsstring = (char*) malloc(BUFFSZSTR + 1); + if(!cMsstring) { + CPrintF("Not valid master server response!\n"); + CLEANMSSRUFF1; + return; + } + + iLen = _snprintf( + cMsstring, + BUFFSZSTR, + PCK, + ucGamestr, + iEnctype, + ucKey, + ucGamestr, + cWhere, + cFilter); + +/* Check the buffer */ + + CHK_BUFFSTRLEN; + +/* The string sent to master server */ + + if(send(_sock,cMsstring, iLen, 0) < 0){ + CPrintF("Error reading from TCP socket!\n"); + if(cMsstring) free (cMsstring); + CLEANMSSRUFF1; + return; + } + if(cMsstring) free (cMsstring); + + /* Allocate memory for a buffer and get a pointer to it */ + + if(_szIPPortBuffer ) { + CLEANMSSRUFF1; + return; + }; + + _szIPPortBuffer = (char*) malloc(BUFFSZ + 1); + if(!_szIPPortBuffer) { + CPrintF("Error reading from TCP socket!\n"); + CLEANMSSRUFF1; + return; + } + iDynsz = BUFFSZ; + + +/* The received encoded data after sending the string (Validate key) */ + + iLen = 0; + while((iErr = recv(_sock, _szIPPortBuffer + iLen, iDynsz - iLen, 0)) > 0) { + iLen += iErr; + if(iLen >= iDynsz) { + iDynsz += BUFFSZ; + _szIPPortBuffer = (char*)realloc(_szIPPortBuffer, iDynsz); + if(!_szIPPortBuffer) { + CPrintF("Error reallocation memory buffer!\n"); + if(_szIPPortBuffer) free (_szIPPortBuffer); + CLEANMSSRUFF1; + return; + } + } + } + CLEANMSSRUFF1; + _iIPPortBufferLen = iLen; + + _bActivated = TRUE; + _bInitialized = TRUE; + _initializeWinsock(); + + } + } } /// GameAgent client update for enumerations. extern void GameAgent_EnumUpdate(void) { + if((_socket == NULL) || (!_bInitialized)) { return; } - int iLen = _recvPacket(); - if(iLen != -1) { + if (!ga_bMSLegacy) { + int iLen = _recvPacket(); + if(iLen != -1) { // null terminate the buffer _szBuffer[iLen] = 0; - switch(_szBuffer[0]) { case 's': { @@ -349,6 +846,8 @@ extern void GameAgent_EnumUpdate(void) UBYTE bFourth; USHORT iPort; }; + _pNetwork->ga_strEnumerationStatus = ""; + sIPPort* pServers = (sIPPort*)(_szBuffer + 1); while(iLen - ((CHAR*)pServers - _szBuffer) >= sizeof(sIPPort)) { sIPPort ip = *pServers; @@ -478,13 +977,448 @@ extern void GameAgent_EnumUpdate(void) break; } } + } else { + /* MSLegacy */ + if(_bActivated) { + HANDLE _hThread; + DWORD _dwThreadId; + + _hThread = CreateThread(NULL, 0, _MS_Thread, 0, 0, &_dwThreadId); + if (_hThread != NULL) { + CloseHandle(_hThread); + } + _bActivated = FALSE; + } + if(_bActivatedLocal) { + HANDLE _hThread; + DWORD _dwThreadId; + + _hThread = CreateThread(NULL, 0, _LocalNet_Thread, 0, 0, &_dwThreadId); + if (_hThread != NULL) { + CloseHandle(_hThread); + } + _bActivatedLocal = FALSE; + } + } } /// Cancel the GameAgent serverlist enumeration. extern void GameAgent_EnumCancel(void) { if (_bInitialized) { + CPrintF("...GameAgent_EnumCancel!\n"); ga_asrRequests.Clear(); _uninitWinsock(); } } + +DWORD WINAPI _MS_Thread(LPVOID lpParam) { + SOCKET _sockudp = NULL; + struct _sIPPort { + UBYTE bFirst; + UBYTE bSecond; + UBYTE bThird; + UBYTE bFourth; + USHORT iPort; + }; + + _setStatus(""); + _sockudp = socket(AF_INET, SOCK_DGRAM, 0); + if (_sockudp == INVALID_SOCKET){ + WSACleanup(); + return -1; + } + + _sIPPort* pServerIP = (_sIPPort*)(_szIPPortBuffer); + while(_iIPPortBufferLen >= 6) { + if(!strncmp((char *)pServerIP, "\\final\\", 7)) { + break; + } + + _sIPPort ip = *pServerIP; + + CTString strIP; + strIP.PrintF("%d.%d.%d.%d", ip.bFirst, ip.bSecond, ip.bThird, ip.bFourth); + + sockaddr_in sinServer; + sinServer.sin_family = AF_INET; + sinServer.sin_addr.s_addr = inet_addr(strIP); + sinServer.sin_port = ip.iPort; + + // insert server status request into container + CServerRequest &sreq = ga_asrRequests.Push(); + sreq.sr_ulAddress = sinServer.sin_addr.s_addr; + sreq.sr_iPort = sinServer.sin_port; + sreq.sr_tmRequestTime = _pTimer->GetHighPrecisionTimer().GetMilliseconds(); + + // send packet to server + sendto(_sockudp,"\\status\\",8,0, + (sockaddr *) &sinServer, sizeof(sinServer)); + + sockaddr_in _sinClient; + int _iClientLength = sizeof(_sinClient); + + fd_set readfds_udp; // declare a read set + struct timeval timeout_udp; // declare a timeval for our timer + int iRet = -1; + + FD_ZERO(&readfds_udp); // zero out the read set + FD_SET(_sockudp, &readfds_udp); // add socket to the read set + timeout_udp.tv_sec = 0; // timeout = 0 seconds + timeout_udp.tv_usec = 50000; // timeout += 0.05 seconds + int _iN = select(_sockudp + 1, &readfds_udp, NULL, NULL, &timeout_udp); + if (_iN > 0) { + /** do recvfrom stuff **/ + iRet = recvfrom(_sockudp, _szBuffer, 2048, 0, (sockaddr*)&_sinClient, &_iClientLength); + FD_CLR(_sockudp, &readfds_udp); + if(iRet != -1 && iRet > 100 && iRet != SOCKET_ERROR) { + // null terminate the buffer + _szBuffer[iRet] = 0; + char *sPch = NULL; + sPch = strstr(_szBuffer, "\\gamename\\serioussamse\\"); + if(!sPch) { + CPrintF("Unknown query server response!\n"); + return -1; + } else { + + CTString strPlayers; + CTString strMaxPlayers; + CTString strLevel; + CTString strGameType; + CTString strVersion; + CTString strGameName; + CTString strSessionName; + + CTString strGamePort; + CTString strServerLocation; + CTString strGameMode; + CTString strActiveMod; + + CHAR* pszPacket = _szBuffer + 1; // we do +1 because the first character is always '\', which we don't care about. + + BOOL bReadValue = FALSE; + CTString strKey; + CTString strValue; + + while(*pszPacket != 0) { + switch(*pszPacket) { + case '\\': + if(strKey != "gamemode") { + if(bReadValue) { + // we're done reading the value, check which key it was + if(strKey == "gamename") { + strGameName = strValue; + } else if(strKey == "gamever") { + strVersion = strValue; + } else if(strKey == "location") { + strServerLocation = strValue; + } else if(strKey == "hostname") { + strSessionName = strValue; + } else if(strKey == "hostport") { + strGamePort = strValue; + } else if(strKey == "mapname") { + strLevel = strValue; + } else if(strKey == "gametype") { + strGameType = strValue; + } else if(strKey == "activemod") { + strActiveMod = strValue; + } else if(strKey == "numplayers") { + strPlayers = strValue; + } else if(strKey == "maxplayers") { + strMaxPlayers = strValue; + } else { + //CPrintF("Unknown GameAgent parameter key '%s'!", strKey); + } + // reset temporary holders + strKey = ""; + strValue = ""; + } + } + bReadValue = !bReadValue; + break; + + default: + // read into the value or into the key, depending where we are + if(bReadValue) { + strValue.InsertChar(strlen(strValue), *pszPacket); + } else { + strKey.InsertChar(strlen(strKey), *pszPacket); + } + break; + } + // move to next character + pszPacket++; + } + + // check if we still have a maxplayers to back up + if(strKey == "gamemode") { + strGameMode = strValue; + } + if(strActiveMod != "") { + strGameName = strActiveMod; + } + + long long tmPing = -1; + // find the request in the request array + for(INDEX i=0; iGetHighPrecisionTimer().GetMilliseconds() - req.sr_tmRequestTime; + ga_asrRequests.Delete(&req); + break; + } + } + + if(tmPing > 0 && tmPing < 2500000) { + // insert the server into the serverlist + CNetworkSession &ns = *new CNetworkSession; + _pNetwork->ga_lhEnumeratedSessions.AddTail(ns.ns_lnNode); + + // add the server to the serverlist + ns.ns_strSession = strSessionName; + ns.ns_strAddress = inet_ntoa(_sinClient.sin_addr) + CTString(":") + CTString(0, "%d", htons(_sinClient.sin_port) - 1); + ns.ns_tmPing = (tmPing / 1000.0f); + ns.ns_strWorld = strLevel; + ns.ns_ctPlayers = atoi(strPlayers); + ns.ns_ctMaxPlayers = atoi(strMaxPlayers); + ns.ns_strGameType = strGameType; + ns.ns_strMod = strGameName; + ns.ns_strVer = strVersion; + } + } + } else { + // find the request in the request array + for(INDEX i=0; iga_bEnumerationChange = FALSE; + WSACleanup(); + return 0; +} + +DWORD WINAPI _LocalNet_Thread(LPVOID lpParam) { + SOCKET _sockudp = NULL; + struct _sIPPort { + UBYTE bFirst; + UBYTE bSecond; + UBYTE bThird; + UBYTE bFourth; + USHORT iPort; + }; + + _sockudp = socket(AF_INET, SOCK_DGRAM, 0); + if (_sockudp == INVALID_SOCKET){ + WSACleanup(); + _pNetwork->ga_strEnumerationStatus = ""; + if(_szIPPortBufferLocal != NULL) { + delete[] _szIPPortBufferLocal; + } + _szIPPortBufferLocal = NULL; + return -1; + } + + _sIPPort* pServerIP = (_sIPPort*)(_szIPPortBufferLocal); + while(_iIPPortBufferLocalLen >= 6) { + if(!strncmp((char *)pServerIP, "\\final\\", 7)) { + break; + } + + _sIPPort ip = *pServerIP; + + CTString strIP; + strIP.PrintF("%d.%d.%d.%d", ip.bFourth, ip.bThird, ip.bSecond, ip.bFirst); + + sockaddr_in sinServer; + sinServer.sin_family = AF_INET; + sinServer.sin_addr.s_addr = inet_addr(strIP); + sinServer.sin_port = ip.iPort; + + // insert server status request into container + CServerRequest &sreq = ga_asrRequests.Push(); + sreq.sr_ulAddress = sinServer.sin_addr.s_addr; + sreq.sr_iPort = sinServer.sin_port; + sreq.sr_tmRequestTime = _pTimer->GetHighPrecisionTimer().GetMilliseconds(); + + // send packet to server + sendto(_sockudp,"\\status\\",8,0, + (sockaddr *) &sinServer, sizeof(sinServer)); + + sockaddr_in _sinClient; + int _iClientLength = sizeof(_sinClient); + + fd_set readfds_udp; // declare a read set + struct timeval timeout_udp; // declare a timeval for our timer + int iRet = -1; + + FD_ZERO(&readfds_udp); // zero out the read set + FD_SET(_sockudp, &readfds_udp); // add socket to the read set + timeout_udp.tv_sec = 0; // timeout = 0 seconds + timeout_udp.tv_usec = 50000; // timeout += 0.05 seconds + int _iN = select(_sockudp + 1, &readfds_udp, NULL, NULL, &timeout_udp); + if (_iN > 0) { + /** do recvfrom stuff **/ + iRet = recvfrom(_sockudp, _szBuffer, 2048, 0, (sockaddr*)&_sinClient, &_iClientLength); + FD_CLR(_sockudp, &readfds_udp); + if(iRet != -1 && iRet > 100 && iRet != SOCKET_ERROR) { + // null terminate the buffer + _szBuffer[iRet] = 0; + char *sPch = NULL; + sPch = strstr(_szBuffer, "\\gamename\\serioussamse\\"); + if(!sPch) { + CPrintF("Unknown query server response!\n"); + if(_szIPPortBufferLocal != NULL) { + delete[] _szIPPortBufferLocal; + } + _szIPPortBufferLocal = NULL; + WSACleanup(); + return -1; + } else { + + CTString strPlayers; + CTString strMaxPlayers; + CTString strLevel; + CTString strGameType; + CTString strVersion; + CTString strGameName; + CTString strSessionName; + + CTString strGamePort; + CTString strServerLocation; + CTString strGameMode; + CTString strActiveMod; + + CHAR* pszPacket = _szBuffer + 1; // we do +1 because the first character is always '\', which we don't care about. + + BOOL bReadValue = FALSE; + CTString strKey; + CTString strValue; + + while(*pszPacket != 0) { + switch(*pszPacket) { + case '\\': + if(strKey != "gamemode") { + if(bReadValue) { + // we're done reading the value, check which key it was + if(strKey == "gamename") { + strGameName = strValue; + } else if(strKey == "gamever") { + strVersion = strValue; + } else if(strKey == "location") { + strServerLocation = strValue; + } else if(strKey == "hostname") { + strSessionName = strValue; + } else if(strKey == "hostport") { + strGamePort = strValue; + } else if(strKey == "mapname") { + strLevel = strValue; + } else if(strKey == "gametype") { + strGameType = strValue; + } else if(strKey == "activemod") { + strActiveMod = strValue; + } else if(strKey == "numplayers") { + strPlayers = strValue; + } else if(strKey == "maxplayers") { + strMaxPlayers = strValue; + } else { + //CPrintF("Unknown GameAgent parameter key '%s'!", strKey); + } + // reset temporary holders + strKey = ""; + strValue = ""; + } + } + bReadValue = !bReadValue; + break; + + default: + // read into the value or into the key, depending where we are + if(bReadValue) { + strValue.InsertChar(strlen(strValue), *pszPacket); + } else { + strKey.InsertChar(strlen(strKey), *pszPacket); + } + break; + } + // move to next character + pszPacket++; + } + + // check if we still have a maxplayers to back up + if(strKey == "gamemode") { + strGameMode = strValue; + } + if(strActiveMod != "") { + strGameName = strActiveMod; + } + + long long tmPing = -1; + // find the request in the request array + for(INDEX i=0; iGetHighPrecisionTimer().GetMilliseconds() - req.sr_tmRequestTime; + ga_asrRequests.Delete(&req); + break; + } + } + + if(tmPing > 0 && tmPing < 2500000) { + // insert the server into the serverlist + _pNetwork->ga_strEnumerationStatus = ""; + CNetworkSession &ns = *new CNetworkSession; + _pNetwork->ga_lhEnumeratedSessions.AddTail(ns.ns_lnNode); + + // add the server to the serverlist + ns.ns_strSession = strSessionName; + ns.ns_strAddress = inet_ntoa(_sinClient.sin_addr) + CTString(":") + CTString(0, "%d", htons(_sinClient.sin_port) - 1); + ns.ns_tmPing = (tmPing / 1000.0f); + ns.ns_strWorld = strLevel; + ns.ns_ctPlayers = atoi(strPlayers); + ns.ns_ctMaxPlayers = atoi(strMaxPlayers); + ns.ns_strGameType = strGameType; + ns.ns_strMod = strGameName; + ns.ns_strVer = strVersion; + } + } + } else { + // find the request in the request array + for(INDEX i=0; iga_bEnumerationChange = FALSE; + _pNetwork->ga_strEnumerationStatus = ""; + WSACleanup(); + return 0; +} \ No newline at end of file diff --git a/Sources/Engine/GameAgent/GameAgent.h b/Sources/Engine/GameAgent/GameAgent.h index 0b79030..835e49a 100644 --- a/Sources/Engine/GameAgent/GameAgent.h +++ b/Sources/Engine/GameAgent/GameAgent.h @@ -20,6 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #endif extern CTString ga_strServer; +extern CTString ga_strMSLegacy; +extern BOOL ga_bMSLegacy; /// Initialize GameAgent. extern void GameAgent_ServerInit(void); @@ -36,6 +38,10 @@ extern void GameAgent_EnumTrigger(BOOL bInternet); extern void GameAgent_EnumUpdate(void); /// Cancel the GameAgent serverlist enumeration. extern void GameAgent_EnumCancel(void); +/// +DWORD WINAPI _MS_Thread(LPVOID lpParam); +/// +DWORD WINAPI _LocalNet_Thread(LPVOID lpParam); /// Server request structure. Primarily used for getting server pings. class CServerRequest { diff --git a/Sources/Engine/GameAgent/MSLegacy.h b/Sources/Engine/GameAgent/MSLegacy.h new file mode 100644 index 0000000..4defdfb --- /dev/null +++ b/Sources/Engine/GameAgent/MSLegacy.h @@ -0,0 +1,185 @@ +/* +GSMSALG 0.3.3 +by Luigi Auriemma +e-mail: aluigi@autistici.org +web: aluigi.org + + +INTRODUCTION +============ +With the name Gsmsalg I define the challenge-response algorithm needed +to query the master servers that use the Gamespy "secure" protocol (like +master.gamespy.com for example). +This algorithm is not only used for this type of query but also in other +situations like the so called "Gamespy Firewall Probe Packet" and the +master server hearbeat that is the challenge string sent by the master +servers of the games that use the Gamespy SDK when game servers want to +be included in the online servers list (UDP port 27900). + + +HOW TO USE +========== +The function needs 4 parameters: +- dst: the destination buffer that will contain the calculated + response. Its length is 4/3 of the challenge size so if the + challenge is 6 bytes long, the response will be 8 bytes long + plus the final NULL byte which is required (to be sure of the + allocated space use 89 bytes or "((len * 4) / 3) + 3") + if this parameter is NULL the function will allocate the + memory for a new one automatically +- src: the source buffer containing the challenge string received + from the server. +- key: the gamekey or any other text string used as algorithm's + key, usually it is the gamekey but "might" be another thing + in some cases. Each game has its unique Gamespy gamekey which + are available here: + http://aluigi.org/papers/gslist.cfg +- enctype: are supported 0 (plain-text used in old games, heartbeat + challenge respond, enctypeX and more), 1 (Gamespy3D) and 2 + (old Gamespy Arcade or something else). + +The return value is a pointer to the destination buffer. + + +EXAMPLE +======= + #include "MSLegacy.h" + + char *dest; + dest = gsseckey( + NULL, // dest buffer, NULL for auto allocation + "ABCDEF", // the challenge received from the server + "kbeafe", // kbeafe of Doom 3 and enctype set to 0 + 0); // enctype 0 + + +LICENSE +======= + Copyright 2004,2005,2006,2007,2008 Luigi Auriemma + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + http://www.gnu.org/licenses/gpl.txt +*/ + +#ifdef PRAGMA_ONCE + #pragma once +#endif + +/* function gsvalfunc */ +unsigned char gsvalfunc(u_char reg) { + if(reg < 0x1a) return u_char (reg + 'A'); + if(reg < 0x34) return u_char (reg + 'G'); + if(reg < 0x3e) return u_char (reg - 4); + if(reg == 0x3e) return u_char('+'); + if(reg == 0x3f) return u_char ('/'); + return u_char(0); +} + +/* function gsseckey */ +unsigned char *gsseckey(u_char *secure, u_char *key, int enctype) { + static u_char validate[9]; + u_char secbuf[7], + buff[256], + *ptr, + *ptrval, + *sec, + *k, + tmp1, + tmp2, + ebx, + i, + ecx, + edx, + edi; + + i = 0; + ptr = buff; + do { *ptr++ = i++; } while(i); /* 256 times */ + + ptr = buff; + k = (unsigned char*) memcpy(secbuf, key, 6); /* good if key is not NULLed */ + k[6] = edx = i = 0; + do { /* 256 times */ + if(!*k) k = secbuf; + edx = *ptr + edx + *k; + /* don't use the XOR exchange optimization!!! */ + /* ptrval is used only for faster code */ + ptrval = buff + edx; + tmp1 = *ptr; + *ptr = *ptrval; + *ptrval = tmp1; + ptr++; k++; i++; + } while(i); + + sec = (unsigned char *) memcpy(secbuf, secure, 6); + sec[6] = edi = ebx = 0; + do { /* 6 times */ + edi = edi + *sec + 1; + ecx = ebx + buff[edi]; + ebx = ecx; + /* don't use the XOR exchange optimization!!! */ + /* ptr and ptrval are used only for faster code */ + ptr = buff + edi; + ptrval = buff + ebx; + tmp1 = *ptr; + *ptr = *ptrval; + *ptrval = tmp1; + ecx = tmp1 + *ptr; + *sec++ ^= buff[ecx]; + } while(*sec); + + if(enctype == 2) { + ptr = key; + sec = secbuf; + do { /* 6 times */ + *sec++ ^= *ptr++; + } while(*sec); + } + + sec = secbuf; + ptrval = validate; + for(i = 0; i < 2; i++) { + tmp1 = *sec++; + tmp2 = *sec++; + *ptrval++ = gsvalfunc(tmp1 >> 2); + *ptrval++ = gsvalfunc(((tmp1 & 3) << 4) + (tmp2 >> 4)); + tmp1 = *sec++; + *ptrval++ = gsvalfunc(((tmp2 & 0xf) << 2) + (tmp1 >> 6)); + *ptrval++ = gsvalfunc(tmp1 & 0x3f); + } + *ptrval = 0x00; + + return(validate); +} + +/* function resolv */ +u_int resolv(char *host) { + struct hostent *hp; + u_int host_ip; + + host_ip = inet_addr(host); + if(host_ip == INADDR_NONE) { + hp = gethostbyname(host); + if(!hp) { + return (NULL); + } else host_ip = *(u_int *)(hp->h_addr); + } + return(host_ip); +} + +/* end functions */ + + diff --git a/Sources/Engine/Network/Network.cpp b/Sources/Engine/Network/Network.cpp index 8b29797..724960d 100644 --- a/Sources/Engine/Network/Network.cpp +++ b/Sources/Engine/Network/Network.cpp @@ -331,7 +331,7 @@ static void NetworkInfo(void) for(INDEX iplb=0; iplb<_pNetwork->ga_srvServer.srv_aplbPlayers.Count(); iplb++) { CPlayerBuffer &plb = _pNetwork->ga_srvServer.srv_aplbPlayers[iplb]; if (plb.plb_Active) { - CPrintF(" %2d(%2d):'%s'@client%2d: (%dact)\n", + CPrintF(" %2d(%2d):'%s'@client%2d: (%dact)\n", iplb, plb.plb_Index, plb.plb_pcCharacter.GetNameForPrinting(), plb.plb_iClient, plb.plb_abReceived.GetCount()); } @@ -341,7 +341,7 @@ static void NetworkInfo(void) CSessionSocket &sso = _pNetwork->ga_srvServer.srv_assoSessions[iSession]; if (sso.sso_bActive) { CPrintF(" %2d:'%s'\n", iSession, _cmiComm.Server_GetClientName(iSession)), - CPrintF(" buffer: %dblk=%dk\n", + CPrintF(" buffer: %dblk=%dk\n", sso.sso_nsBuffer.GetUsedBlocks(), sso.sso_nsBuffer.GetUsedMemory()/1024); CPrintF(" state:"); @@ -359,7 +359,7 @@ static void NetworkInfo(void) CPrintF(" not a server\n"); } CPrintF("Session state:\n"); - CPrintF(" buffer: (%dblk)%dk\n", + CPrintF(" buffer: (%dblk)%dk\n", _pNetwork->ga_sesSessionState.ses_nsGameStream.GetUsedBlocks(), _pNetwork->ga_sesSessionState.ses_nsGameStream.GetUsedMemory()/1024); CPrintF(" last processed tick: %g\n", _pNetwork->ga_sesSessionState.ses_tmLastProcessedTick); @@ -377,11 +377,11 @@ static void NetworkInfo(void) } - if (TIMER_PROFILING) { - CTString strNetProfile; - _pfNetworkProfile.Report(strNetProfile); - CPrintF(strNetProfile); - } + if (TIMER_PROFILING) { + CTString strNetProfile; + _pfNetworkProfile.Report(strNetProfile); + CPrintF(strNetProfile); + } } static void ListPlayers(void) @@ -432,7 +432,7 @@ static void KickByName(const CTString &strName, const CTString &strReason) if (!_pNetwork->IsServer()) { CPrintF( TRANS("Only server can kick people!\n")); return; - } + } for(INDEX iplb=0; iplb<_pNetwork->ga_srvServer.srv_aplbPlayers.Count(); iplb++) { CPlayerBuffer &plb = _pNetwork->ga_srvServer.srv_aplbPlayers[iplb]; if (plb.plb_Active && plb.plb_pcCharacter.GetNameForPrinting().Undecorated().Matches(strName)) { @@ -462,8 +462,8 @@ static void StockInfo(void) INDEX ctCachedShadows=0, ctDynamicShadows=0, ctFlatShadows=0; SLONG slStaticMemory=0, slDynamicMemory=0, slUploadMemory=0; SLONG slShdBytes=0, slSlackMemory=0, slFlatMemory=0; - INDEX ct256=0, ct128=0, ct64=0, ct32=0, ct16=0; - SLONG sl256Memory=0, sl128Memory=0, sl64Memory=0, sl32Memory=0, sl16Memory=0; + INDEX ct256=0, ct128=0, ct64=0, ct32=0, ct16=0; + SLONG sl256Memory=0, sl128Memory=0, sl64Memory=0, sl32Memory=0, sl16Memory=0; if( _pGfx!=NULL) { @@ -533,15 +533,15 @@ static void StockInfo(void) // report shadow layers and world geometry memory usage FOREACHINDYNAMICARRAY( pwo->wo_baBrushes.ba_abrBrushes, CBrush3D, itbr) // for all brush entities in the world - { + { // skip brush without entity - if( itbr->br_penEntity==NULL) continue; + if( itbr->br_penEntity==NULL) continue; // for each mip - FOREACHINLIST( CBrushMip, bm_lnInBrush, itbr->br_lhBrushMips, itbm) - { + FOREACHINLIST( CBrushMip, bm_lnInBrush, itbr->br_lhBrushMips, itbm) + { // for each sector in the brush mip - FOREACHINDYNAMICARRAY( itbm->bm_abscSectors, CBrushSector, itbsc) + FOREACHINDYNAMICARRAY( itbm->bm_abscSectors, CBrushSector, itbsc) { // add sector class memory usage to polygons memory ctSectors++; @@ -564,7 +564,7 @@ static void StockInfo(void) // for each polygon in sector ctPolys += itbsc->bsc_abpoPolygons.Count(); - FOREACHINSTATICARRAY( itbsc->bsc_abpoPolygons, CBrushPolygon, itbpo) { + FOREACHINSTATICARRAY( itbsc->bsc_abpoPolygons, CBrushPolygon, itbpo) { CBrushPolygon &bpo = *itbpo; slPlyBytes += bpo.GetUsedMemory(); // count in the shadow layers (if any) @@ -588,7 +588,7 @@ static void StockInfo(void) const FLOAT fAstBytes = dToMB * _pAnimSetStock->CalculateUsedMemory(); const FLOAT fShaBytes = dToMB * _pShaderStock->CalculateUsedMemory(); const FLOAT fSkaBytes = dToMB * _pSkeletonStock->CalculateUsedMemory(); - + CPrintF("\nStock information:\n"); CPrintF(" Textures: %5d (%5.2f MB)\n", _pTextureStock->GetTotalCount(), fTexBytes); CPrintF(" ShadowMaps: %5d (%5.2f MB)\n", ctCachedShadows, slShdBytes*dToMB); @@ -747,7 +747,7 @@ void CNetworkLibrary::Init(const CTString &strGameID) _pShell->DeclareSymbol("user void RemIPMask(CTString);", &RemIPMask); _pShell->DeclareSymbol("user void AddNameMask(CTString);", &AddNameMask); _pShell->DeclareSymbol("user void RemNameMask(CTString);", &RemNameMask); - + _pShell->DeclareSymbol("user FLOAT dem_tmTimer;", &ga_fDemoTimer); _pShell->DeclareSymbol("user FLOAT dem_fSyncRate;", &ga_fDemoSyncRate); @@ -854,7 +854,7 @@ void CNetworkLibrary::Init(const CTString &strGameID) _pShell->DeclareSymbol("user FLOAT phy_fCollisionCacheAhead;", &phy_fCollisionCacheAhead); _pShell->DeclareSymbol("user FLOAT phy_fCollisionCacheAround;", &phy_fCollisionCacheAround); - + _pShell->DeclareSymbol("persistent user INDEX inp_iKeyboardReadingMethod;", &inp_iKeyboardReadingMethod); _pShell->DeclareSymbol("persistent user INDEX inp_bAllowMouseAcceleration;", &inp_bAllowMouseAcceleration); _pShell->DeclareSymbol("persistent user FLOAT inp_fMouseSensitivity;", &inp_fMouseSensitivity); @@ -874,7 +874,7 @@ void CNetworkLibrary::Init(const CTString &strGameID) _pShell->DeclareSymbol("persistent user FLOAT inp_f2ndMousePrecisionFactor;", &inp_f2ndMousePrecisionFactor); _pShell->DeclareSymbol("persistent user FLOAT inp_f2ndMousePrecisionThreshold;", &inp_f2ndMousePrecisionThreshold); _pShell->DeclareSymbol("persistent user FLOAT inp_f2ndMousePrecisionTimeout;", &inp_f2ndMousePrecisionTimeout); - + _pShell->DeclareSymbol("persistent user INDEX inp_bMsgDebugger;", &inp_bMsgDebugger); _pShell->DeclareSymbol("persistent user INDEX inp_iMButton4Up;", &inp_iMButton4Up); _pShell->DeclareSymbol("persistent user INDEX inp_iMButton4Dn;", &inp_iMButton4Dn); @@ -887,6 +887,8 @@ void CNetworkLibrary::Init(const CTString &strGameID) _pShell->DeclareSymbol("persistent user INDEX wed_bUseGenericTextureReplacement;", &wed_bUseGenericTextureReplacement); _pShell->DeclareSymbol("user CTString ga_strServer;", &ga_strServer); + _pShell->DeclareSymbol("user CTString ga_strMSLegacy;", &ga_strMSLegacy); + _pShell->DeclareSymbol("user INDEX ga_bMSLegacy;", &ga_bMSLegacy); _pShell->DeclareSymbol("INDEX pwoCurrentWorld;", &_pwoCurrentWorld); } @@ -971,7 +973,7 @@ void CNetworkLibrary::AutoAdjustSettings(void) * remember to keep this routine up to date with CNetworkLibrary::Read() */ void CNetworkLibrary::StartPeerToPeer_t(const CTString &strSessionName, - const CTFileName &fnmWorld, ULONG ulSpawnFlags, + const CTFileName &fnmWorld, ULONG ulSpawnFlags, INDEX ctMaxPlayers, BOOL bWaitAllPlayers, void *pvSessionProperties) // throw char * { @@ -1096,7 +1098,7 @@ void CNetworkLibrary::Save_t(const CTFileName &fnmGame) // throw char * if (!ga_IsServer) { throw TRANS("Cannot save game - not a server!\n"); } - + // create the file CTFileStream strmFile; strmFile.Create_t(fnmGame); @@ -1154,7 +1156,7 @@ void CNetworkLibrary::Load_t(const CTFileName &fnmGame) // throw char * // if starting in network if (_cmiComm.IsNetworkEnabled()) { // make default state data for creating deltas - MakeDefaultState(ga_fnmWorld, ga_sesSessionState.ses_ulSpawnFlags, + MakeDefaultState(ga_fnmWorld, ga_sesSessionState.ses_ulSpawnFlags, ga_aubProperties); } // players will be connected later @@ -1619,7 +1621,7 @@ void CNetworkLibrary::ChangeLevel_internal(void) // destroy all entities that will cross level ga_World.DestroyEntities(senToCross); - + // if should remember old levels if (ga_bNextRemember) { // remember current level @@ -1684,7 +1686,7 @@ void CNetworkLibrary::ChangeLevel_internal(void) // copy entities from temporary world into new one CEntitySelection senCrossed; - ga_World.CopyEntities(wldTemp, senInTemp, + ga_World.CopyEntities(wldTemp, senInTemp, senCrossed, CPlacement3D(FLOAT3D(0,0,0), ANGLE3D(0,0,0))); // restore pointers to entities for all active player targets @@ -1803,7 +1805,7 @@ static void SendAdminResponse(ULONG ulAdr, UWORD uwPort, ULONG ulCode, const CTS strLine.OnlyFirstLine(); str.RemovePrefix(strLine); str.DeleteChar(0); - if (strLine.Length()>0) { + if (strLine.Length()>0) { CNetworkMessage nm(MSG_EXTRA); nm<SendBroadcast(nm, ulAdr, uwPort); @@ -2326,7 +2328,7 @@ void CNetworkLibrary::AddNetGraphValue(enum NetGraphEntryType nget, FLOAT fLaten // make default state for a network game extern void NET_MakeDefaultState_t( - const CTFileName &fnmWorld, ULONG ulSpawnFlags, void *pvSessionProperties, + const CTFileName &fnmWorld, ULONG ulSpawnFlags, void *pvSessionProperties, CTStream &strmState) // throw char * { // mute all sounds @@ -2427,7 +2429,7 @@ void CNetworkLibrary::GameInactive(void) FOREVER { CNetworkMessage nmReceived; -//_cmiComm.Broadcast_Update(); +// _cmiComm.Broadcast_Update(); ULONG ulFrom; UWORD uwPort; BOOL bHasMsg = ReceiveBroadcast(nmReceived, ulFrom, uwPort); @@ -2437,11 +2439,11 @@ void CNetworkLibrary::GameInactive(void) break; } - /* This is handled by GameAgent. + /* This is handled by GameAgent. // if requesting enumeration and this is server and enumeration is allowed if (nmReceived.GetType()==MSG_REQ_ENUMSERVERS - && IsServer() + && IsServer() && (ser_bEnumeration && ga_sesSessionState.ses_ctMaxPlayers>1)) { // create response CNetworkMessage nmEnum(MSG_SERVERINFO); @@ -2470,7 +2472,7 @@ void CNetworkLibrary::GameInactive(void) void CNetworkLibrary::InitCRCGather(void) { CRCT_ResetActiveList(); - CRCT_bGatherCRCs = TRUE; + CRCT_bGatherCRCs = TRUE; CRCT_AddFile_t(CTString("Classes\\Player.ecl")); } diff --git a/Sources/Engine/Network/Network.h b/Sources/Engine/Network/Network.h index db99d68..a755fad 100644 --- a/Sources/Engine/Network/Network.h +++ b/Sources/Engine/Network/Network.h @@ -76,7 +76,8 @@ public: INDEX ns_ctMaxPlayers; // max number of players CTString ns_strGameType; // game type CTString ns_strMod; // active mod - CTString ns_strVer; // version + CTString ns_strVer; // version + public: void Copy(const CNetworkSession &nsOriginal); diff --git a/Sources/EntitiesMP/Player.es b/Sources/EntitiesMP/Player.es index 8ea3ed6..d305a03 100644 --- a/Sources/EntitiesMP/Player.es +++ b/Sources/EntitiesMP/Player.es @@ -1956,7 +1956,24 @@ functions: strKey.PrintF("ping_%d\x02%d\x03", iPlayer, INDEX(ceil(en_tmPing*1000.0f))); strOut+=strKey; }; - + + // provide info for MSLegacy enumeration + void GetMSLegacyPlayerInf( INDEX iPlayer, CTString &strOut) + { + CTString strKey; + strKey.PrintF("\\player_%d\\%s", iPlayer, (const char*)GetPlayerName()); + strOut+=strKey; + if (GetSP()->sp_bUseFrags) { + strKey.PrintF("\\frags_%d\\%d", iPlayer, m_psLevelStats.ps_iKills); + strOut+=strKey; + } else { + strKey.PrintF("\\frags_%d\\%d", iPlayer, m_psLevelStats.ps_iScore); + strOut+=strKey; + } + strKey.PrintF("\\ping_%d\\%d", iPlayer, INDEX(ceil(en_tmPing*1000.0f))); + strOut+=strKey; + }; + // check if message is in inbox BOOL HasMessage( const CTFileName &fnmMessage) { diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index f8cb5a6..d18f4d5 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -115,7 +115,7 @@ extern CTString sam_strModName = TRANS("- O P E N S O U R C E -"); #if _SE_DEMO extern CTString sam_strFirstLevel = "Levels\\KarnakDemo.wld"; #else - extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld.wld"; + extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld"; #endif extern CTString sam_strIntroLevel = "Levels\\LevelsMP\\Intro.wld"; extern CTString sam_strGameName = "serioussamse"; @@ -514,8 +514,8 @@ BOOL Init( HINSTANCE hInstance, int nCmdShow, CTString strCmdLine) LoadAndForceTexture(_toLogoEAX, _ptoLogoEAX, CTFILENAME("Textures\\Logo\\LogoEAX.tex")); // !! NOTE !! Re-enable these to allow mod support. - //LoadStringVar(CTString("Data\\Var\\Sam_Version.var"), sam_strVersion); - //LoadStringVar(CTString("Data\\Var\\ModName.var"), sam_strModName); + LoadStringVar(CTString("Data\\Var\\Sam_Version.var"), sam_strVersion); + LoadStringVar(CTString("Data\\Var\\ModName.var"), sam_strModName); CPrintF(TRANS("Serious Sam version: %s\n"), sam_strVersion); CPrintF(TRANS("Active mod: %s\n"), sam_strModName); InitializeMenus(); @@ -612,6 +612,7 @@ void End(void) pvpViewPort = NULL; pdpNormal = NULL; } + CloseMainWindow(); MainWindow_End(); DestroyMenus(); @@ -1199,15 +1200,37 @@ int SubMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int _pInput->DisableInput(); _pGame->StopGame(); + + if (_fnmModToLoad!="") { + + char strCmd [64] = {0}; + char strParam [128] = {0}; + STARTUPINFOA cif; + ZeroMemory(&cif,sizeof(STARTUPINFOA)); + PROCESS_INFORMATION pi; + + strcpy_s(strCmd,"SeriousSam.exe"); + strcpy_s(strParam," +game "); + strcat_s(strParam,_fnmModToLoad.FileName()); + if (_strModServerJoin!="") { + strcat_s(strParam," +connect "); + strcat_s(strParam,_strModServerJoin); + strcat_s(strParam," +quickjoin"); + } + if (CreateProcessA(strCmd,strParam,NULL,NULL,FALSE,CREATE_DEFAULT_ERROR_MODE,NULL,NULL,&cif,&pi) == FALSE) + { + MessageBox(0, L"error launching the Mod!\n", L"Serious Sam", MB_OK|MB_ICONERROR); + } + } // invoke quit screen if needed if( _bQuitScreen && _fnmModToLoad=="") QuitScreenLoop(); - + End(); - return TRUE; } +/* void CheckModReload(void) { if (_fnmModToLoad!="") { @@ -1225,9 +1248,10 @@ void CheckModReload(void) argv[5] = "+quickjoin"; argv[6] = NULL; } + _execv(strCommand, argv); } -} +}*/ void CheckTeaser(void) { @@ -1254,8 +1278,8 @@ int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, CTSTREAM_BEGIN { iResult = SubMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); } CTSTREAM_END; - - CheckModReload(); + + //CheckModReload(); CheckTeaser(); From 36c6eb19c0b56070cb4a06a497180ecbccda3d1f Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 30 Mar 2016 19:23:12 +0300 Subject: [PATCH 48/62] Continue splitting Menu.cpp into multiple files. --- Sources/SeriousSam/GUI/Menus/Menu.cpp | 2286 +---------------- Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 65 + Sources/SeriousSam/GUI/Menus/MenuStuff.h | 7 + Sources/SeriousSam/GUI/Menus/Menu_actions.cpp | 1354 ++++++++++ .../SeriousSam/GUI/Menus/Menu_starters.cpp | 1024 ++++++++ Sources/SeriousSam/GUI/Menus/Menu_starters.h | 67 + Sources/SeriousSam/SeriousSam.vcxproj | 3 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 9 + 8 files changed, 2531 insertions(+), 2284 deletions(-) create mode 100644 Sources/SeriousSam/GUI/Menus/Menu_actions.cpp create mode 100644 Sources/SeriousSam/GUI/Menus/Menu_starters.cpp create mode 100644 Sources/SeriousSam/GUI/Menus/Menu_starters.h diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index f1c862d..ad908ee 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -55,11 +55,11 @@ #include "MVideoOptions.h" #include "MenuStuff.h" +#include "Menu_starters.h" // macros for translating radio button text arrays #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) -extern CMenuGadget *_pmgLastActivatedGadget; extern BOOL bMenuActive; extern BOOL bMenuRendering; extern CTextureObject *_ptoLogoCT; @@ -73,15 +73,6 @@ GameMode _gmMenuGameMode = GM_NONE; GameMode _gmRunningGameMode = GM_NONE; CListHead _lhServers; -static INDEX sam_old_bFullScreenActive; -static INDEX sam_old_iScreenSizeI; -static INDEX sam_old_iScreenSizeJ; -static INDEX sam_old_iDisplayDepth; -static INDEX sam_old_iDisplayAdapter; -static INDEX sam_old_iGfxAPI; -static INDEX sam_old_iVideoSetup; // 0==speed, 1==normal, 2==quality, 3==custom - -ENGINE_API extern INDEX snd_iFormat; extern BOOL IsCDInDrive(void); @@ -122,29 +113,8 @@ void InitActionsForSplitStartMenu(); void InitActionsForVideoOptionsMenu(); void InitActionsForVarMenu(); -// functions to activate when user chose 'yes/no' on confirmation -void (*_pConfimedYes)(void) = NULL; -void (*_pConfimedNo)(void) = NULL; - void FixupBackButton(CGameMenu *pgm); -void ConfirmYes(void) -{ - if (_pConfimedYes!=NULL) { - _pConfimedYes(); - } - void MenuGoToParent(void); - MenuGoToParent(); -} -void ConfirmNo(void) -{ - if (_pConfimedNo!=NULL) { - _pConfimedNo(); - } - void MenuGoToParent(void); - MenuGoToParent(); -} - extern void ControlsMenuOn() { _pGame->SavePlayersAndControls(); @@ -179,7 +149,6 @@ extern BOOL _bMouseUsedLast = FALSE; extern CMenuGadget *_pmgUnderCursor = NULL; extern BOOL _bDefiningKey; extern BOOL _bEditingString; -extern BOOL _bMouseRight = FALSE; // thumbnail for showing in menu CTextureObject _toThumbnail; @@ -246,13 +215,6 @@ CSelectPlayersMenu gmSelectPlayersMenu; // -------- console variable adjustment menu extern BOOL _bVarChanged = FALSE; -INDEX _ctResolutions = 0; -CTString * _astrResolutionTexts = NULL; -CDisplayMode *_admResolutionModes = NULL; -INDEX _ctAdapters = 0; -CTString * _astrAdapterTexts = NULL; - - extern void PlayMenuSound(CSoundData *psd) { if (_psoMenuSound!=NULL && !_psoMenuSound->IsPlaying()) { @@ -260,22 +222,6 @@ extern void PlayMenuSound(CSoundData *psd) } } -CModelObject *AddAttachment_t(CModelObject *pmoParent, INDEX iPosition, - const CTFileName &fnmModel, INDEX iAnim, - const CTFileName &fnmTexture, - const CTFileName &fnmReflection, - const CTFileName &fnmSpecular) -{ - CAttachmentModelObject *pamo = pmoParent->AddAttachmentModel(iPosition); - ASSERT(pamo!=NULL); - pamo->amo_moModelObject.SetData_t(fnmModel); - pamo->amo_moModelObject.PlayAnim(iAnim, AOF_LOOPING); - pamo->amo_moModelObject.mo_toTexture.SetData_t(fnmTexture); - pamo->amo_moModelObject.mo_toReflection.SetData_t(fnmReflection); - pamo->amo_moModelObject.mo_toSpecular.SetData_t(fnmSpecular); - return &pamo->amo_moModelObject; -} - // translate all texts in array for one radio button void TranslateRadioTexts(CTString astr[], INDEX ct) { @@ -284,35 +230,6 @@ void TranslateRadioTexts(CTString astr[], INDEX ct) } } -// make description for a given resolution -CTString GetResolutionDescription(CDisplayMode &dm) -{ - CTString str; - // if dual head - if (dm.IsDualHead()) { - str.PrintF(TRANS("%dx%d double"), dm.dm_pixSizeI/2, dm.dm_pixSizeJ); - // if widescreen - } else if (dm.IsWideScreen()) { - str.PrintF(TRANS("%dx%d wide"), dm.dm_pixSizeI, dm.dm_pixSizeJ); - // otherwise it is normal - } else { - str.PrintF("%dx%d", dm.dm_pixSizeI, dm.dm_pixSizeJ); - } - return str; -} - -// make description for a given resolution -void SetResolutionInList(INDEX iRes, PIX pixSizeI, PIX pixSizeJ) -{ - ASSERT(iRes>=0 && iRes<_ctResolutions); - - CTString &str = _astrResolutionTexts[iRes]; - CDisplayMode &dm = _admResolutionModes[iRes]; - dm.dm_pixSizeI = pixSizeI; - dm.dm_pixSizeJ = pixSizeJ; - str = GetResolutionDescription(dm); -} - // set new thumbnail void SetThumbnail(CTFileName fn) { @@ -338,55 +255,6 @@ void ClearThumbnail(void) _pShell->Execute( "FreeUnusedStock();"); } -// start load/save menus depending on type of game running -void QuickSaveFromMenu() -{ - _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting - StopMenus(TRUE); -} - -void StartCurrentLoadMenu() -{ - if (_gmRunningGameMode==GM_NETWORK) { - void StartNetworkLoadMenu(void); - StartNetworkLoadMenu(); - } else if (_gmRunningGameMode==GM_SPLIT_SCREEN) { - void StartSplitScreenLoadMenu(void); - StartSplitScreenLoadMenu(); - } else { - void StartSinglePlayerLoadMenu(void); - StartSinglePlayerLoadMenu(); - } -} - -void StartCurrentSaveMenu() -{ - if (_gmRunningGameMode==GM_NETWORK) { - void StartNetworkSaveMenu(void); - StartNetworkSaveMenu(); - } else if (_gmRunningGameMode==GM_SPLIT_SCREEN) { - void StartSplitScreenSaveMenu(void); - StartSplitScreenSaveMenu(); - } else { - void StartSinglePlayerSaveMenu(void); - StartSinglePlayerSaveMenu(); - } -} - -void StartCurrentQuickLoadMenu() -{ - if (_gmRunningGameMode==GM_NETWORK) { - void StartNetworkQuickLoadMenu(void); - StartNetworkQuickLoadMenu(); - } else if (_gmRunningGameMode==GM_SPLIT_SCREEN) { - void StartSplitScreenQuickLoadMenu(void); - StartSplitScreenQuickLoadMenu(); - } else { - void StartSinglePlayerQuickLoadMenu(void); - StartSinglePlayerQuickLoadMenu(); - } -} - void StartMenus(char *str) { _tmMenuLastTickDone=_pTimer->GetRealTimeTick(); @@ -467,137 +335,8 @@ BOOL IsMenusInRoot(void) } // ---------------------- When activated functions -void StartSinglePlayerMenu(void) -{ - ChangeToMenu( &gmSinglePlayerMenu); -} -void ExitGame(void) -{ - _bRunning = FALSE; - _bQuitScreen = TRUE; -} -CTFileName _fnmModSelected; -CTString _strModURLSelected; -CTString _strModServerSelected; - -void ExitAndSpawnExplorer(void) -{ - _bRunning = FALSE; - _bQuitScreen = FALSE; - extern CTString _strURLToVisit; - _strURLToVisit = _strModURLSelected; -} - -void ExitConfirm(void) -{ - _pConfimedYes = &ExitGame; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void StopConfirm(void) -{ - extern void StopCurrentGame(void); - _pConfimedYes = &StopCurrentGame; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void ModConnect(void) -{ - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; - _fnmModToLoad = _fnmModSelected; - _strModServerJoin = _strModServerSelected; -} - -void ModConnectConfirm(void) -{ - if (_fnmModSelected==" ") { - _fnmModSelected = CTString("SeriousSam"); - } - CTFileName fnmModPath = "Mods\\"+_fnmModSelected+"\\"; - if (!FileExists(fnmModPath+"BaseWriteInclude.lst") - &&!FileExists(fnmModPath+"BaseWriteExclude.lst") - &&!FileExists(fnmModPath+"BaseBrowseInclude.lst") - &&!FileExists(fnmModPath+"BaseBrowseExclude.lst")) { - extern void ModNotInstalled(void); - ModNotInstalled(); - return; - } - - CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); - _pConfimedYes = &ModConnect; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void SaveConfirm(void) -{ - extern void OnFileSaveOK(void); - _pConfimedYes = &OnFileSaveOK; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void ModLoadYes(void) -{ - extern CTFileName _fnmModToLoad; - _fnmModToLoad = _fnmModSelected; -} - -void ModConfirm(void) -{ - _pConfimedYes = &ModLoadYes; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); - gmConfirmMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void VideoConfirm(void) -{ - // FIXUP: keyboard focus lost when going from full screen to window mode - // due to WM_MOUSEMOVE being sent - _bMouseUsedLast = FALSE; - _pmgUnderCursor = gmConfirmMenu.gm_pmgSelectedByDefault; - - _pConfimedYes = NULL; - void RevertVideoSettings(void); - _pConfimedNo = RevertVideoSettings; - - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); -} - -void CDConfirm(void (*pOk)(void)) -{ - _pConfimedYes = pOk; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); - if (pgmCurrentMenu!=&gmConfirmMenu) { - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu( &gmConfirmMenu); - } -} void StopCurrentGame(void) { @@ -607,135 +346,6 @@ void StopCurrentGame(void) StartMenus(""); } -void StartSinglePlayerNewMenuCustom(void) -{ - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmLevelsMenu; - ChangeToMenu( &gmSinglePlayerNewMenu); -} - -void StartSinglePlayerNewMenu(void) -{ - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; - extern CTString sam_strFirstLevel; - _pGame->gam_strCustomLevel = sam_strFirstLevel; - ChangeToMenu( &gmSinglePlayerNewMenu); -} - -void StartSinglePlayerGame(void) -{ -/* if (!IsCDInDrive()) { - CDConfirm(StartSinglePlayerGame); - return; - } - */ - - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; - _pGame->gm_aiStartLocalPlayers[1] = -1; - _pGame->gm_aiStartLocalPlayers[2] = -1; - _pGame->gm_aiStartLocalPlayers[3] = -1; - - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetSinglePlayerSession(sp); - - if (_pGame->NewGame( _pGame->gam_strCustomLevel, _pGame->gam_strCustomLevel, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SINGLE_PLAYER; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSinglePlayerGame_Tourist(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_TOURIST); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartSinglePlayerGame_Easy(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartSinglePlayerGame_Normal(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartSinglePlayerGame_Hard(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartSinglePlayerGame_Serious(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartSinglePlayerGame_Mental(void) -{ - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME+1); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); -} - -void StartTraining(void) -{ - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; - extern CTString sam_strTrainingLevel; - _pGame->gam_strCustomLevel = sam_strTrainingLevel; - ChangeToMenu( &gmSinglePlayerNewMenu); -} - -void StartTechTest(void) -{ - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; - extern CTString sam_strTechTestLevel; - _pGame->gam_strCustomLevel = sam_strTechTestLevel; - StartSinglePlayerGame_Normal(); -} - -void StartChangePlayerMenuFromOptions(void) -{ - _bPlayerMenuFromSinglePlayer = FALSE; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - gmPlayerProfile.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu( &gmPlayerProfile); -} - -void StartChangePlayerMenuFromSinglePlayer(void) -{ - _iLocalPlayer = -1; - _bPlayerMenuFromSinglePlayer = TRUE; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - gmPlayerProfile.gm_pgmParentMenu = &gmSinglePlayerMenu; - ChangeToMenu( &gmPlayerProfile); -} - -void StartControlsMenuFromPlayer(void) -{ - gmControls.gm_pgmParentMenu = &gmPlayerProfile; - ChangeToMenu( &gmControls); -} - -void StartControlsMenuFromOptions(void) -{ - gmControls.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu( &gmControls); -} - void DisabledFunction(void) { gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; @@ -744,1061 +354,10 @@ void DisabledFunction(void) ChangeToMenu( &gmDisabledFunction); } -void ModNotInstalled(void) -{ - _pConfimedYes = &ExitAndSpawnExplorer; - _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( - TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeSmall(); - ChangeToMenu( &gmConfirmMenu); - -/* - gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; - mgDisabledMenuButton.mg_strText.PrintF( - TRANS("You don't have MOD '%s' installed.\nPlease visit Croteam website for updates."), _fnmModSelected); - mgDisabledTitle.mg_strText = TRANS("MOD REQUIRED"); - _strModURLSelected - ChangeToMenu( &gmDisabledFunction); - */ -} - -CTFileName _fnDemoToPlay; -void StartDemoPlay(void) -{ - _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; - // play the demo - _pGame->gm_strNetworkProvider = "Local"; - if( _pGame->StartDemoPlay( _fnDemoToPlay)) - { - // exit menu and pull up the console - StopMenus(); - if( _pGame->gm_csConsoleState!=CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; - _gmRunningGameMode = GM_DEMO; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectLevelFromSingle(void) -{ - FilterLevels(GetSpawnFlagsForGameType(-1)); - _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu( &gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; -} - -void StartNetworkGame(void) -{ -// _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame( _pGame->gam_strSessionName, fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - // if starting a dedicated server - if (_pGame->gm_MenuSplitScreenCfg==CGame::SSC_DEDICATED) { - // pull down the console - extern INDEX sam_bToggleConsole; - sam_bToggleConsole = TRUE; - } - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void JoinNetworkGame(void) -{ -// _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "TCP/IP Client"; - if (_pGame->JoinGame( CNetworkSession( _pGame->gam_strJoinAddress))) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - if (_pNetwork->ga_strRequiredMod != "") { - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; - char strModName[256] = {0}; - char strModURL[256] = {0}; - _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); - _fnmModSelected = CTString(strModName); - _strModURLSelected = strModURL; - if (_strModURLSelected="") { - _strModURLSelected = "http://www.croteam.com/mods/Old"; - } - _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); - ModConnectConfirm(); - } - _gmRunningGameMode = GM_NONE; - } -} - -void StartHighScoreMenu(void) -{ - gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmHighScoreMenu); -} - -CTFileName _fnGameToLoad; -void StartNetworkLoadGame(void) -{ - -// _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - if (_pGame->LoadGame( _fnGameToLoad)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSplitScreenGame(void) -{ -// _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame( fnWorld.FileName(), fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSplitScreenGameLoad(void) -{ -// _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame( _fnGameToLoad)) - { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromSplit(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitStartMenu; - ChangeToMenu( &gmSelectPlayersMenu); -} - -void StartSelectPlayersMenuFromNetwork(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkStartMenu; - ChangeToMenu( &gmSelectPlayersMenu); -} - -void StartSelectPlayersMenuFromOpen(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; - ChangeToMenu( &gmSelectPlayersMenu); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - gmLoadSaveMenu.gm_bNoEscape = TRUE; - gmLoadSaveMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; - gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; - } -} -void StartSelectPlayersMenuFromServers(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmServersMenu; - ChangeToMenu( &gmSelectPlayersMenu); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - gmLoadSaveMenu.gm_bNoEscape = TRUE; - gmLoadSaveMenu.gm_pgmParentMenu = &gmServersMenu; - gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; - } -} -void StartSelectServerLAN(void) -{ - gmServersMenu.m_bInternet = FALSE; - ChangeToMenu( &gmServersMenu); - gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; -} -void StartSelectServerNET(void) -{ - gmServersMenu.m_bInternet = TRUE; - ChangeToMenu( &gmServersMenu); - gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; -} - -void StartSelectLevelFromSplit(void) -{ - FilterLevels(GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - void StartSplitStartMenu(void); - _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu( &gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmSplitStartMenu; -} -void StartSelectLevelFromNetwork(void) -{ - FilterLevels(GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - void StartNetworkStartMenu(void); - _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu( &gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmNetworkStartMenu; -} - -void StartSelectPlayersMenuFromSplitScreen(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; -// gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitScreenMenu; - ChangeToMenu( &gmSelectPlayersMenu); -} -void StartSelectPlayersMenuFromNetworkLoad(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu( &gmSelectPlayersMenu); -} - -void StartSelectPlayersMenuFromSplitScreenLoad(void) -{ - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu( &gmSelectPlayersMenu); -} - -BOOL LSLoadSinglePlayer(const CTFileName &fnm) -{ - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; - _pGame->gm_aiStartLocalPlayers[1] = -1; - _pGame->gm_aiStartLocalPlayers[2] = -1; - _pGame->gm_aiStartLocalPlayers[3] = -1; - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame(fnm)) { - StopMenus(); - _gmRunningGameMode = GM_SINGLE_PLAYER; - } else { - _gmRunningGameMode = GM_NONE; - } - return TRUE; -} - -BOOL LSLoadNetwork(const CTFileName &fnm) -{ - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromNetworkLoad(); - return TRUE; -} - -BOOL LSLoadSplitScreen(const CTFileName &fnm) -{ - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromSplitScreenLoad(); - return TRUE; -} - -extern BOOL LSLoadDemo(const CTFileName &fnm) -{ - // call local players menu - _fnDemoToPlay = fnm; - StartDemoPlay(); - return TRUE; -} - -BOOL LSLoadPlayerModel(const CTFileName &fnm) -{ - // get base filename - CTString strBaseName = fnm.FileName(); - // set it for current player - CPlayerCharacter &pc = _pGame->gm_apcPlayers[*gmPlayerProfile.gm_piCurrentPlayer]; - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); - strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -BOOL LSLoadControls(const CTFileName &fnm) -{ - try { - ControlsMenuOn(); - _pGame->gm_ctrlControlsExtra.Load_t(fnm); - ControlsMenuOff(); - } catch (char *strError) { - CPrintF("%s", strError); - } - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -BOOL LSLoadAddon(const CTFileName &fnm) -{ - extern INDEX _iAddonExecState; - extern CTFileName _fnmAddonToExec; - _iAddonExecState = 1; - _fnmAddonToExec = fnm; - return TRUE; -} - -BOOL LSLoadMod(const CTFileName &fnm) -{ - _fnmModSelected = fnm; - ModConfirm(); - return TRUE; -} - -BOOL LSLoadCustom(const CTFileName &fnm) -{ - gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); -// LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); -// mgVarTitle.mg_strText.OnlyFirstLine(); - gmVarMenu.gm_fnmMenuCFG = fnm; - gmVarMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu( &gmVarMenu); - return TRUE; -} - -BOOL LSLoadNetSettings(const CTFileName &fnm) -{ - sam_strNetworkSettings = fnm; - CTString strCmd; - strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); - _pShell->Execute(strCmd); - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -// same function for saving in singleplay, network and splitscreen -BOOL LSSaveAnyGame(const CTFileName &fnm) -{ - if( _pGame->SaveGame( fnm)) { - StopMenus(); - return TRUE; - } else { - return FALSE; - } -} - -BOOL LSSaveDemo(const CTFileName &fnm) -{ - // save the demo - if(_pGame->StartDemoRec(fnm)) { - StopMenus(); - return TRUE; - } else { - return FALSE; - } -} - -// save/load menu calling functions -void StartPlayerModelLoadMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Models\\Player\\"); - gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; - gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = &gmPlayerProfile; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartControlsLoadMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Controls\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = &gmControls; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartCustomLoadMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartAddonsLoadMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartModsLoadMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Mods\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".des"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadMod; - - gmLoadSaveMenu.gm_pgmParentMenu = &gmMainMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartNetworkSettingsMenu(void) -{ - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - gmLoadSaveMenu.gm_fnmSelected = sam_strNetworkSettings; - gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; - if (sam_strNetworkSettings=="") { - gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( - "Before joining a network game,\n" - "you have to adjust your connection parameters.\n" - "Choose one option from the list.\n" - "If you have problems with connection, you can adjust\n" - "these parameters again from the Options menu.\n" - ); - } else { - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - } - - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void SetQuickLoadNotes(void) -{ - if (_pShell->GetINDEX("gam_iQuickSaveSlots")<=8) { - gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( - "In-game QuickSave shortcuts:\n" - "F6 - save a new QuickSave\n" - "F9 - load the last QuickSave\n"); - } else { - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - } -} - -void StartSinglePlayerQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_SINGLE_PLAYER; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - SetQuickLoadNotes(); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartSinglePlayerLoadMenu(void) -{ - _gmMenuGameMode = GM_SINGLE_PLAYER; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} -void StartSinglePlayerSaveMenu(void) -{ - if( _gmRunningGameMode != GM_SINGLE_PLAYER) return; - // if no live players - if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount()<=0) { - // do nothing - return; - } - _gmMenuGameMode = GM_SINGLE_PLAYER; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartDemoLoadMenu(void) -{ - _gmMenuGameMode = GM_DEMO; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartDemoSaveMenu(void) -{ - if( _gmRunningGameMode == GM_NONE) return; - _gmMenuGameMode = GM_DEMO; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); - gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartNetworkQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_NETWORK; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - SetQuickLoadNotes(); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartNetworkLoadMenu(void) -{ - _gmMenuGameMode = GM_NETWORK; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartNetworkSaveMenu(void) -{ - if( _gmRunningGameMode != GM_NETWORK) return; - _gmMenuGameMode = GM_NETWORK; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartSplitScreenQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_SPLIT_SCREEN; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - SetQuickLoadNotes(); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartSplitScreenLoadMenu(void) -{ - _gmMenuGameMode = GM_SPLIT_SCREEN; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -void StartSplitScreenSaveMenu(void) -{ - if( _gmRunningGameMode != GM_SPLIT_SCREEN) return; - _gmMenuGameMode = GM_SPLIT_SCREEN; - - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmLoadSaveMenu); -} - -// game options var settings -void StartVarGameOptions(void) -{ - gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu( &gmVarMenu); -} - -void StartSinglePlayerGameOptions(void) -{ - gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - ChangeToMenu( &gmVarMenu); - gmVarMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; -} - -void StartGameOptionsFromNetwork(void) -{ - StartVarGameOptions(); - gmVarMenu.gm_pgmParentMenu = &gmNetworkStartMenu; -} - -void StartGameOptionsFromSplitScreen(void) -{ - StartVarGameOptions(); - gmVarMenu.gm_pgmParentMenu = &gmSplitStartMenu; -} - -// rendering options var settings -void StartRenderingOptionsMenu(void) -{ - gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - gmVarMenu.gm_pgmParentMenu = &gmVideoOptionsMenu; - ChangeToMenu( &gmVarMenu); -} - -void StartCustomizeKeyboardMenu(void) -{ - ChangeToMenu( &gmCustomizeKeyboardMenu); -} - -void StartCustomizeAxisMenu(void) -{ - ChangeToMenu( &gmCustomizeAxisMenu); -} - -void StopRecordingDemo(void) -{ - _pNetwork->StopDemoRec(); - void SetDemoStartStopRecText(void); - SetDemoStartStopRecText(); -} - -void StartOptionsMenu(void) -{ - gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu( &gmOptionsMenu); -} - -static void ResolutionToSize(INDEX iRes, PIX &pixSizeI, PIX &pixSizeJ) -{ - ASSERT(iRes>=0 && iRes<_ctResolutions); - CDisplayMode &dm = _admResolutionModes[iRes]; - pixSizeI = dm.dm_pixSizeI; - pixSizeJ = dm.dm_pixSizeJ; -} - -static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) -{ - for(iRes=0; iRes<_ctResolutions; iRes++) { - CDisplayMode &dm = _admResolutionModes[iRes]; - if (dm.dm_pixSizeI==pixSizeI && dm.dm_pixSizeJ==pixSizeJ) { - return; - } - } - // if none was found, search for default - for(iRes=0; iRes<_ctResolutions; iRes++) { - CDisplayMode &dm = _admResolutionModes[iRes]; - if (dm.dm_pixSizeI==640 && dm.dm_pixSizeJ==480) { - return; - } - } - // if still none found - ASSERT(FALSE); // this should never happen - // return first one - iRes = 0; -} - - -static INDEX APIToSwitch(enum GfxAPIType gat) -{ - switch(gat) { - case GAT_OGL: return 0; -#ifdef SE1_D3D - case GAT_D3D: return 1; -#endif // SE1_D3D - default: ASSERT(FALSE); return 0; - } -} - -static enum GfxAPIType SwitchToAPI(INDEX i) -{ - switch(i) { - case 0: return GAT_OGL; -#ifdef SE1_D3D - case 1: return GAT_D3D; -#endif // SE1_D3D - default: ASSERT(FALSE); return GAT_OGL; - } -} - -static INDEX DepthToSwitch(enum DisplayDepth dd) -{ - switch(dd) { - case DD_DEFAULT: return 0; - case DD_16BIT : return 1; - case DD_32BIT : return 2; - default: ASSERT(FALSE); return 0; - } -} - -static enum DisplayDepth SwitchToDepth(INDEX i) -{ - switch(i) { - case 0: return DD_DEFAULT; - case 1: return DD_16BIT; - case 2: return DD_32BIT; - default: ASSERT(FALSE); return DD_DEFAULT; - } -} - extern void InitVideoOptionsButtons(void); extern void UpdateVideoOptionsButtons(INDEX i); -void RevertVideoSettings(void) -{ - // restore previous variables - sam_bFullScreenActive = sam_old_bFullScreenActive; - sam_iScreenSizeI = sam_old_iScreenSizeI; - sam_iScreenSizeJ = sam_old_iScreenSizeJ; - sam_iDisplayDepth = sam_old_iDisplayDepth; - sam_iDisplayAdapter = sam_old_iDisplayAdapter; - sam_iGfxAPI = sam_old_iGfxAPI; - sam_iVideoSetup = sam_old_iVideoSetup; - // update the video mode - extern void ApplyVideoMode(void); - ApplyVideoMode(); - - // refresh buttons - InitVideoOptionsButtons(); - UpdateVideoOptionsButtons(-1); -} - -void ApplyVideoOptions(void) -{ - sam_old_bFullScreenActive = sam_bFullScreenActive; - sam_old_iScreenSizeI = sam_iScreenSizeI; - sam_old_iScreenSizeJ = sam_iScreenSizeJ; - sam_old_iDisplayDepth = sam_iDisplayDepth; - sam_old_iDisplayAdapter = sam_iDisplayAdapter; - sam_old_iGfxAPI = sam_iGfxAPI; - sam_old_iVideoSetup = sam_iVideoSetup; - - BOOL bFullScreenMode = gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 1; - PIX pixWindowSizeI, pixWindowSizeJ; - ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); - enum GfxAPIType gat = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); - enum DisplayDepth dd = SwitchToDepth(gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected); - const INDEX iAdapter = gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected; - - // setup preferences - extern INDEX _iLastPreferences; - if( sam_iVideoSetup==3) _iLastPreferences = 3; - sam_iVideoSetup = gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected; - - // force fullscreen mode if needed - CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; - if( da.da_ulFlags & DAF_FULLSCREENONLY) bFullScreenMode = TRUE; - if( da.da_ulFlags & DAF_16BITONLY) dd = DD_16BIT; - // force window to always be in default colors - if( !bFullScreenMode) dd = DD_DEFAULT; - - // (try to) set mode - StartNewMode( gat, iAdapter, pixWindowSizeI, pixWindowSizeJ, dd, bFullScreenMode); - - // refresh buttons - InitVideoOptionsButtons(); - UpdateVideoOptionsButtons(-1); - - // ask user to keep or restore - if( bFullScreenMode) VideoConfirm(); -} - -#define VOLUME_STEPS 50 - -extern void RefreshSoundFormat( void) -{ - switch( _pSound->GetFormat()) - { - case CSoundLibrary::SF_NONE: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } - case CSoundLibrary::SF_11025_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } - case CSoundLibrary::SF_22050_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } - case CSoundLibrary::SF_44100_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } - default: gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; - } - - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); - gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); - - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMinPos = 0; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); - gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); - - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMinPos = 0; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); - gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); - - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); - gmAudioOptionsMenu.gm_mgAudioAPITrigger.ApplyCurrentSelection(); - gmAudioOptionsMenu.gm_mgFrequencyTrigger.ApplyCurrentSelection(); -} - -void ApplyAudioOptions(void) -{ - sam_bAutoAdjustAudio = gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected; - if (sam_bAutoAdjustAudio) { - _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); - } else { - _pShell->SetINDEX("snd_iInterface", gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected); - - switch (gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected) - { - case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE) ;break;} - case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16);break;} - case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16);break;} - case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16);break;} - default: _pSound->SetFormat(CSoundLibrary::SF_NONE); - } - } - - RefreshSoundFormat(); - snd_iFormat = _pSound->GetFormat(); -} - -void StartVideoOptionsMenu(void) -{ - ChangeToMenu( &gmVideoOptionsMenu); -} - -void StartAudioOptionsMenu(void) -{ - ChangeToMenu( &gmAudioOptionsMenu); -} - -void StartNetworkMenu(void) -{ - ChangeToMenu( &gmNetworkMenu); -} - -void StartNetworkJoinMenu(void) -{ - ChangeToMenu( &gmNetworkJoinMenu); -} - -void StartNetworkStartMenu(void) -{ - ChangeToMenu( &gmNetworkStartMenu); -} - -void StartNetworkOpenMenu(void) -{ - ChangeToMenu( &gmNetworkOpenMenu); -} - -void StartSplitScreenMenu(void) -{ - ChangeToMenu( &gmSplitScreenMenu); -} - -void StartSplitStartMenu(void) -{ - ChangeToMenu( &gmSplitStartMenu); -} // ------------------------ Global menu function implementation void InitializeMenus(void) @@ -2542,845 +1101,4 @@ void ChangeToMenu( CGameMenu *pgmNewMenu) } FixupBackButton(pgmNewMenu); pgmCurrentMenu = pgmNewMenu; -} - -// ------------------------ CConfirmMenu implementation -void InitActionsForConfirmMenu() { - gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; -} - -// return TRUE if handled -BOOL CConfirmMenu::OnKeyDown(int iVKey) -{ - if (iVKey==VK_ESCAPE || iVKey==VK_RBUTTON) { - ConfirmNo(); - return TRUE; - } - return CGameMenu::OnKeyDown(iVKey); -} - -// ------------------------ CMainMenu implementation -#define CMENU gmMainMenu - -void InitActionsForMainMenu() { - CMENU.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; - CMENU.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; - CMENU.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; - CMENU.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; -#if TECHTESTONLY - CMENU.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; -#else - CMENU.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; -#endif - CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; -} - -#undef CMENU - -// ------------------------ CInGameMenu implementation -#define CMENU gmInGameMenu - -void InitActionsForInGameMenu() { - - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; - CMENU.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; - CMENU.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; - CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; -#if TECHTESTONLY - CMENU.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; -#else - CMENU.gm_mgStop.mg_pActivatedFunction = &StopConfirm; -#endif - CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; -} - -extern void SetDemoStartStopRecText(void) -{ - if( _pNetwork->IsRecordingDemo()) - { - CMENU.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); - CMENU.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); - CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; - } - else - { - CMENU.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); - CMENU.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); - CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; - } -} - -#undef CMENU - -// ------------------------ CSinglePlayerMenu implementation -#define CMENU gmSinglePlayerMenu - -void InitActionsForSinglePlayerMenu() { - CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; -#if _SE_DEMO || TECHTESTONLY - CMENU.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; -#else - CMENU.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; -#endif - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; - CMENU.gm_mgTraining.mg_pActivatedFunction = &StartTraining; - CMENU.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; - CMENU.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; -} - -#undef CMENU - -// ------------------------ CSinglePlayerNewMenu implementation -#define CMENU gmSinglePlayerNewMenu - -void InitActionsForSinglePlayerNewMenu() { - CMENU.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; - CMENU.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; - CMENU.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; - CMENU.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; - CMENU.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; - CMENU.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; -} - -#undef CMENU - -// ------------------------ CPlayerProfileMenu implementation -#define CMENU gmPlayerProfile - -void ChangeCrosshair(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - pps->ps_iCrossHairType = iNew-1; -} - -void ChangeWeaponSelect(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - pps->ps_iWeaponAutoSelect = iNew; -} - -void ChangeWeaponHide(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_HIDEWEAPON; - } else { - pps->ps_ulFlags &= ~PSF_HIDEWEAPON; - } -} - -void Change3rdPerson(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_PREFER3RDPERSON; - } else { - pps->ps_ulFlags &= ~PSF_PREFER3RDPERSON; - } -} - -void ChangeQuotes(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_NOQUOTES; - } else { - pps->ps_ulFlags |= PSF_NOQUOTES; - } -} - -void ChangeAutoSave(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_AUTOSAVE; - } else { - pps->ps_ulFlags &= ~PSF_AUTOSAVE; - } -} - -void ChangeCompDoubleClick(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; - } else { - pps->ps_ulFlags |= PSF_COMPSINGLECLICK; - } -} - -void ChangeViewBobbing(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_NOBOBBING; - } else { - pps->ps_ulFlags |= PSF_NOBOBBING; - } -} - -void ChangeSharpTurning(INDEX iNew) -{ - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_SHARPTURNING; - } else { - pps->ps_ulFlags &= ~PSF_SHARPTURNING; - } -} - -extern void PPOnPlayerSelect(void) -{ - ASSERT(_pmgLastActivatedGadget != NULL); - if (_pmgLastActivatedGadget->mg_bEnabled) { - gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); - } -} - -void InitActionsForPlayerProfileMenu() -{ - CMENU.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; - CMENU.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; - CMENU.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; - CMENU.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; - CMENU.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; - CMENU.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; - CMENU.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; - CMENU.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; - CMENU.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; - CMENU.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; - CMENU.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; -} - -#undef CMENU - -// ------------------------ CControlsMenu implementation -#define CMENU gmControls - -void InitActionsForControlsMenu() -{ - CMENU.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; - CMENU.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; - CMENU.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; -} - -#undef CMENU - -// ------------------------ CCustomizeAxisMenu implementation -#define CMENU gmCustomizeAxisMenu - -void PreChangeAxis(INDEX iDummy) -{ - CMENU.ApplyActionSettings(); -} - -void PostChangeAxis(INDEX iDummy) -{ - CMENU.ObtainActionSettings(); -} - -void InitActionsForCustomizeAxisMenu() { - CMENU.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; - CMENU.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; -} - -#undef CMENU - -// ------------------------ COptionsMenu implementation -#define CMENU gmOptionsMenu - -void InitActionsForOptionsMenu() -{ - CMENU.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; - CMENU.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; - CMENU.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; - CMENU.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; - CMENU.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; - CMENU.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; -} - -#undef CMENU - -// ------------------------ CVideoOptionsMenu implementation -#define CMENU gmVideoOptionsMenu - -static void FillResolutionsList(void) -{ - // free resolutions - if (_astrResolutionTexts!=NULL) { - delete [] _astrResolutionTexts; - } - if (_admResolutionModes!=NULL) { - delete [] _admResolutionModes; - } - _ctResolutions = 0; - - // if window - if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { - // always has fixed resolutions, but not greater than desktop - static PIX apixWidths[][2] = { - 320, 240, - 400, 300, - 512, 384, - 640, 240, - 640, 480, - 720, 540, - 800, 300, - 800, 600, - 960, 720, - 1024, 384, - 1024, 768, - 1152, 864, - 1280, 480, - 1280, 960, - 1600, 600, - 1600,1200, - 1920, 720, - 1920,1440, - 2048, 786, - 2048,1536, - }; - _ctResolutions = ARRAYCOUNT(apixWidths); - _astrResolutionTexts = new CTString [_ctResolutions]; - _admResolutionModes = new CDisplayMode[_ctResolutions]; - extern PIX _pixDesktopWidth; - INDEX iRes=0; - for( ; iRes<_ctResolutions; iRes++) { - if( apixWidths[iRes][0]>_pixDesktopWidth) break; - SetResolutionInList( iRes, apixWidths[iRes][0], apixWidths[iRes][1]); - } - _ctResolutions = iRes; - - // if fullscreen - } else { - // get resolutions list from engine - CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, - SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected), CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected); - // allocate that much - _astrResolutionTexts = new CTString [_ctResolutions]; - _admResolutionModes = new CDisplayMode[_ctResolutions]; - // for each resolution - for( INDEX iRes=0; iRes<_ctResolutions; iRes++) { - // add it to list - SetResolutionInList( iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); - } - } - CMENU.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; - CMENU.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; -} - - -static void FillAdaptersList(void) -{ - if (_astrAdapterTexts!=NULL) { - delete [] _astrAdapterTexts; - } - _ctAdapters = 0; - - INDEX iApi = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); - _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; - _astrAdapterTexts = new CTString[_ctAdapters]; - for(INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { - _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; - } - CMENU.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; - CMENU.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; -} - - -extern void UpdateVideoOptionsButtons(INDEX iSelected) -{ - const BOOL _bVideoOptionsChanged = (iSelected != -1); - - const BOOL bOGLEnabled = _pGfx->HasAPI(GAT_OGL); -#ifdef SE1_D3D - const BOOL bD3DEnabled = _pGfx->HasAPI(GAT_D3D); - ASSERT( bOGLEnabled || bD3DEnabled); -#else // - ASSERT( bOGLEnabled ); -#endif // SE1_D3D - CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected)] - .ga_adaAdapter[CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected]; - - // number of available preferences is higher if video setup is custom - CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; - if (sam_iVideoSetup == 3) CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts++; - - // enumerate adapters - FillAdaptersList(); - - // show or hide buttons - CMENU.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled -#ifdef SE1_D3D - && bD3DEnabled -#endif // SE1_D3D - ; - CMENU.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; - CMENU.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; - // determine which should be visible - CMENU.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; - if( da.da_ulFlags&DAF_FULLSCREENONLY) { - CMENU.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; - CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - } - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; - if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); - } else if( da.da_ulFlags&DAF_16BITONLY) { - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); - } - - // remember current selected resolution - PIX pixSizeI, pixSizeJ; - ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); - - // select same resolution again if possible - FillResolutionsList(); - SizeToResolution(pixSizeI, pixSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); - - // apply adapter and resolutions - CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); -} - - -extern void InitVideoOptionsButtons(void) -{ - if( sam_bFullScreenActive) { - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; - } else { - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 0; - } - - CMENU.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); - CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); - - FillResolutionsList(); - SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); - CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); - - CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); -} - -void InitActionsForVideoOptionsMenu() -{ - CMENU.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; - CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; -} - -#undef CMENU - -// ------------------------ CAudioOptionsMenu implementation -#define CMENU gmAudioOptionsMenu - -static void OnWaveVolumeChange(INDEX iCurPos) -{ - _pShell->SetFLOAT("snd_fSoundVolume", iCurPos/FLOAT(VOLUME_STEPS)); -} - -void WaveSliderChange(void) -{ - if (_bMouseRight) { - CMENU.gm_mgWaveVolume.mg_iCurPos += 5; - } else { - CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; - } - CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); -} - -void FrequencyTriggerChange(INDEX iDummy) -{ - sam_bAutoAdjustAudio = 0; - CMENU.gm_mgAudioAutoTrigger.mg_iSelected = 0; - CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); -} - -void MPEGSliderChange(void) -{ - if (_bMouseRight) { - CMENU.gm_mgMPEGVolume.mg_iCurPos += 5; - } else { - CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; - } - CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); -} - -static void OnMPEGVolumeChange(INDEX iCurPos) -{ - _pShell->SetFLOAT("snd_fMusicVolume", iCurPos / FLOAT(VOLUME_STEPS)); -} - -void InitActionsForAudioOptionsMenu() -{ - CMENU.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - CMENU.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; - CMENU.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; - CMENU.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; - CMENU.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; - CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; -} - -#undef CMENU - -// ------------------------ CVarMenu implementation -#define CMENU gmVarMenu - -void VarApply(void) -{ - FlushVarSettings(TRUE); - CMENU.EndMenu(); - CMENU.StartMenu(); -} - -void InitActionsForVarMenu() { - CMENU.gm_mgApply.mg_pActivatedFunction = &VarApply; -} - -#undef CMENU -// ------------------------ CServersMenu implementation -extern void RefreshServerList(void) -{ - _pNetwork->EnumSessions(gmServersMenu.m_bInternet); -} - -void RefreshServerListManually(void) -{ - ChangeToMenu(&gmServersMenu); // this refreshes the list and sets focuses -} - -void SortByColumn(int i) -{ - if (gmServersMenu.gm_mgList.mg_iSort==i) { - gmServersMenu.gm_mgList.mg_bSortDown = !gmServersMenu.gm_mgList.mg_bSortDown; - } else { - gmServersMenu.gm_mgList.mg_bSortDown = FALSE; - } - gmServersMenu.gm_mgList.mg_iSort = i; -} - -void SortByServer(void) { SortByColumn(0); } -void SortByMap(void) { SortByColumn(1); } -void SortByPing(void) { SortByColumn(2); } -void SortByPlayers(void){ SortByColumn(3); } -void SortByGame(void) { SortByColumn(4); } -void SortByMod(void) { SortByColumn(5); } -void SortByVer(void) { SortByColumn(6); } - -extern CMGButton mgServerColumn[7]; -extern CMGEdit mgServerFilter[7]; - -void InitActionsForServersMenu() { - gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; - - mgServerColumn[0].mg_pActivatedFunction = SortByServer; - mgServerColumn[1].mg_pActivatedFunction = SortByMap; - mgServerColumn[2].mg_pActivatedFunction = SortByPing; - mgServerColumn[3].mg_pActivatedFunction = SortByPlayers; - mgServerColumn[4].mg_pActivatedFunction = SortByGame; - mgServerColumn[5].mg_pActivatedFunction = SortByMod; - mgServerColumn[6].mg_pActivatedFunction = SortByVer; -} - -// ------------------------ CNetworkMenu implementation -#define CMENU gmNetworkMenu -void InitActionsForNetworkMenu() -{ - CMENU.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; -} -#undef CMENU - -// ------------------------ CNetworkJoinMenu implementation -#define CMENU gmNetworkJoinMenu -void InitActionsForNetworkJoinMenu() -{ - CMENU.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; - CMENU.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; - CMENU.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; -} -#undef CMENU - -// ------------------------ CNetworkStartMenu implementation -extern void UpdateNetworkLevel(INDEX iDummy) -{ - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; -} - -void InitActionsForNetworkStartMenu() -{ - gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; - gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; - gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; -} - -// -#define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ - gd.mg_boxOnScreen = box;\ - gd.mg_pmgUp = up;\ - gd.mg_pmgDown = dn;\ - gd.mg_pmgLeft = lf;\ - gd.mg_pmgRight = rt;\ - gd.mg_strText = txt;\ - gm_lhGadgets.AddTail( gd.mg_lnNode); - -#define SET_CHGPLR( gd, iplayer, bnone, bauto, pmgit) \ - gd.mg_pmgInfoTable = pmgit;\ - gd.mg_bResetToNone = bnone;\ - gd.mg_bAutomatic = bauto;\ - gd.mg_iLocalPlayer = iplayer; - -// ------------------------ CSelectPlayersMenu implementation -#define CMENU gmSelectPlayersMenu - -INDEX FindUnusedPlayer(void) -{ - INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - INDEX iPlayer=0; - for(; iPlayer<8; iPlayer++) { - BOOL bUsed = FALSE; - for (INDEX iLocal=0; iLocal<4; iLocal++) { - if (ai[iLocal] == iPlayer) { - bUsed = TRUE; - break; - } - } - if (!bUsed) { - return iPlayer; - } - } - ASSERT(FALSE); - return iPlayer; -} - -extern void SelectPlayersFillMenu(void) -{ - INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - - CMENU.gm_mgPlayer0Change.mg_iLocalPlayer = 0; - CMENU.gm_mgPlayer1Change.mg_iLocalPlayer = 1; - CMENU.gm_mgPlayer2Change.mg_iLocalPlayer = 2; - CMENU.gm_mgPlayer3Change.mg_iLocalPlayer = 3; - - if (CMENU.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - CMENU.gm_mgDedicated.mg_iSelected = 1; - } else { - CMENU.gm_mgDedicated.mg_iSelected = 0; - } - gmSelectPlayersMenu.gm_mgDedicated.ApplyCurrentSelection(); - - if (CMENU.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { - CMENU.gm_mgObserver.mg_iSelected = 1; - } else { - CMENU.gm_mgObserver.mg_iSelected = 0; - } - CMENU.gm_mgObserver.ApplyCurrentSelection(); - - if (_pGame->gm_MenuSplitScreenCfg>=CGame::SSC_PLAY1) { - CMENU.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; - CMENU.gm_mgSplitScreenCfg.ApplyCurrentSelection(); - } - - BOOL bHasDedicated = CMENU.gm_bAllowDedicated; - BOOL bHasObserver = CMENU.gm_bAllowObserving; - BOOL bHasPlayers = TRUE; - - if (bHasDedicated && CMENU.gm_mgDedicated.mg_iSelected) { - bHasObserver = FALSE; - bHasPlayers = FALSE; - } - - if (bHasObserver && CMENU.gm_mgObserver.mg_iSelected) { - bHasPlayers = FALSE; - } - - CMenuGadget *apmg[8]; - memset(apmg, 0, sizeof(apmg)); - INDEX i=0; - - if (bHasDedicated) { - CMENU.gm_mgDedicated.Appear(); - apmg[i++] = &CMENU.gm_mgDedicated; - } else { - CMENU.gm_mgDedicated.Disappear(); - } - if (bHasObserver) { - CMENU.gm_mgObserver.Appear(); - apmg[i++] = &CMENU.gm_mgObserver; - } else { - CMENU.gm_mgObserver.Disappear(); - } - - for (INDEX iLocal=0; iLocal<4; iLocal++) { - if (ai[iLocal]<0 || ai[iLocal]>7) { - ai[iLocal] = 0; - } - for (INDEX iCopy=0; iCopy= 1) { - CMENU.gm_mgPlayer1Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer1Change; - } - if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 2) { - CMENU.gm_mgPlayer2Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer2Change; - } - if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 3) { - CMENU.gm_mgPlayer3Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer3Change; - } - } else { - CMENU.gm_mgSplitScreenCfg.Disappear(); - } - apmg[i++] = &CMENU.gm_mgStart; - - // relink - for (INDEX img=0; img<8; img++) { - if (apmg[img]==NULL) { - continue; - } - INDEX imgPred=(img+8-1)%8; - for (; imgPred!=img; imgPred = (imgPred+8-1)%8) { - if (apmg[imgPred]!=NULL) { - break; - } - } - INDEX imgSucc=(img+1)%8; - for (; imgSucc!=img; imgSucc = (imgSucc+1)%8) { - if (apmg[imgSucc]!=NULL) { - break; - } - } - apmg[img]->mg_pmgUp = apmg[imgPred]; - apmg[img]->mg_pmgDown = apmg[imgSucc]; - } - - CMENU.gm_mgPlayer0Change.SetPlayerText(); - CMENU.gm_mgPlayer1Change.SetPlayerText(); - CMENU.gm_mgPlayer2Change.SetPlayerText(); - CMENU.gm_mgPlayer3Change.SetPlayerText(); - - if (bHasPlayers && CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { - CMENU.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); - } else { - CMENU.gm_mgNotes.mg_strText = ""; - } -} - -extern void SelectPlayersApplyMenu(void) -{ - if (CMENU.gm_bAllowDedicated && CMENU.gm_mgDedicated.mg_iSelected) { - _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; - return; - } - - if (CMENU.gm_bAllowObserving && CMENU.gm_mgObserver.mg_iSelected) { - _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; - return; - } - - _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) CMENU.gm_mgSplitScreenCfg.mg_iSelected; -} - -void UpdateSelectPlayers(INDEX i) -{ - SelectPlayersApplyMenu(); - SelectPlayersFillMenu(); -} - -void InitActionsForSelectPlayersMenu() -{ - CMENU.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; - CMENU.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; - CMENU.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; -} - -#undef CMENU - -// ------------------------ CNetworkOpenMenu implementation -void InitActionsForNetworkOpenMenu() -{ - gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; -} - -// ------------------------ CSplitScreenMenu implementation -#define CMENU gmSplitScreenMenu - -void InitActionsForSplitScreenMenu() -{ - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; -} - -#undef CMENU - -// ------------------------ CSplitStartMenu implementation -#define CMENU gmSplitStartMenu - -void InitActionsForSplitStartMenu() -{ - CMENU.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; -} - -extern void UpdateSplitLevel(INDEX iDummy) -{ - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - gmSplitStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; -} - -#undef CMENU \ No newline at end of file +} \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index b80758e..191c6f7 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -24,6 +24,29 @@ extern CTString astrWeapon[] = { RADIOTRANS("Only if stronger"), }; +extern PIX apixWidths[][2] = { + 320, 240, + 400, 300, + 512, 384, + 640, 240, + 640, 480, + 720, 540, + 800, 300, + 800, 600, + 960, 720, + 1024, 384, + 1024, 768, + 1152, 864, + 1280, 480, + 1280, 960, + 1600, 600, + 1600, 1200, + 1920, 720, + 1920, 1440, + 2048, 786, + 2048, 1536, +}; + extern CTString astrCrosshair[] = { "", "Textures\\Interface\\Crosshairs\\Crosshair1.tex", @@ -196,4 +219,46 @@ int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2) const CFileInfo &fi1 = **(CFileInfo **)elem1; const CFileInfo &fi2 = **(CFileInfo **)elem2; return -strcmp(fi1.fi_fnFile, fi2.fi_fnFile); +} + +INDEX APIToSwitch(enum GfxAPIType gat) +{ + switch (gat) { + case GAT_OGL: return 0; +#ifdef SE1_D3D + case GAT_D3D: return 1; +#endif // SE1_D3D + default: ASSERT(FALSE); return 0; + } +} + +enum GfxAPIType SwitchToAPI(INDEX i) +{ + switch (i) { + case 0: return GAT_OGL; +#ifdef SE1_D3D + case 1: return GAT_D3D; +#endif // SE1_D3D + default: ASSERT(FALSE); return GAT_OGL; + } +} + +INDEX DepthToSwitch(enum DisplayDepth dd) +{ + switch (dd) { + case DD_DEFAULT: return 0; + case DD_16BIT: return 1; + case DD_32BIT: return 2; + default: ASSERT(FALSE); return 0; + } +} + +enum DisplayDepth SwitchToDepth(INDEX i) +{ + switch (i) { + case 0: return DD_DEFAULT; + case 1: return DD_16BIT; + case 2: return DD_32BIT; + default: ASSERT(FALSE); return DD_DEFAULT; + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h index 3c73717..6e3febe 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.h @@ -36,6 +36,8 @@ extern CTString astrBitsPerPixelRadioTexts[3]; extern CTString astrFrequencyRadioTexts[4]; extern CTString astrSoundAPIRadioTexts[3]; +extern PIX apixWidths[20][2]; + ULONG GetSpawnFlagsForGameType(INDEX iGameType); BOOL IsMenuEnabled(const CTString &strMenuName); void InitGameTypes(void); @@ -45,4 +47,9 @@ int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2); int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2); int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2); +INDEX APIToSwitch(enum GfxAPIType gat); +enum GfxAPIType SwitchToAPI(INDEX i); +INDEX DepthToSwitch(enum DisplayDepth dd); +enum DisplayDepth SwitchToDepth(INDEX i); + #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp b/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp new file mode 100644 index 0000000..67dd2bc --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp @@ -0,0 +1,1354 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include + +#include "Menu_starters.h" +#include "MenuStuff.h" +#include "GUI/Components/MenuGadget.h" +#include "LevelInfo.h" +#include "VarList.h" + +#include "MAudioOptions.h" +#include "MConfirm.h" +#include "MControls.h" +#include "MCustomizeAxis.h" +#include "MCustomizeKeyboard.h" +#include "MCredits.h" +#include "MDisabled.h" +#include "MHighScore.h" +#include "MInGame.h" +#include "MLevels.h" +#include "MMain.h" +#include "MNetwork.h" +#include "MNetworkJoin.h" +#include "MNetworkOpen.h" +#include "MNetworkStart.h" +#include "MOptions.h" +#include "MRenderingOptions.h" +#include "MServers.h" +#include "MSinglePlayer.h" +#include "MSinglePlayerNew.h" +#include "MSplitScreen.h" +#include "MSplitStart.h" +#include "MVar.h" +#include "MVideoOptions.h" + +#define VOLUME_STEPS 50 + +extern CMenuGadget *_pmgLastActivatedGadget; +extern CMenuGadget *_pmgUnderCursor; + +extern CConfirmMenu gmConfirmMenu; +extern CMainMenu gmMainMenu; +extern CInGameMenu gmInGameMenu; +extern CSinglePlayerMenu gmSinglePlayerMenu; +extern CSinglePlayerNewMenu gmSinglePlayerNewMenu; +extern CDisabledMenu gmDisabledFunction; +extern CLevelsMenu gmLevelsMenu; +extern CVarMenu gmVarMenu; +extern CPlayerProfileMenu gmPlayerProfile; +extern CControlsMenu gmControls; +extern CLoadSaveMenu gmLoadSaveMenu; +extern CHighScoreMenu gmHighScoreMenu; +extern CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; +extern CServersMenu gmServersMenu; +extern CCustomizeAxisMenu gmCustomizeAxisMenu; +extern COptionsMenu gmOptionsMenu; +extern CVideoOptionsMenu gmVideoOptionsMenu; +extern CAudioOptionsMenu gmAudioOptionsMenu; +extern CNetworkMenu gmNetworkMenu; +extern CNetworkJoinMenu gmNetworkJoinMenu; +extern CNetworkStartMenu gmNetworkStartMenu; +extern CNetworkOpenMenu gmNetworkOpenMenu; +extern CSplitScreenMenu gmSplitScreenMenu; +extern CSplitStartMenu gmSplitStartMenu; +extern CSelectPlayersMenu gmSelectPlayersMenu; + +// functions to activate when user chose 'yes/no' on confirmation +void(*_pConfimedYes)(void) = NULL; +void(*_pConfimedNo)(void) = NULL; + +INDEX _ctAdapters = 0; +CTString * _astrAdapterTexts = NULL; +INDEX _ctResolutions = 0; +CTString * _astrResolutionTexts = NULL; +CDisplayMode *_admResolutionModes = NULL; + +extern BOOL _bMouseRight = FALSE; +extern BOOL _bMouseUsedLast; +ENGINE_API extern INDEX snd_iFormat; + +// make description for a given resolution +CTString GetResolutionDescription(CDisplayMode &dm) +{ + CTString str; + // if dual head + if (dm.IsDualHead()) { + str.PrintF(TRANS("%dx%d double"), dm.dm_pixSizeI / 2, dm.dm_pixSizeJ); + // if widescreen + } else if (dm.IsWideScreen()) { + str.PrintF(TRANS("%dx%d wide"), dm.dm_pixSizeI, dm.dm_pixSizeJ); + // otherwise it is normal + } else { + str.PrintF("%dx%d", dm.dm_pixSizeI, dm.dm_pixSizeJ); + } + return str; +} + +// make description for a given resolution +void SetResolutionInList(INDEX iRes, PIX pixSizeI, PIX pixSizeJ) +{ + ASSERT(iRes >= 0 && iRes<_ctResolutions); + + CTString &str = _astrResolutionTexts[iRes]; + CDisplayMode &dm = _admResolutionModes[iRes]; + dm.dm_pixSizeI = pixSizeI; + dm.dm_pixSizeJ = pixSizeJ; + str = GetResolutionDescription(dm); +} + +static void ResolutionToSize(INDEX iRes, PIX &pixSizeI, PIX &pixSizeJ) +{ + ASSERT(iRes >= 0 && iRes<_ctResolutions); + CDisplayMode &dm = _admResolutionModes[iRes]; + pixSizeI = dm.dm_pixSizeI; + pixSizeJ = dm.dm_pixSizeJ; +} + +static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) +{ + for (iRes = 0; iRes<_ctResolutions; iRes++) { + CDisplayMode &dm = _admResolutionModes[iRes]; + if (dm.dm_pixSizeI == pixSizeI && dm.dm_pixSizeJ == pixSizeJ) { + return; + } + } + // if none was found, search for default + for (iRes = 0; iRes<_ctResolutions; iRes++) { + CDisplayMode &dm = _admResolutionModes[iRes]; + if (dm.dm_pixSizeI == 640 && dm.dm_pixSizeJ == 480) { + return; + } + } + // if still none found + ASSERT(FALSE); // this should never happen + // return first one + iRes = 0; +} + +// ------------------------ CConfirmMenu implementation +CTFileName _fnmModSelected; +CTString _strModURLSelected; +CTString _strModServerSelected; + +void ExitGame(void) +{ + _bRunning = FALSE; + _bQuitScreen = TRUE; +} + +void ExitConfirm(void) +{ + _pConfimedYes = &ExitGame; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void StopConfirm(void) +{ + extern void StopCurrentGame(void); + _pConfimedYes = &StopCurrentGame; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void ModLoadYes(void) +{ + extern CTFileName _fnmModToLoad; + _fnmModToLoad = _fnmModSelected; +} + +void ModConnect(void) +{ + extern CTFileName _fnmModToLoad; + extern CTString _strModServerJoin; + _fnmModToLoad = _fnmModSelected; + _strModServerJoin = _strModServerSelected; +} + +extern void ModConnectConfirm(void) +{ + if (_fnmModSelected == " ") { + _fnmModSelected = CTString("SeriousSam"); + } + CTFileName fnmModPath = "Mods\\" + _fnmModSelected + "\\"; + if (!FileExists(fnmModPath + "BaseWriteInclude.lst") + && !FileExists(fnmModPath + "BaseWriteExclude.lst") + && !FileExists(fnmModPath + "BaseBrowseInclude.lst") + && !FileExists(fnmModPath + "BaseBrowseExclude.lst")) { + extern void ModNotInstalled(void); + ModNotInstalled(); + return; + } + + CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); + _pConfimedYes = &ModConnect; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void SaveConfirm(void) +{ + extern void OnFileSaveOK(void); + _pConfimedYes = &OnFileSaveOK; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void ExitAndSpawnExplorer(void) +{ + _bRunning = FALSE; + _bQuitScreen = FALSE; + extern CTString _strURLToVisit; + _strURLToVisit = _strModURLSelected; +} + +void ModNotInstalled(void) +{ + _pConfimedYes = &ExitAndSpawnExplorer; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( + TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeSmall(); + ChangeToMenu(&gmConfirmMenu); + + /* + gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; + mgDisabledMenuButton.mg_strText.PrintF( + TRANS("You don't have MOD '%s' installed.\nPlease visit Croteam website for updates."), _fnmModSelected); + mgDisabledTitle.mg_strText = TRANS("MOD REQUIRED"); + _strModURLSelected + ChangeToMenu( &gmDisabledFunction); + */ +} + + +extern void ModConfirm(void) +{ + _pConfimedYes = &ModLoadYes; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + gmConfirmMenu.gm_pgmParentMenu = &gmLoadSaveMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void VideoConfirm(void) +{ + // FIXUP: keyboard focus lost when going from full screen to window mode + // due to WM_MOUSEMOVE being sent + _bMouseUsedLast = FALSE; + _pmgUnderCursor = gmConfirmMenu.gm_pmgSelectedByDefault; + + _pConfimedYes = NULL; + void RevertVideoSettings(void); + _pConfimedNo = RevertVideoSettings; + + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); +} + +void CDConfirm(void(*pOk)(void)) +{ + _pConfimedYes = pOk; + _pConfimedNo = NULL; + gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); + if (pgmCurrentMenu != &gmConfirmMenu) { + gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + gmConfirmMenu.BeLarge(); + ChangeToMenu(&gmConfirmMenu); + } +} + +void ConfirmYes(void) +{ + if (_pConfimedYes != NULL) { + _pConfimedYes(); + } + void MenuGoToParent(void); + MenuGoToParent(); +} + +void ConfirmNo(void) +{ + if (_pConfimedNo != NULL) { + _pConfimedNo(); + } + void MenuGoToParent(void); + MenuGoToParent(); +} + +void InitActionsForConfirmMenu() { + gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; + gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; +} + +// return TRUE if handled +BOOL CConfirmMenu::OnKeyDown(int iVKey) +{ + if (iVKey == VK_ESCAPE || iVKey == VK_RBUTTON) { + ConfirmNo(); + return TRUE; + } + return CGameMenu::OnKeyDown(iVKey); +} + +// ------------------------ CMainMenu implementation +#define CMENU gmMainMenu + +void InitActionsForMainMenu() { + CMENU.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; + CMENU.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; + CMENU.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; + CMENU.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; +#if TECHTESTONLY + CMENU.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; +#else + CMENU.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; +#endif + CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; +} + +#undef CMENU + +// ------------------------ CInGameMenu implementation +// start load/save menus depending on type of game running +void QuickSaveFromMenu() +{ + _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting + StopMenus(TRUE); +} + +void StopRecordingDemo(void) +{ + _pNetwork->StopDemoRec(); + void SetDemoStartStopRecText(void); + SetDemoStartStopRecText(); +} + +#define CMENU gmInGameMenu + +void InitActionsForInGameMenu() { + + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; + CMENU.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; + CMENU.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; + CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; +#if TECHTESTONLY + CMENU.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; +#else + CMENU.gm_mgStop.mg_pActivatedFunction = &StopConfirm; +#endif + CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; +} + +extern void SetDemoStartStopRecText(void) +{ + if (_pNetwork->IsRecordingDemo()) + { + CMENU.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); + CMENU.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); + CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; + } + else + { + CMENU.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); + CMENU.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); + CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; + } +} + +#undef CMENU + +// ------------------------ CSinglePlayerMenu implementation +void StartSinglePlayerGame_Normal(void); +void StartTechTest(void) +{ + gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + extern CTString sam_strTechTestLevel; + _pGame->gam_strCustomLevel = sam_strTechTestLevel; + StartSinglePlayerGame_Normal(); +} + +void StartTraining(void) +{ + gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + extern CTString sam_strTrainingLevel; + _pGame->gam_strCustomLevel = sam_strTrainingLevel; + ChangeToMenu(&gmSinglePlayerNewMenu); +} + +#define CMENU gmSinglePlayerMenu + +void InitActionsForSinglePlayerMenu() { + CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; +#if _SE_DEMO || TECHTESTONLY + CMENU.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; +#else + CMENU.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; +#endif + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; + CMENU.gm_mgTraining.mg_pActivatedFunction = &StartTraining; + CMENU.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; + CMENU.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; +} + +#undef CMENU + +// ------------------------ CSinglePlayerNewMenu implementation +void StartSinglePlayerGame(void) +{ + /* if (!IsCDInDrive()) { + CDConfirm(StartSinglePlayerGame); + return; + } + */ + + _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; + _pGame->gm_aiStartLocalPlayers[1] = -1; + _pGame->gm_aiStartLocalPlayers[2] = -1; + _pGame->gm_aiStartLocalPlayers[3] = -1; + + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetSinglePlayerSession(sp); + + if (_pGame->NewGame(_pGame->gam_strCustomLevel, _pGame->gam_strCustomLevel, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SINGLE_PLAYER; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSinglePlayerGame_Tourist(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_TOURIST); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + +void StartSinglePlayerGame_Easy(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + +void StartSinglePlayerGame_Normal(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + +void StartSinglePlayerGame_Hard(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + +void StartSinglePlayerGame_Serious(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + +void StartSinglePlayerGame_Mental(void) +{ + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME + 1); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); +} + + +#define CMENU gmSinglePlayerNewMenu + +void InitActionsForSinglePlayerNewMenu() { + CMENU.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; + CMENU.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; + CMENU.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; + CMENU.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; + CMENU.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; + CMENU.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; +} + +#undef CMENU + +// ------------------------ CPlayerProfileMenu implementation +#define CMENU gmPlayerProfile + +void ChangeCrosshair(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + pps->ps_iCrossHairType = iNew - 1; +} + +void ChangeWeaponSelect(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + pps->ps_iWeaponAutoSelect = iNew; +} + +void ChangeWeaponHide(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_HIDEWEAPON; + } else { + pps->ps_ulFlags &= ~PSF_HIDEWEAPON; + } +} + +void Change3rdPerson(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_PREFER3RDPERSON; + } else { + pps->ps_ulFlags &= ~PSF_PREFER3RDPERSON; + } +} + +void ChangeQuotes(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_NOQUOTES; + } else { + pps->ps_ulFlags |= PSF_NOQUOTES; + } +} + +void ChangeAutoSave(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_AUTOSAVE; + } else { + pps->ps_ulFlags &= ~PSF_AUTOSAVE; + } +} + +void ChangeCompDoubleClick(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; + } else { + pps->ps_ulFlags |= PSF_COMPSINGLECLICK; + } +} + +void ChangeViewBobbing(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_NOBOBBING; + } else { + pps->ps_ulFlags |= PSF_NOBOBBING; + } +} + +void ChangeSharpTurning(INDEX iNew) +{ + INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_SHARPTURNING; + } else { + pps->ps_ulFlags &= ~PSF_SHARPTURNING; + } +} + +extern void PPOnPlayerSelect(void) +{ + ASSERT(_pmgLastActivatedGadget != NULL); + if (_pmgLastActivatedGadget->mg_bEnabled) { + gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); + } +} + +void InitActionsForPlayerProfileMenu() +{ + CMENU.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; + CMENU.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; + CMENU.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; + CMENU.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; + CMENU.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; + CMENU.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; + CMENU.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; + CMENU.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; + CMENU.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; + CMENU.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; + CMENU.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; +} + +#undef CMENU + +// ------------------------ CControlsMenu implementation +#define CMENU gmControls + +void InitActionsForControlsMenu() +{ + CMENU.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; + CMENU.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; + CMENU.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; +} + +#undef CMENU + +// ------------------------ CCustomizeAxisMenu implementation +#define CMENU gmCustomizeAxisMenu + +void PreChangeAxis(INDEX iDummy) +{ + CMENU.ApplyActionSettings(); +} + +void PostChangeAxis(INDEX iDummy) +{ + CMENU.ObtainActionSettings(); +} + +void InitActionsForCustomizeAxisMenu() { + CMENU.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; + CMENU.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; +} + +#undef CMENU + +// ------------------------ COptionsMenu implementation +#define CMENU gmOptionsMenu + +void InitActionsForOptionsMenu() +{ + CMENU.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; + CMENU.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; + CMENU.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; + CMENU.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; + CMENU.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; + CMENU.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; +} + +#undef CMENU + +// ------------------------ CVideoOptionsMenu implementation +static INDEX sam_old_bFullScreenActive; +static INDEX sam_old_iScreenSizeI; +static INDEX sam_old_iScreenSizeJ; +static INDEX sam_old_iDisplayDepth; +static INDEX sam_old_iDisplayAdapter; +static INDEX sam_old_iGfxAPI; +static INDEX sam_old_iVideoSetup; // 0==speed, 1==normal, 2==quality, 3==custom + + +#define CMENU gmVideoOptionsMenu + +static void FillResolutionsList(void) +{ + // free resolutions + if (_astrResolutionTexts != NULL) { + delete[] _astrResolutionTexts; + } + if (_admResolutionModes != NULL) { + delete[] _admResolutionModes; + } + _ctResolutions = 0; + + // if window + if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { + // always has fixed resolutions, but not greater than desktop + + _ctResolutions = ARRAYCOUNT(apixWidths); + _astrResolutionTexts = new CTString[_ctResolutions]; + _admResolutionModes = new CDisplayMode[_ctResolutions]; + extern PIX _pixDesktopWidth; + INDEX iRes = 0; + for (; iRes<_ctResolutions; iRes++) { + if (apixWidths[iRes][0]>_pixDesktopWidth) break; + SetResolutionInList(iRes, apixWidths[iRes][0], apixWidths[iRes][1]); + } + _ctResolutions = iRes; + + // if fullscreen + } else { + // get resolutions list from engine + CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, + SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected), CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected); + // allocate that much + _astrResolutionTexts = new CTString[_ctResolutions]; + _admResolutionModes = new CDisplayMode[_ctResolutions]; + // for each resolution + for (INDEX iRes = 0; iRes<_ctResolutions; iRes++) { + // add it to list + SetResolutionInList(iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); + } + } + CMENU.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; + CMENU.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; +} + +static void FillAdaptersList(void) +{ + if (_astrAdapterTexts != NULL) { + delete[] _astrAdapterTexts; + } + _ctAdapters = 0; + + INDEX iApi = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); + _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; + _astrAdapterTexts = new CTString[_ctAdapters]; + for (INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { + _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; + } + CMENU.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; + CMENU.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; +} + +extern void UpdateVideoOptionsButtons(INDEX iSelected) +{ + const BOOL _bVideoOptionsChanged = (iSelected != -1); + + const BOOL bOGLEnabled = _pGfx->HasAPI(GAT_OGL); +#ifdef SE1_D3D + const BOOL bD3DEnabled = _pGfx->HasAPI(GAT_D3D); + ASSERT(bOGLEnabled || bD3DEnabled); +#else // + ASSERT(bOGLEnabled); +#endif // SE1_D3D + CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected)] + .ga_adaAdapter[CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected]; + + // number of available preferences is higher if video setup is custom + CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; + if (sam_iVideoSetup == 3) CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts++; + + // enumerate adapters + FillAdaptersList(); + + // show or hide buttons + CMENU.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled +#ifdef SE1_D3D + && bD3DEnabled +#endif // SE1_D3D + ; + CMENU.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; + CMENU.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; + // determine which should be visible + CMENU.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; + if (da.da_ulFlags&DAF_FULLSCREENONLY) { + CMENU.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; + CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + } + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; + if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + } else if (da.da_ulFlags&DAF_16BITONLY) { + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + } + + // remember current selected resolution + PIX pixSizeI, pixSizeJ; + ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); + + // select same resolution again if possible + FillResolutionsList(); + SizeToResolution(pixSizeI, pixSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); + + // apply adapter and resolutions + CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); +} + + +extern void InitVideoOptionsButtons(void) +{ + if (sam_bFullScreenActive) { + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; + } else { + CMENU.gm_mgFullScreenTrigger.mg_iSelected = 0; + } + + CMENU.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); + CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; + CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); + + FillResolutionsList(); + SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); + CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); + + CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); + CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); +} + +void ApplyVideoOptions(void) +{ + sam_old_bFullScreenActive = sam_bFullScreenActive; + sam_old_iScreenSizeI = sam_iScreenSizeI; + sam_old_iScreenSizeJ = sam_iScreenSizeJ; + sam_old_iDisplayDepth = sam_iDisplayDepth; + sam_old_iDisplayAdapter = sam_iDisplayAdapter; + sam_old_iGfxAPI = sam_iGfxAPI; + sam_old_iVideoSetup = sam_iVideoSetup; + + BOOL bFullScreenMode = gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 1; + PIX pixWindowSizeI, pixWindowSizeJ; + ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); + enum GfxAPIType gat = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); + enum DisplayDepth dd = SwitchToDepth(gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected); + const INDEX iAdapter = gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected; + + // setup preferences + extern INDEX _iLastPreferences; + if (sam_iVideoSetup == 3) _iLastPreferences = 3; + sam_iVideoSetup = gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected; + + // force fullscreen mode if needed + CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; + if (da.da_ulFlags & DAF_FULLSCREENONLY) bFullScreenMode = TRUE; + if (da.da_ulFlags & DAF_16BITONLY) dd = DD_16BIT; + // force window to always be in default colors + if (!bFullScreenMode) dd = DD_DEFAULT; + + // (try to) set mode + StartNewMode(gat, iAdapter, pixWindowSizeI, pixWindowSizeJ, dd, bFullScreenMode); + + // refresh buttons + InitVideoOptionsButtons(); + UpdateVideoOptionsButtons(-1); + + // ask user to keep or restore + if (bFullScreenMode) VideoConfirm(); +} + +void RevertVideoSettings(void) +{ + // restore previous variables + sam_bFullScreenActive = sam_old_bFullScreenActive; + sam_iScreenSizeI = sam_old_iScreenSizeI; + sam_iScreenSizeJ = sam_old_iScreenSizeJ; + sam_iDisplayDepth = sam_old_iDisplayDepth; + sam_iDisplayAdapter = sam_old_iDisplayAdapter; + sam_iGfxAPI = sam_old_iGfxAPI; + sam_iVideoSetup = sam_old_iVideoSetup; + + // update the video mode + extern void ApplyVideoMode(void); + ApplyVideoMode(); + + // refresh buttons + InitVideoOptionsButtons(); + UpdateVideoOptionsButtons(-1); +} + +void InitActionsForVideoOptionsMenu() +{ + CMENU.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + CMENU.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; + CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; +} + +#undef CMENU + +// ------------------------ CAudioOptionsMenu implementation +extern void RefreshSoundFormat(void) +{ + switch (_pSound->GetFormat()) + { + case CSoundLibrary::SF_NONE: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } + case CSoundLibrary::SF_11025_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } + case CSoundLibrary::SF_22050_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } + case CSoundLibrary::SF_44100_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } + default: gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; + } + + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); + gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); + + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMinPos = 0; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; + gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); + gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); + + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMinPos = 0; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; + gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); + gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); + + gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgAudioAPITrigger.ApplyCurrentSelection(); + gmAudioOptionsMenu.gm_mgFrequencyTrigger.ApplyCurrentSelection(); +} + +void ApplyAudioOptions(void) +{ + sam_bAutoAdjustAudio = gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected; + if (sam_bAutoAdjustAudio) { + _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); + } else { + _pShell->SetINDEX("snd_iInterface", gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected); + + switch (gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected) + { + case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } + case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } + case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16); break; } + case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16); break; } + default: _pSound->SetFormat(CSoundLibrary::SF_NONE); + } + } + + RefreshSoundFormat(); + snd_iFormat = _pSound->GetFormat(); +} + +#define CMENU gmAudioOptionsMenu + +static void OnWaveVolumeChange(INDEX iCurPos) +{ + _pShell->SetFLOAT("snd_fSoundVolume", iCurPos / FLOAT(VOLUME_STEPS)); +} + +void WaveSliderChange(void) +{ + if (_bMouseRight) { + CMENU.gm_mgWaveVolume.mg_iCurPos += 5; + } else { + CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; + } + CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); +} + +void FrequencyTriggerChange(INDEX iDummy) +{ + sam_bAutoAdjustAudio = 0; + CMENU.gm_mgAudioAutoTrigger.mg_iSelected = 0; + CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); +} + +void MPEGSliderChange(void) +{ + if (_bMouseRight) { + CMENU.gm_mgMPEGVolume.mg_iCurPos += 5; + } else { + CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; + } + CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); +} + +static void OnMPEGVolumeChange(INDEX iCurPos) +{ + _pShell->SetFLOAT("snd_fMusicVolume", iCurPos / FLOAT(VOLUME_STEPS)); +} + +void InitActionsForAudioOptionsMenu() +{ + CMENU.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; + CMENU.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; + CMENU.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; + CMENU.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; + CMENU.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; + CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; +} + +#undef CMENU + +// ------------------------ CVarMenu implementation +#define CMENU gmVarMenu + +void VarApply(void) +{ + FlushVarSettings(TRUE); + CMENU.EndMenu(); + CMENU.StartMenu(); +} + +void InitActionsForVarMenu() { + CMENU.gm_mgApply.mg_pActivatedFunction = &VarApply; +} + +#undef CMENU +// ------------------------ CServersMenu implementation +extern void RefreshServerList(void) +{ + _pNetwork->EnumSessions(gmServersMenu.m_bInternet); +} + +void RefreshServerListManually(void) +{ + ChangeToMenu(&gmServersMenu); // this refreshes the list and sets focuses +} + +void SortByColumn(int i) +{ + if (gmServersMenu.gm_mgList.mg_iSort == i) { + gmServersMenu.gm_mgList.mg_bSortDown = !gmServersMenu.gm_mgList.mg_bSortDown; + } + else { + gmServersMenu.gm_mgList.mg_bSortDown = FALSE; + } + gmServersMenu.gm_mgList.mg_iSort = i; +} + +void SortByServer(void) { SortByColumn(0); } +void SortByMap(void) { SortByColumn(1); } +void SortByPing(void) { SortByColumn(2); } +void SortByPlayers(void){ SortByColumn(3); } +void SortByGame(void) { SortByColumn(4); } +void SortByMod(void) { SortByColumn(5); } +void SortByVer(void) { SortByColumn(6); } + +extern CMGButton mgServerColumn[7]; +extern CMGEdit mgServerFilter[7]; + +void InitActionsForServersMenu() { + gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; + + mgServerColumn[0].mg_pActivatedFunction = SortByServer; + mgServerColumn[1].mg_pActivatedFunction = SortByMap; + mgServerColumn[2].mg_pActivatedFunction = SortByPing; + mgServerColumn[3].mg_pActivatedFunction = SortByPlayers; + mgServerColumn[4].mg_pActivatedFunction = SortByGame; + mgServerColumn[5].mg_pActivatedFunction = SortByMod; + mgServerColumn[6].mg_pActivatedFunction = SortByVer; +} + +// ------------------------ CNetworkMenu implementation +#define CMENU gmNetworkMenu + +void InitActionsForNetworkMenu() +{ + CMENU.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; +} + +#undef CMENU + +// ------------------------ CNetworkJoinMenu implementation +#define CMENU gmNetworkJoinMenu + +void InitActionsForNetworkJoinMenu() +{ + CMENU.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; + CMENU.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; + CMENU.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; +} + +#undef CMENU + +// ------------------------ CNetworkStartMenu implementation +extern void UpdateNetworkLevel(INDEX iDummy) +{ + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; +} + +void InitActionsForNetworkStartMenu() +{ + gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; + gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; + gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; +} + +// +#define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ + gd.mg_boxOnScreen = box; \ + gd.mg_pmgUp = up; \ + gd.mg_pmgDown = dn; \ + gd.mg_pmgLeft = lf; \ + gd.mg_pmgRight = rt; \ + gd.mg_strText = txt; \ + gm_lhGadgets.AddTail(gd.mg_lnNode); + +#define SET_CHGPLR( gd, iplayer, bnone, bauto, pmgit) \ + gd.mg_pmgInfoTable = pmgit; \ + gd.mg_bResetToNone = bnone; \ + gd.mg_bAutomatic = bauto; \ + gd.mg_iLocalPlayer = iplayer; + +// ------------------------ CSelectPlayersMenu implementation +#define CMENU gmSelectPlayersMenu + +INDEX FindUnusedPlayer(void) +{ + INDEX *ai = _pGame->gm_aiMenuLocalPlayers; + INDEX iPlayer = 0; + for (; iPlayer<8; iPlayer++) { + BOOL bUsed = FALSE; + for (INDEX iLocal = 0; iLocal<4; iLocal++) { + if (ai[iLocal] == iPlayer) { + bUsed = TRUE; + break; + } + } + if (!bUsed) { + return iPlayer; + } + } + ASSERT(FALSE); + return iPlayer; +} + +extern void SelectPlayersFillMenu(void) +{ + INDEX *ai = _pGame->gm_aiMenuLocalPlayers; + + CMENU.gm_mgPlayer0Change.mg_iLocalPlayer = 0; + CMENU.gm_mgPlayer1Change.mg_iLocalPlayer = 1; + CMENU.gm_mgPlayer2Change.mg_iLocalPlayer = 2; + CMENU.gm_mgPlayer3Change.mg_iLocalPlayer = 3; + + if (CMENU.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + CMENU.gm_mgDedicated.mg_iSelected = 1; + } else { + CMENU.gm_mgDedicated.mg_iSelected = 0; + } + + gmSelectPlayersMenu.gm_mgDedicated.ApplyCurrentSelection(); + + if (CMENU.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { + CMENU.gm_mgObserver.mg_iSelected = 1; + } else { + CMENU.gm_mgObserver.mg_iSelected = 0; + } + + CMENU.gm_mgObserver.ApplyCurrentSelection(); + + if (_pGame->gm_MenuSplitScreenCfg >= CGame::SSC_PLAY1) { + CMENU.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; + CMENU.gm_mgSplitScreenCfg.ApplyCurrentSelection(); + } + + BOOL bHasDedicated = CMENU.gm_bAllowDedicated; + BOOL bHasObserver = CMENU.gm_bAllowObserving; + BOOL bHasPlayers = TRUE; + + if (bHasDedicated && CMENU.gm_mgDedicated.mg_iSelected) { + bHasObserver = FALSE; + bHasPlayers = FALSE; + } + + if (bHasObserver && CMENU.gm_mgObserver.mg_iSelected) { + bHasPlayers = FALSE; + } + + CMenuGadget *apmg[8]; + memset(apmg, 0, sizeof(apmg)); + INDEX i = 0; + + if (bHasDedicated) { + CMENU.gm_mgDedicated.Appear(); + apmg[i++] = &CMENU.gm_mgDedicated; + } else { + CMENU.gm_mgDedicated.Disappear(); + } + + if (bHasObserver) { + CMENU.gm_mgObserver.Appear(); + apmg[i++] = &CMENU.gm_mgObserver; + } else { + CMENU.gm_mgObserver.Disappear(); + } + + for (INDEX iLocal = 0; iLocal<4; iLocal++) { + if (ai[iLocal]<0 || ai[iLocal]>7) { + ai[iLocal] = 0; + } + for (INDEX iCopy = 0; iCopy= 1) { + CMENU.gm_mgPlayer1Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer1Change; + } + if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 2) { + CMENU.gm_mgPlayer2Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer2Change; + } + if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 3) { + CMENU.gm_mgPlayer3Change.Appear(); + apmg[i++] = &CMENU.gm_mgPlayer3Change; + } + } else { + CMENU.gm_mgSplitScreenCfg.Disappear(); + } + apmg[i++] = &CMENU.gm_mgStart; + + // relink + for (INDEX img = 0; img<8; img++) { + if (apmg[img] == NULL) { + continue; + } + INDEX imgPred = (img + 8 - 1) % 8; + for (; imgPred != img; imgPred = (imgPred + 8 - 1) % 8) { + if (apmg[imgPred] != NULL) { + break; + } + } + INDEX imgSucc = (img + 1) % 8; + for (; imgSucc != img; imgSucc = (imgSucc + 1) % 8) { + if (apmg[imgSucc] != NULL) { + break; + } + } + apmg[img]->mg_pmgUp = apmg[imgPred]; + apmg[img]->mg_pmgDown = apmg[imgSucc]; + } + + CMENU.gm_mgPlayer0Change.SetPlayerText(); + CMENU.gm_mgPlayer1Change.SetPlayerText(); + CMENU.gm_mgPlayer2Change.SetPlayerText(); + CMENU.gm_mgPlayer3Change.SetPlayerText(); + + if (bHasPlayers && CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + CMENU.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); + } + else { + CMENU.gm_mgNotes.mg_strText = ""; + } +} + +extern void SelectPlayersApplyMenu(void) +{ + if (CMENU.gm_bAllowDedicated && CMENU.gm_mgDedicated.mg_iSelected) { + _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; + return; + } + + if (CMENU.gm_bAllowObserving && CMENU.gm_mgObserver.mg_iSelected) { + _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; + return; + } + + _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) CMENU.gm_mgSplitScreenCfg.mg_iSelected; +} + +void UpdateSelectPlayers(INDEX i) +{ + SelectPlayersApplyMenu(); + SelectPlayersFillMenu(); +} + +void InitActionsForSelectPlayersMenu() +{ + CMENU.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; + CMENU.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; + CMENU.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; +} + +#undef CMENU + +// ------------------------ CNetworkOpenMenu implementation +void InitActionsForNetworkOpenMenu() +{ + gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; +} + +// ------------------------ CSplitScreenMenu implementation +#define CMENU gmSplitScreenMenu + +void InitActionsForSplitScreenMenu() +{ + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; + CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; + CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; +} + +#undef CMENU + +// ------------------------ CSplitStartMenu implementation +#define CMENU gmSplitStartMenu + +void InitActionsForSplitStartMenu() +{ + CMENU.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; + CMENU.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; +} + +extern void UpdateSplitLevel(INDEX iDummy) +{ + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + gmSplitStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; +} + +#undef CMENU \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp b/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp new file mode 100644 index 0000000..f34e4fe --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp @@ -0,0 +1,1024 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include + +#include "Menu_starters.h" +#include "MenuStuff.h" +#include "LevelInfo.h" + +#include "MAudioOptions.h" +#include "MConfirm.h" +#include "MControls.h" +#include "MCustomizeAxis.h" +#include "MCustomizeKeyboard.h" +#include "MCredits.h" +#include "MDisabled.h" +#include "MHighScore.h" +#include "MInGame.h" +#include "MLevels.h" +#include "MMain.h" +#include "MNetwork.h" +#include "MNetworkJoin.h" +#include "MNetworkOpen.h" +#include "MNetworkStart.h" +#include "MOptions.h" +#include "MRenderingOptions.h" +#include "MServers.h" +#include "MSinglePlayer.h" +#include "MSinglePlayerNew.h" +#include "MSplitScreen.h" +#include "MSplitStart.h" +#include "MVar.h" +#include "MVideoOptions.h" + +extern void(*_pAfterLevelChosen)(void); +extern BOOL _bPlayerMenuFromSinglePlayer; + +extern CTString _strLastPlayerAppearance; +extern CTString sam_strNetworkSettings; + +extern CTFileName _fnmModSelected; +extern CTString _strModURLSelected; +extern CTString _strModServerSelected; + +CTFileName _fnDemoToPlay; +CTFileName _fnGameToLoad; + +extern CConfirmMenu gmConfirmMenu; +extern CMainMenu gmMainMenu; +extern CInGameMenu gmInGameMenu; +extern CSinglePlayerMenu gmSinglePlayerMenu; +extern CSinglePlayerNewMenu gmSinglePlayerNewMenu; +extern CDisabledMenu gmDisabledFunction; +extern CLevelsMenu gmLevelsMenu; +extern CVarMenu gmVarMenu; +extern CPlayerProfileMenu gmPlayerProfile; +extern CControlsMenu gmControls; +extern CLoadSaveMenu gmLoadSaveMenu; +extern CHighScoreMenu gmHighScoreMenu; +extern CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; +extern CServersMenu gmServersMenu; +extern CCustomizeAxisMenu gmCustomizeAxisMenu; +extern COptionsMenu gmOptionsMenu; +extern CVideoOptionsMenu gmVideoOptionsMenu; +extern CAudioOptionsMenu gmAudioOptionsMenu; +extern CNetworkMenu gmNetworkMenu; +extern CNetworkJoinMenu gmNetworkJoinMenu; +extern CNetworkStartMenu gmNetworkStartMenu; +extern CNetworkOpenMenu gmNetworkOpenMenu; +extern CSplitScreenMenu gmSplitScreenMenu; +extern CSplitStartMenu gmSplitStartMenu; +extern CSelectPlayersMenu gmSelectPlayersMenu; + + +void StartVideoOptionsMenu(void) +{ + ChangeToMenu(&gmVideoOptionsMenu); +} + +void StartAudioOptionsMenu(void) +{ + ChangeToMenu(&gmAudioOptionsMenu); +} + +void StartNetworkMenu(void) +{ + ChangeToMenu(&gmNetworkMenu); +} + +void StartNetworkJoinMenu(void) +{ + ChangeToMenu(&gmNetworkJoinMenu); +} + +void StartNetworkStartMenu(void) +{ + ChangeToMenu(&gmNetworkStartMenu); +} + +void StartNetworkOpenMenu(void) +{ + ChangeToMenu(&gmNetworkOpenMenu); +} + +void StartSplitScreenMenu(void) +{ + ChangeToMenu(&gmSplitScreenMenu); +} + +void StartSplitStartMenu(void) +{ + ChangeToMenu(&gmSplitStartMenu); +} + +void StartSinglePlayerNewMenuCustom(void) +{ + gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmLevelsMenu; + ChangeToMenu(&gmSinglePlayerNewMenu); +} + +static void SetQuickLoadNotes(void) +{ + if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { + gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + "In-game QuickSave shortcuts:\n" + "F6 - save a new QuickSave\n" + "F9 - load the last QuickSave\n"); + } else { + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + } +} + +void StartSinglePlayerNewMenu(void) +{ + gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + extern CTString sam_strFirstLevel; + _pGame->gam_strCustomLevel = sam_strFirstLevel; + ChangeToMenu(&gmSinglePlayerNewMenu); +} + +BOOL LSLoadSinglePlayer(const CTFileName &fnm) +{ + _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; + _pGame->gm_aiStartLocalPlayers[1] = -1; + _pGame->gm_aiStartLocalPlayers[2] = -1; + _pGame->gm_aiStartLocalPlayers[3] = -1; + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(fnm)) { + StopMenus(); + _gmRunningGameMode = GM_SINGLE_PLAYER; + } + else { + _gmRunningGameMode = GM_NONE; + } + return TRUE; +} + +BOOL LSLoadNetwork(const CTFileName &fnm) +{ + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromNetworkLoad(); + return TRUE; +} + +BOOL LSLoadSplitScreen(const CTFileName &fnm) +{ + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromSplitScreenLoad(); + return TRUE; +} + +void StartDemoPlay(void) +{ + _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; + // play the demo + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->StartDemoPlay(_fnDemoToPlay)) + { + // exit menu and pull up the console + StopMenus(); + if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; + _gmRunningGameMode = GM_DEMO; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +extern BOOL LSLoadDemo(const CTFileName &fnm) +{ + // call local players menu + _fnDemoToPlay = fnm; + StartDemoPlay(); + return TRUE; +} + +BOOL LSLoadPlayerModel(const CTFileName &fnm) +{ + // get base filename + CTString strBaseName = fnm.FileName(); + // set it for current player + CPlayerCharacter &pc = _pGame->gm_apcPlayers[*gmPlayerProfile.gm_piCurrentPlayer]; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); + strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +extern void ControlsMenuOn(); +extern void ControlsMenuOff(); + +BOOL LSLoadControls(const CTFileName &fnm) +{ + try { + ControlsMenuOn(); + _pGame->gm_ctrlControlsExtra.Load_t(fnm); + ControlsMenuOff(); + } catch (char *strError) { + CPrintF("%s", strError); + } + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +BOOL LSLoadAddon(const CTFileName &fnm) +{ + extern INDEX _iAddonExecState; + extern CTFileName _fnmAddonToExec; + _iAddonExecState = 1; + _fnmAddonToExec = fnm; + return TRUE; +} + +BOOL LSLoadMod(const CTFileName &fnm) +{ + _fnmModSelected = fnm; + extern void ModConfirm(void); + ModConfirm(); + return TRUE; +} + +BOOL LSLoadCustom(const CTFileName &fnm) +{ + gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); + // mgVarTitle.mg_strText.OnlyFirstLine(); + gmVarMenu.gm_fnmMenuCFG = fnm; + gmVarMenu.gm_pgmParentMenu = &gmLoadSaveMenu; + ChangeToMenu(&gmVarMenu); + return TRUE; +} + +BOOL LSLoadNetSettings(const CTFileName &fnm) +{ + sam_strNetworkSettings = fnm; + CTString strCmd; + strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); + _pShell->Execute(strCmd); + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +// same function for saving in singleplay, network and splitscreen +BOOL LSSaveAnyGame(const CTFileName &fnm) +{ + if (_pGame->SaveGame(fnm)) { + StopMenus(); + return TRUE; + } else { + return FALSE; + } +} + +BOOL LSSaveDemo(const CTFileName &fnm) +{ + // save the demo + if (_pGame->StartDemoRec(fnm)) { + StopMenus(); + return TRUE; + } else { + return FALSE; + } +} + +void StartSinglePlayerQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_SINGLE_PLAYER; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; + SetQuickLoadNotes(); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSinglePlayerLoadMenu(void) +{ + _gmMenuGameMode = GM_SINGLE_PLAYER; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSinglePlayerSaveMenu(void) +{ + if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; + // if no live players + if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { + // do nothing + return; + } + _gmMenuGameMode = GM_SINGLE_PLAYER; + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = TRUE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartDemoLoadMenu(void) +{ + _gmMenuGameMode = GM_DEMO; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartDemoSaveMenu(void) +{ + if (_gmRunningGameMode == GM_NONE) return; + _gmMenuGameMode = GM_DEMO; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + gmLoadSaveMenu.gm_bSave = TRUE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); + gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartNetworkQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_NETWORK; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; + SetQuickLoadNotes(); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartNetworkLoadMenu(void) +{ + _gmMenuGameMode = GM_NETWORK; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartNetworkSaveMenu(void) +{ + if (_gmRunningGameMode != GM_NETWORK) return; + _gmMenuGameMode = GM_NETWORK; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = TRUE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSplitScreenQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_SPLIT_SCREEN; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; + SetQuickLoadNotes(); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSplitScreenLoadMenu(void) +{ + _gmMenuGameMode = GM_SPLIT_SCREEN; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSplitScreenSaveMenu(void) +{ + if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; + _gmMenuGameMode = GM_SPLIT_SCREEN; + + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + gmLoadSaveMenu.gm_bSave = TRUE; + gmLoadSaveMenu.gm_bManage = TRUE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +// game options var settings +void StartVarGameOptions(void) +{ + gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&gmVarMenu); +} + +void StartSinglePlayerGameOptions(void) +{ + gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + ChangeToMenu(&gmVarMenu); + gmVarMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; +} + +void StartGameOptionsFromNetwork(void) +{ + StartVarGameOptions(); + gmVarMenu.gm_pgmParentMenu = &gmNetworkStartMenu; +} + +void StartGameOptionsFromSplitScreen(void) +{ + StartVarGameOptions(); + gmVarMenu.gm_pgmParentMenu = &gmSplitStartMenu; +} + +// rendering options var settings +void StartRenderingOptionsMenu(void) +{ + gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + gmVarMenu.gm_pgmParentMenu = &gmVideoOptionsMenu; + ChangeToMenu(&gmVarMenu); +} + +void StartCustomizeKeyboardMenu(void) +{ + ChangeToMenu(&gmCustomizeKeyboardMenu); +} + +void StartCustomizeAxisMenu(void) +{ + ChangeToMenu(&gmCustomizeAxisMenu); +} + +void StartOptionsMenu(void) +{ + gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmOptionsMenu); +} + +void StartCurrentLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkLoadMenu(void); + StartNetworkLoadMenu(); + } + else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenLoadMenu(void); + StartSplitScreenLoadMenu(); + } + else { + void StartSinglePlayerLoadMenu(void); + StartSinglePlayerLoadMenu(); + } +} + +void StartCurrentSaveMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkSaveMenu(void); + StartNetworkSaveMenu(); + } + else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenSaveMenu(void); + StartSplitScreenSaveMenu(); + } + else { + void StartSinglePlayerSaveMenu(void); + StartSinglePlayerSaveMenu(); + } +} + +void StartCurrentQuickLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkQuickLoadMenu(void); + StartNetworkQuickLoadMenu(); + } + else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenQuickLoadMenu(void); + StartSplitScreenQuickLoadMenu(); + } + else { + void StartSinglePlayerQuickLoadMenu(void); + StartSinglePlayerQuickLoadMenu(); + } +} + +void StartChangePlayerMenuFromOptions(void) +{ + _bPlayerMenuFromSinglePlayer = FALSE; + gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + gmPlayerProfile.gm_pgmParentMenu = &gmOptionsMenu; + ChangeToMenu(&gmPlayerProfile); +} + +void StartChangePlayerMenuFromSinglePlayer(void) +{ + _iLocalPlayer = -1; + _bPlayerMenuFromSinglePlayer = TRUE; + gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + gmPlayerProfile.gm_pgmParentMenu = &gmSinglePlayerMenu; + ChangeToMenu(&gmPlayerProfile); +} + +void StartControlsMenuFromPlayer(void) +{ + gmControls.gm_pgmParentMenu = &gmPlayerProfile; + ChangeToMenu(&gmControls); +} + +void StartControlsMenuFromOptions(void) +{ + gmControls.gm_pgmParentMenu = &gmOptionsMenu; + ChangeToMenu(&gmControls); +} + +void StartSelectLevelFromSingle(void) +{ + FilterLevels(GetSpawnFlagsForGameType(-1)); + _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; + ChangeToMenu(&gmLevelsMenu); + gmLevelsMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; +} + +void StartHighScoreMenu(void) +{ + gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmHighScoreMenu); +} + +void StartSplitScreenGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromSplit(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitStartMenu; + ChangeToMenu(&gmSelectPlayersMenu); +} + +void StartNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + // if starting a dedicated server + if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + // pull down the console + extern INDEX sam_bToggleConsole; + sam_bToggleConsole = TRUE; + } + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromNetwork(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; + gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkStartMenu; + ChangeToMenu(&gmSelectPlayersMenu); +} + +void JoinNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "TCP/IP Client"; + if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } + else { + if (_pNetwork->ga_strRequiredMod != "") { + extern CTFileName _fnmModToLoad; + extern CTString _strModServerJoin; + char strModName[256] = { 0 }; + char strModURL[256] = { 0 }; + _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); + _fnmModSelected = CTString(strModName); + _strModURLSelected = strModURL; + if (_strModURLSelected = "") { + _strModURLSelected = "http://www.croteam.com/mods/Old"; + } + _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); + extern void ModConnectConfirm(void); + ModConnectConfirm(); + } + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromOpen(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; + ChangeToMenu(&gmSelectPlayersMenu); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + gmLoadSaveMenu.gm_bNoEscape = TRUE; + gmLoadSaveMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; + gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; + } +} +void StartSelectPlayersMenuFromServers(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmServersMenu; + ChangeToMenu(&gmSelectPlayersMenu); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + gmLoadSaveMenu.gm_bNoEscape = TRUE; + gmLoadSaveMenu.gm_pgmParentMenu = &gmServersMenu; + gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; + } +} + +void StartSelectServerLAN(void) +{ + gmServersMenu.m_bInternet = FALSE; + ChangeToMenu(&gmServersMenu); + gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; +} + +void StartSelectServerNET(void) +{ + gmServersMenu.m_bInternet = TRUE; + ChangeToMenu(&gmServersMenu); + gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; +} + +void StartSelectLevelFromSplit(void) +{ + FilterLevels(GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + void StartSplitStartMenu(void); + _pAfterLevelChosen = StartSplitStartMenu; + ChangeToMenu(&gmLevelsMenu); + gmLevelsMenu.gm_pgmParentMenu = &gmSplitStartMenu; +} + +void StartSelectLevelFromNetwork(void) +{ + FilterLevels(GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + void StartNetworkStartMenu(void); + _pAfterLevelChosen = StartNetworkStartMenu; + ChangeToMenu(&gmLevelsMenu); + gmLevelsMenu.gm_pgmParentMenu = &gmNetworkStartMenu; +} + +void StartSelectPlayersMenuFromSplitScreen(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + // gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitScreenMenu; + ChangeToMenu(&gmSelectPlayersMenu); +} + +void StartNetworkLoadGame(void) +{ + + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + if (_pGame->LoadGame(_fnGameToLoad)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromNetworkLoad(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; + ChangeToMenu(&gmSelectPlayersMenu); +} + +void StartSplitScreenGameLoad(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(_fnGameToLoad)) { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromSplitScreenLoad(void) +{ + gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; + ChangeToMenu(&gmSelectPlayersMenu); +} + +// save/load menu calling functions +void StartPlayerModelLoadMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Models\\Player\\"); + gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; + gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = &gmPlayerProfile; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartControlsLoadMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Controls\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = &gmControls; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartCustomLoadMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartAddonsLoadMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + + gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartModsLoadMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Mods\\"); + gmLoadSaveMenu.gm_fnmSelected = CTString(""); + gmLoadSaveMenu.gm_fnmExt = CTString(".des"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadMod; + + gmLoadSaveMenu.gm_pgmParentMenu = &gmMainMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartNetworkSettingsMenu(void) +{ + gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + gmLoadSaveMenu.gm_bSave = FALSE; + gmLoadSaveMenu.gm_bManage = FALSE; + gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + gmLoadSaveMenu.gm_fnmSelected = sam_strNetworkSettings; + gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); + gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; + if (sam_strNetworkSettings == "") { + gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + "Before joining a network game,\n" + "you have to adjust your connection parameters.\n" + "Choose one option from the list.\n" + "If you have problems with connection, you can adjust\n" + "these parameters again from the Options menu.\n" + ); + } + else { + gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + } + + gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; + ChangeToMenu(&gmLoadSaveMenu); +} + +void StartSinglePlayerMenu(void) +{ + ChangeToMenu(&gmSinglePlayerMenu); +} \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_starters.h b/Sources/SeriousSam/GUI/Menus/Menu_starters.h new file mode 100644 index 0000000..8c622ae --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/Menu_starters.h @@ -0,0 +1,67 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_STARTERS_H +#define SE_INCL_MENU_STARTERS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +void StartVideoOptionsMenu(void); +void StartAudioOptionsMenu(void); +void StartNetworkMenu(void); +void StartNetworkJoinMenu(void); +void StartNetworkStartMenu(void); +void StartNetworkOpenMenu(void); +void StartSplitScreenMenu(void); +void StartSplitStartMenu(void); +void StartSinglePlayerNewMenuCustom(void); +void StartSinglePlayerNewMenu(void); +void StartSinglePlayerQuickLoadMenu(void); +void StartSinglePlayerLoadMenu(void); +void StartSinglePlayerSaveMenu(void); +void StartDemoLoadMenu(void); +void StartDemoSaveMenu(void); +void StartNetworkQuickLoadMenu(void); +void StartNetworkLoadMenu(void); +void StartNetworkSaveMenu(void); +void StartSplitScreenQuickLoadMenu(void); +void StartSplitScreenLoadMenu(void); +void StartSplitScreenSaveMenu(void); +void StartVarGameOptions(void); +void StartSinglePlayerGameOptions(void); +void StartGameOptionsFromNetwork(void); +void StartGameOptionsFromSplitScreen(void); +void StartRenderingOptionsMenu(void); +void StartCustomizeKeyboardMenu(void); +void StartCustomizeAxisMenu(void); +void StartOptionsMenu(void); +void StartCurrentLoadMenu(); +void StartCurrentSaveMenu(); +void StartCurrentQuickLoadMenu(); +void StartChangePlayerMenuFromOptions(void); +void StartChangePlayerMenuFromSinglePlayer(void); +void StartControlsMenuFromPlayer(void); +void StartControlsMenuFromOptions(void); +void StartSelectLevelFromSingle(void); +void StartHighScoreMenu(void); +void StartSelectPlayersMenuFromSplit(void); +void StartSelectPlayersMenuFromNetwork(void); +void StartSelectPlayersMenuFromOpen(void); +void StartSelectPlayersMenuFromServers(void); +void StartSelectServerLAN(void); +void StartSelectServerNET(void); +void StartSelectLevelFromSplit(void); +void StartSelectLevelFromNetwork(void); +void StartSelectPlayersMenuFromSplitScreen(void); +void StartSelectPlayersMenuFromNetworkLoad(void); +void StartSelectPlayersMenuFromSplitScreenLoad(void); +void StartPlayerModelLoadMenu(void); +void StartControlsLoadMenu(void); +void StartCustomLoadMenu(void); +void StartAddonsLoadMenu(void); +void StartModsLoadMenu(void); +void StartNetworkSettingsMenu(void); +void StartSinglePlayerMenu(void); + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 4d0e9ac..393bb7a 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -204,6 +204,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + @@ -252,6 +253,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + @@ -272,6 +274,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + Use StdH.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 6e9db1e..e2fb6dc 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -201,6 +201,12 @@ Source Files\GUI\Menus + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + @@ -383,6 +389,9 @@ Header Files\GUI headers\Menus headers + + Header Files\GUI headers\Menus headers + From ef788b52990fb5086a4f566f1dde37f4783efdcc Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 30 Mar 2016 21:21:32 +0300 Subject: [PATCH 49/62] GameExecutable: Put menus' extern variables into container. --- .../SeriousSam/GUI/Components/MGButton.cpp | 8 +- .../GUI/Components/MGChangePlayer.cpp | 7 +- .../GUI/Components/MGFileButton.cpp | 32 +- .../SeriousSam/GUI/Components/MGTrigger.cpp | 1 + .../SeriousSam/GUI/Menus/MPlayerProfile.cpp | 11 +- Sources/SeriousSam/GUI/Menus/Menu.cpp | 310 ++++---- Sources/SeriousSam/GUI/Menus/Menu.h | 5 - Sources/SeriousSam/GUI/Menus/MenuManager.cpp | 8 + Sources/SeriousSam/GUI/Menus/MenuManager.h | 67 ++ Sources/SeriousSam/GUI/Menus/Menu_actions.cpp | 262 +++---- .../SeriousSam/GUI/Menus/Menu_starters.cpp | 717 ++++++++---------- Sources/SeriousSam/SeriousSam.cpp | 2 +- Sources/SeriousSam/SeriousSam.vcxproj | 2 + Sources/SeriousSam/SeriousSam.vcxproj.filters | 6 + 14 files changed, 679 insertions(+), 759 deletions(-) create mode 100644 Sources/SeriousSam/GUI/Menus/MenuManager.cpp create mode 100644 Sources/SeriousSam/GUI/Menus/MenuManager.h diff --git a/Sources/SeriousSam/GUI/Components/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp index 49fc985..13b98b2 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGButton.cpp @@ -23,6 +23,8 @@ CMGButton::CMGButton(void) mg_iCursorPos = -1; mg_bRectangle = FALSE; mg_bMental = FALSE; + mg_bEditing = FALSE; + mg_bHighlighted = FALSE; } @@ -120,8 +122,7 @@ void CMGButton::Render(CDrawPort *pdp) pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); pdp->PutText(mg_strText, pixIR, pixJ, col); - } - else { + } else { CTString str = mg_strText; if (pdp->dp_FontData->fd_bFixedWidth) { str = str.Undecorated(); @@ -131,8 +132,7 @@ void CMGButton::Render(CDrawPort *pdp) str.TrimRight(iCursor); str.TrimLeft(iMaxLen); iCursor = iMaxLen; - } - else { + } else { str.TrimRight(iMaxLen); } } diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index 8a466a5..f2bc89b 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -5,6 +5,7 @@ #include #include #include "MGChangePlayer.h" +#include "GUI/Menus/MenuManager.h" extern CSoundData *_psdPress; @@ -16,11 +17,11 @@ void CMGChangePlayer::OnActivate(void) _iLocalPlayer = mg_iLocalPlayer; if (_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] < 0) _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] = 0; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; - gmPlayerProfile.gm_pgmParentMenu = &gmSelectPlayersMenu; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSelectPlayersMenu; extern BOOL _bPlayerMenuFromSinglePlayer; _bPlayerMenuFromSinglePlayer = FALSE; - ChangeToMenu(&gmPlayerProfile); + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void CMGChangePlayer::SetPlayerText(void) diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index 421f2c4..3fe7cbb 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -5,6 +5,7 @@ #include #include #include "MGFileButton.h" +#include "GUI/Menus/MenuManager.h" extern CSoundData *_psdPress; @@ -57,9 +58,9 @@ void CMGFileButton::DoSave(void) void CMGFileButton::SaveYes(void) { - ASSERT(gmLoadSaveMenu.gm_bSave); + ASSERT(_pGUIM->gmLoadSaveMenu.gm_bSave); // call saving function - BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); // if saved if (bSucceeded) { // save the description too @@ -69,17 +70,17 @@ void CMGFileButton::SaveYes(void) void CMGFileButton::DoLoad(void) { - ASSERT(!gmLoadSaveMenu.gm_bSave); + ASSERT(!_pGUIM->gmLoadSaveMenu.gm_bSave); // if no file if (!FileExists(mg_fnm)) { // do nothing return; } - if (gmLoadSaveMenu.gm_pgmNextMenu != NULL) { - gmLoadSaveMenu.gm_pgmParentMenu = gmLoadSaveMenu.gm_pgmNextMenu; + if (_pGUIM->gmLoadSaveMenu.gm_pgmNextMenu != NULL) { + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu; } // call loading function - BOOL bSucceeded = gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); ASSERT(bSucceeded); } @@ -101,7 +102,7 @@ void CMGFileButton::OnActivate(void) IFeel_PlayEffect("Menu_press"); // if loading - if (!gmLoadSaveMenu.gm_bSave) { + if (!_pGUIM->gmLoadSaveMenu.gm_bSave) { // load now DoLoad(); // if saving @@ -109,7 +110,7 @@ void CMGFileButton::OnActivate(void) else { // switch to editing mode BOOL bWasEmpty = mg_strText == EMPTYSLOTSTRING; - mg_strDes = gmLoadSaveMenu.gm_strSaveDes; + mg_strDes = _pGUIM->gmLoadSaveMenu.gm_strSaveDes; RefreshText(); _strOrgDescription = _strTmpDescription = mg_strText; if (bWasEmpty) { @@ -124,7 +125,7 @@ void CMGFileButton::OnActivate(void) BOOL CMGFileButton::OnKeyDown(int iVKey) { if (mg_iState == FBS_NORMAL) { - if (gmLoadSaveMenu.gm_bSave || gmLoadSaveMenu.gm_bManage) { + if (_pGUIM->gmLoadSaveMenu.gm_bSave || _pGUIM->gmLoadSaveMenu.gm_bManage) { if (iVKey == VK_F2) { if (FileExistsForWriting(mg_fnm)) { // switch to renaming mode @@ -143,8 +144,8 @@ BOOL CMGFileButton::OnKeyDown(int iVKey) RemoveFile(mg_fnm.NoExt() + ".des"); RemoveFile(mg_fnm.NoExt() + "Tbn.tex"); // refresh menu - gmLoadSaveMenu.EndMenu(); - gmLoadSaveMenu.StartMenu(); + _pGUIM->gmLoadSaveMenu.EndMenu(); + _pGUIM->gmLoadSaveMenu.StartMenu(); OnSetFocus(); } return TRUE; @@ -167,10 +168,9 @@ void CMGFileButton::OnSetFocus(void) { mg_iState = FBS_NORMAL; - if (gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { + if (_pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { SetThumbnail(mg_fnm); - } - else { + } else { ClearThumbnail(); } pgmCurrentMenu->KillAllFocuses(); @@ -201,8 +201,8 @@ void CMGFileButton::OnStringChanged(void) mg_strDes = _strTmpDescription + "\n" + mg_strInfo; SaveDescription(); // refresh menu - gmLoadSaveMenu.EndMenu(); - gmLoadSaveMenu.StartMenu(); + _pGUIM->gmLoadSaveMenu.EndMenu(); + _pGUIM->gmLoadSaveMenu.StartMenu(); OnSetFocus(); } } diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index 443619b..a580463 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -26,6 +26,7 @@ INDEX GetNewLoopValue(int iVKey, INDEX iCurrent, INDEX ctMembers) CMGTrigger::CMGTrigger(void) { + mg_pPreTriggerChange = NULL; mg_pOnTriggerChange = NULL; mg_iCenterI = 0; mg_bVisual = FALSE; diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp index 24f5bff..6e981cb 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp @@ -5,6 +5,7 @@ #include "MenuPrinting.h" #include "MenuStuff.h" #include "MPlayerProfile.h" +#include "GUI/Menus/MenuManager.h" #define ADD_SELECT_PLAYER_MG( index, mg, mgprev, mgnext, me)\ mg.mg_iIndex = index; \ @@ -190,20 +191,28 @@ void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) gm_mgCrosshair.mg_iSelected = pps->ps_iCrossHairType + 1; gm_mgCrosshair.ApplyCurrentSelection(); + gm_mgWeaponSelect.mg_iSelected = pps->ps_iWeaponAutoSelect; gm_mgWeaponSelect.ApplyCurrentSelection(); + gm_mgWeaponHide.mg_iSelected = (pps->ps_ulFlags&PSF_HIDEWEAPON) ? 1 : 0; gm_mgWeaponHide.ApplyCurrentSelection(); + gm_mg3rdPerson.mg_iSelected = (pps->ps_ulFlags&PSF_PREFER3RDPERSON) ? 1 : 0; gm_mg3rdPerson.ApplyCurrentSelection(); + gm_mgQuotes.mg_iSelected = (pps->ps_ulFlags&PSF_NOQUOTES) ? 0 : 1; gm_mgQuotes.ApplyCurrentSelection(); + gm_mgAutoSave.mg_iSelected = (pps->ps_ulFlags&PSF_AUTOSAVE) ? 1 : 0; gm_mgAutoSave.ApplyCurrentSelection(); + gm_mgCompDoubleClick.mg_iSelected = (pps->ps_ulFlags&PSF_COMPSINGLECLICK) ? 0 : 1; gm_mgCompDoubleClick.ApplyCurrentSelection(); + gm_mgViewBobbing.mg_iSelected = (pps->ps_ulFlags&PSF_NOBOBBING) ? 0 : 1; gm_mgViewBobbing.ApplyCurrentSelection(); + gm_mgSharpTurning.mg_iSelected = (pps->ps_ulFlags&PSF_SHARPTURNING) ? 1 : 0; gm_mgSharpTurning.ApplyCurrentSelection(); @@ -250,7 +259,7 @@ void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) void CPlayerProfileMenu::StartMenu(void) { - gmPlayerProfile.gm_pmgSelectedByDefault = &gm_mgNameField; + _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &gm_mgNameField; if (_gmRunningGameMode == GM_NONE || _gmRunningGameMode == GM_DEMO) { for (INDEX i = 0; i<8; i++) { diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index ad908ee..4cb5c9b 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -13,6 +13,7 @@ #include "LevelInfo.h" #include "VarList.h" #include "FileInfo.h" +#include "MenuManager.h" #include "GUI/Components/MGArrow.h" #include "GUI/Components/MGButton.h" @@ -29,31 +30,6 @@ #include "GUI/Components/MGTrigger.h" #include "GUI/Components/MGVarButton.h" -#include "MAudioOptions.h" -#include "MConfirm.h" -#include "MControls.h" -#include "MCustomizeAxis.h" -#include "MCustomizeKeyboard.h" -#include "MCredits.h" -#include "MDisabled.h" -#include "MHighScore.h" -#include "MInGame.h" -#include "MLevels.h" -#include "MMain.h" -#include "MNetwork.h" -#include "MNetworkJoin.h" -#include "MNetworkOpen.h" -#include "MNetworkStart.h" -#include "MOptions.h" -#include "MRenderingOptions.h" -#include "MServers.h" -#include "MSinglePlayer.h" -#include "MSinglePlayerNew.h" -#include "MSplitScreen.h" -#include "MSplitStart.h" -#include "MVar.h" -#include "MVideoOptions.h" - #include "MenuStuff.h" #include "Menu_starters.h" @@ -185,33 +161,6 @@ CGameMenu *pgmCurrentMenu = NULL; // global back button CMGButton mgBack; -// Menus -CConfirmMenu gmConfirmMenu; -CMainMenu gmMainMenu; -CInGameMenu gmInGameMenu; -CSinglePlayerMenu gmSinglePlayerMenu; -CSinglePlayerNewMenu gmSinglePlayerNewMenu; -CDisabledMenu gmDisabledFunction; -CLevelsMenu gmLevelsMenu; -CVarMenu gmVarMenu; -CPlayerProfileMenu gmPlayerProfile; -CControlsMenu gmControls; -CLoadSaveMenu gmLoadSaveMenu; -CHighScoreMenu gmHighScoreMenu; -CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; -CServersMenu gmServersMenu; -CCustomizeAxisMenu gmCustomizeAxisMenu; -COptionsMenu gmOptionsMenu; -CVideoOptionsMenu gmVideoOptionsMenu; -CAudioOptionsMenu gmAudioOptionsMenu; -CNetworkMenu gmNetworkMenu; -CNetworkJoinMenu gmNetworkJoinMenu; -CNetworkStartMenu gmNetworkStartMenu; -CNetworkOpenMenu gmNetworkOpenMenu; -CSplitScreenMenu gmSplitScreenMenu; -CSplitStartMenu gmSplitStartMenu; -CSelectPlayersMenu gmSelectPlayersMenu; - // -------- console variable adjustment menu extern BOOL _bVarChanged = FALSE; @@ -263,11 +212,11 @@ void StartMenus(char *str) // stop all IFeel effects IFeel_StopEffect(NULL); - if (pgmCurrentMenu==&gmMainMenu || pgmCurrentMenu==&gmInGameMenu) { + if (pgmCurrentMenu == &_pGUIM->gmMainMenu || pgmCurrentMenu == &_pGUIM->gmInGameMenu) { if (_gmRunningGameMode==GM_NONE) { - pgmCurrentMenu = &gmMainMenu; + pgmCurrentMenu = &_pGUIM->gmMainMenu; } else { - pgmCurrentMenu = &gmInGameMenu; + pgmCurrentMenu = &_pGUIM->gmInGameMenu; } } @@ -276,36 +225,36 @@ void StartMenus(char *str) ChangeToMenu(pgmCurrentMenu); } else { if (_gmRunningGameMode==GM_NONE) { - ChangeToMenu(&gmMainMenu); + ChangeToMenu(&_pGUIM->gmMainMenu); } else { - ChangeToMenu(&gmInGameMenu); + ChangeToMenu(&_pGUIM->gmInGameMenu); } } if (CTString(str)=="load") { StartCurrentLoadMenu(); - gmLoadSaveMenu.gm_pgmParentMenu = NULL; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; } if (CTString(str)=="save") { StartCurrentSaveMenu(); - gmLoadSaveMenu.gm_pgmParentMenu = NULL; - FixupBackButton(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; + FixupBackButton(&_pGUIM->gmLoadSaveMenu); } if (CTString(str)=="controls") { void StartControlsMenuFromOptions(void); StartControlsMenuFromOptions(); - gmControls.gm_pgmParentMenu = NULL; - FixupBackButton(&gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = NULL; + FixupBackButton(&_pGUIM->gmControls); } if (CTString(str)=="join") { void StartSelectPlayersMenuFromOpen(void); StartSelectPlayersMenuFromOpen(); - gmSelectPlayersMenu.gm_pgmParentMenu = &gmMainMenu; - FixupBackButton(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + FixupBackButton(&_pGUIM->gmSelectPlayersMenu); } if (CTString(str)=="hiscore") { - ChangeToMenu( &gmHighScoreMenu); - gmHighScoreMenu.gm_pgmParentMenu = &gmMainMenu; - FixupBackButton(&gmHighScoreMenu); + ChangeToMenu(&_pGUIM->gmHighScoreMenu); + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + FixupBackButton(&_pGUIM->gmHighScoreMenu); } bMenuActive = TRUE; bMenuRendering = TRUE; @@ -321,9 +270,9 @@ void StopMenus( BOOL bGoToRoot /*=TRUE*/) bMenuActive = FALSE; if (bGoToRoot) { if (_gmRunningGameMode==GM_NONE) { - pgmCurrentMenu = &gmMainMenu; + pgmCurrentMenu = &_pGUIM->gmMainMenu; } else { - pgmCurrentMenu = &gmInGameMenu; + pgmCurrentMenu = &_pGUIM->gmInGameMenu; } } } @@ -331,13 +280,10 @@ void StopMenus( BOOL bGoToRoot /*=TRUE*/) BOOL IsMenusInRoot(void) { - return pgmCurrentMenu==NULL || pgmCurrentMenu==&gmMainMenu || pgmCurrentMenu==&gmInGameMenu; + return pgmCurrentMenu == NULL || pgmCurrentMenu == &_pGUIM->gmMainMenu || pgmCurrentMenu == &_pGUIM->gmInGameMenu; } -// ---------------------- When activated functions - - - +// ---------------------- When activated functions void StopCurrentGame(void) { _pGame->StopGame(); @@ -348,20 +294,20 @@ void StopCurrentGame(void) void DisabledFunction(void) { - gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; - gmDisabledFunction.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); - gmDisabledFunction.gm_mgTitle.mg_strText = TRANS("DISABLED"); - ChangeToMenu( &gmDisabledFunction); + _pGUIM->gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmDisabledFunction.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); + _pGUIM->gmDisabledFunction.gm_mgTitle.mg_strText = TRANS("DISABLED"); + ChangeToMenu(&_pGUIM->gmDisabledFunction); } extern void InitVideoOptionsButtons(void); extern void UpdateVideoOptionsButtons(INDEX i); - - // ------------------------ Global menu function implementation void InitializeMenus(void) { + _pGUIM = new CMenuManager(); + try { // initialize and load corresponding fonts _fdSmall.Load_t( CTFILENAME( "Fonts\\Display3-narrow.fnt")); @@ -422,148 +368,148 @@ void InitializeMenus(void) InitGameTypes(); // ------------------- Initialize menus - gmConfirmMenu.Initialize_t(); - gmConfirmMenu.gm_strName="Confirm"; - gmConfirmMenu.gm_pmgSelectedByDefault = &gmConfirmMenu.gm_mgConfirmYes; - gmConfirmMenu.gm_pgmParentMenu = NULL; + _pGUIM->gmConfirmMenu.Initialize_t(); + _pGUIM->gmConfirmMenu.gm_strName = "Confirm"; + _pGUIM->gmConfirmMenu.gm_pmgSelectedByDefault = &_pGUIM->gmConfirmMenu.gm_mgConfirmYes; + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = NULL; InitActionsForConfirmMenu(); - gmMainMenu.Initialize_t(); - gmMainMenu.gm_strName="Main"; - gmMainMenu.gm_pmgSelectedByDefault = &gmMainMenu.gm_mgSingle; - gmMainMenu.gm_pgmParentMenu = NULL; + _pGUIM->gmMainMenu.Initialize_t(); + _pGUIM->gmMainMenu.gm_strName = "Main"; + _pGUIM->gmMainMenu.gm_pmgSelectedByDefault = &_pGUIM->gmMainMenu.gm_mgSingle; + _pGUIM->gmMainMenu.gm_pgmParentMenu = NULL; InitActionsForMainMenu(); - gmInGameMenu.Initialize_t(); - gmInGameMenu.gm_strName="InGame"; - gmInGameMenu.gm_pmgSelectedByDefault = &gmInGameMenu.gm_mgQuickLoad; - gmInGameMenu.gm_pgmParentMenu = NULL; + _pGUIM->gmInGameMenu.Initialize_t(); + _pGUIM->gmInGameMenu.gm_strName = "InGame"; + _pGUIM->gmInGameMenu.gm_pmgSelectedByDefault = &_pGUIM->gmInGameMenu.gm_mgQuickLoad; + _pGUIM->gmInGameMenu.gm_pgmParentMenu = NULL; InitActionsForInGameMenu(); - gmSinglePlayerMenu.Initialize_t(); - gmSinglePlayerMenu.gm_strName="SinglePlayer"; - gmSinglePlayerMenu.gm_pmgSelectedByDefault = &gmSinglePlayerMenu.gm_mgNewGame; - gmSinglePlayerMenu.gm_pgmParentMenu = &gmMainMenu; + _pGUIM->gmSinglePlayerMenu.Initialize_t(); + _pGUIM->gmSinglePlayerMenu.gm_strName = "SinglePlayer"; + _pGUIM->gmSinglePlayerMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerMenu.gm_mgNewGame; + _pGUIM->gmSinglePlayerMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; InitActionsForSinglePlayerMenu(); - gmSinglePlayerNewMenu.Initialize_t(); - gmSinglePlayerNewMenu.gm_strName="SinglePlayerNew"; - gmSinglePlayerNewMenu.gm_pmgSelectedByDefault = &gmSinglePlayerNewMenu.gm_mgMedium; - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmSinglePlayerNewMenu.Initialize_t(); + _pGUIM->gmSinglePlayerNewMenu.gm_strName = "SinglePlayerNew"; + _pGUIM->gmSinglePlayerNewMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerNewMenu.gm_mgMedium; + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; InitActionsForSinglePlayerNewMenu(); - gmDisabledFunction.Initialize_t(); - gmDisabledFunction.gm_strName="DisabledFunction"; - gmDisabledFunction.gm_pmgSelectedByDefault = &gmDisabledFunction.gm_mgButton; - gmDisabledFunction.gm_pgmParentMenu = NULL; + _pGUIM->gmDisabledFunction.Initialize_t(); + _pGUIM->gmDisabledFunction.gm_strName = "DisabledFunction"; + _pGUIM->gmDisabledFunction.gm_pmgSelectedByDefault = &_pGUIM->gmDisabledFunction.gm_mgButton; + _pGUIM->gmDisabledFunction.gm_pgmParentMenu = NULL; - gmPlayerProfile.Initialize_t(); - gmPlayerProfile.gm_strName="PlayerProfile"; - gmPlayerProfile.gm_pmgSelectedByDefault = &gmPlayerProfile.gm_mgNameField; + _pGUIM->gmPlayerProfile.Initialize_t(); + _pGUIM->gmPlayerProfile.gm_strName = "PlayerProfile"; + _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &_pGUIM->gmPlayerProfile.gm_mgNameField; InitActionsForPlayerProfileMenu(); - gmControls.Initialize_t(); - gmControls.gm_strName="Controls"; - gmControls.gm_pmgSelectedByDefault = &gmControls.gm_mgButtons; + _pGUIM->gmControls.Initialize_t(); + _pGUIM->gmControls.gm_strName = "Controls"; + _pGUIM->gmControls.gm_pmgSelectedByDefault = &_pGUIM->gmControls.gm_mgButtons; InitActionsForControlsMenu(); // warning! parent menu has to be set inside button activate function from where // Load/Save menu is called - gmLoadSaveMenu.Initialize_t(); - gmLoadSaveMenu.gm_strName="LoadSave"; - gmLoadSaveMenu.gm_pmgSelectedByDefault = &gmLoadSaveMenu.gm_amgButton[0]; + _pGUIM->gmLoadSaveMenu.Initialize_t(); + _pGUIM->gmLoadSaveMenu.gm_strName = "LoadSave"; + _pGUIM->gmLoadSaveMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLoadSaveMenu.gm_amgButton[0]; - gmHighScoreMenu.Initialize_t(); - gmHighScoreMenu.gm_strName="HighScore"; - gmHighScoreMenu.gm_pmgSelectedByDefault = &mgBack; + _pGUIM->gmHighScoreMenu.Initialize_t(); + _pGUIM->gmHighScoreMenu.gm_strName = "HighScore"; + _pGUIM->gmHighScoreMenu.gm_pmgSelectedByDefault = &mgBack; - gmCustomizeKeyboardMenu.Initialize_t(); - gmCustomizeKeyboardMenu.gm_strName="CustomizeKeyboard"; - gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &gmCustomizeKeyboardMenu.gm_mgKey[0]; - gmCustomizeKeyboardMenu.gm_pgmParentMenu = &gmControls; + _pGUIM->gmCustomizeKeyboardMenu.Initialize_t(); + _pGUIM->gmCustomizeKeyboardMenu.gm_strName = "CustomizeKeyboard"; + _pGUIM->gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeKeyboardMenu.gm_mgKey[0]; + _pGUIM->gmCustomizeKeyboardMenu.gm_pgmParentMenu = &_pGUIM->gmControls; - gmCustomizeAxisMenu.Initialize_t(); - gmCustomizeAxisMenu.gm_strName="CustomizeAxis"; - gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &gmCustomizeAxisMenu.gm_mgActionTrigger; - gmCustomizeAxisMenu.gm_pgmParentMenu = &gmControls; + _pGUIM->gmCustomizeAxisMenu.Initialize_t(); + _pGUIM->gmCustomizeAxisMenu.gm_strName = "CustomizeAxis"; + _pGUIM->gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeAxisMenu.gm_mgActionTrigger; + _pGUIM->gmCustomizeAxisMenu.gm_pgmParentMenu = &_pGUIM->gmControls; InitActionsForCustomizeAxisMenu(); - gmOptionsMenu.Initialize_t(); - gmOptionsMenu.gm_strName="Options"; - gmOptionsMenu.gm_pmgSelectedByDefault = &gmOptionsMenu.gm_mgVideoOptions; - gmOptionsMenu.gm_pgmParentMenu = &gmMainMenu; + _pGUIM->gmOptionsMenu.Initialize_t(); + _pGUIM->gmOptionsMenu.gm_strName = "Options"; + _pGUIM->gmOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmOptionsMenu.gm_mgVideoOptions; + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; InitActionsForOptionsMenu(); - gmVideoOptionsMenu.Initialize_t(); - gmVideoOptionsMenu.gm_strName="VideoOptions"; - gmVideoOptionsMenu.gm_pmgSelectedByDefault = &gmVideoOptionsMenu.gm_mgDisplayAPITrigger; - gmVideoOptionsMenu.gm_pgmParentMenu = &gmOptionsMenu; + _pGUIM->gmVideoOptionsMenu.Initialize_t(); + _pGUIM->gmVideoOptionsMenu.gm_strName = "VideoOptions"; + _pGUIM->gmVideoOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVideoOptionsMenu.gm_mgDisplayAPITrigger; + _pGUIM->gmVideoOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; InitActionsForVideoOptionsMenu(); - gmAudioOptionsMenu.Initialize_t(); - gmAudioOptionsMenu.gm_strName="AudioOptions"; - gmAudioOptionsMenu.gm_pmgSelectedByDefault = &gmAudioOptionsMenu.gm_mgFrequencyTrigger; - gmAudioOptionsMenu.gm_pgmParentMenu = &gmOptionsMenu; + _pGUIM->gmAudioOptionsMenu.Initialize_t(); + _pGUIM->gmAudioOptionsMenu.gm_strName = "AudioOptions"; + _pGUIM->gmAudioOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmAudioOptionsMenu.gm_mgFrequencyTrigger; + _pGUIM->gmAudioOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; InitActionsForAudioOptionsMenu(); - gmLevelsMenu.Initialize_t(); - gmLevelsMenu.gm_strName="Levels"; - gmLevelsMenu.gm_pmgSelectedByDefault = &gmLevelsMenu.gm_mgManualLevel[0]; - gmLevelsMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmLevelsMenu.Initialize_t(); + _pGUIM->gmLevelsMenu.gm_strName = "Levels"; + _pGUIM->gmLevelsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLevelsMenu.gm_mgManualLevel[0]; + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - gmVarMenu.Initialize_t(); - gmVarMenu.gm_strName="Var"; - gmVarMenu.gm_pmgSelectedByDefault = &gmVarMenu.gm_mgVar[0]; - gmVarMenu.gm_pgmParentMenu = &gmNetworkStartMenu; + _pGUIM->gmVarMenu.Initialize_t(); + _pGUIM->gmVarMenu.gm_strName = "Var"; + _pGUIM->gmVarMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVarMenu.gm_mgVar[0]; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; InitActionsForVarMenu(); - gmServersMenu.Initialize_t(); - gmServersMenu.gm_strName="Servers"; - gmServersMenu.gm_pmgSelectedByDefault = &gmServersMenu.gm_mgList; - gmServersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; + _pGUIM->gmServersMenu.Initialize_t(); + _pGUIM->gmServersMenu.gm_strName = "Servers"; + _pGUIM->gmServersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmServersMenu.gm_mgList; + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; InitActionsForServersMenu(); - gmNetworkMenu.Initialize_t(); - gmNetworkMenu.gm_strName="Network"; - gmNetworkMenu.gm_pmgSelectedByDefault = &gmNetworkMenu.gm_mgJoin; - gmNetworkMenu.gm_pgmParentMenu = &gmMainMenu; + _pGUIM->gmNetworkMenu.Initialize_t(); + _pGUIM->gmNetworkMenu.gm_strName = "Network"; + _pGUIM->gmNetworkMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkMenu.gm_mgJoin; + _pGUIM->gmNetworkMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; InitActionsForNetworkMenu(); - gmNetworkStartMenu.Initialize_t(); - gmNetworkStartMenu.gm_strName="NetworkStart"; - gmNetworkStartMenu.gm_pmgSelectedByDefault = &gmNetworkStartMenu.gm_mgStart; - gmNetworkStartMenu.gm_pgmParentMenu = &gmNetworkMenu; + _pGUIM->gmNetworkStartMenu.Initialize_t(); + _pGUIM->gmNetworkStartMenu.gm_strName = "NetworkStart"; + _pGUIM->gmNetworkStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkStartMenu.gm_mgStart; + _pGUIM->gmNetworkStartMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; InitActionsForNetworkStartMenu(); - gmNetworkJoinMenu.Initialize_t(); - gmNetworkJoinMenu.gm_strName="NetworkJoin"; - gmNetworkJoinMenu.gm_pmgSelectedByDefault = &gmNetworkJoinMenu.gm_mgLAN; - gmNetworkJoinMenu.gm_pgmParentMenu = &gmNetworkMenu; + _pGUIM->gmNetworkJoinMenu.Initialize_t(); + _pGUIM->gmNetworkJoinMenu.gm_strName = "NetworkJoin"; + _pGUIM->gmNetworkJoinMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkJoinMenu.gm_mgLAN; + _pGUIM->gmNetworkJoinMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; InitActionsForNetworkJoinMenu(); - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - gmSelectPlayersMenu.Initialize_t(); - gmSelectPlayersMenu.gm_strName="SelectPlayers"; - gmSelectPlayersMenu.gm_pmgSelectedByDefault = &gmSelectPlayersMenu.gm_mgStart; + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.Initialize_t(); + _pGUIM->gmSelectPlayersMenu.gm_strName = "SelectPlayers"; + _pGUIM->gmSelectPlayersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSelectPlayersMenu.gm_mgStart; InitActionsForSelectPlayersMenu(); - gmNetworkOpenMenu.Initialize_t(); - gmNetworkOpenMenu.gm_strName="NetworkOpen"; - gmNetworkOpenMenu.gm_pmgSelectedByDefault = &gmNetworkOpenMenu.gm_mgJoin; - gmNetworkOpenMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; + _pGUIM->gmNetworkOpenMenu.Initialize_t(); + _pGUIM->gmNetworkOpenMenu.gm_strName = "NetworkOpen"; + _pGUIM->gmNetworkOpenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkOpenMenu.gm_mgJoin; + _pGUIM->gmNetworkOpenMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; InitActionsForNetworkOpenMenu(); - gmSplitScreenMenu.Initialize_t(); - gmSplitScreenMenu.gm_strName="SplitScreen"; - gmSplitScreenMenu.gm_pmgSelectedByDefault = &gmSplitScreenMenu.gm_mgStart; - gmSplitScreenMenu.gm_pgmParentMenu = &gmMainMenu; + _pGUIM->gmSplitScreenMenu.Initialize_t(); + _pGUIM->gmSplitScreenMenu.gm_strName = "SplitScreen"; + _pGUIM->gmSplitScreenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitScreenMenu.gm_mgStart; + _pGUIM->gmSplitScreenMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; InitActionsForSplitScreenMenu(); - gmSplitStartMenu.Initialize_t(); - gmSplitStartMenu.gm_strName="SplitStart"; - gmSplitStartMenu.gm_pmgSelectedByDefault = &gmSplitStartMenu.gm_mgStart; - gmSplitStartMenu.gm_pgmParentMenu = &gmSplitScreenMenu; + _pGUIM->gmSplitStartMenu.Initialize_t(); + _pGUIM->gmSplitStartMenu.gm_strName = "SplitStart"; + _pGUIM->gmSplitStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitStartMenu.gm_mgStart; + _pGUIM->gmSplitStartMenu.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; InitActionsForSplitStartMenu(); } catch( char *strError) @@ -575,7 +521,7 @@ void InitializeMenus(void) void DestroyMenus( void) { - gmMainMenu.Destroy(); + _pGUIM->gmMainMenu.Destroy(); pgmCurrentMenu = NULL; _pSoundStock->Release(_psdSelect); _pSoundStock->Release(_psdPress); @@ -597,7 +543,7 @@ void MenuGoToParent(void) // if no game is running } else { // go to main menu - ChangeToMenu( &gmMainMenu); + ChangeToMenu(&_pGUIM->gmMainMenu); } // if there is some parent menu } else { @@ -632,7 +578,7 @@ void MenuOnKeyDown( int iVKey) if(!bHandled) { // if escape or right mouse pressed if(iVKey==VK_ESCAPE || iVKey==VK_RBUTTON) { - if (pgmCurrentMenu==&gmLoadSaveMenu && gmLoadSaveMenu.gm_bNoEscape) { + if (pgmCurrentMenu==&_pGUIM->gmLoadSaveMenu && _pGUIM->gmLoadSaveMenu.gm_bNoEscape) { return; } // go to parent menu if possible @@ -839,7 +785,7 @@ BOOL DoMenu( CDrawPort *pdp) FLOAT fScaleH = (FLOAT)pixH / 480.0f; PIX pixI0, pixJ0, pixI1, pixJ1; // put logo(s) to main menu (if logos exist) - if( pgmCurrentMenu==&gmMainMenu) + if (pgmCurrentMenu == &_pGUIM->gmMainMenu) { if( _ptoLogoODI!=NULL) { CTextureData &td = (CTextureData&)*_ptoLogoODI->GetData(); @@ -877,7 +823,7 @@ BOOL DoMenu( CDrawPort *pdp) dpMenu.PutTexture(&_toLogoMenuB, PIXaabbox2D( PIX2D( pixCenterI, pixHeightJ),PIX2D( pixCenterI+pixSizeI, pixHeightJ+pixSizeJ))); } - } else if (pgmCurrentMenu==&gmAudioOptionsMenu) { + } else if (pgmCurrentMenu == &_pGUIM->gmAudioOptionsMenu) { if( _ptoLogoEAX!=NULL) { CTextureData &td = (CTextureData&)*_ptoLogoEAX->GetData(); const INDEX iSize = 95; diff --git a/Sources/SeriousSam/GUI/Menus/Menu.h b/Sources/SeriousSam/GUI/Menus/Menu.h index 42091d4..ab4535b 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.h +++ b/Sources/SeriousSam/GUI/Menus/Menu.h @@ -33,9 +33,6 @@ extern void PlayMenuSound(CSoundData *psd); extern CListHead _lhServers; -extern class CPlayerProfileMenu gmPlayerProfile; -extern class CSelectPlayersMenu gmSelectPlayersMenu; -extern class CCustomizeAxisMenu gmCustomizeAxisMenu; extern INDEX _iLocalPlayer; enum GameMode { @@ -57,7 +54,5 @@ extern CGameMenu *pgmCurrentMenu; #include "MPlayerProfile.h" #include "MSelectPlayers.h" -extern CLoadSaveMenu gmLoadSaveMenu; - #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.cpp b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp new file mode 100644 index 0000000..4a28b52 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp @@ -0,0 +1,8 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#include "StdH.h" +#include + +#include "MenuManager.h" + +extern CMenuManager* _pGUIM = NULL; \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.h b/Sources/SeriousSam/GUI/Menus/MenuManager.h new file mode 100644 index 0000000..ca3ba28 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.h @@ -0,0 +1,67 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENUMANAGER_H +#define SE_INCL_MENUMANAGER_H +#ifdef PRAGMA_ONCE +#pragma once +#endif + +#include "MAudioOptions.h" +#include "MConfirm.h" +#include "MControls.h" +#include "MCustomizeAxis.h" +#include "MCustomizeKeyboard.h" +#include "MCredits.h" +#include "MDisabled.h" +#include "MHighScore.h" +#include "MInGame.h" +#include "MLevels.h" +#include "MMain.h" +#include "MNetwork.h" +#include "MNetworkJoin.h" +#include "MNetworkOpen.h" +#include "MNetworkStart.h" +#include "MOptions.h" +#include "MRenderingOptions.h" +#include "MServers.h" +#include "MSinglePlayer.h" +#include "MSinglePlayerNew.h" +#include "MSplitScreen.h" +#include "MSplitStart.h" +#include "MVar.h" +#include "MVideoOptions.h" + + +class CMenuManager { +public: + CConfirmMenu gmConfirmMenu; + CMainMenu gmMainMenu; + CInGameMenu gmInGameMenu; + CSinglePlayerMenu gmSinglePlayerMenu; + CSinglePlayerNewMenu gmSinglePlayerNewMenu; + CDisabledMenu gmDisabledFunction; + CLevelsMenu gmLevelsMenu; + CVarMenu gmVarMenu; + CPlayerProfileMenu gmPlayerProfile; + CControlsMenu gmControls; + CLoadSaveMenu gmLoadSaveMenu; + CHighScoreMenu gmHighScoreMenu; + CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; + CServersMenu gmServersMenu; + CCustomizeAxisMenu gmCustomizeAxisMenu; + COptionsMenu gmOptionsMenu; + CVideoOptionsMenu gmVideoOptionsMenu; + CAudioOptionsMenu gmAudioOptionsMenu; + CNetworkMenu gmNetworkMenu; + CNetworkJoinMenu gmNetworkJoinMenu; + CNetworkStartMenu gmNetworkStartMenu; + CNetworkOpenMenu gmNetworkOpenMenu; + CSplitScreenMenu gmSplitScreenMenu; + CSplitStartMenu gmSplitStartMenu; + CSelectPlayersMenu gmSelectPlayersMenu; +}; + +extern CMenuManager *_pGUIM; // TODO: Make singleton! + + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp b/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp index 67dd2bc..e5a12fd 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp @@ -3,68 +3,18 @@ #include "StdH.h" #include +#include "MenuManager.h" #include "Menu_starters.h" #include "MenuStuff.h" #include "GUI/Components/MenuGadget.h" #include "LevelInfo.h" #include "VarList.h" -#include "MAudioOptions.h" -#include "MConfirm.h" -#include "MControls.h" -#include "MCustomizeAxis.h" -#include "MCustomizeKeyboard.h" -#include "MCredits.h" -#include "MDisabled.h" -#include "MHighScore.h" -#include "MInGame.h" -#include "MLevels.h" -#include "MMain.h" -#include "MNetwork.h" -#include "MNetworkJoin.h" -#include "MNetworkOpen.h" -#include "MNetworkStart.h" -#include "MOptions.h" -#include "MRenderingOptions.h" -#include "MServers.h" -#include "MSinglePlayer.h" -#include "MSinglePlayerNew.h" -#include "MSplitScreen.h" -#include "MSplitStart.h" -#include "MVar.h" -#include "MVideoOptions.h" - #define VOLUME_STEPS 50 extern CMenuGadget *_pmgLastActivatedGadget; extern CMenuGadget *_pmgUnderCursor; -extern CConfirmMenu gmConfirmMenu; -extern CMainMenu gmMainMenu; -extern CInGameMenu gmInGameMenu; -extern CSinglePlayerMenu gmSinglePlayerMenu; -extern CSinglePlayerNewMenu gmSinglePlayerNewMenu; -extern CDisabledMenu gmDisabledFunction; -extern CLevelsMenu gmLevelsMenu; -extern CVarMenu gmVarMenu; -extern CPlayerProfileMenu gmPlayerProfile; -extern CControlsMenu gmControls; -extern CLoadSaveMenu gmLoadSaveMenu; -extern CHighScoreMenu gmHighScoreMenu; -extern CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; -extern CServersMenu gmServersMenu; -extern CCustomizeAxisMenu gmCustomizeAxisMenu; -extern COptionsMenu gmOptionsMenu; -extern CVideoOptionsMenu gmVideoOptionsMenu; -extern CAudioOptionsMenu gmAudioOptionsMenu; -extern CNetworkMenu gmNetworkMenu; -extern CNetworkJoinMenu gmNetworkJoinMenu; -extern CNetworkStartMenu gmNetworkStartMenu; -extern CNetworkOpenMenu gmNetworkOpenMenu; -extern CSplitScreenMenu gmSplitScreenMenu; -extern CSplitStartMenu gmSplitStartMenu; -extern CSelectPlayersMenu gmSelectPlayersMenu; - // functions to activate when user chose 'yes/no' on confirmation void(*_pConfimedYes)(void) = NULL; void(*_pConfimedNo)(void) = NULL; @@ -152,10 +102,10 @@ void ExitConfirm(void) { _pConfimedYes = &ExitGame; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void StopConfirm(void) @@ -163,10 +113,10 @@ void StopConfirm(void) extern void StopCurrentGame(void); _pConfimedYes = &StopCurrentGame; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void ModLoadYes(void) @@ -201,10 +151,10 @@ extern void ModConnectConfirm(void) CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); _pConfimedYes = &ModConnect; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void SaveConfirm(void) @@ -212,10 +162,10 @@ void SaveConfirm(void) extern void OnFileSaveOK(void); _pConfimedYes = &OnFileSaveOK; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void ExitAndSpawnExplorer(void) @@ -230,11 +180,11 @@ void ModNotInstalled(void) { _pConfimedYes = &ExitAndSpawnExplorer; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeSmall(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeSmall(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); /* gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; @@ -251,10 +201,10 @@ extern void ModConfirm(void) { _pConfimedYes = &ModLoadYes; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); - gmConfirmMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void VideoConfirm(void) @@ -262,27 +212,27 @@ void VideoConfirm(void) // FIXUP: keyboard focus lost when going from full screen to window mode // due to WM_MOUSEMOVE being sent _bMouseUsedLast = FALSE; - _pmgUnderCursor = gmConfirmMenu.gm_pmgSelectedByDefault; + _pmgUnderCursor = _pGUIM->gmConfirmMenu.gm_pmgSelectedByDefault; _pConfimedYes = NULL; void RevertVideoSettings(void); _pConfimedNo = RevertVideoSettings; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } void CDConfirm(void(*pOk)(void)) { _pConfimedYes = pOk; _pConfimedNo = NULL; - gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); - if (pgmCurrentMenu != &gmConfirmMenu) { - gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - gmConfirmMenu.BeLarge(); - ChangeToMenu(&gmConfirmMenu); + _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); + if (pgmCurrentMenu != &_pGUIM->gmConfirmMenu) { + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmConfirmMenu.BeLarge(); + ChangeToMenu(&_pGUIM->gmConfirmMenu); } } @@ -305,8 +255,8 @@ void ConfirmNo(void) } void InitActionsForConfirmMenu() { - gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; + _pGUIM->gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; + _pGUIM->gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; } // return TRUE if handled @@ -320,7 +270,7 @@ BOOL CConfirmMenu::OnKeyDown(int iVKey) } // ------------------------ CMainMenu implementation -#define CMENU gmMainMenu +#define CMENU _pGUIM->gmMainMenu void InitActionsForMainMenu() { CMENU.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; @@ -354,7 +304,7 @@ void StopRecordingDemo(void) SetDemoStartStopRecText(); } -#define CMENU gmInGameMenu +#define CMENU _pGUIM->gmInGameMenu void InitActionsForInGameMenu() { @@ -394,7 +344,7 @@ extern void SetDemoStartStopRecText(void) void StartSinglePlayerGame_Normal(void); void StartTechTest(void) { - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; extern CTString sam_strTechTestLevel; _pGame->gam_strCustomLevel = sam_strTechTestLevel; StartSinglePlayerGame_Normal(); @@ -402,13 +352,13 @@ void StartTechTest(void) void StartTraining(void) { - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; extern CTString sam_strTrainingLevel; _pGame->gam_strCustomLevel = sam_strTrainingLevel; - ChangeToMenu(&gmSinglePlayerNewMenu); + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } -#define CMENU gmSinglePlayerMenu +#define CMENU _pGUIM->gmSinglePlayerMenu void InitActionsForSinglePlayerMenu() { CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; @@ -500,7 +450,7 @@ void StartSinglePlayerGame_Mental(void) } -#define CMENU gmSinglePlayerNewMenu +#define CMENU _pGUIM->gmSinglePlayerNewMenu void InitActionsForSinglePlayerNewMenu() { CMENU.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; @@ -514,7 +464,7 @@ void InitActionsForSinglePlayerNewMenu() { #undef CMENU // ------------------------ CPlayerProfileMenu implementation -#define CMENU gmPlayerProfile +#define CMENU _pGUIM->gmPlayerProfile void ChangeCrosshair(INDEX iNew) { @@ -611,7 +561,7 @@ extern void PPOnPlayerSelect(void) { ASSERT(_pmgLastActivatedGadget != NULL); if (_pmgLastActivatedGadget->mg_bEnabled) { - gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); + _pGUIM->gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); } } @@ -633,7 +583,7 @@ void InitActionsForPlayerProfileMenu() #undef CMENU // ------------------------ CControlsMenu implementation -#define CMENU gmControls +#define CMENU _pGUIM->gmControls void InitActionsForControlsMenu() { @@ -645,7 +595,7 @@ void InitActionsForControlsMenu() #undef CMENU // ------------------------ CCustomizeAxisMenu implementation -#define CMENU gmCustomizeAxisMenu +#define CMENU _pGUIM->gmCustomizeAxisMenu void PreChangeAxis(INDEX iDummy) { @@ -665,7 +615,7 @@ void InitActionsForCustomizeAxisMenu() { #undef CMENU // ------------------------ COptionsMenu implementation -#define CMENU gmOptionsMenu +#define CMENU _pGUIM->gmOptionsMenu void InitActionsForOptionsMenu() { @@ -689,7 +639,7 @@ static INDEX sam_old_iGfxAPI; static INDEX sam_old_iVideoSetup; // 0==speed, 1==normal, 2==quality, 3==custom -#define CMENU gmVideoOptionsMenu +#define CMENU _pGUIM->gmVideoOptionsMenu static void FillResolutionsList(void) { @@ -847,17 +797,17 @@ void ApplyVideoOptions(void) sam_old_iGfxAPI = sam_iGfxAPI; sam_old_iVideoSetup = sam_iVideoSetup; - BOOL bFullScreenMode = gmVideoOptionsMenu.gm_mgFullScreenTrigger.mg_iSelected == 1; + BOOL bFullScreenMode = CMENU.gm_mgFullScreenTrigger.mg_iSelected == 1; PIX pixWindowSizeI, pixWindowSizeJ; - ResolutionToSize(gmVideoOptionsMenu.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); - enum GfxAPIType gat = SwitchToAPI(gmVideoOptionsMenu.gm_mgDisplayAPITrigger.mg_iSelected); - enum DisplayDepth dd = SwitchToDepth(gmVideoOptionsMenu.gm_mgBitsPerPixelTrigger.mg_iSelected); - const INDEX iAdapter = gmVideoOptionsMenu.gm_mgDisplayAdaptersTrigger.mg_iSelected; + ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); + enum GfxAPIType gat = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); + enum DisplayDepth dd = SwitchToDepth(CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected); + const INDEX iAdapter = CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected; // setup preferences extern INDEX _iLastPreferences; if (sam_iVideoSetup == 3) _iLastPreferences = 3; - sam_iVideoSetup = gmVideoOptionsMenu.gm_mgDisplayPrefsTrigger.mg_iSelected; + sam_iVideoSetup = CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected; // force fullscreen mode if needed CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; @@ -912,50 +862,52 @@ void InitActionsForVideoOptionsMenu() #undef CMENU // ------------------------ CAudioOptionsMenu implementation +#define CMENU _pGUIM->gmAudioOptionsMenu + extern void RefreshSoundFormat(void) { switch (_pSound->GetFormat()) { - case CSoundLibrary::SF_NONE: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } - case CSoundLibrary::SF_11025_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } - case CSoundLibrary::SF_22050_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } - case CSoundLibrary::SF_44100_16: {gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } - default: gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected = 0; + case CSoundLibrary::SF_NONE: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } + case CSoundLibrary::SF_11025_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } + case CSoundLibrary::SF_22050_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } + case CSoundLibrary::SF_44100_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } + default: CMENU.gm_mgFrequencyTrigger.mg_iSelected = 0; } - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); - gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); + CMENU.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); + CMENU.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMinPos = 0; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; - gmAudioOptionsMenu.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); - gmAudioOptionsMenu.gm_mgWaveVolume.ApplyCurrentPosition(); + CMENU.gm_mgWaveVolume.mg_iMinPos = 0; + CMENU.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; + CMENU.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); + CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMinPos = 0; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; - gmAudioOptionsMenu.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); - gmAudioOptionsMenu.gm_mgMPEGVolume.ApplyCurrentPosition(); + CMENU.gm_mgMPEGVolume.mg_iMinPos = 0; + CMENU.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; + CMENU.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); + CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); - gmAudioOptionsMenu.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); - gmAudioOptionsMenu.gm_mgAudioAPITrigger.ApplyCurrentSelection(); - gmAudioOptionsMenu.gm_mgFrequencyTrigger.ApplyCurrentSelection(); + CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + CMENU.gm_mgAudioAPITrigger.ApplyCurrentSelection(); + CMENU.gm_mgFrequencyTrigger.ApplyCurrentSelection(); } void ApplyAudioOptions(void) { - sam_bAutoAdjustAudio = gmAudioOptionsMenu.gm_mgAudioAutoTrigger.mg_iSelected; + sam_bAutoAdjustAudio = CMENU.gm_mgAudioAutoTrigger.mg_iSelected; if (sam_bAutoAdjustAudio) { _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); } else { - _pShell->SetINDEX("snd_iInterface", gmAudioOptionsMenu.gm_mgAudioAPITrigger.mg_iSelected); + _pShell->SetINDEX("snd_iInterface", CMENU.gm_mgAudioAPITrigger.mg_iSelected); - switch (gmAudioOptionsMenu.gm_mgFrequencyTrigger.mg_iSelected) + switch (CMENU.gm_mgFrequencyTrigger.mg_iSelected) { - case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } - case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } - case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16); break; } - case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16); break; } - default: _pSound->SetFormat(CSoundLibrary::SF_NONE); + case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } + case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } + case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16); break; } + case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16); break; } + default: _pSound->SetFormat(CSoundLibrary::SF_NONE); } } @@ -963,8 +915,6 @@ void ApplyAudioOptions(void) snd_iFormat = _pSound->GetFormat(); } -#define CMENU gmAudioOptionsMenu - static void OnWaveVolumeChange(INDEX iCurPos) { _pShell->SetFLOAT("snd_fSoundVolume", iCurPos / FLOAT(VOLUME_STEPS)); @@ -1015,7 +965,7 @@ void InitActionsForAudioOptionsMenu() #undef CMENU // ------------------------ CVarMenu implementation -#define CMENU gmVarMenu +#define CMENU _pGUIM->gmVarMenu void VarApply(void) { @@ -1032,23 +982,23 @@ void InitActionsForVarMenu() { // ------------------------ CServersMenu implementation extern void RefreshServerList(void) { - _pNetwork->EnumSessions(gmServersMenu.m_bInternet); + _pNetwork->EnumSessions(_pGUIM->gmServersMenu.m_bInternet); } void RefreshServerListManually(void) { - ChangeToMenu(&gmServersMenu); // this refreshes the list and sets focuses + ChangeToMenu(&_pGUIM->gmServersMenu); // this refreshes the list and sets focuses } void SortByColumn(int i) { - if (gmServersMenu.gm_mgList.mg_iSort == i) { - gmServersMenu.gm_mgList.mg_bSortDown = !gmServersMenu.gm_mgList.mg_bSortDown; + if (_pGUIM->gmServersMenu.gm_mgList.mg_iSort == i) { + _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = !_pGUIM->gmServersMenu.gm_mgList.mg_bSortDown; } else { - gmServersMenu.gm_mgList.mg_bSortDown = FALSE; + _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = FALSE; } - gmServersMenu.gm_mgList.mg_iSort = i; + _pGUIM->gmServersMenu.gm_mgList.mg_iSort = i; } void SortByServer(void) { SortByColumn(0); } @@ -1063,7 +1013,7 @@ extern CMGButton mgServerColumn[7]; extern CMGEdit mgServerFilter[7]; void InitActionsForServersMenu() { - gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; + _pGUIM->gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; mgServerColumn[0].mg_pActivatedFunction = SortByServer; mgServerColumn[1].mg_pActivatedFunction = SortByMap; @@ -1075,7 +1025,7 @@ void InitActionsForServersMenu() { } // ------------------------ CNetworkMenu implementation -#define CMENU gmNetworkMenu +#define CMENU _pGUIM->gmNetworkMenu void InitActionsForNetworkMenu() { @@ -1088,7 +1038,7 @@ void InitActionsForNetworkMenu() #undef CMENU // ------------------------ CNetworkJoinMenu implementation -#define CMENU gmNetworkJoinMenu +#define CMENU _pGUIM->gmNetworkJoinMenu void InitActionsForNetworkJoinMenu() { @@ -1103,15 +1053,15 @@ void InitActionsForNetworkJoinMenu() extern void UpdateNetworkLevel(INDEX iDummy) { ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + _pGUIM->gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } void InitActionsForNetworkStartMenu() { - gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; - gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; - gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; + _pGUIM->gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; + _pGUIM->gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; + _pGUIM->gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; } // @@ -1131,7 +1081,7 @@ void InitActionsForNetworkStartMenu() gd.mg_iLocalPlayer = iplayer; // ------------------------ CSelectPlayersMenu implementation -#define CMENU gmSelectPlayersMenu +#define CMENU _pGUIM->gmSelectPlayersMenu INDEX FindUnusedPlayer(void) { @@ -1168,7 +1118,7 @@ extern void SelectPlayersFillMenu(void) CMENU.gm_mgDedicated.mg_iSelected = 0; } - gmSelectPlayersMenu.gm_mgDedicated.ApplyCurrentSelection(); + CMENU.gm_mgDedicated.ApplyCurrentSelection(); if (CMENU.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { CMENU.gm_mgObserver.mg_iSelected = 1; @@ -1319,11 +1269,11 @@ void InitActionsForSelectPlayersMenu() // ------------------------ CNetworkOpenMenu implementation void InitActionsForNetworkOpenMenu() { - gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; + _pGUIM->gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; } // ------------------------ CSplitScreenMenu implementation -#define CMENU gmSplitScreenMenu +#define CMENU _pGUIM->gmSplitScreenMenu void InitActionsForSplitScreenMenu() { @@ -1335,7 +1285,7 @@ void InitActionsForSplitScreenMenu() #undef CMENU // ------------------------ CSplitStartMenu implementation -#define CMENU gmSplitStartMenu +#define CMENU _pGUIM->gmSplitStartMenu void InitActionsForSplitStartMenu() { @@ -1347,8 +1297,8 @@ void InitActionsForSplitStartMenu() extern void UpdateSplitLevel(INDEX iDummy) { ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - gmSplitStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + GetSpawnFlagsForGameType(CMENU.gm_mgGameType.mg_iSelected)); + CMENU.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } #undef CMENU \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp b/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp index f34e4fe..a1259d1 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp @@ -3,35 +3,11 @@ #include "StdH.h" #include +#include "MenuManager.h" #include "Menu_starters.h" #include "MenuStuff.h" #include "LevelInfo.h" -#include "MAudioOptions.h" -#include "MConfirm.h" -#include "MControls.h" -#include "MCustomizeAxis.h" -#include "MCustomizeKeyboard.h" -#include "MCredits.h" -#include "MDisabled.h" -#include "MHighScore.h" -#include "MInGame.h" -#include "MLevels.h" -#include "MMain.h" -#include "MNetwork.h" -#include "MNetworkJoin.h" -#include "MNetworkOpen.h" -#include "MNetworkStart.h" -#include "MOptions.h" -#include "MRenderingOptions.h" -#include "MServers.h" -#include "MSinglePlayer.h" -#include "MSinglePlayerNew.h" -#include "MSplitScreen.h" -#include "MSplitStart.h" -#include "MVar.h" -#include "MVideoOptions.h" - extern void(*_pAfterLevelChosen)(void); extern BOOL _bPlayerMenuFromSinglePlayer; @@ -45,97 +21,70 @@ extern CTString _strModServerSelected; CTFileName _fnDemoToPlay; CTFileName _fnGameToLoad; -extern CConfirmMenu gmConfirmMenu; -extern CMainMenu gmMainMenu; -extern CInGameMenu gmInGameMenu; -extern CSinglePlayerMenu gmSinglePlayerMenu; -extern CSinglePlayerNewMenu gmSinglePlayerNewMenu; -extern CDisabledMenu gmDisabledFunction; -extern CLevelsMenu gmLevelsMenu; -extern CVarMenu gmVarMenu; -extern CPlayerProfileMenu gmPlayerProfile; -extern CControlsMenu gmControls; -extern CLoadSaveMenu gmLoadSaveMenu; -extern CHighScoreMenu gmHighScoreMenu; -extern CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; -extern CServersMenu gmServersMenu; -extern CCustomizeAxisMenu gmCustomizeAxisMenu; -extern COptionsMenu gmOptionsMenu; -extern CVideoOptionsMenu gmVideoOptionsMenu; -extern CAudioOptionsMenu gmAudioOptionsMenu; -extern CNetworkMenu gmNetworkMenu; -extern CNetworkJoinMenu gmNetworkJoinMenu; -extern CNetworkStartMenu gmNetworkStartMenu; -extern CNetworkOpenMenu gmNetworkOpenMenu; -extern CSplitScreenMenu gmSplitScreenMenu; -extern CSplitStartMenu gmSplitStartMenu; -extern CSelectPlayersMenu gmSelectPlayersMenu; - - void StartVideoOptionsMenu(void) { - ChangeToMenu(&gmVideoOptionsMenu); + ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); } void StartAudioOptionsMenu(void) { - ChangeToMenu(&gmAudioOptionsMenu); + ChangeToMenu(&_pGUIM->gmAudioOptionsMenu); } void StartNetworkMenu(void) { - ChangeToMenu(&gmNetworkMenu); + ChangeToMenu(&_pGUIM->gmNetworkMenu); } void StartNetworkJoinMenu(void) { - ChangeToMenu(&gmNetworkJoinMenu); + ChangeToMenu(&_pGUIM->gmNetworkJoinMenu); } void StartNetworkStartMenu(void) { - ChangeToMenu(&gmNetworkStartMenu); + ChangeToMenu(&_pGUIM->gmNetworkStartMenu); } void StartNetworkOpenMenu(void) { - ChangeToMenu(&gmNetworkOpenMenu); + ChangeToMenu(&_pGUIM->gmNetworkOpenMenu); } void StartSplitScreenMenu(void) { - ChangeToMenu(&gmSplitScreenMenu); + ChangeToMenu(&_pGUIM->gmSplitScreenMenu); } void StartSplitStartMenu(void) { - ChangeToMenu(&gmSplitStartMenu); + ChangeToMenu(&_pGUIM->gmSplitStartMenu); } void StartSinglePlayerNewMenuCustom(void) { - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmLevelsMenu; - ChangeToMenu(&gmSinglePlayerNewMenu); + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmLevelsMenu; + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } static void SetQuickLoadNotes(void) { if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { - gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( "In-game QuickSave shortcuts:\n" "F6 - save a new QuickSave\n" "F9 - load the last QuickSave\n"); } else { - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; } } void StartSinglePlayerNewMenu(void) { - gmSinglePlayerNewMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; extern CTString sam_strFirstLevel; _pGame->gam_strCustomLevel = sam_strFirstLevel; - ChangeToMenu(&gmSinglePlayerNewMenu); + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } BOOL LSLoadSinglePlayer(const CTFileName &fnm) @@ -150,8 +99,7 @@ BOOL LSLoadSinglePlayer(const CTFileName &fnm) if (_pGame->LoadGame(fnm)) { StopMenus(); _gmRunningGameMode = GM_SINGLE_PLAYER; - } - else { + } else { _gmRunningGameMode = GM_NONE; } return TRUE; @@ -184,8 +132,7 @@ void StartDemoPlay(void) StopMenus(); if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; _gmRunningGameMode = GM_DEMO; - } - else { + } else { _gmRunningGameMode = GM_NONE; } } @@ -203,7 +150,7 @@ BOOL LSLoadPlayerModel(const CTFileName &fnm) // get base filename CTString strBaseName = fnm.FileName(); // set it for current player - CPlayerCharacter &pc = _pGame->gm_apcPlayers[*gmPlayerProfile.gm_piCurrentPlayer]; + CPlayerCharacter &pc = _pGame->gm_apcPlayers[*_pGUIM->gmPlayerProfile.gm_piCurrentPlayer]; CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); @@ -250,12 +197,12 @@ BOOL LSLoadMod(const CTFileName &fnm) BOOL LSLoadCustom(const CTFileName &fnm) { - gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); // mgVarTitle.mg_strText.OnlyFirstLine(); - gmVarMenu.gm_fnmMenuCFG = fnm; - gmVarMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu(&gmVarMenu); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = fnm; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); return TRUE; } @@ -297,38 +244,38 @@ void StartSinglePlayerQuickLoadMenu(void) { _gmMenuGameMode = GM_SINGLE_PLAYER; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; SetQuickLoadNotes(); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSinglePlayerLoadMenu(void) { _gmMenuGameMode = GM_SINGLE_PLAYER; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSinglePlayerSaveMenu(void) @@ -340,40 +287,40 @@ void StartSinglePlayerSaveMenu(void) return; } _gmMenuGameMode = GM_SINGLE_PLAYER; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartDemoLoadMenu(void) { _gmMenuGameMode = GM_DEMO; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartDemoSaveMenu(void) @@ -381,59 +328,59 @@ void StartDemoSaveMenu(void) if (_gmRunningGameMode == GM_NONE) return; _gmMenuGameMode = GM_DEMO; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); - gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartNetworkQuickLoadMenu(void) { _gmMenuGameMode = GM_NETWORK; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; SetQuickLoadNotes(); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartNetworkLoadMenu(void) { _gmMenuGameMode = GM_NETWORK; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartNetworkSaveMenu(void) @@ -441,59 +388,59 @@ void StartNetworkSaveMenu(void) if (_gmRunningGameMode != GM_NETWORK) return; _gmMenuGameMode = GM_NETWORK; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSplitScreenQuickLoadMenu(void) { _gmMenuGameMode = GM_SPLIT_SCREEN; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; SetQuickLoadNotes(); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSplitScreenLoadMenu(void) { _gmMenuGameMode = GM_SPLIT_SCREEN; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSplitScreenSaveMenu(void) @@ -501,74 +448,74 @@ void StartSplitScreenSaveMenu(void) if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; _gmMenuGameMode = GM_SPLIT_SCREEN; - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - gmLoadSaveMenu.gm_bSave = TRUE; - gmLoadSaveMenu.gm_bManage = TRUE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; + _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; + _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } // game options var settings void StartVarGameOptions(void) { - gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu(&gmVarMenu); + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); } void StartSinglePlayerGameOptions(void) { - gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - ChangeToMenu(&gmVarMenu); - gmVarMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; } void StartGameOptionsFromNetwork(void) { StartVarGameOptions(); - gmVarMenu.gm_pgmParentMenu = &gmNetworkStartMenu; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; } void StartGameOptionsFromSplitScreen(void) { StartVarGameOptions(); - gmVarMenu.gm_pgmParentMenu = &gmSplitStartMenu; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; } // rendering options var settings void StartRenderingOptionsMenu(void) { - gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - gmVarMenu.gm_pgmParentMenu = &gmVideoOptionsMenu; - ChangeToMenu(&gmVarMenu); + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); } void StartCustomizeKeyboardMenu(void) { - ChangeToMenu(&gmCustomizeKeyboardMenu); + ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); } void StartCustomizeAxisMenu(void) { - ChangeToMenu(&gmCustomizeAxisMenu); + ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); } void StartOptionsMenu(void) { - gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmOptionsMenu); + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmOptionsMenu); } void StartCurrentLoadMenu() @@ -576,12 +523,10 @@ void StartCurrentLoadMenu() if (_gmRunningGameMode == GM_NETWORK) { void StartNetworkLoadMenu(void); StartNetworkLoadMenu(); - } - else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { void StartSplitScreenLoadMenu(void); StartSplitScreenLoadMenu(); - } - else { + } else { void StartSinglePlayerLoadMenu(void); StartSinglePlayerLoadMenu(); } @@ -592,12 +537,10 @@ void StartCurrentSaveMenu() if (_gmRunningGameMode == GM_NETWORK) { void StartNetworkSaveMenu(void); StartNetworkSaveMenu(); - } - else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { void StartSplitScreenSaveMenu(void); StartSplitScreenSaveMenu(); - } - else { + } else { void StartSinglePlayerSaveMenu(void); StartSinglePlayerSaveMenu(); } @@ -608,12 +551,10 @@ void StartCurrentQuickLoadMenu() if (_gmRunningGameMode == GM_NETWORK) { void StartNetworkQuickLoadMenu(void); StartNetworkQuickLoadMenu(); - } - else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { void StartSplitScreenQuickLoadMenu(void); StartSplitScreenQuickLoadMenu(); - } - else { + } else { void StartSinglePlayerQuickLoadMenu(void); StartSinglePlayerQuickLoadMenu(); } @@ -622,44 +563,44 @@ void StartCurrentQuickLoadMenu() void StartChangePlayerMenuFromOptions(void) { _bPlayerMenuFromSinglePlayer = FALSE; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - gmPlayerProfile.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu(&gmPlayerProfile); + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void StartChangePlayerMenuFromSinglePlayer(void) { _iLocalPlayer = -1; _bPlayerMenuFromSinglePlayer = TRUE; - gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - gmPlayerProfile.gm_pgmParentMenu = &gmSinglePlayerMenu; - ChangeToMenu(&gmPlayerProfile); + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void StartControlsMenuFromPlayer(void) { - gmControls.gm_pgmParentMenu = &gmPlayerProfile; - ChangeToMenu(&gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&_pGUIM->gmControls); } void StartControlsMenuFromOptions(void) { - gmControls.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu(&gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmControls); } void StartSelectLevelFromSingle(void) { FilterLevels(GetSpawnFlagsForGameType(-1)); _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu(&gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmSinglePlayerMenu; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; } void StartHighScoreMenu(void) { - gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmHighScoreMenu); + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmHighScoreMenu); } void StartSplitScreenGame(void) @@ -681,19 +622,18 @@ void StartSplitScreenGame(void) { StopMenus(); _gmRunningGameMode = GM_SPLIT_SCREEN; - } - else { + } else { _gmRunningGameMode = GM_NONE; } } void StartSelectPlayersMenuFromSplit(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitStartMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); } void StartNetworkGame(void) @@ -721,19 +661,18 @@ void StartNetworkGame(void) extern INDEX sam_bToggleConsole; sam_bToggleConsole = TRUE; } - } - else { + } else { _gmRunningGameMode = GM_NONE; } } void StartSelectPlayersMenuFromNetwork(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkStartMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); } void JoinNetworkGame(void) @@ -751,8 +690,7 @@ void JoinNetworkGame(void) { StopMenus(); _gmRunningGameMode = GM_NETWORK; - } - else { + } else { if (_pNetwork->ga_strRequiredMod != "") { extern CTFileName _fnmModToLoad; extern CTString _strModServerJoin; @@ -774,81 +712,80 @@ void JoinNetworkGame(void) void StartSelectPlayersMenuFromOpen(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); - gmLoadSaveMenu.gm_bNoEscape = TRUE; - gmLoadSaveMenu.gm_pgmParentMenu = &gmNetworkOpenMenu; - gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; } } void StartSelectPlayersMenuFromServers(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmServersMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); - gmLoadSaveMenu.gm_bNoEscape = TRUE; - gmLoadSaveMenu.gm_pgmParentMenu = &gmServersMenu; - gmLoadSaveMenu.gm_pgmNextMenu = &gmSelectPlayersMenu; + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; } } void StartSelectServerLAN(void) { - gmServersMenu.m_bInternet = FALSE; - ChangeToMenu(&gmServersMenu); - gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; + _pGUIM->gmServersMenu.m_bInternet = FALSE; + ChangeToMenu(&_pGUIM->gmServersMenu); + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } void StartSelectServerNET(void) { - gmServersMenu.m_bInternet = TRUE; - ChangeToMenu(&gmServersMenu); - gmServersMenu.gm_pgmParentMenu = &gmNetworkJoinMenu; + _pGUIM->gmServersMenu.m_bInternet = TRUE; + ChangeToMenu(&_pGUIM->gmServersMenu); + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } void StartSelectLevelFromSplit(void) { - FilterLevels(GetSpawnFlagsForGameType(gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); void StartSplitStartMenu(void); _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu(&gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmSplitStartMenu; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; } void StartSelectLevelFromNetwork(void) { - FilterLevels(GetSpawnFlagsForGameType(gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); void StartNetworkStartMenu(void); _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu(&gmLevelsMenu); - gmLevelsMenu.gm_pgmParentMenu = &gmNetworkStartMenu; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; } void StartSelectPlayersMenuFromSplitScreen(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; // gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmSplitScreenMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); } void StartNetworkLoadGame(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; @@ -862,19 +799,18 @@ void StartNetworkLoadGame(void) { StopMenus(); _gmRunningGameMode = GM_NETWORK; - } - else { + } else { _gmRunningGameMode = GM_NONE; } } void StartSelectPlayersMenuFromNetworkLoad(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); } void StartSplitScreenGameLoad(void) @@ -898,127 +834,126 @@ void StartSplitScreenGameLoad(void) void StartSelectPlayersMenuFromSplitScreenLoad(void) { - gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - gmSelectPlayersMenu.gm_pgmParentMenu = &gmLoadSaveMenu; - ChangeToMenu(&gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); } // save/load menu calling functions void StartPlayerModelLoadMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Models\\Player\\"); - gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; - gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Models\\Player\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = &gmPlayerProfile; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartControlsLoadMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Controls\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Controls\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = &gmControls; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmControls; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartCustomLoadMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartAddonsLoadMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartModsLoadMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Mods\\"); - gmLoadSaveMenu.gm_fnmSelected = CTString(""); - gmLoadSaveMenu.gm_fnmExt = CTString(".des"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadMod; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Mods\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".des"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadMod; - gmLoadSaveMenu.gm_pgmParentMenu = &gmMainMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartNetworkSettingsMenu(void) { - gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - gmLoadSaveMenu.gm_bSave = FALSE; - gmLoadSaveMenu.gm_bManage = FALSE; - gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - gmLoadSaveMenu.gm_fnmSelected = sam_strNetworkSettings; - gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; + _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; + _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; + _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; + _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; + _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + _pGUIM->gmLoadSaveMenu.gm_fnmSelected = sam_strNetworkSettings; + _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); + _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; if (sam_strNetworkSettings == "") { - gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( "Before joining a network game,\n" "you have to adjust your connection parameters.\n" "Choose one option from the list.\n" "If you have problems with connection, you can adjust\n" "these parameters again from the Options menu.\n" ); - } - else { - gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + } else { + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; } - gmLoadSaveMenu.gm_pgmParentMenu = &gmOptionsMenu; - ChangeToMenu(&gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmLoadSaveMenu); } void StartSinglePlayerMenu(void) { - ChangeToMenu(&gmSinglePlayerMenu); + ChangeToMenu(&_pGUIM->gmSinglePlayerMenu); } \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index 2211f75..6e47fc2 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -102,7 +102,7 @@ extern CTString sam_strModName = TRANS("- O P E N S O U R C E -"); #if _SE_DEMO extern CTString sam_strFirstLevel = "Levels\\KarnakDemo.wld"; #else - extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld.wld"; + extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld"; #endif extern CTString sam_strIntroLevel = "Levels\\LevelsMP\\Intro.wld"; extern CTString sam_strGameName = "serioussamse"; diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 393bb7a..7acbeac 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -202,6 +202,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + @@ -251,6 +252,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index e2fb6dc..e56f422 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -207,6 +207,9 @@ Source Files\GUI\Menus + + Source Files\GUI\Menus + @@ -392,6 +395,9 @@ Header Files\GUI headers\Menus headers + + Header Files\GUI headers\Menus headers + From de240b4ad7e88b9f19aa8f35eeb3cd6c928873e3 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 30 Mar 2016 22:25:24 +0300 Subject: [PATCH 50/62] GameExecutable: Continue refactoring. Rename some files. --- Sources/SeriousSam/GUI/Menus/Menu.cpp | 39 +- .../{Menu_actions.cpp => MenuActions.cpp} | 2 +- Sources/SeriousSam/GUI/Menus/MenuActions.h | 31 + Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 779 ++++++++++++++ .../Menus/{Menu_starters.h => MenuStarters.h} | 0 .../SeriousSam/GUI/Menus/MenuStartersAF.cpp | 219 ++++ Sources/SeriousSam/GUI/Menus/MenuStartersAF.h | 26 + .../SeriousSam/GUI/Menus/Menu_starters.cpp | 959 ------------------ Sources/SeriousSam/SeriousSam.vcxproj | 9 +- Sources/SeriousSam/SeriousSam.vcxproj.filters | 25 +- 10 files changed, 1082 insertions(+), 1007 deletions(-) rename Sources/SeriousSam/GUI/Menus/{Menu_actions.cpp => MenuActions.cpp} (99%) create mode 100644 Sources/SeriousSam/GUI/Menus/MenuActions.h create mode 100644 Sources/SeriousSam/GUI/Menus/MenuStarters.cpp rename Sources/SeriousSam/GUI/Menus/{Menu_starters.h => MenuStarters.h} (100%) create mode 100644 Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp create mode 100644 Sources/SeriousSam/GUI/Menus/MenuStartersAF.h delete mode 100644 Sources/SeriousSam/GUI/Menus/Menu_starters.cpp diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index 4cb5c9b..9cbd6d1 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -15,23 +15,9 @@ #include "FileInfo.h" #include "MenuManager.h" -#include "GUI/Components/MGArrow.h" -#include "GUI/Components/MGButton.h" -#include "GUI/Components/MGChangePlayer.h" -#include "GUI/Components/MGEdit.h" -#include "GUI/Components/MGFileButton.h" -#include "GUI/Components/MGHighScore.h" -#include "GUI/Components/MGKeyDefinition.h" -#include "GUI/Components/MGLevelButton.h" -#include "GUI/Components/MGModel.h" -#include "GUI/Components/MGServerList.h" -#include "GUI/Components/MGSlider.h" -#include "GUI/Components/MGTitle.h" -#include "GUI/Components/MGTrigger.h" -#include "GUI/Components/MGVarButton.h" - +#include "MenuActions.h" #include "MenuStuff.h" -#include "Menu_starters.h" +#include "MenuStarters.h" // macros for translating radio button text arrays #define TRANSLATERADIOARRAY(array) TranslateRadioTexts(array, ARRAYCOUNT(array)) @@ -68,26 +54,7 @@ extern CTString sam_strNetworkSettings; void (*_pAfterLevelChosen)(void); // functions for init actions -void InitActionsForAudioOptionsMenu(); -void InitActionsForConfirmMenu(); -void InitActionsForControlsMenu(); -void InitActionsForCustomizeAxisMenu(); -void InitActionsForMainMenu(); -void InitActionsForInGameMenu(); -void InitActionsForNetworkMenu(); -void InitActionsForNetworkJoinMenu(); -void InitActionsForNetworkOpenMenu(); -void InitActionsForNetworkStartMenu(); -void InitActionsForOptionsMenu(); -void InitActionsForPlayerProfileMenu(); -void InitActionsForSelectPlayersMenu(); -void InitActionsForServersMenu(); -void InitActionsForSinglePlayerMenu(); -void InitActionsForSinglePlayerNewMenu(); -void InitActionsForSplitScreenMenu(); -void InitActionsForSplitStartMenu(); -void InitActionsForVideoOptionsMenu(); -void InitActionsForVarMenu(); + void FixupBackButton(CGameMenu *pgm); diff --git a/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp similarity index 99% rename from Sources/SeriousSam/GUI/Menus/Menu_actions.cpp rename to Sources/SeriousSam/GUI/Menus/MenuActions.cpp index e5a12fd..7308fad 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu_actions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -4,7 +4,7 @@ #include #include "MenuManager.h" -#include "Menu_starters.h" +#include "MenuStarters.h" #include "MenuStuff.h" #include "GUI/Components/MenuGadget.h" #include "LevelInfo.h" diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.h b/Sources/SeriousSam/GUI/Menus/MenuActions.h new file mode 100644 index 0000000..d9cd253 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.h @@ -0,0 +1,31 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_ACTIONS_H +#define SE_INCL_MENU_ACTIONS_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +void InitActionsForAudioOptionsMenu(); +void InitActionsForConfirmMenu(); +void InitActionsForControlsMenu(); +void InitActionsForCustomizeAxisMenu(); +void InitActionsForMainMenu(); +void InitActionsForInGameMenu(); +void InitActionsForNetworkMenu(); +void InitActionsForNetworkJoinMenu(); +void InitActionsForNetworkOpenMenu(); +void InitActionsForNetworkStartMenu(); +void InitActionsForOptionsMenu(); +void InitActionsForPlayerProfileMenu(); +void InitActionsForSelectPlayersMenu(); +void InitActionsForServersMenu(); +void InitActionsForSinglePlayerMenu(); +void InitActionsForSinglePlayerNewMenu(); +void InitActionsForSplitScreenMenu(); +void InitActionsForSplitStartMenu(); +void InitActionsForVideoOptionsMenu(); +void InitActionsForVarMenu(); + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp new file mode 100644 index 0000000..8421d38 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -0,0 +1,779 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +/* This file contains starter fuctions for all menus. */ + +#include "StdH.h" +#include + +#include "MenuManager.h" +#include "MenuStarters.h" +#include "MenuStartersAF.h" +#include "MenuStuff.h" +#include "LevelInfo.h" + +extern void(*_pAfterLevelChosen)(void); +extern BOOL _bPlayerMenuFromSinglePlayer; + +extern CTString _strLastPlayerAppearance; +extern CTString sam_strNetworkSettings; + +extern CTFileName _fnmModSelected; +extern CTString _strModURLSelected; +extern CTString _strModServerSelected; + +void StartVideoOptionsMenu(void) +{ + ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); +} + +void StartAudioOptionsMenu(void) +{ + ChangeToMenu(&_pGUIM->gmAudioOptionsMenu); +} + +void StartSinglePlayerMenu(void) +{ + ChangeToMenu(&_pGUIM->gmSinglePlayerMenu); +} + +void StartNetworkMenu(void) +{ + ChangeToMenu(&_pGUIM->gmNetworkMenu); +} + +void StartNetworkJoinMenu(void) +{ + ChangeToMenu(&_pGUIM->gmNetworkJoinMenu); +} + +void StartNetworkStartMenu(void) +{ + ChangeToMenu(&_pGUIM->gmNetworkStartMenu); +} + +void StartNetworkOpenMenu(void) +{ + ChangeToMenu(&_pGUIM->gmNetworkOpenMenu); +} + +void StartSplitScreenMenu(void) +{ + ChangeToMenu(&_pGUIM->gmSplitScreenMenu); +} + +void StartSplitStartMenu(void) +{ + ChangeToMenu(&_pGUIM->gmSplitStartMenu); +} + +void StartSinglePlayerNewMenuCustom(void) +{ + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmLevelsMenu; + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); +} + +static void SetQuickLoadNotes(void) +{ + if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + "In-game QuickSave shortcuts:\n" + "F6 - save a new QuickSave\n" + "F9 - load the last QuickSave\n"); + } else { + _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + } +} + +void StartSinglePlayerNewMenu(void) +{ + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + extern CTString sam_strFirstLevel; + _pGame->gam_strCustomLevel = sam_strFirstLevel; + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); +} + +#define CMENU _pGUIM->gmLoadSaveMenu + +void StartSinglePlayerQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_SINGLE_PLAYER; + + CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadSinglePlayer; + SetQuickLoadNotes(); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartSinglePlayerLoadMenu(void) +{ + _gmMenuGameMode = GM_SINGLE_PLAYER; + + CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadSinglePlayer; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartSinglePlayerSaveMenu(void) +{ + if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; + // if no live players + if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { + // do nothing + return; + } + _gmMenuGameMode = GM_SINGLE_PLAYER; + CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = TRUE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmBaseName = CTString("SaveGame"); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; + CMENU.gm_mgNotes.mg_strText = ""; + CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartDemoLoadMenu(void) +{ + _gmMenuGameMode = GM_DEMO; + + CMENU.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("Demos\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".dem"); + CMENU.gm_pAfterFileChosen = &LSLoadDemo; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartDemoSaveMenu(void) +{ + if (_gmRunningGameMode == GM_NONE) return; + _gmMenuGameMode = GM_DEMO; + + CMENU.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = TRUE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("Demos\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmBaseName = CTString("Demo"); + CMENU.gm_fnmExt = CTString(".dem"); + CMENU.gm_pAfterFileChosen = &LSSaveDemo; + CMENU.gm_mgNotes.mg_strText = ""; + CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartNetworkQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_NETWORK; + + CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadNetwork; + SetQuickLoadNotes(); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartNetworkLoadMenu(void) +{ + _gmMenuGameMode = GM_NETWORK; + + CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadNetwork; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartNetworkSaveMenu(void) +{ + if (_gmRunningGameMode != GM_NETWORK) return; + _gmMenuGameMode = GM_NETWORK; + + CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = TRUE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmBaseName = CTString("SaveGame"); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; + CMENU.gm_mgNotes.mg_strText = ""; + CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartSplitScreenQuickLoadMenu(void) +{ + _gmMenuGameMode = GM_SPLIT_SCREEN; + + CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadSplitScreen; + SetQuickLoadNotes(); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartSplitScreenLoadMenu(void) +{ + _gmMenuGameMode = GM_SPLIT_SCREEN; + + CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSLoadSplitScreen; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +void StartSplitScreenSaveMenu(void) +{ + if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; + _gmMenuGameMode = GM_SPLIT_SCREEN; + + CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEDN; + CMENU.gm_bSave = TRUE; + CMENU.gm_bManage = TRUE; + CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmBaseName = CTString("SaveGame"); + CMENU.gm_fnmExt = CTString(".sav"); + CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; + CMENU.gm_mgNotes.mg_strText = ""; + CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&CMENU); +} + +#undef CMENU + +// game options var settings +void StartVarGameOptions(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); +} + +void StartSinglePlayerGameOptions(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; +} + +void StartGameOptionsFromNetwork(void) +{ + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; +} + +void StartGameOptionsFromSplitScreen(void) +{ + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; +} + +// rendering options var settings +void StartRenderingOptionsMenu(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); +} + +void StartCustomizeKeyboardMenu(void) +{ + ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); +} + +void StartCustomizeAxisMenu(void) +{ + ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); +} + +void StartOptionsMenu(void) +{ + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmOptionsMenu); +} + +void StartCurrentLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkLoadMenu(void); + StartNetworkLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenLoadMenu(void); + StartSplitScreenLoadMenu(); + } else { + void StartSinglePlayerLoadMenu(void); + StartSinglePlayerLoadMenu(); + } +} + +void StartCurrentSaveMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkSaveMenu(void); + StartNetworkSaveMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenSaveMenu(void); + StartSplitScreenSaveMenu(); + } else { + void StartSinglePlayerSaveMenu(void); + StartSinglePlayerSaveMenu(); + } +} + +void StartCurrentQuickLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkQuickLoadMenu(void); + StartNetworkQuickLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenQuickLoadMenu(void); + StartSplitScreenQuickLoadMenu(); + } else { + void StartSinglePlayerQuickLoadMenu(void); + StartSinglePlayerQuickLoadMenu(); + } +} + +void StartChangePlayerMenuFromOptions(void) +{ + _bPlayerMenuFromSinglePlayer = FALSE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); +} + +void StartChangePlayerMenuFromSinglePlayer(void) +{ + _iLocalPlayer = -1; + _bPlayerMenuFromSinglePlayer = TRUE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); +} + +void StartControlsMenuFromPlayer(void) +{ + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&_pGUIM->gmControls); +} + +void StartControlsMenuFromOptions(void) +{ + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmControls); +} + +void StartSelectLevelFromSingle(void) +{ + FilterLevels(GetSpawnFlagsForGameType(-1)); + _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; +} + +void StartHighScoreMenu(void) +{ + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmHighScoreMenu); +} + +void StartSplitScreenGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromSplit(void) +{ + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); +} + +void StartNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + // if starting a dedicated server + if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + // pull down the console + extern INDEX sam_bToggleConsole; + sam_bToggleConsole = TRUE; + } + } else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromNetwork(void) +{ + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); +} + +void JoinNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "TCP/IP Client"; + if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } else { + if (_pNetwork->ga_strRequiredMod != "") { + extern CTFileName _fnmModToLoad; + extern CTString _strModServerJoin; + char strModName[256] = { 0 }; + char strModURL[256] = { 0 }; + _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); + _fnmModSelected = CTString(strModName); + _strModURLSelected = strModURL; + if (_strModURLSelected = "") { + _strModURLSelected = "http://www.croteam.com/mods/Old"; + } + _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); + extern void ModConnectConfirm(void); + ModConnectConfirm(); + } + _gmRunningGameMode = GM_NONE; + } +} + +void StartSelectPlayersMenuFromOpen(void) +{ + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; + } +} +void StartSelectPlayersMenuFromServers(void) +{ + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; + _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; + } +} + +void StartSelectServerLAN(void) +{ + _pGUIM->gmServersMenu.m_bInternet = FALSE; + ChangeToMenu(&_pGUIM->gmServersMenu); + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; +} + +void StartSelectServerNET(void) +{ + _pGUIM->gmServersMenu.m_bInternet = TRUE; + ChangeToMenu(&_pGUIM->gmServersMenu); + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; +} + +void StartSelectLevelFromSplit(void) +{ + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + void StartSplitStartMenu(void); + _pAfterLevelChosen = StartSplitStartMenu; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; +} + +void StartSelectLevelFromNetwork(void) +{ + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + void StartNetworkStartMenu(void); + _pAfterLevelChosen = StartNetworkStartMenu; + ChangeToMenu(&_pGUIM->gmLevelsMenu); + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; +} + +#define CMENU _pGUIM->gmSelectPlayersMenu + +void StartSelectPlayersMenuFromSplitScreen(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = FALSE; + //CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromNetworkLoad(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromSplitScreenLoad(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = FALSE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&CMENU); +} + +#undef CMENU + +// save/load menu calling functions +#define CMENU _pGUIM->gmLoadSaveMenu + +void StartPlayerModelLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Models\\Player\\"); + CMENU.gm_fnmSelected = _strLastPlayerAppearance; + CMENU.gm_fnmExt = CTString(".amc"); + CMENU.gm_pAfterFileChosen = &LSLoadPlayerModel; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&CMENU); +} + +void StartControlsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Controls\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".ctl"); + CMENU.gm_pAfterFileChosen = &LSLoadControls; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmControls; + ChangeToMenu(&CMENU); +} + +void StartCustomLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".cfg"); + CMENU.gm_pAfterFileChosen = &LSLoadCustom; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + +void StartAddonsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".ini"); + CMENU.gm_pAfterFileChosen = &LSLoadAddon; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + +void StartModsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Mods\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".des"); + CMENU.gm_pAfterFileChosen = &LSLoadMod; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + ChangeToMenu(&CMENU); +} + +void StartNetworkSettingsMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + CMENU.gm_fnmSelected = sam_strNetworkSettings; + CMENU.gm_fnmExt = CTString(".ini"); + CMENU.gm_pAfterFileChosen = &LSLoadNetSettings; + if (sam_strNetworkSettings == "") { + CMENU.gm_mgNotes.mg_strText = TRANS( + "Before joining a network game,\n" + "you have to adjust your connection parameters.\n" + "Choose one option from the list.\n" + "If you have problems with connection, you can adjust\n" + "these parameters again from the Options menu.\n" + ); + } else { + CMENU.gm_mgNotes.mg_strText = ""; + } + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + +#undef CMENU \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_starters.h b/Sources/SeriousSam/GUI/Menus/MenuStarters.h similarity index 100% rename from Sources/SeriousSam/GUI/Menus/Menu_starters.h rename to Sources/SeriousSam/GUI/Menus/MenuStarters.h diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp new file mode 100644 index 0000000..d6f7d37 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -0,0 +1,219 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +/* This file contains additional functions called from starters. */ + +#include "StdH.h" +#include + +#include "MenuManager.h" +#include "MenuStartersAF.h" +#include "MenuStarters.h" + +CTFileName _fnDemoToPlay; +CTFileName _fnGameToLoad; + +extern CTString sam_strNetworkSettings; + +extern CTFileName _fnmModSelected; +extern CTString _strModURLSelected; +extern CTString _strModServerSelected; + + +BOOL LSLoadSinglePlayer(const CTFileName &fnm) +{ + _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; + _pGame->gm_aiStartLocalPlayers[1] = -1; + _pGame->gm_aiStartLocalPlayers[2] = -1; + _pGame->gm_aiStartLocalPlayers[3] = -1; + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(fnm)) { + StopMenus(); + _gmRunningGameMode = GM_SINGLE_PLAYER; + } + else { + _gmRunningGameMode = GM_NONE; + } + return TRUE; +} + +BOOL LSLoadNetwork(const CTFileName &fnm) +{ + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromNetworkLoad(); + return TRUE; +} + +BOOL LSLoadSplitScreen(const CTFileName &fnm) +{ + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromSplitScreenLoad(); + return TRUE; +} + +void StartDemoPlay(void) +{ + _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; + // play the demo + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->StartDemoPlay(_fnDemoToPlay)) + { + // exit menu and pull up the console + StopMenus(); + if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; + _gmRunningGameMode = GM_DEMO; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +extern BOOL LSLoadDemo(const CTFileName &fnm) +{ + // call local players menu + _fnDemoToPlay = fnm; + StartDemoPlay(); + return TRUE; +} + +BOOL LSLoadPlayerModel(const CTFileName &fnm) +{ + // get base filename + CTString strBaseName = fnm.FileName(); + // set it for current player + CPlayerCharacter &pc = _pGame->gm_apcPlayers[*_pGUIM->gmPlayerProfile.gm_piCurrentPlayer]; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); + strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +extern void ControlsMenuOn(); +extern void ControlsMenuOff(); + +BOOL LSLoadControls(const CTFileName &fnm) +{ + try { + ControlsMenuOn(); + _pGame->gm_ctrlControlsExtra.Load_t(fnm); + ControlsMenuOff(); + } + catch (char *strError) { + CPrintF("%s", strError); + } + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +BOOL LSLoadAddon(const CTFileName &fnm) +{ + extern INDEX _iAddonExecState; + extern CTFileName _fnmAddonToExec; + _iAddonExecState = 1; + _fnmAddonToExec = fnm; + return TRUE; +} + +BOOL LSLoadMod(const CTFileName &fnm) +{ + _fnmModSelected = fnm; + extern void ModConfirm(void); + ModConfirm(); + return TRUE; +} + +BOOL LSLoadCustom(const CTFileName &fnm) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); + // mgVarTitle.mg_strText.OnlyFirstLine(); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = fnm; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); + return TRUE; +} + +BOOL LSLoadNetSettings(const CTFileName &fnm) +{ + sam_strNetworkSettings = fnm; + CTString strCmd; + strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); + _pShell->Execute(strCmd); + + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; +} + +// same function for saving in singleplay, network and splitscreen +BOOL LSSaveAnyGame(const CTFileName &fnm) +{ + if (_pGame->SaveGame(fnm)) { + StopMenus(); + return TRUE; + } + else { + return FALSE; + } +} + +BOOL LSSaveDemo(const CTFileName &fnm) +{ + // save the demo + if (_pGame->StartDemoRec(fnm)) { + StopMenus(); + return TRUE; + } + else { + return FALSE; + } +} + +void StartNetworkLoadGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + if (_pGame->LoadGame(_fnGameToLoad)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } + else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartSplitScreenGameLoad(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(_fnGameToLoad)) { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } + else { + _gmRunningGameMode = GM_NONE; + } +} \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h new file mode 100644 index 0000000..b0be0c1 --- /dev/null +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h @@ -0,0 +1,26 @@ +/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ + +#ifndef SE_INCL_MENU_STARTERSAF_H +#define SE_INCL_MENU_STARTERSAF_H +#ifdef PRAGMA_ONCE + #pragma once +#endif + + +BOOL LSLoadSinglePlayer(const CTFileName &fnm); +BOOL LSLoadNetwork(const CTFileName &fnm); +BOOL LSLoadSplitScreen(const CTFileName &fnm); +BOOL LSLoadDemo(const CTFileName &fnm); +BOOL LSLoadPlayerModel(const CTFileName &fnm); +BOOL LSLoadControls(const CTFileName &fnm); +BOOL LSLoadAddon(const CTFileName &fnm); +BOOL LSLoadMod(const CTFileName &fnm); +BOOL LSLoadCustom(const CTFileName &fnm); +BOOL LSLoadNetSettings(const CTFileName &fnm); +BOOL LSSaveAnyGame(const CTFileName &fnm); +BOOL LSSaveDemo(const CTFileName &fnm); +void StartDemoPlay(void); +void StartNetworkLoadGame(void); +void StartSplitScreenGameLoad(void); + +#endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp b/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp deleted file mode 100644 index a1259d1..0000000 --- a/Sources/SeriousSam/GUI/Menus/Menu_starters.cpp +++ /dev/null @@ -1,959 +0,0 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ - -#include "StdH.h" -#include - -#include "MenuManager.h" -#include "Menu_starters.h" -#include "MenuStuff.h" -#include "LevelInfo.h" - -extern void(*_pAfterLevelChosen)(void); -extern BOOL _bPlayerMenuFromSinglePlayer; - -extern CTString _strLastPlayerAppearance; -extern CTString sam_strNetworkSettings; - -extern CTFileName _fnmModSelected; -extern CTString _strModURLSelected; -extern CTString _strModServerSelected; - -CTFileName _fnDemoToPlay; -CTFileName _fnGameToLoad; - -void StartVideoOptionsMenu(void) -{ - ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); -} - -void StartAudioOptionsMenu(void) -{ - ChangeToMenu(&_pGUIM->gmAudioOptionsMenu); -} - -void StartNetworkMenu(void) -{ - ChangeToMenu(&_pGUIM->gmNetworkMenu); -} - -void StartNetworkJoinMenu(void) -{ - ChangeToMenu(&_pGUIM->gmNetworkJoinMenu); -} - -void StartNetworkStartMenu(void) -{ - ChangeToMenu(&_pGUIM->gmNetworkStartMenu); -} - -void StartNetworkOpenMenu(void) -{ - ChangeToMenu(&_pGUIM->gmNetworkOpenMenu); -} - -void StartSplitScreenMenu(void) -{ - ChangeToMenu(&_pGUIM->gmSplitScreenMenu); -} - -void StartSplitStartMenu(void) -{ - ChangeToMenu(&_pGUIM->gmSplitStartMenu); -} - -void StartSinglePlayerNewMenuCustom(void) -{ - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmLevelsMenu; - ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); -} - -static void SetQuickLoadNotes(void) -{ - if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( - "In-game QuickSave shortcuts:\n" - "F6 - save a new QuickSave\n" - "F9 - load the last QuickSave\n"); - } else { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - } -} - -void StartSinglePlayerNewMenu(void) -{ - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - extern CTString sam_strFirstLevel; - _pGame->gam_strCustomLevel = sam_strFirstLevel; - ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); -} - -BOOL LSLoadSinglePlayer(const CTFileName &fnm) -{ - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; - _pGame->gm_aiStartLocalPlayers[1] = -1; - _pGame->gm_aiStartLocalPlayers[2] = -1; - _pGame->gm_aiStartLocalPlayers[3] = -1; - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame(fnm)) { - StopMenus(); - _gmRunningGameMode = GM_SINGLE_PLAYER; - } else { - _gmRunningGameMode = GM_NONE; - } - return TRUE; -} - -BOOL LSLoadNetwork(const CTFileName &fnm) -{ - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromNetworkLoad(); - return TRUE; -} - -BOOL LSLoadSplitScreen(const CTFileName &fnm) -{ - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromSplitScreenLoad(); - return TRUE; -} - -void StartDemoPlay(void) -{ - _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; - // play the demo - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->StartDemoPlay(_fnDemoToPlay)) - { - // exit menu and pull up the console - StopMenus(); - if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; - _gmRunningGameMode = GM_DEMO; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -extern BOOL LSLoadDemo(const CTFileName &fnm) -{ - // call local players menu - _fnDemoToPlay = fnm; - StartDemoPlay(); - return TRUE; -} - -BOOL LSLoadPlayerModel(const CTFileName &fnm) -{ - // get base filename - CTString strBaseName = fnm.FileName(); - // set it for current player - CPlayerCharacter &pc = _pGame->gm_apcPlayers[*_pGUIM->gmPlayerProfile.gm_piCurrentPlayer]; - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); - strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); - -BOOL LSLoadControls(const CTFileName &fnm) -{ - try { - ControlsMenuOn(); - _pGame->gm_ctrlControlsExtra.Load_t(fnm); - ControlsMenuOff(); - } catch (char *strError) { - CPrintF("%s", strError); - } - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -BOOL LSLoadAddon(const CTFileName &fnm) -{ - extern INDEX _iAddonExecState; - extern CTFileName _fnmAddonToExec; - _iAddonExecState = 1; - _fnmAddonToExec = fnm; - return TRUE; -} - -BOOL LSLoadMod(const CTFileName &fnm) -{ - _fnmModSelected = fnm; - extern void ModConfirm(void); - ModConfirm(); - return TRUE; -} - -BOOL LSLoadCustom(const CTFileName &fnm) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); - // mgVarTitle.mg_strText.OnlyFirstLine(); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = fnm; - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&_pGUIM->gmVarMenu); - return TRUE; -} - -BOOL LSLoadNetSettings(const CTFileName &fnm) -{ - sam_strNetworkSettings = fnm; - CTString strCmd; - strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); - _pShell->Execute(strCmd); - - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; -} - -// same function for saving in singleplay, network and splitscreen -BOOL LSSaveAnyGame(const CTFileName &fnm) -{ - if (_pGame->SaveGame(fnm)) { - StopMenus(); - return TRUE; - } else { - return FALSE; - } -} - -BOOL LSSaveDemo(const CTFileName &fnm) -{ - // save the demo - if (_pGame->StartDemoRec(fnm)) { - StopMenus(); - return TRUE; - } else { - return FALSE; - } -} - -void StartSinglePlayerQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_SINGLE_PLAYER; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - SetQuickLoadNotes(); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSinglePlayerLoadMenu(void) -{ - _gmMenuGameMode = GM_SINGLE_PLAYER; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSinglePlayer; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSinglePlayerSaveMenu(void) -{ - if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; - // if no live players - if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { - // do nothing - return; - } - _gmMenuGameMode = GM_SINGLE_PLAYER; - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartDemoLoadMenu(void) -{ - _gmMenuGameMode = GM_DEMO; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadDemo; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartDemoSaveMenu(void) -{ - if (_gmRunningGameMode == GM_NONE) return; - _gmMenuGameMode = GM_DEMO; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Demos\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("Demo"); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".dem"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveDemo; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartNetworkQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_NETWORK; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - SetQuickLoadNotes(); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartNetworkLoadMenu(void) -{ - _gmMenuGameMode = GM_NETWORK; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetwork; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartNetworkSaveMenu(void) -{ - if (_gmRunningGameMode != GM_NETWORK) return; - _gmMenuGameMode = GM_NETWORK; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSplitScreenQuickLoadMenu(void) -{ - _gmMenuGameMode = GM_SPLIT_SCREEN; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - SetQuickLoadNotes(); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSplitScreenLoadMenu(void) -{ - _gmMenuGameMode = GM_SPLIT_SCREEN; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadSplitScreen; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSplitScreenSaveMenu(void) -{ - if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; - _gmMenuGameMode = GM_SPLIT_SCREEN; - - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("SAVE"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEDN; - _pGUIM->gmLoadSaveMenu.gm_bSave = TRUE; - _pGUIM->gmLoadSaveMenu.gm_bManage = TRUE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmBaseName = CTString("SaveGame"); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".sav"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSSaveAnyGame; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - _pGUIM->gmLoadSaveMenu.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -// game options var settings -void StartVarGameOptions(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); -} - -void StartSinglePlayerGameOptions(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; -} - -void StartGameOptionsFromNetwork(void) -{ - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; -} - -void StartGameOptionsFromSplitScreen(void) -{ - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; -} - -// rendering options var settings -void StartRenderingOptionsMenu(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; - ChangeToMenu(&_pGUIM->gmVarMenu); -} - -void StartCustomizeKeyboardMenu(void) -{ - ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); -} - -void StartCustomizeAxisMenu(void) -{ - ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); -} - -void StartOptionsMenu(void) -{ - _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmOptionsMenu); -} - -void StartCurrentLoadMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkLoadMenu(void); - StartNetworkLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenLoadMenu(void); - StartSplitScreenLoadMenu(); - } else { - void StartSinglePlayerLoadMenu(void); - StartSinglePlayerLoadMenu(); - } -} - -void StartCurrentSaveMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkSaveMenu(void); - StartNetworkSaveMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenSaveMenu(void); - StartSplitScreenSaveMenu(); - } else { - void StartSinglePlayerSaveMenu(void); - StartSinglePlayerSaveMenu(); - } -} - -void StartCurrentQuickLoadMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkQuickLoadMenu(void); - StartNetworkQuickLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenQuickLoadMenu(void); - StartSplitScreenQuickLoadMenu(); - } else { - void StartSinglePlayerQuickLoadMenu(void); - StartSinglePlayerQuickLoadMenu(); - } -} - -void StartChangePlayerMenuFromOptions(void) -{ - _bPlayerMenuFromSinglePlayer = FALSE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); -} - -void StartChangePlayerMenuFromSinglePlayer(void) -{ - _iLocalPlayer = -1; - _bPlayerMenuFromSinglePlayer = TRUE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); -} - -void StartControlsMenuFromPlayer(void) -{ - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&_pGUIM->gmControls); -} - -void StartControlsMenuFromOptions(void) -{ - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmControls); -} - -void StartSelectLevelFromSingle(void) -{ - FilterLevels(GetSpawnFlagsForGameType(-1)); - _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; -} - -void StartHighScoreMenu(void) -{ - _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmHighScoreMenu); -} - -void StartSplitScreenGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromSplit(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); -} - -void StartNetworkGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - // if starting a dedicated server - if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - // pull down the console - extern INDEX sam_bToggleConsole; - sam_bToggleConsole = TRUE; - } - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromNetwork(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); -} - -void JoinNetworkGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "TCP/IP Client"; - if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - if (_pNetwork->ga_strRequiredMod != "") { - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; - char strModName[256] = { 0 }; - char strModURL[256] = { 0 }; - _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); - _fnmModSelected = CTString(strModName); - _strModURLSelected = strModURL; - if (_strModURLSelected = "") { - _strModURLSelected = "http://www.croteam.com/mods/Old"; - } - _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); - extern void ModConnectConfirm(void); - ModConnectConfirm(); - } - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromOpen(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; - } -} -void StartSelectPlayersMenuFromServers(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; - } -} - -void StartSelectServerLAN(void) -{ - _pGUIM->gmServersMenu.m_bInternet = FALSE; - ChangeToMenu(&_pGUIM->gmServersMenu); - _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; -} - -void StartSelectServerNET(void) -{ - _pGUIM->gmServersMenu.m_bInternet = TRUE; - ChangeToMenu(&_pGUIM->gmServersMenu); - _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; -} - -void StartSelectLevelFromSplit(void) -{ - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - void StartSplitStartMenu(void); - _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; -} - -void StartSelectLevelFromNetwork(void) -{ - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - void StartNetworkStartMenu(void); - _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; -} - -void StartSelectPlayersMenuFromSplitScreen(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - // gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); -} - -void StartNetworkLoadGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - if (_pGame->LoadGame(_fnGameToLoad)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromNetworkLoad(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); -} - -void StartSplitScreenGameLoad(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame(_fnGameToLoad)) { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -void StartSelectPlayersMenuFromSplitScreenLoad(void) -{ - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); -} - -// save/load menu calling functions -void StartPlayerModelLoadMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Models\\Player\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = _strLastPlayerAppearance; - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".amc"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadPlayerModel; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartControlsLoadMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Controls\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ctl"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadControls; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmControls; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartCustomLoadMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".cfg"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadCustom; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartAddonsLoadMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadAddon; - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartModsLoadMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = TRUE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_NAMEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Mods\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = CTString(""); - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".des"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadMod; - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartNetworkSettingsMenu(void) -{ - _pGUIM->gmLoadSaveMenu.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - _pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails = FALSE; - _pGUIM->gmLoadSaveMenu.gm_iSortType = LSSORT_FILEUP; - _pGUIM->gmLoadSaveMenu.gm_bSave = FALSE; - _pGUIM->gmLoadSaveMenu.gm_bManage = FALSE; - _pGUIM->gmLoadSaveMenu.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - _pGUIM->gmLoadSaveMenu.gm_fnmSelected = sam_strNetworkSettings; - _pGUIM->gmLoadSaveMenu.gm_fnmExt = CTString(".ini"); - _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen = &LSLoadNetSettings; - if (sam_strNetworkSettings == "") { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( - "Before joining a network game,\n" - "you have to adjust your connection parameters.\n" - "Choose one option from the list.\n" - "If you have problems with connection, you can adjust\n" - "these parameters again from the Options menu.\n" - ); - } else { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; - } - - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmLoadSaveMenu); -} - -void StartSinglePlayerMenu(void) -{ - ChangeToMenu(&_pGUIM->gmSinglePlayerMenu); -} \ No newline at end of file diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 7acbeac..93fed95 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -202,10 +202,11 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + - + @@ -252,10 +253,12 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul + + - + @@ -276,7 +279,7 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - + Use StdH.h diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index e56f422..6bacaec 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -201,15 +201,18 @@ Source Files\GUI\Menus - - Source Files\GUI\Menus - - - Source Files\GUI\Menus - Source Files\GUI\Menus + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + + + Source Files\GUI\Menus + @@ -392,10 +395,16 @@ Header Files\GUI headers\Menus headers - + Header Files\GUI headers\Menus headers - + + Header Files\GUI headers\Menus headers + + + Header Files\GUI headers\Menus headers + + Header Files\GUI headers\Menus headers From 1f0da8a4436b81059bdb8dbcd67cfdaad5085c31 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Wed, 30 Mar 2016 23:09:51 +0300 Subject: [PATCH 51/62] GameExecutable: Some cleanup for menu code. --- Sources/SeriousSam/GUI/Menus/MControls.cpp | 2 - .../SeriousSam/GUI/Menus/MCustomizeAxis.cpp | 3 - .../GUI/Menus/MCustomizeKeyboard.cpp | 4 +- Sources/SeriousSam/GUI/Menus/Menu.cpp | 50 -------------- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 25 +++---- Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 66 ++++++++++++------- Sources/SeriousSam/GUI/Menus/MenuStarters.h | 1 + .../SeriousSam/GUI/Menus/MenuStartersAF.cpp | 4 +- Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 30 +++++++++ Sources/SeriousSam/GUI/Menus/MenuStuff.h | 3 + 10 files changed, 87 insertions(+), 101 deletions(-) diff --git a/Sources/SeriousSam/GUI/Menus/MControls.cpp b/Sources/SeriousSam/GUI/Menus/MControls.cpp index 971c309..76c81b4 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.cpp +++ b/Sources/SeriousSam/GUI/Menus/MControls.cpp @@ -6,8 +6,6 @@ #include "MenuStuff.h" #include "MControls.h" -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); extern CTFileName _fnmControlsToCustomize; diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp index a819fb3..b84066d 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp @@ -6,9 +6,6 @@ #include "MenuStuff.h" #include "MCustomizeAxis.h" -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); - void CCustomizeAxisMenu::Initialize_t(void) { diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp index b74bb6a..f541665 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp @@ -3,11 +3,9 @@ #include "StdH.h" #include #include "MenuPrinting.h" +#include "MenuStuff.h" #include "MCustomizeKeyboard.h" -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); - void CCustomizeKeyboardMenu::FillListItems(void) { diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index 9cbd6d1..125fc91 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -44,8 +44,6 @@ void OnPlayerSelect(void); TIME _tmMenuLastTickDone = -1; // all possible menu entities CListHead lhMenuEntities; -// controls that are currently customized -CTFileName _fnmControlsToCustomize = CTString(""); extern CTString _strLastPlayerAppearance = ""; extern CTString sam_strNetworkSettings; @@ -55,34 +53,8 @@ void (*_pAfterLevelChosen)(void); // functions for init actions - void FixupBackButton(CGameMenu *pgm); -extern void ControlsMenuOn() -{ - _pGame->SavePlayersAndControls(); - try { - _pGame->gm_ctrlControlsExtra.Load_t(_fnmControlsToCustomize); - } catch( char *strError) { - WarningMessage(strError); - } -} - -extern void ControlsMenuOff() -{ - try { - if (_pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count()>0) { - _pGame->gm_ctrlControlsExtra.Save_t(_fnmControlsToCustomize); - } - } catch( char *strError) { - FatalError(strError); - } - FORDELETELIST( CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) { - delete &itAct.Current(); - } - _pGame->LoadPlayersAndControls(); -} - // mouse cursor position extern PIX _pixCursorPosI = 0; extern PIX _pixCursorPosJ = 0; @@ -244,32 +216,11 @@ void StopMenus( BOOL bGoToRoot /*=TRUE*/) } } - BOOL IsMenusInRoot(void) { return pgmCurrentMenu == NULL || pgmCurrentMenu == &_pGUIM->gmMainMenu || pgmCurrentMenu == &_pGUIM->gmInGameMenu; } -// ---------------------- When activated functions -void StopCurrentGame(void) -{ - _pGame->StopGame(); - _gmRunningGameMode=GM_NONE; - StopMenus(TRUE); - StartMenus(""); -} - -void DisabledFunction(void) -{ - _pGUIM->gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmDisabledFunction.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); - _pGUIM->gmDisabledFunction.gm_mgTitle.mg_strText = TRANS("DISABLED"); - ChangeToMenu(&_pGUIM->gmDisabledFunction); -} - -extern void InitVideoOptionsButtons(void); -extern void UpdateVideoOptionsButtons(INDEX i); - // ------------------------ Global menu function implementation void InitializeMenus(void) { @@ -485,7 +436,6 @@ void InitializeMenus(void) } } - void DestroyMenus( void) { _pGUIM->gmMainMenu.Destroy(); diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index 7308fad..f11c406 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -108,9 +108,16 @@ void ExitConfirm(void) ChangeToMenu(&_pGUIM->gmConfirmMenu); } +void StopCurrentGame(void) +{ + _pGame->StopGame(); + _gmRunningGameMode = GM_NONE; + StopMenus(TRUE); + StartMenus(""); +} + void StopConfirm(void) { - extern void StopCurrentGame(void); _pConfimedYes = &StopCurrentGame; _pConfimedNo = NULL; _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); @@ -1064,22 +1071,6 @@ void InitActionsForNetworkStartMenu() _pGUIM->gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; } -// -#define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ - gd.mg_boxOnScreen = box; \ - gd.mg_pmgUp = up; \ - gd.mg_pmgDown = dn; \ - gd.mg_pmgLeft = lf; \ - gd.mg_pmgRight = rt; \ - gd.mg_strText = txt; \ - gm_lhGadgets.AddTail(gd.mg_lnNode); - -#define SET_CHGPLR( gd, iplayer, bnone, bauto, pmgit) \ - gd.mg_pmgInfoTable = pmgit; \ - gd.mg_bResetToNone = bnone; \ - gd.mg_bAutomatic = bauto; \ - gd.mg_iLocalPlayer = iplayer; - // ------------------------ CSelectPlayersMenu implementation #define CMENU _pGUIM->gmSelectPlayersMenu diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index 8421d38..a5db1cf 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -483,15 +483,19 @@ void StartSplitScreenGame(void) } } +#define CMENU _pGUIM->gmSelectPlayersMenu + void StartSelectPlayersMenuFromSplit(void) { - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = FALSE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&CMENU); } +#undef CMENU + void StartNetworkGame(void) { // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; @@ -522,15 +526,19 @@ void StartNetworkGame(void) } } +#define CMENU _pGUIM->gmSelectPlayersMenu + void StartSelectPlayersMenuFromNetwork(void) { - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + CMENU.gm_bAllowDedicated = TRUE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&CMENU); } +#undef CMENU + void JoinNetworkGame(void) { // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; @@ -566,39 +574,43 @@ void JoinNetworkGame(void) } } +#define CMENU _pGUIM->gmSelectPlayersMenu + void StartSelectPlayersMenuFromOpen(void) { - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&CMENU); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; } } void StartSelectPlayersMenuFromServers(void) { - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = TRUE; - _pGUIM->gmSelectPlayersMenu.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - ChangeToMenu(&_pGUIM->gmSelectPlayersMenu); + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&CMENU); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &_pGUIM->gmSelectPlayersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; } } +#undef CMENU + void StartSelectServerLAN(void) { _pGUIM->gmServersMenu.m_bInternet = FALSE; @@ -776,4 +788,12 @@ void StartNetworkSettingsMenu(void) ChangeToMenu(&CMENU); } -#undef CMENU \ No newline at end of file +#undef CMENU + +void DisabledFunction(void) +{ + _pGUIM->gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; + _pGUIM->gmDisabledFunction.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); + _pGUIM->gmDisabledFunction.gm_mgTitle.mg_strText = TRANS("DISABLED"); + ChangeToMenu(&_pGUIM->gmDisabledFunction); +} \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.h b/Sources/SeriousSam/GUI/Menus/MenuStarters.h index 8c622ae..b023277 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.h @@ -63,5 +63,6 @@ void StartAddonsLoadMenu(void); void StartModsLoadMenu(void); void StartNetworkSettingsMenu(void); void StartSinglePlayerMenu(void); +void DisabledFunction(void); #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp index d6f7d37..8054efb 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -8,6 +8,7 @@ #include "MenuManager.h" #include "MenuStartersAF.h" #include "MenuStarters.h" +#include "MenuStuff.h" CTFileName _fnDemoToPlay; CTFileName _fnGameToLoad; @@ -94,9 +95,6 @@ BOOL LSLoadPlayerModel(const CTFileName &fnm) return TRUE; } -extern void ControlsMenuOn(); -extern void ControlsMenuOff(); - BOOL LSLoadControls(const CTFileName &fnm) { try { diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index 191c6f7..0d17a62 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -261,4 +261,34 @@ enum DisplayDepth SwitchToDepth(INDEX i) case 2: return DD_32BIT; default: ASSERT(FALSE); return DD_DEFAULT; } +} + +// controls that are currently customized +CTFileName _fnmControlsToCustomize = CTString(""); + +void ControlsMenuOn() +{ + _pGame->SavePlayersAndControls(); + try { + _pGame->gm_ctrlControlsExtra.Load_t(_fnmControlsToCustomize); + } + catch (char *strError) { + WarningMessage(strError); + } +} + +void ControlsMenuOff() +{ + try { + if (_pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count()>0) { + _pGame->gm_ctrlControlsExtra.Save_t(_fnmControlsToCustomize); + } + } + catch (char *strError) { + FatalError(strError); + } + FORDELETELIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) { + delete &itAct.Current(); + } + _pGame->LoadPlayersAndControls(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h index 6e3febe..efc4187 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.h @@ -52,4 +52,7 @@ enum GfxAPIType SwitchToAPI(INDEX i); INDEX DepthToSwitch(enum DisplayDepth dd); enum DisplayDepth SwitchToDepth(INDEX i); +void ControlsMenuOn(); +void ControlsMenuOff(); + #endif /* include-once check. */ \ No newline at end of file From cb907fbb87e260961e87644261e9c9a804379a86 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 03:38:57 +0300 Subject: [PATCH 52/62] GameExecutable: Add License into sources. --- Sources/SeriousSam/ArrowDir.h | 14 +++++++++++++- Sources/SeriousSam/CDCheck.h | 14 +++++++++++++- Sources/SeriousSam/CmdLine.cpp | 14 +++++++++++++- Sources/SeriousSam/CmdLine.h | 14 +++++++++++++- Sources/SeriousSam/Credits.cpp | 14 +++++++++++++- Sources/SeriousSam/Credits.h | 14 +++++++++++++- Sources/SeriousSam/FileInfo.h | 14 +++++++++++++- Sources/SeriousSam/GLSettings.cpp | 14 +++++++++++++- Sources/SeriousSam/GLSettings.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGArrow.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGArrow.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGButton.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGButton.h | 14 +++++++++++++- .../GUI/Components/MGChangePlayer.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGChangePlayer.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGEdit.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGEdit.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGFileButton.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGFileButton.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGHighScore.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGHighScore.h | 14 +++++++++++++- .../GUI/Components/MGKeyDefinition.cpp | 14 +++++++++++++- .../GUI/Components/MGKeyDefinition.h | 14 +++++++++++++- .../GUI/Components/MGLevelButton.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGLevelButton.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGModel.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGModel.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGServerList.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGServerList.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGSlider.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGSlider.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGTitle.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGTitle.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGTrigger.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MGTrigger.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGVarButton.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Components/MGVarButton.h | 14 +++++++++++++- .../SeriousSam/GUI/Components/MenuGadget.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Components/MenuGadget.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/GameMenu.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/GameMenu.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MAudioOptions.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MConfirm.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MConfirm.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MControls.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MControls.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MCredits.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MCustomizeAxis.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h | 16 ++++++++++++++-- .../GUI/Menus/MCustomizeKeyboard.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MCustomizeKeyboard.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MDisabled.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MDisabled.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MHighScore.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MHighScore.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MInGame.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MInGame.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MLevels.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MLevels.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MLoadSave.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MLoadSave.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MMain.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MMain.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetwork.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetwork.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkJoin.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkOpen.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MNetworkStart.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MOptions.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MOptions.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MPlayerProfile.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MPlayerProfile.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MRenderingOptions.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MSelectPlayers.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSelectPlayers.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MServers.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MServers.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSinglePlayer.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MSinglePlayerNew.cpp | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MSinglePlayerNew.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSplitScreen.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSplitStart.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MSplitStart.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MVar.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MVar.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MVideoOptions.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/Menu.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/Menu.h | 18 ++++++++++++++---- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuActions.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuManager.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuManager.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuPrinting.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuStarters.h | 14 +++++++++++++- .../SeriousSam/GUI/Menus/MenuStartersAF.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuStartersAF.h | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 14 +++++++++++++- Sources/SeriousSam/GUI/Menus/MenuStuff.h | 14 +++++++++++++- Sources/SeriousSam/LCDDrawing.cpp | 14 +++++++++++++- Sources/SeriousSam/LCDDrawing.h | 14 +++++++++++++- Sources/SeriousSam/LevelInfo.cpp | 14 +++++++++++++- Sources/SeriousSam/LevelInfo.h | 13 ++++++++++++- Sources/SeriousSam/MainWindow.cpp | 14 +++++++++++++- Sources/SeriousSam/MainWindow.h | 14 +++++++++++++- Sources/SeriousSam/SeriousSam.cpp | 14 +++++++++++++- Sources/SeriousSam/SeriousSam.h | 14 +++++++++++++- Sources/SeriousSam/SplashScreen.cpp | 14 +++++++++++++- Sources/SeriousSam/SplashScreen.h | 14 +++++++++++++- Sources/SeriousSam/StdH.cpp | 14 +++++++++++++- Sources/SeriousSam/StdH.h | 14 +++++++++++++- Sources/SeriousSam/VarList.cpp | 14 +++++++++++++- Sources/SeriousSam/VarList.h | 14 +++++++++++++- Sources/SeriousSam/resource.h | 14 +++++++++++++- 122 files changed, 1587 insertions(+), 126 deletions(-) diff --git a/Sources/SeriousSam/ArrowDir.h b/Sources/SeriousSam/ArrowDir.h index 6d7f41e..aa9740d 100644 --- a/Sources/SeriousSam/ArrowDir.h +++ b/Sources/SeriousSam/ArrowDir.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_ARROWDIR_H #define SE_INCL_ARROWDIR_H diff --git a/Sources/SeriousSam/CDCheck.h b/Sources/SeriousSam/CDCheck.h index ae09a68..283b894 100644 --- a/Sources/SeriousSam/CDCheck.h +++ b/Sources/SeriousSam/CDCheck.h @@ -1,3 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define CD_CHECK 1 diff --git a/Sources/SeriousSam/CmdLine.cpp b/Sources/SeriousSam/CmdLine.cpp index bf46e62..4156bfe 100644 --- a/Sources/SeriousSam/CmdLine.cpp +++ b/Sources/SeriousSam/CmdLine.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/CmdLine.h b/Sources/SeriousSam/CmdLine.h index 598b566..492b11d 100644 --- a/Sources/SeriousSam/CmdLine.h +++ b/Sources/SeriousSam/CmdLine.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CMDLINE_H #define SE_INCL_CMDLINE_H diff --git a/Sources/SeriousSam/Credits.cpp b/Sources/SeriousSam/Credits.cpp index f99dad5..489e9d6 100644 --- a/Sources/SeriousSam/Credits.cpp +++ b/Sources/SeriousSam/Credits.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" #include diff --git a/Sources/SeriousSam/Credits.h b/Sources/SeriousSam/Credits.h index 17831ca..a2ecc50 100644 --- a/Sources/SeriousSam/Credits.h +++ b/Sources/SeriousSam/Credits.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_CREDITS_H #define SE_INCL_CREDITS_H diff --git a/Sources/SeriousSam/FileInfo.h b/Sources/SeriousSam/FileInfo.h index cd24acd..cad9465 100644 --- a/Sources/SeriousSam/FileInfo.h +++ b/Sources/SeriousSam/FileInfo.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_FILEINFO_H #define SE_INCL_FILEINFO_H diff --git a/Sources/SeriousSam/GLSettings.cpp b/Sources/SeriousSam/GLSettings.cpp index ccd78f4..59e2c02 100644 --- a/Sources/SeriousSam/GLSettings.cpp +++ b/Sources/SeriousSam/GLSettings.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stdh.h" diff --git a/Sources/SeriousSam/GLSettings.h b/Sources/SeriousSam/GLSettings.h index 7207a2b..6110d0f 100644 --- a/Sources/SeriousSam/GLSettings.h +++ b/Sources/SeriousSam/GLSettings.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern void InitGLSettings(void); extern void ApplyGLSettings(BOOL bForce); diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp index 5cc09a2..c88d1c4 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.cpp +++ b/Sources/SeriousSam/GUI/Components/MGArrow.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.h b/Sources/SeriousSam/GUI/Components/MGArrow.h index 803a239..e0d424f 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.h +++ b/Sources/SeriousSam/GUI/Components/MGArrow.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_ARROW_H #define SE_INCL_MENU_GADGET_ARROW_H diff --git a/Sources/SeriousSam/GUI/Components/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp index 13b98b2..d45323a 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGButton.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGButton.h b/Sources/SeriousSam/GUI/Components/MGButton.h index ed3444b..676b6ef 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.h +++ b/Sources/SeriousSam/GUI/Components/MGButton.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_BUTTON_H #define SE_INCL_MENU_GADGET_BUTTON_H diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index f2bc89b..2ae4818 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h index 16b3796..e7f343a 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_CHANGEPLAYER_H #define SE_INCL_MENU_GADGET_CHANGEPLAYER_H diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index 512d0bd..10a077f 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.h b/Sources/SeriousSam/GUI/Components/MGEdit.h index 70a6b9b..12ff4b1 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.h +++ b/Sources/SeriousSam/GUI/Components/MGEdit.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_EDIT_H #define SE_INCL_MENU_GADGET_EDIT_H diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index 3fe7cbb..b1af656 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.h b/Sources/SeriousSam/GUI/Components/MGFileButton.h index 0e614a3..8dee6a4 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.h +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_FILEBUTTON_H #define SE_INCL_MENU_GADGET_FILEBUTTON_H diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp index 3b7bfaa..31466ee 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.h b/Sources/SeriousSam/GUI/Components/MGHighScore.h index 9c0c2b0..614460f 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.h +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_HIGHSCORE_H #define SE_INCL_MENU_GADGET_HIGHSCORE_H diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index 0c3f0d0..4d82ba6 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h index 6686e7a..157361b 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_KEYDEFINITION_H #define SE_INCL_MENU_GADGET_KEYDEFINITION_H diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp index 0eeb0c1..2fe418f 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.h b/Sources/SeriousSam/GUI/Components/MGLevelButton.h index 31f491a..24c4578 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.h +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_LEVELBUTTON_H #define SE_INCL_MENU_GADGET_LEVELBUTTON_H diff --git a/Sources/SeriousSam/GUI/Components/MGModel.cpp b/Sources/SeriousSam/GUI/Components/MGModel.cpp index a776b32..0d45d05 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.cpp +++ b/Sources/SeriousSam/GUI/Components/MGModel.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGModel.h b/Sources/SeriousSam/GUI/Components/MGModel.h index 69beaaf..72d4f30 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.h +++ b/Sources/SeriousSam/GUI/Components/MGModel.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_MODEL_H #define SE_INCL_MENU_GADGET_MODEL_H diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index a676913..5872ea9 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.h b/Sources/SeriousSam/GUI/Components/MGServerList.h index cbfe00d..4796013 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.h +++ b/Sources/SeriousSam/GUI/Components/MGServerList.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_SERVERLIST_H #define SE_INCL_MENU_GADGET_SERVERLIST_H diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index 0722e0f..18055f7 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.h b/Sources/SeriousSam/GUI/Components/MGSlider.h index 8e00272..12f1f7a 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.h +++ b/Sources/SeriousSam/GUI/Components/MGSlider.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_SLIDER_H #define SE_INCL_MENU_GADGET_SLIDER_H diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.cpp b/Sources/SeriousSam/GUI/Components/MGTitle.cpp index 1151fa3..c5d7098 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTitle.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.h b/Sources/SeriousSam/GUI/Components/MGTitle.h index b4d79ea..eab0473 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.h +++ b/Sources/SeriousSam/GUI/Components/MGTitle.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_TITLE_H #define SE_INCL_MENU_GADGET_TITLE_H diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index a580463..5c11360 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.h b/Sources/SeriousSam/GUI/Components/MGTrigger.h index 654268c..6392eff 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.h +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_TRIGGER_H #define SE_INCL_MENU_GADGET_TRIGGER_H diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index b783847..5537ce3 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.h b/Sources/SeriousSam/GUI/Components/MGVarButton.h index b414bd6..820165a 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.h +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_VARBUTTON_H #define SE_INCL_MENU_GADGET_VARBUTTON_H diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp index 18ef392..36a1f2c 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.h b/Sources/SeriousSam/GUI/Components/MenuGadget.h index d788e59..3d03589 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.h +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_GADGET_H #define SE_INCL_MENU_GADGET_H diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp index 4518dfd..91dd9d8 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.h b/Sources/SeriousSam/GUI/Menus/GameMenu.h index c1c852a..72b57a6 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.h +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_H #define SE_INCL_GAME_MENU_H diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp index 74f768d..e62316d 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h index 7f2cdf1..e0d1b5a 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_AUDIOOPTIONS_H #define SE_INCL_GAME_MENU_AUDIOOPTIONS_H diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp index ebae619..52267fe 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.h b/Sources/SeriousSam/GUI/Menus/MConfirm.h index 689fc14..904f1c0 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.h +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_CONFIRM_H #define SE_INCL_GAME_MENU_CONFIRM_H diff --git a/Sources/SeriousSam/GUI/Menus/MControls.cpp b/Sources/SeriousSam/GUI/Menus/MControls.cpp index 76c81b4..5ec61a4 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.cpp +++ b/Sources/SeriousSam/GUI/Menus/MControls.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MControls.h b/Sources/SeriousSam/GUI/Menus/MControls.h index 7f07ee0..f34503f 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.h +++ b/Sources/SeriousSam/GUI/Menus/MControls.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_CONTROLS_H #define SE_INCL_GAME_MENU_CONTROLS_H diff --git a/Sources/SeriousSam/GUI/Menus/MCredits.h b/Sources/SeriousSam/GUI/Menus/MCredits.h index 10f602b..06be76d 100644 --- a/Sources/SeriousSam/GUI/Menus/MCredits.h +++ b/Sources/SeriousSam/GUI/Menus/MCredits.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_CREDITS_H #define SE_INCL_GAME_MENU_CREDITS_H diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp index b84066d..9b9fc23 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h index f050279..6038733 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h @@ -1,9 +1,21 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_CUSTOMIZEAXIS_H #define SE_INCL_GAME_MENU_CUSTOMIZEAXIS_H #ifdef PRAGMA_ONCE -#pragma once + #pragma once #endif #include "GameMenu.h" diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp index f541665..c9ab6bf 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h index 0f7746a..0b4c96e 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_CUSTOMIZEKEYBOARD_H #define SE_INCL_GAME_MENU_CUSTOMIZEKEYBOARD_H diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp index 828d321..8c61de8 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.h b/Sources/SeriousSam/GUI/Menus/MDisabled.h index 6b648c2..0a13a46 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.h +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_DISABLED_H #define SE_INCL_GAME_MENU_DISABLED_H diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp index c056c23..67077a4 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.h b/Sources/SeriousSam/GUI/Menus/MHighScore.h index 862edbc..d563953 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.h +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_HIGHSCORE_H #define SE_INCL_GAME_MENU_HIGHSCORE_H diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.cpp b/Sources/SeriousSam/GUI/Menus/MInGame.cpp index 93b4dbc..3673783 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.cpp +++ b/Sources/SeriousSam/GUI/Menus/MInGame.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.h b/Sources/SeriousSam/GUI/Menus/MInGame.h index 548c2f6..c337fc3 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.h +++ b/Sources/SeriousSam/GUI/Menus/MInGame.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_INGAME_H #define SE_INCL_GAME_MENU_INGAME_H diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.cpp b/Sources/SeriousSam/GUI/Menus/MLevels.cpp index bf90414..141236f 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLevels.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.h b/Sources/SeriousSam/GUI/Menus/MLevels.h index f6272df..d39fe06 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.h +++ b/Sources/SeriousSam/GUI/Menus/MLevels.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_LEVELS_H #define SE_INCL_GAME_MENU_LEVELS_H diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp index 7d18238..75951ed 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.h b/Sources/SeriousSam/GUI/Menus/MLoadSave.h index 228cfce..44e794e 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.h +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_LOADSAVE_H #define SE_INCL_GAME_MENU_LOADSAVE_H diff --git a/Sources/SeriousSam/GUI/Menus/MMain.cpp b/Sources/SeriousSam/GUI/Menus/MMain.cpp index 5cb9edb..6bc4ecc 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.cpp +++ b/Sources/SeriousSam/GUI/Menus/MMain.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MMain.h b/Sources/SeriousSam/GUI/Menus/MMain.h index 5ff07ef..e1e920d 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.h +++ b/Sources/SeriousSam/GUI/Menus/MMain.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_MAIN_H #define SE_INCL_GAME_MENU_MAIN_H diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp index e4d63d6..bd20de2 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.h b/Sources/SeriousSam/GUI/Menus/MNetwork.h index 5769349..44a523f 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.h +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_NETWORK_H #define SE_INCL_GAME_MENU_NETWORK_H diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp index 6afc217..61430dc 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h index 144c28a..7875785 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_NETWORKJOIN_H #define SE_INCL_GAME_MENU_NETWORKJOIN_H diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp index 1dbdc55..895b00a 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h index 11a5759..ef1094e 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_NETWORKOPEN_H #define SE_INCL_GAME_MENU_NETWORKOPEN_H diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp index f84761f..9e24308 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h index e58b27b..9645fab 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_NETWORKSTART_H #define SE_INCL_GAME_MENU_NETWORKSTART_H diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.cpp b/Sources/SeriousSam/GUI/Menus/MOptions.cpp index b2dd54b..a038463 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MOptions.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.h b/Sources/SeriousSam/GUI/Menus/MOptions.h index c0283db..905aab9 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MOptions.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_OPTIONS_H #define SE_INCL_GAME_MENU_OPTIONS_H diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp index 6e981cb..3478a8f 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h index 53e5139..948e51a 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_PLAYERPROFILE_H #define SE_INCL_GAME_MENU_PLAYERPROFILE_H diff --git a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h index c41a546..5ccaff1 100644 --- a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_RENDERINGOPTIONS_H #define SE_INCL_GAME_MENU_RENDERINGOPTIONS_H diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp index 1c90f16..4e0d306 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h index e08a31d..a743ec5 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SELECTPLAYERS_H #define SE_INCL_GAME_MENU_SELECTPLAYERS_H diff --git a/Sources/SeriousSam/GUI/Menus/MServers.cpp b/Sources/SeriousSam/GUI/Menus/MServers.cpp index 92f67e5..943f8de 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MServers.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MServers.h b/Sources/SeriousSam/GUI/Menus/MServers.h index be7dadc..cb2d7d3 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.h +++ b/Sources/SeriousSam/GUI/Menus/MServers.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SERVERS_H #define SE_INCL_GAME_MENU_SERVERS_H diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp index 130b66d..a8c3522 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h index e472d69..5dc0efb 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SINGLEPLAYER_H #define SE_INCL_GAME_MENU_SINGLEPLAYER_H diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp index 41a0d47..d4ad48b 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h index 37914e0..1d91f95 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SINGLEPLAYERNEW_H #define SE_INCL_GAME_MENU_SINGLEPLAYERNEW_H diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp index 8920eb4..3144d80 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h index dca86ec..ed73579 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SPLITSCREEN_H #define SE_INCL_GAME_MENU_SPLITSCREEN_H diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp index fafaccf..058e872 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.h b/Sources/SeriousSam/GUI/Menus/MSplitStart.h index 5ccaaa9..1c28069 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_SPLITSTART_H #define SE_INCL_GAME_MENU_SPLITSTART_H diff --git a/Sources/SeriousSam/GUI/Menus/MVar.cpp b/Sources/SeriousSam/GUI/Menus/MVar.cpp index 373b5de..b012341 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVar.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MVar.h b/Sources/SeriousSam/GUI/Menus/MVar.h index 02186e0..4601e30 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.h +++ b/Sources/SeriousSam/GUI/Menus/MVar.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_VAR_H #define SE_INCL_GAME_MENU_VAR_H diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp index f7ddaaa..3690a61 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h index 9904f48..2cc0c69 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_GAME_MENU_VIDEOOPTIONS_H #define SE_INCL_GAME_MENU_VIDEOOPTIONS_H diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index 125fc91..8c99132 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/Menu.h b/Sources/SeriousSam/GUI/Menus/Menu.h index ab4535b..920a670 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.h +++ b/Sources/SeriousSam/GUI/Menus/Menu.h @@ -1,13 +1,23 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_H #define SE_INCL_MENU_H #ifdef PRAGMA_ONCE -#pragma once + #pragma once #endif - - // set new thumbnail void SetThumbnail(CTFileName fn); // remove thumbnail diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index f11c406..f06e376 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.h b/Sources/SeriousSam/GUI/Menus/MenuActions.h index d9cd253..0a82848 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.h +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_ACTIONS_H #define SE_INCL_MENU_ACTIONS_H diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.cpp b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp index 4a28b52..4cf434a 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuManager.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.h b/Sources/SeriousSam/GUI/Menus/MenuManager.h index ca3ba28..400ac49 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuManager.h +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENUMANAGER_H #define SE_INCL_MENUMANAGER_H diff --git a/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp b/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp index b3cea39..f482cbe 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuPrinting.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/GUI/Menus/MenuPrinting.h b/Sources/SeriousSam/GUI/Menus/MenuPrinting.h index b28acc6..2dd7a4d 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuPrinting.h +++ b/Sources/SeriousSam/GUI/Menus/MenuPrinting.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENUPRINTING_H #define SE_INCL_MENUPRINTING_H diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index a5db1cf..07e337b 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* This file contains starter fuctions for all menus. */ diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.h b/Sources/SeriousSam/GUI/Menus/MenuStarters.h index b023277..3ae8265 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_STARTERS_H #define SE_INCL_MENU_STARTERS_H diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp index 8054efb..e2cb17d 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* This file contains additional functions called from starters. */ diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h index b0be0c1..82f96af 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_STARTERSAF_H #define SE_INCL_MENU_STARTERSAF_H diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index 0d17a62..375294b 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h index efc4187..08a4a25 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_MENU_STUFF_H #define SE_INCL_MENU_STUFF_H diff --git a/Sources/SeriousSam/LCDDrawing.cpp b/Sources/SeriousSam/LCDDrawing.cpp index d933f2c..2d4cb55 100644 --- a/Sources/SeriousSam/LCDDrawing.cpp +++ b/Sources/SeriousSam/LCDDrawing.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "Stdh.h" #include "LCDDrawing.h" diff --git a/Sources/SeriousSam/LCDDrawing.h b/Sources/SeriousSam/LCDDrawing.h index 5e336df..3bb5f42 100644 --- a/Sources/SeriousSam/LCDDrawing.h +++ b/Sources/SeriousSam/LCDDrawing.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_LCDDRAWING_H #define SE_INCL_LCDDRAWING_H diff --git a/Sources/SeriousSam/LevelInfo.cpp b/Sources/SeriousSam/LevelInfo.cpp index 2b3c80d..407ae84 100644 --- a/Sources/SeriousSam/LevelInfo.cpp +++ b/Sources/SeriousSam/LevelInfo.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "LevelInfo.h" diff --git a/Sources/SeriousSam/LevelInfo.h b/Sources/SeriousSam/LevelInfo.h index 9e9c3d0..9be08cd 100644 --- a/Sources/SeriousSam/LevelInfo.h +++ b/Sources/SeriousSam/LevelInfo.h @@ -1,5 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern CListHead _lhAutoDemos; extern CListHead _lhAllLevels; diff --git a/Sources/SeriousSam/MainWindow.cpp b/Sources/SeriousSam/MainWindow.cpp index 677c4fc..a4b2de2 100644 --- a/Sources/SeriousSam/MainWindow.cpp +++ b/Sources/SeriousSam/MainWindow.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "MainWindow.h" diff --git a/Sources/SeriousSam/MainWindow.h b/Sources/SeriousSam/MainWindow.h index 5531439..fd80a38 100644 --- a/Sources/SeriousSam/MainWindow.h +++ b/Sources/SeriousSam/MainWindow.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ extern BOOL _bWindowChanging; // ignores window messages while this is set extern HWND _hwndMain; diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index 6e47fc2..5276d46 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include diff --git a/Sources/SeriousSam/SeriousSam.h b/Sources/SeriousSam/SeriousSam.h index 6afc32d..d98b629 100644 --- a/Sources/SeriousSam/SeriousSam.h +++ b/Sources/SeriousSam/SeriousSam.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define APPLICATION_NAME "SeriousSam" #include "CDCheck.h" diff --git a/Sources/SeriousSam/SplashScreen.cpp b/Sources/SeriousSam/SplashScreen.cpp index afc6843..da8cebe 100644 --- a/Sources/SeriousSam/SplashScreen.cpp +++ b/Sources/SeriousSam/SplashScreen.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" #include "resource.h" diff --git a/Sources/SeriousSam/SplashScreen.h b/Sources/SeriousSam/SplashScreen.h index c5b290f..95589ae 100644 --- a/Sources/SeriousSam/SplashScreen.h +++ b/Sources/SeriousSam/SplashScreen.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ void ShowSplashScreen(HINSTANCE hInstance); void HideSplashScreen(void); \ No newline at end of file diff --git a/Sources/SeriousSam/StdH.cpp b/Sources/SeriousSam/StdH.cpp index a0fb0be..7ab2766 100644 --- a/Sources/SeriousSam/StdH.cpp +++ b/Sources/SeriousSam/StdH.cpp @@ -1,3 +1,15 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" \ No newline at end of file diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index e918afb..0e407da 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include diff --git a/Sources/SeriousSam/VarList.cpp b/Sources/SeriousSam/VarList.cpp index 350a055..fed329a 100644 --- a/Sources/SeriousSam/VarList.cpp +++ b/Sources/SeriousSam/VarList.cpp @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "StdH.h" diff --git a/Sources/SeriousSam/VarList.h b/Sources/SeriousSam/VarList.h index da12450..e4ff6d2 100644 --- a/Sources/SeriousSam/VarList.h +++ b/Sources/SeriousSam/VarList.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SE_INCL_VARLIST_H #define SE_INCL_VARLIST_H diff --git a/Sources/SeriousSam/resource.h b/Sources/SeriousSam/resource.h index 252c84c..ac53b8a 100644 --- a/Sources/SeriousSam/resource.h +++ b/Sources/SeriousSam/resource.h @@ -1,4 +1,16 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ +/* Copyright (c) 2002-2012 Croteam Ltd. +This program is free software; you can redistribute it and/or modify +it under the terms of version 2 of the GNU General Public License as published by +the Free Software Foundation + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. From c5f5d72e3f62924ddd8acf3c8cb1c5d58c2c644b Mon Sep 17 00:00:00 2001 From: RocketersAlex Date: Thu, 31 Mar 2016 05:43:38 +0300 Subject: [PATCH 53/62] Update MSLegacy.h Network.cpp GameAgent.cpp --- Sources/Engine/Engine.vcxproj | 1 + Sources/Engine/Engine.vcxproj.filters | 3 +++ Sources/Engine/GameAgent/GameAgent.cpp | 6 +++--- Sources/Engine/GameAgent/MSLegacy.h | 5 +++-- Sources/Engine/Network/Network.cpp | 6 +++--- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Sources/Engine/Engine.vcxproj b/Sources/Engine/Engine.vcxproj index 85f3508..b893744 100644 --- a/Sources/Engine/Engine.vcxproj +++ b/Sources/Engine/Engine.vcxproj @@ -734,6 +734,7 @@ copy Release\$(TargetName).lib $(SolutionDir)..\Bin\ >nul + diff --git a/Sources/Engine/Engine.vcxproj.filters b/Sources/Engine/Engine.vcxproj.filters index a84e7db..870a661 100644 --- a/Sources/Engine/Engine.vcxproj.filters +++ b/Sources/Engine/Engine.vcxproj.filters @@ -1365,6 +1365,9 @@ Header Files\GameAgent Headers + + Header Files\GameAgent Headers + diff --git a/Sources/Engine/GameAgent/GameAgent.cpp b/Sources/Engine/GameAgent/GameAgent.cpp index b104756..5036f57 100644 --- a/Sources/Engine/GameAgent/GameAgent.cpp +++ b/Sources/Engine/GameAgent/GameAgent.cpp @@ -128,11 +128,11 @@ TIME _tmLastHeartbeat = 0; CDynamicStackArray ga_asrRequests; //extern CTString ga_strServer = "master1.croteam.org"; -CTString ga_strServer = "master1.42amsterdam.net"; +extern CTString ga_strServer = "master1.42amsterdam.net"; //extern CTString ga_strMSLegacy = "master1.croteam.org"; -CTString ga_strMSLegacy = "42amsterdam.net"; +extern CTString ga_strMSLegacy = "42amsterdam.net"; -BOOL ga_bMSLegacy = TRUE; +extern BOOL ga_bMSLegacy = TRUE; //BOOL ga_bMSLegacy = FALSE; void _uninitWinsock(); diff --git a/Sources/Engine/GameAgent/MSLegacy.h b/Sources/Engine/GameAgent/MSLegacy.h index 4defdfb..7691d82 100644 --- a/Sources/Engine/GameAgent/MSLegacy.h +++ b/Sources/Engine/GameAgent/MSLegacy.h @@ -73,7 +73,8 @@ LICENSE http://www.gnu.org/licenses/gpl.txt */ - +#ifndef SE_INCL_MSLEGACY_H +#define SE_INCL_MSLEGACY_H #ifdef PRAGMA_ONCE #pragma once #endif @@ -182,4 +183,4 @@ u_int resolv(char *host) { /* end functions */ - +#endif // include once check diff --git a/Sources/Engine/Network/Network.cpp b/Sources/Engine/Network/Network.cpp index 724960d..94942af 100644 --- a/Sources/Engine/Network/Network.cpp +++ b/Sources/Engine/Network/Network.cpp @@ -886,9 +886,9 @@ void CNetworkLibrary::Init(const CTString &strGameID) _pShell->DeclareSymbol("persistent user INDEX wed_bUseGenericTextureReplacement;", &wed_bUseGenericTextureReplacement); - _pShell->DeclareSymbol("user CTString ga_strServer;", &ga_strServer); - _pShell->DeclareSymbol("user CTString ga_strMSLegacy;", &ga_strMSLegacy); - _pShell->DeclareSymbol("user INDEX ga_bMSLegacy;", &ga_bMSLegacy); + _pShell->DeclareSymbol("persistent user CTString ga_strServer;", &ga_strServer); + _pShell->DeclareSymbol("persistent user CTString ga_strMSLegacy;", &ga_strMSLegacy); + _pShell->DeclareSymbol("persistent user INDEX ga_bMSLegacy;", &ga_bMSLegacy); _pShell->DeclareSymbol("INDEX pwoCurrentWorld;", &_pwoCurrentWorld); } From ca5873a2afdddf1df415869e81fd85e278903796 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 19:21:46 +0300 Subject: [PATCH 54/62] GameExecutable: Some cleanup and reorder. Clean clean clean! --- Sources/SeriousSam/GUI/Menus/MConfirm.cpp | 10 + Sources/SeriousSam/GUI/Menus/Menu.cpp | 3 - Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 113 +-- Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 928 +++++++++--------- 4 files changed, 513 insertions(+), 541 deletions(-) diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp index 52267fe..6555cbb 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp @@ -66,4 +66,14 @@ void CConfirmMenu::BeSmall(void) gm_mgConfirmLabel.mg_iCenterI = -1; gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); +} + +// return TRUE if handled +BOOL CConfirmMenu::OnKeyDown(int iVKey) +{ + if ((iVKey == VK_ESCAPE || iVKey == VK_RBUTTON) && gm_mgConfirmNo.mg_pActivatedFunction != NULL) { + gm_mgConfirmNo.OnActivate(); + return TRUE; + } + return CGameMenu::OnKeyDown(iVKey); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index 8c99132..c383533 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -47,9 +47,6 @@ GameMode _gmMenuGameMode = GM_NONE; GameMode _gmRunningGameMode = GM_NONE; CListHead _lhServers; - -extern BOOL IsCDInDrive(void); - void OnPlayerSelect(void); // last tick done diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index f06e376..3a88f15 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -100,6 +100,8 @@ static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) } // ------------------------ CConfirmMenu implementation +#define CMENU _pGUIM->gmConfirmMenu + CTFileName _fnmModSelected; CTString _strModURLSelected; CTString _strModServerSelected; @@ -114,10 +116,10 @@ void ExitConfirm(void) { _pConfimedYes = &ExitGame; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void StopCurrentGame(void) @@ -132,10 +134,10 @@ void StopConfirm(void) { _pConfimedYes = &StopCurrentGame; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void ModLoadYes(void) @@ -170,10 +172,10 @@ extern void ModConnectConfirm(void) CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); _pConfimedYes = &ModConnect; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void SaveConfirm(void) @@ -181,10 +183,10 @@ void SaveConfirm(void) extern void OnFileSaveOK(void); _pConfimedYes = &OnFileSaveOK; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void ExitAndSpawnExplorer(void) @@ -199,20 +201,11 @@ void ModNotInstalled(void) { _pConfimedYes = &ExitAndSpawnExplorer; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText.PrintF( + CMENU.gm_mgConfirmLabel.mg_strText.PrintF( TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeSmall(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); - - /* - gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; - mgDisabledMenuButton.mg_strText.PrintF( - TRANS("You don't have MOD '%s' installed.\nPlease visit Croteam website for updates."), _fnmModSelected); - mgDisabledTitle.mg_strText = TRANS("MOD REQUIRED"); - _strModURLSelected - ChangeToMenu( &gmDisabledFunction); - */ + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeSmall(); + ChangeToMenu(&CMENU); } @@ -220,10 +213,10 @@ extern void ModConfirm(void) { _pConfimedYes = &ModLoadYes; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void VideoConfirm(void) @@ -231,27 +224,27 @@ void VideoConfirm(void) // FIXUP: keyboard focus lost when going from full screen to window mode // due to WM_MOUSEMOVE being sent _bMouseUsedLast = FALSE; - _pmgUnderCursor = _pGUIM->gmConfirmMenu.gm_pmgSelectedByDefault; + _pmgUnderCursor = CMENU.gm_pmgSelectedByDefault; _pConfimedYes = NULL; void RevertVideoSettings(void); _pConfimedNo = RevertVideoSettings; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } void CDConfirm(void(*pOk)(void)) { _pConfimedYes = pOk; _pConfimedNo = NULL; - _pGUIM->gmConfirmMenu.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); - if (pgmCurrentMenu != &_pGUIM->gmConfirmMenu) { - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmConfirmMenu.BeLarge(); - ChangeToMenu(&_pGUIM->gmConfirmMenu); + CMENU.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); + if (pgmCurrentMenu != &CMENU) { + CMENU.gm_pgmParentMenu = pgmCurrentMenu; + CMENU.BeLarge(); + ChangeToMenu(&CMENU); } } @@ -274,19 +267,11 @@ void ConfirmNo(void) } void InitActionsForConfirmMenu() { - _pGUIM->gmConfirmMenu.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - _pGUIM->gmConfirmMenu.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; + CMENU.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; + CMENU.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; } -// return TRUE if handled -BOOL CConfirmMenu::OnKeyDown(int iVKey) -{ - if (iVKey == VK_ESCAPE || iVKey == VK_RBUTTON) { - ConfirmNo(); - return TRUE; - } - return CGameMenu::OnKeyDown(iVKey); -} +#undef CMENU // ------------------------ CMainMenu implementation #define CMENU _pGUIM->gmMainMenu @@ -348,9 +333,7 @@ extern void SetDemoStartStopRecText(void) CMENU.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); CMENU.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; - } - else - { + } else { CMENU.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); CMENU.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; @@ -399,12 +382,6 @@ void InitActionsForSinglePlayerMenu() { // ------------------------ CSinglePlayerNewMenu implementation void StartSinglePlayerGame(void) { - /* if (!IsCDInDrive()) { - CDConfirm(StartSinglePlayerGame); - return; - } - */ - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; @@ -420,8 +397,7 @@ void StartSinglePlayerGame(void) { StopMenus(); _gmRunningGameMode = GM_SINGLE_PLAYER; - } - else { + } else { _gmRunningGameMode = GM_NONE; } } @@ -998,6 +974,7 @@ void InitActionsForVarMenu() { } #undef CMENU + // ------------------------ CServersMenu implementation extern void RefreshServerList(void) { @@ -1013,8 +990,7 @@ void SortByColumn(int i) { if (_pGUIM->gmServersMenu.gm_mgList.mg_iSort == i) { _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = !_pGUIM->gmServersMenu.gm_mgList.mg_bSortDown; - } - else { + } else { _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = FALSE; } _pGUIM->gmServersMenu.gm_mgList.mg_iSort = i; @@ -1233,8 +1209,7 @@ extern void SelectPlayersFillMenu(void) if (bHasPlayers && CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { CMENU.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); - } - else { + } else { CMENU.gm_mgNotes.mg_strText = ""; } } diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index 07e337b..d8ec6f9 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -33,6 +33,7 @@ extern CTFileName _fnmModSelected; extern CTString _strModURLSelected; extern CTString _strModServerSelected; + void StartVideoOptionsMenu(void) { ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); @@ -104,8 +105,465 @@ void StartSinglePlayerNewMenu(void) ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } +// game options var settings +void StartVarGameOptions(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); +} + +void StartSinglePlayerGameOptions(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + ChangeToMenu(&_pGUIM->gmVarMenu); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; +} + +void StartGameOptionsFromNetwork(void) +{ + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; +} + +void StartGameOptionsFromSplitScreen(void) +{ + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; +} + +// rendering options var settings +void StartRenderingOptionsMenu(void) +{ + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); +} + +void StartCustomizeKeyboardMenu(void) +{ + ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); +} + +void StartCustomizeAxisMenu(void) +{ + ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); +} + +void StartOptionsMenu(void) +{ + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmOptionsMenu); +} + +void StartCurrentLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkLoadMenu(void); + StartNetworkLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenLoadMenu(void); + StartSplitScreenLoadMenu(); + } else { + void StartSinglePlayerLoadMenu(void); + StartSinglePlayerLoadMenu(); + } +} + +void StartCurrentSaveMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkSaveMenu(void); + StartNetworkSaveMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenSaveMenu(void); + StartSplitScreenSaveMenu(); + } else { + void StartSinglePlayerSaveMenu(void); + StartSinglePlayerSaveMenu(); + } +} + +void StartCurrentQuickLoadMenu() +{ + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkQuickLoadMenu(void); + StartNetworkQuickLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenQuickLoadMenu(void); + StartSplitScreenQuickLoadMenu(); + } else { + void StartSinglePlayerQuickLoadMenu(void); + StartSinglePlayerQuickLoadMenu(); + } +} + +void StartChangePlayerMenuFromOptions(void) +{ + _bPlayerMenuFromSinglePlayer = FALSE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); +} + +void StartChangePlayerMenuFromSinglePlayer(void) +{ + _iLocalPlayer = -1; + _bPlayerMenuFromSinglePlayer = TRUE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); +} + +void StartControlsMenuFromPlayer(void) +{ + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&_pGUIM->gmControls); +} + +void StartControlsMenuFromOptions(void) +{ + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmControls); +} + +void StartHighScoreMenu(void) +{ + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmHighScoreMenu); +} + +void StartSplitScreenGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } else { + _gmRunningGameMode = GM_NONE; + } +} + +void StartNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + CTFileName fnWorld = _pGame->gam_strCustomLevel; + + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + // if starting a dedicated server + if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + // pull down the console + extern INDEX sam_bToggleConsole; + sam_bToggleConsole = TRUE; + } + } else { + _gmRunningGameMode = GM_NONE; + } +} + +void JoinNetworkGame(void) +{ + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + + _pGame->gm_strNetworkProvider = "TCP/IP Client"; + if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } else { + if (_pNetwork->ga_strRequiredMod != "") { + extern CTFileName _fnmModToLoad; + extern CTString _strModServerJoin; + char strModName[256] = { 0 }; + char strModURL[256] = { 0 }; + _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); + _fnmModSelected = CTString(strModName); + _strModURLSelected = strModURL; + if (_strModURLSelected = "") { + _strModURLSelected = "http://www.croteam.com/mods/Old"; + } + _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); + extern void ModConnectConfirm(void); + ModConnectConfirm(); + } + _gmRunningGameMode = GM_NONE; + } +} + +// -------- Servers Menu Functions +#define CMENU _pGUIM->gmServersMenu + +void StartSelectServerLAN(void) +{ + CMENU.m_bInternet = FALSE; + ChangeToMenu(&CMENU); + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; +} + +void StartSelectServerNET(void) +{ + CMENU.m_bInternet = TRUE; + ChangeToMenu(&CMENU); + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; +} + +#undef CMENU + +// -------- Levels Menu Functions +#define CMENU _pGUIM->gmLevelsMenu + +void StartSelectLevelFromSingle(void) +{ + FilterLevels(GetSpawnFlagsForGameType(-1)); + _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; + ChangeToMenu(&CMENU); + CMENU.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; +} + +void StartSelectLevelFromSplit(void) +{ + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + void StartSplitStartMenu(void); + _pAfterLevelChosen = StartSplitStartMenu; + ChangeToMenu(&CMENU); + CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; +} + +void StartSelectLevelFromNetwork(void) +{ + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + void StartNetworkStartMenu(void); + _pAfterLevelChosen = StartNetworkStartMenu; + ChangeToMenu(&CMENU); + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; +} + +#undef CMENU + +// -------- Players Selection Menu Functions +#define CMENU _pGUIM->gmSelectPlayersMenu + +void StartSelectPlayersMenuFromSplit(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = FALSE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromNetwork(void) +{ + CMENU.gm_bAllowDedicated = TRUE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromNetworkLoad(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromSplitScreenLoad(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = FALSE; + CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&CMENU); +} + +void StartSelectPlayersMenuFromOpen(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&CMENU); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; + } +} + +void StartSelectPlayersMenuFromServers(void) +{ + CMENU.gm_bAllowDedicated = FALSE; + CMENU.gm_bAllowObserving = TRUE; + CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + CMENU.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&CMENU); + + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; + } +} + +#undef CMENU + +// -------- Save/Load Menu Calling Functions #define CMENU _pGUIM->gmLoadSaveMenu +void StartPlayerModelLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Models\\Player\\"); + CMENU.gm_fnmSelected = _strLastPlayerAppearance; + CMENU.gm_fnmExt = CTString(".amc"); + CMENU.gm_pAfterFileChosen = &LSLoadPlayerModel; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&CMENU); +} + +void StartControlsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Controls\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".ctl"); + CMENU.gm_pAfterFileChosen = &LSLoadControls; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmControls; + ChangeToMenu(&CMENU); +} + +void StartCustomLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".cfg"); + CMENU.gm_pAfterFileChosen = &LSLoadCustom; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + +void StartAddonsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".ini"); + CMENU.gm_pAfterFileChosen = &LSLoadAddon; + CMENU.gm_mgNotes.mg_strText = ""; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + +void StartModsLoadMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + CMENU.gm_bAllowThumbnails = TRUE; + CMENU.gm_iSortType = LSSORT_NAMEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Mods\\"); + CMENU.gm_fnmSelected = CTString(""); + CMENU.gm_fnmExt = CTString(".des"); + CMENU.gm_pAfterFileChosen = &LSLoadMod; + + CMENU.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + ChangeToMenu(&CMENU); +} + +void StartNetworkSettingsMenu(void) +{ + CMENU.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + CMENU.gm_bAllowThumbnails = FALSE; + CMENU.gm_iSortType = LSSORT_FILEUP; + CMENU.gm_bSave = FALSE; + CMENU.gm_bManage = FALSE; + CMENU.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + CMENU.gm_fnmSelected = sam_strNetworkSettings; + CMENU.gm_fnmExt = CTString(".ini"); + CMENU.gm_pAfterFileChosen = &LSLoadNetSettings; + if (sam_strNetworkSettings == "") { + CMENU.gm_mgNotes.mg_strText = TRANS( + "Before joining a network game,\n" + "you have to adjust your connection parameters.\n" + "Choose one option from the list.\n" + "If you have problems with connection, you can adjust\n" + "these parameters again from the Options menu.\n" + ); + } else { + CMENU.gm_mgNotes.mg_strText = ""; + } + + CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&CMENU); +} + + void StartSinglePlayerQuickLoadMenu(void) { _gmMenuGameMode = GM_SINGLE_PLAYER; @@ -333,475 +791,7 @@ void StartSplitScreenSaveMenu(void) #undef CMENU -// game options var settings -void StartVarGameOptions(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); -} - -void StartSinglePlayerGameOptions(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; -} - -void StartGameOptionsFromNetwork(void) -{ - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; -} - -void StartGameOptionsFromSplitScreen(void) -{ - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; -} - -// rendering options var settings -void StartRenderingOptionsMenu(void) -{ - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; - ChangeToMenu(&_pGUIM->gmVarMenu); -} - -void StartCustomizeKeyboardMenu(void) -{ - ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); -} - -void StartCustomizeAxisMenu(void) -{ - ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); -} - -void StartOptionsMenu(void) -{ - _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmOptionsMenu); -} - -void StartCurrentLoadMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkLoadMenu(void); - StartNetworkLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenLoadMenu(void); - StartSplitScreenLoadMenu(); - } else { - void StartSinglePlayerLoadMenu(void); - StartSinglePlayerLoadMenu(); - } -} - -void StartCurrentSaveMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkSaveMenu(void); - StartNetworkSaveMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenSaveMenu(void); - StartSplitScreenSaveMenu(); - } else { - void StartSinglePlayerSaveMenu(void); - StartSinglePlayerSaveMenu(); - } -} - -void StartCurrentQuickLoadMenu() -{ - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkQuickLoadMenu(void); - StartNetworkQuickLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenQuickLoadMenu(void); - StartSplitScreenQuickLoadMenu(); - } else { - void StartSinglePlayerQuickLoadMenu(void); - StartSinglePlayerQuickLoadMenu(); - } -} - -void StartChangePlayerMenuFromOptions(void) -{ - _bPlayerMenuFromSinglePlayer = FALSE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); -} - -void StartChangePlayerMenuFromSinglePlayer(void) -{ - _iLocalPlayer = -1; - _bPlayerMenuFromSinglePlayer = TRUE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); -} - -void StartControlsMenuFromPlayer(void) -{ - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&_pGUIM->gmControls); -} - -void StartControlsMenuFromOptions(void) -{ - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmControls); -} - -void StartSelectLevelFromSingle(void) -{ - FilterLevels(GetSpawnFlagsForGameType(-1)); - _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; -} - -void StartHighScoreMenu(void) -{ - _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmHighScoreMenu); -} - -void StartSplitScreenGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } -} - -#define CMENU _pGUIM->gmSelectPlayersMenu - -void StartSelectPlayersMenuFromSplit(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = FALSE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; - ChangeToMenu(&CMENU); -} - -#undef CMENU - -void StartNetworkGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - CTFileName fnWorld = _pGame->gam_strCustomLevel; - - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - // if starting a dedicated server - if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - // pull down the console - extern INDEX sam_bToggleConsole; - sam_bToggleConsole = TRUE; - } - } else { - _gmRunningGameMode = GM_NONE; - } -} - -#define CMENU _pGUIM->gmSelectPlayersMenu - -void StartSelectPlayersMenuFromNetwork(void) -{ - CMENU.gm_bAllowDedicated = TRUE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - ChangeToMenu(&CMENU); -} - -#undef CMENU - -void JoinNetworkGame(void) -{ - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - - _pGame->gm_strNetworkProvider = "TCP/IP Client"; - if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - if (_pNetwork->ga_strRequiredMod != "") { - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; - char strModName[256] = { 0 }; - char strModURL[256] = { 0 }; - _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); - _fnmModSelected = CTString(strModName); - _strModURLSelected = strModURL; - if (_strModURLSelected = "") { - _strModURLSelected = "http://www.croteam.com/mods/Old"; - } - _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); - extern void ModConnectConfirm(void); - ModConnectConfirm(); - } - _gmRunningGameMode = GM_NONE; - } -} - -#define CMENU _pGUIM->gmSelectPlayersMenu - -void StartSelectPlayersMenuFromOpen(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - ChangeToMenu(&CMENU); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; - } -} -void StartSelectPlayersMenuFromServers(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - ChangeToMenu(&CMENU); - - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; - } -} - -#undef CMENU - -void StartSelectServerLAN(void) -{ - _pGUIM->gmServersMenu.m_bInternet = FALSE; - ChangeToMenu(&_pGUIM->gmServersMenu); - _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; -} - -void StartSelectServerNET(void) -{ - _pGUIM->gmServersMenu.m_bInternet = TRUE; - ChangeToMenu(&_pGUIM->gmServersMenu); - _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; -} - -void StartSelectLevelFromSplit(void) -{ - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - void StartSplitStartMenu(void); - _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; -} - -void StartSelectLevelFromNetwork(void) -{ - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - void StartNetworkStartMenu(void); - _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu(&_pGUIM->gmLevelsMenu); - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; -} - -#define CMENU _pGUIM->gmSelectPlayersMenu - -void StartSelectPlayersMenuFromSplitScreen(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = FALSE; - //CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; - ChangeToMenu(&CMENU); -} - -void StartSelectPlayersMenuFromNetworkLoad(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&CMENU); -} - -void StartSelectPlayersMenuFromSplitScreenLoad(void) -{ - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = FALSE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&CMENU); -} - -#undef CMENU - -// save/load menu calling functions -#define CMENU _pGUIM->gmLoadSaveMenu - -void StartPlayerModelLoadMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Models\\Player\\"); - CMENU.gm_fnmSelected = _strLastPlayerAppearance; - CMENU.gm_fnmExt = CTString(".amc"); - CMENU.gm_pAfterFileChosen = &LSLoadPlayerModel; - CMENU.gm_mgNotes.mg_strText = ""; - - CMENU.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&CMENU); -} - -void StartControlsLoadMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Controls\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".ctl"); - CMENU.gm_pAfterFileChosen = &LSLoadControls; - CMENU.gm_mgNotes.mg_strText = ""; - - CMENU.gm_pgmParentMenu = &_pGUIM->gmControls; - ChangeToMenu(&CMENU); -} - -void StartCustomLoadMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".cfg"); - CMENU.gm_pAfterFileChosen = &LSLoadCustom; - CMENU.gm_mgNotes.mg_strText = ""; - - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); -} - -void StartAddonsLoadMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".ini"); - CMENU.gm_pAfterFileChosen = &LSLoadAddon; - CMENU.gm_mgNotes.mg_strText = ""; - - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); -} - -void StartModsLoadMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Mods\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".des"); - CMENU.gm_pAfterFileChosen = &LSLoadMod; - - CMENU.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - ChangeToMenu(&CMENU); -} - -void StartNetworkSettingsMenu(void) -{ - CMENU.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - CMENU.gm_fnmSelected = sam_strNetworkSettings; - CMENU.gm_fnmExt = CTString(".ini"); - CMENU.gm_pAfterFileChosen = &LSLoadNetSettings; - if (sam_strNetworkSettings == "") { - CMENU.gm_mgNotes.mg_strText = TRANS( - "Before joining a network game,\n" - "you have to adjust your connection parameters.\n" - "Choose one option from the list.\n" - "If you have problems with connection, you can adjust\n" - "these parameters again from the Options menu.\n" - ); - } else { - CMENU.gm_mgNotes.mg_strText = ""; - } - - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); -} - -#undef CMENU - +// -------- Disabled Menu Calling Function void DisabledFunction(void) { _pGUIM->gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; From e9267112a1ff13c338d2215e158f1bd404b179da Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 20:12:26 +0300 Subject: [PATCH 55/62] GameExecutable: Get rid of the TECHTESTONLY and _SE_DEMO code. --- Sources/SeriousSam/CmdLine.cpp | 6 ----- Sources/SeriousSam/Credits.cpp | 4 --- Sources/SeriousSam/GUI/Menus/Menu.cpp | 5 ---- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 27 +++----------------- Sources/SeriousSam/SeriousSam.cpp | 11 ++------ Sources/SeriousSam/StdH.h | 2 -- 6 files changed, 6 insertions(+), 49 deletions(-) diff --git a/Sources/SeriousSam/CmdLine.cpp b/Sources/SeriousSam/CmdLine.cpp index 4156bfe..dfcd7b7 100644 --- a/Sources/SeriousSam/CmdLine.cpp +++ b/Sources/SeriousSam/CmdLine.cpp @@ -112,12 +112,6 @@ void ParseCommandLine(CTString strCmd) cmd_bQuickJoin = TRUE; } else if (strWord=="+game") { CTString strMod = GetNextParam(); -#if _SE_DEMO - if (strMod!="SeriousSam" && strMod!="Warped") { - FatalError(TRANS("This MOD is not allowed in demo version!")); - return; - } -#endif if (strMod!="SeriousSam") { // (we ignore default mod - always use base dir in that case) _fnmMod = "Mods\\"+strMod+"\\"; } diff --git a/Sources/SeriousSam/Credits.cpp b/Sources/SeriousSam/Credits.cpp index 489e9d6..d44db17 100644 --- a/Sources/SeriousSam/Credits.cpp +++ b/Sources/SeriousSam/Credits.cpp @@ -99,11 +99,7 @@ void Credits_On(INDEX iType) LoadOneFile(CTFILENAME("Data\\Credits_End.txt")); } else { _fSpeed = 2.0f; -#if _SE_DEMO || TECHTESTONLY - LoadOneFile(CTFILENAME("Data\\Credits_Demo.txt")); -#else LoadOneFile(CTFILENAME("Data\\Credits.txt")); -#endif } // if some file was loaded if (_bCreditsOn) { diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index c383533..387fca4 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -259,13 +259,8 @@ void InitializeMenus(void) // initialize and load menu textures _toPointer.SetData_t( CTFILENAME( "Textures\\General\\Pointer.tex")); -#if _SE_DEMO || TECHTESTONLY - _toLogoMenuA.SetData_t( CTFILENAME( "Textures\\Logo\\sam_menulogo256a_demo.tex")); - _toLogoMenuB.SetData_t( CTFILENAME( "Textures\\Logo\\sam_menulogo256b_demo.tex")); -#else _toLogoMenuA.SetData_t( CTFILENAME( "Textures\\Logo\\sam_menulogo256a.tex")); _toLogoMenuB.SetData_t( CTFILENAME( "Textures\\Logo\\sam_menulogo256b.tex")); -#endif } catch( char *strError) { FatalError( strError); diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index 3a88f15..97e29c8 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -37,7 +37,6 @@ INDEX _ctResolutions = 0; CTString * _astrResolutionTexts = NULL; CDisplayMode *_admResolutionModes = NULL; -extern BOOL _bMouseRight = FALSE; extern BOOL _bMouseUsedLast; ENGINE_API extern INDEX snd_iFormat; @@ -281,11 +280,7 @@ void InitActionsForMainMenu() { CMENU.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; CMENU.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; CMENU.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; -#if TECHTESTONLY - CMENU.gm_mgMods.mg_pActivatedFunction = &DisabledFunction; -#else CMENU.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; -#endif CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; @@ -318,11 +313,7 @@ void InitActionsForInGameMenu() { CMENU.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; -#if TECHTESTONLY - CMENU.gm_mgStop.mg_pActivatedFunction = &ExitConfirm; -#else CMENU.gm_mgStop.mg_pActivatedFunction = &StopConfirm; -#endif CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } @@ -364,11 +355,7 @@ void StartTraining(void) void InitActionsForSinglePlayerMenu() { CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; -#if _SE_DEMO || TECHTESTONLY - CMENU.gm_mgCustom.mg_pActivatedFunction = &DisabledFunction; -#else CMENU.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; -#endif CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; CMENU.gm_mgTraining.mg_pActivatedFunction = &StartTraining; @@ -727,12 +714,14 @@ extern void UpdateVideoOptionsButtons(INDEX iSelected) CMENU.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; CMENU.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; // determine which should be visible + CMENU.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; if (da.da_ulFlags&DAF_FULLSCREENONLY) { CMENU.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); } + CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; @@ -917,11 +906,7 @@ static void OnWaveVolumeChange(INDEX iCurPos) void WaveSliderChange(void) { - if (_bMouseRight) { - CMENU.gm_mgWaveVolume.mg_iCurPos += 5; - } else { - CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; - } + CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); } @@ -934,11 +919,7 @@ void FrequencyTriggerChange(INDEX iDummy) void MPEGSliderChange(void) { - if (_bMouseRight) { - CMENU.gm_mgMPEGVolume.mg_iCurPos += 5; - } else { - CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; - } + CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); } diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index 5276d46..b18fc39 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -111,11 +111,8 @@ extern CTextureObject *_ptoLogoEAX = NULL; extern CTString sam_strVersion = "1.10"; extern CTString sam_strModName = TRANS("- O P E N S O U R C E -"); -#if _SE_DEMO - extern CTString sam_strFirstLevel = "Levels\\KarnakDemo.wld"; -#else - extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld"; -#endif + +extern CTString sam_strFirstLevel = "Levels\\LevelsMP\\1_0_InTheLastEpisode.wld"; extern CTString sam_strIntroLevel = "Levels\\LevelsMP\\Intro.wld"; extern CTString sam_strGameName = "serioussamse"; @@ -548,10 +545,6 @@ BOOL Init( HINSTANCE hInstance, int nCmdShow, CTString strCmdLine) _pShell->SetString("net_strConnectPassword", cmd_strPassword); } -#if TECHTESTONLY - cmd_strWorld = CTString("Levels\\TechTestElsa.wld"); -#endif - // if connecting to server from command line if (cmd_strServer!="") { CTString strPort = ""; diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index 0e407da..a6dc39b 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -32,7 +32,5 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #undef DECL_DLL -#define TECHTESTONLY 0 - #include "SeriousSam.h" #include "GUI/Menus/Menu.h" \ No newline at end of file From 3aa14342b31d03b84987bdeea160e93d16a6d031 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 20:58:27 +0300 Subject: [PATCH 56/62] GameExecutable: Get rid of CMENU preprocessor. Use preprocessor for making the code shorter was bad idea. It makes weird code parser, shows a lot of false errors and breaks code highlighting(blinking). --- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 730 +++++++++--------- Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 638 ++++++++------- 2 files changed, 715 insertions(+), 653 deletions(-) diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index 97e29c8..c3e82eb 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -99,8 +99,6 @@ static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) } // ------------------------ CConfirmMenu implementation -#define CMENU _pGUIM->gmConfirmMenu - CTFileName _fnmModSelected; CTString _strModURLSelected; CTString _strModServerSelected; @@ -113,12 +111,14 @@ void ExitGame(void) void ExitConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + _pConfimedYes = &ExitGame; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void StopCurrentGame(void) @@ -131,12 +131,14 @@ void StopCurrentGame(void) void StopConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + _pConfimedYes = &StopCurrentGame; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void ModLoadYes(void) @@ -155,6 +157,8 @@ void ModConnect(void) extern void ModConnectConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + if (_fnmModSelected == " ") { _fnmModSelected = CTString("SeriousSam"); } @@ -171,21 +175,23 @@ extern void ModConnectConfirm(void) CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); _pConfimedYes = &ModConnect; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void SaveConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + extern void OnFileSaveOK(void); _pConfimedYes = &OnFileSaveOK; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void ExitAndSpawnExplorer(void) @@ -198,53 +204,47 @@ void ExitAndSpawnExplorer(void) void ModNotInstalled(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + _pConfimedYes = &ExitAndSpawnExplorer; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText.PrintF( + gmCurrent.gm_mgConfirmLabel.mg_strText.PrintF( TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeSmall(); - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeSmall(); + ChangeToMenu(&gmCurrent); } extern void ModConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + _pConfimedYes = &ModLoadYes; _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); - CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void VideoConfirm(void) { + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + // FIXUP: keyboard focus lost when going from full screen to window mode // due to WM_MOUSEMOVE being sent _bMouseUsedLast = FALSE; - _pmgUnderCursor = CMENU.gm_pmgSelectedByDefault; + _pmgUnderCursor = gmCurrent.gm_pmgSelectedByDefault; _pConfimedYes = NULL; void RevertVideoSettings(void); _pConfimedNo = RevertVideoSettings; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); -} - -void CDConfirm(void(*pOk)(void)) -{ - _pConfimedYes = pOk; - _pConfimedNo = NULL; - CMENU.gm_mgConfirmLabel.mg_strText = TRANS("PLEASE INSERT GAME CD?"); - if (pgmCurrentMenu != &CMENU) { - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - CMENU.BeLarge(); - ChangeToMenu(&CMENU); - } + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void ConfirmYes(void) @@ -266,27 +266,25 @@ void ConfirmNo(void) } void InitActionsForConfirmMenu() { - CMENU.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - CMENU.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; -} + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; -#undef CMENU + gmCurrent.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; + gmCurrent.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; +} // ------------------------ CMainMenu implementation -#define CMENU _pGUIM->gmMainMenu - void InitActionsForMainMenu() { - CMENU.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; - CMENU.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; - CMENU.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; - CMENU.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; - CMENU.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; - CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; -} + CMainMenu &gmCurrent = _pGUIM->gmMainMenu; -#undef CMENU + gmCurrent.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; + gmCurrent.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; + gmCurrent.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; + gmCurrent.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; + gmCurrent.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; + gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; +} // ------------------------ CInGameMenu implementation // start load/save menus depending on type of game running @@ -303,35 +301,36 @@ void StopRecordingDemo(void) SetDemoStartStopRecText(); } -#define CMENU _pGUIM->gmInGameMenu +void InitActionsForInGameMenu() +{ + CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; -void InitActionsForInGameMenu() { - - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; - CMENU.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; - CMENU.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; - CMENU.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - CMENU.gm_mgStop.mg_pActivatedFunction = &StopConfirm; - CMENU.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; + gmCurrent.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; + gmCurrent.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; + gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + gmCurrent.gm_mgStop.mg_pActivatedFunction = &StopConfirm; + gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } extern void SetDemoStartStopRecText(void) { + CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; + if (_pNetwork->IsRecordingDemo()) { - CMENU.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); - CMENU.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); - CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; + gmCurrent.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); + gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); + gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; } else { - CMENU.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); - CMENU.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); - CMENU.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; + gmCurrent.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); + gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); + gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; } } -#undef CMENU // ------------------------ CSinglePlayerMenu implementation void StartSinglePlayerGame_Normal(void); @@ -351,21 +350,20 @@ void StartTraining(void) ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } -#define CMENU _pGUIM->gmSinglePlayerMenu +void InitActionsForSinglePlayerMenu() +{ + CSinglePlayerMenu &gmCurrent = _pGUIM->gmSinglePlayerMenu; -void InitActionsForSinglePlayerMenu() { - CMENU.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; - CMENU.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; - CMENU.gm_mgTraining.mg_pActivatedFunction = &StartTraining; - CMENU.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; - CMENU.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; + gmCurrent.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; + gmCurrent.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; + gmCurrent.gm_mgTraining.mg_pActivatedFunction = &StartTraining; + gmCurrent.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; + gmCurrent.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; } -#undef CMENU - // ------------------------ CSinglePlayerNewMenu implementation void StartSinglePlayerGame(void) { @@ -431,40 +429,35 @@ void StartSinglePlayerGame_Mental(void) StartSinglePlayerGame(); } - -#define CMENU _pGUIM->gmSinglePlayerNewMenu - void InitActionsForSinglePlayerNewMenu() { - CMENU.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; - CMENU.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; - CMENU.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; - CMENU.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; - CMENU.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; - CMENU.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; + CSinglePlayerNewMenu &gmCurrent = _pGUIM->gmSinglePlayerNewMenu; + + gmCurrent.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; + gmCurrent.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; + gmCurrent.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; + gmCurrent.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; + gmCurrent.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; + gmCurrent.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; } -#undef CMENU - // ------------------------ CPlayerProfileMenu implementation -#define CMENU _pGUIM->gmPlayerProfile - void ChangeCrosshair(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iCrossHairType = iNew - 1; } void ChangeWeaponSelect(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iWeaponAutoSelect = iNew; } void ChangeWeaponHide(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_HIDEWEAPON; @@ -475,7 +468,7 @@ void ChangeWeaponHide(INDEX iNew) void Change3rdPerson(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_PREFER3RDPERSON; @@ -486,7 +479,7 @@ void Change3rdPerson(INDEX iNew) void ChangeQuotes(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_NOQUOTES; @@ -497,7 +490,7 @@ void ChangeQuotes(INDEX iNew) void ChangeAutoSave(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_AUTOSAVE; @@ -508,7 +501,7 @@ void ChangeAutoSave(INDEX iNew) void ChangeCompDoubleClick(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; @@ -519,7 +512,7 @@ void ChangeCompDoubleClick(INDEX iNew) void ChangeViewBobbing(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags &= ~PSF_NOBOBBING; @@ -530,7 +523,7 @@ void ChangeViewBobbing(INDEX iNew) void ChangeSharpTurning(INDEX iNew) { - INDEX iPlayer = *CMENU.gm_piCurrentPlayer; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; if (iNew) { pps->ps_ulFlags |= PSF_SHARPTURNING; @@ -549,67 +542,62 @@ extern void PPOnPlayerSelect(void) void InitActionsForPlayerProfileMenu() { - CMENU.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; - CMENU.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; - CMENU.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; - CMENU.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; - CMENU.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; - CMENU.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; - CMENU.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; - CMENU.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; - CMENU.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; - CMENU.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; - CMENU.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; -} + CPlayerProfileMenu &gmCurrent = _pGUIM->gmPlayerProfile; -#undef CMENU + gmCurrent.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; + gmCurrent.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; + gmCurrent.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; + gmCurrent.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; + gmCurrent.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; + gmCurrent.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; + gmCurrent.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; + gmCurrent.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; + gmCurrent.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; + gmCurrent.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; + gmCurrent.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; +} // ------------------------ CControlsMenu implementation -#define CMENU _pGUIM->gmControls - void InitActionsForControlsMenu() { - CMENU.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; - CMENU.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; - CMENU.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; + CControlsMenu &gmCurrent = _pGUIM->gmControls; + + gmCurrent.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; + gmCurrent.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; + gmCurrent.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; } -#undef CMENU - // ------------------------ CCustomizeAxisMenu implementation -#define CMENU _pGUIM->gmCustomizeAxisMenu - void PreChangeAxis(INDEX iDummy) { - CMENU.ApplyActionSettings(); + _pGUIM->gmCustomizeAxisMenu.ApplyActionSettings(); } void PostChangeAxis(INDEX iDummy) { - CMENU.ObtainActionSettings(); + _pGUIM->gmCustomizeAxisMenu.ObtainActionSettings(); } -void InitActionsForCustomizeAxisMenu() { - CMENU.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; - CMENU.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; -} +void InitActionsForCustomizeAxisMenu() +{ + CCustomizeAxisMenu &gmCurrent = _pGUIM->gmCustomizeAxisMenu; -#undef CMENU + gmCurrent.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; + gmCurrent.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; +} // ------------------------ COptionsMenu implementation -#define CMENU _pGUIM->gmOptionsMenu - void InitActionsForOptionsMenu() { - CMENU.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; - CMENU.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; - CMENU.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; - CMENU.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; - CMENU.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; - CMENU.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; -} + COptionsMenu &gmCurrent = _pGUIM->gmOptionsMenu; -#undef CMENU + gmCurrent.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; + gmCurrent.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; + gmCurrent.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; + gmCurrent.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; + gmCurrent.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; + gmCurrent.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; +} // ------------------------ CVideoOptionsMenu implementation static INDEX sam_old_bFullScreenActive; @@ -620,11 +608,10 @@ static INDEX sam_old_iDisplayAdapter; static INDEX sam_old_iGfxAPI; static INDEX sam_old_iVideoSetup; // 0==speed, 1==normal, 2==quality, 3==custom - -#define CMENU _pGUIM->gmVideoOptionsMenu - static void FillResolutionsList(void) { + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + // free resolutions if (_astrResolutionTexts != NULL) { delete[] _astrResolutionTexts; @@ -635,7 +622,7 @@ static void FillResolutionsList(void) _ctResolutions = 0; // if window - if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { + if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { // always has fixed resolutions, but not greater than desktop _ctResolutions = ARRAYCOUNT(apixWidths); @@ -653,7 +640,7 @@ static void FillResolutionsList(void) } else { // get resolutions list from engine CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, - SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected), CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected); + SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected), gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected); // allocate that much _astrResolutionTexts = new CTString[_ctResolutions]; _admResolutionModes = new CDisplayMode[_ctResolutions]; @@ -663,29 +650,36 @@ static void FillResolutionsList(void) SetResolutionInList(iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); } } - CMENU.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; - CMENU.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; + + gmCurrent.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; + gmCurrent.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; } static void FillAdaptersList(void) { + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + if (_astrAdapterTexts != NULL) { delete[] _astrAdapterTexts; } + _ctAdapters = 0; - INDEX iApi = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); + INDEX iApi = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; _astrAdapterTexts = new CTString[_ctAdapters]; for (INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; } - CMENU.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; - CMENU.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; + + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; } extern void UpdateVideoOptionsButtons(INDEX iSelected) { + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + const BOOL _bVideoOptionsChanged = (iSelected != -1); const BOOL bOGLEnabled = _pGfx->HasAPI(GAT_OGL); @@ -695,84 +689,89 @@ extern void UpdateVideoOptionsButtons(INDEX iSelected) #else // ASSERT(bOGLEnabled); #endif // SE1_D3D - CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected)] - .ga_adaAdapter[CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected]; + + CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected)] + .ga_adaAdapter[gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected]; // number of available preferences is higher if video setup is custom - CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; - if (sam_iVideoSetup == 3) CMENU.gm_mgDisplayPrefsTrigger.mg_ctTexts++; + gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; + if (sam_iVideoSetup == 3) gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts++; // enumerate adapters FillAdaptersList(); // show or hide buttons - CMENU.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled + gmCurrent.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled #ifdef SE1_D3D && bD3DEnabled #endif // SE1_D3D ; - CMENU.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; - CMENU.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; + gmCurrent.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; // determine which should be visible - CMENU.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; + gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; if (da.da_ulFlags&DAF_FULLSCREENONLY) { - CMENU.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; - CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; + gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); } - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; - if (CMENU.gm_mgFullScreenTrigger.mg_iSelected == 0) { - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; + if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } else if (da.da_ulFlags&DAF_16BITONLY) { - CMENU.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } // remember current selected resolution PIX pixSizeI, pixSizeJ; - ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); + ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); // select same resolution again if possible FillResolutionsList(); - SizeToResolution(pixSizeI, pixSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); + SizeToResolution(pixSizeI, pixSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); // apply adapter and resolutions - CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); } - extern void InitVideoOptionsButtons(void) { + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + if (sam_bFullScreenActive) { - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 1; + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; } else { - CMENU.gm_mgFullScreenTrigger.mg_iSelected = 0; + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 0; } - CMENU.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); - CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; - CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); + gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); FillResolutionsList(); - SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, CMENU.gm_mgResolutionsTrigger.mg_iSelected); - CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); + SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); + gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); - CMENU.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); - CMENU.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - CMENU.gm_mgResolutionsTrigger.ApplyCurrentSelection(); - CMENU.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } void ApplyVideoOptions(void) { + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + + // Remember old video settings sam_old_bFullScreenActive = sam_bFullScreenActive; sam_old_iScreenSizeI = sam_iScreenSizeI; sam_old_iScreenSizeJ = sam_iScreenSizeJ; @@ -781,17 +780,17 @@ void ApplyVideoOptions(void) sam_old_iGfxAPI = sam_iGfxAPI; sam_old_iVideoSetup = sam_iVideoSetup; - BOOL bFullScreenMode = CMENU.gm_mgFullScreenTrigger.mg_iSelected == 1; + BOOL bFullScreenMode = gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 1; PIX pixWindowSizeI, pixWindowSizeJ; - ResolutionToSize(CMENU.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); - enum GfxAPIType gat = SwitchToAPI(CMENU.gm_mgDisplayAPITrigger.mg_iSelected); - enum DisplayDepth dd = SwitchToDepth(CMENU.gm_mgBitsPerPixelTrigger.mg_iSelected); - const INDEX iAdapter = CMENU.gm_mgDisplayAdaptersTrigger.mg_iSelected; + ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); + enum GfxAPIType gat = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); + enum DisplayDepth dd = SwitchToDepth(gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected); + const INDEX iAdapter = gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected; // setup preferences extern INDEX _iLastPreferences; if (sam_iVideoSetup == 3) _iLastPreferences = 3; - sam_iVideoSetup = CMENU.gm_mgDisplayPrefsTrigger.mg_iSelected; + sam_iVideoSetup = gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected; // force fullscreen mode if needed CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; @@ -833,59 +832,61 @@ void RevertVideoSettings(void) void InitActionsForVideoOptionsMenu() { - CMENU.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - CMENU.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; - CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + + gmCurrent.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; + gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; } -#undef CMENU - // ------------------------ CAudioOptionsMenu implementation -#define CMENU _pGUIM->gmAudioOptionsMenu - extern void RefreshSoundFormat(void) { + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + switch (_pSound->GetFormat()) { - case CSoundLibrary::SF_NONE: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } - case CSoundLibrary::SF_11025_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } - case CSoundLibrary::SF_22050_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } - case CSoundLibrary::SF_44100_16: {CMENU.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } - default: CMENU.gm_mgFrequencyTrigger.mg_iSelected = 0; + case CSoundLibrary::SF_NONE: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } + case CSoundLibrary::SF_11025_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } + case CSoundLibrary::SF_22050_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } + case CSoundLibrary::SF_44100_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } + default: gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; } - CMENU.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); - CMENU.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); + gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); + gmCurrent.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); - CMENU.gm_mgWaveVolume.mg_iMinPos = 0; - CMENU.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; - CMENU.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); - CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgWaveVolume.mg_iMinPos = 0; + gmCurrent.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; + gmCurrent.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); + gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); - CMENU.gm_mgMPEGVolume.mg_iMinPos = 0; - CMENU.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; - CMENU.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); - CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgMPEGVolume.mg_iMinPos = 0; + gmCurrent.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; + gmCurrent.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); + gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); - CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); - CMENU.gm_mgAudioAPITrigger.ApplyCurrentSelection(); - CMENU.gm_mgFrequencyTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgAudioAPITrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgFrequencyTrigger.ApplyCurrentSelection(); } void ApplyAudioOptions(void) { - sam_bAutoAdjustAudio = CMENU.gm_mgAudioAutoTrigger.mg_iSelected; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + + sam_bAutoAdjustAudio = gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected; if (sam_bAutoAdjustAudio) { _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); } else { - _pShell->SetINDEX("snd_iInterface", CMENU.gm_mgAudioAPITrigger.mg_iSelected); + _pShell->SetINDEX("snd_iInterface", gmCurrent.gm_mgAudioAPITrigger.mg_iSelected); - switch (CMENU.gm_mgFrequencyTrigger.mg_iSelected) + switch (gmCurrent.gm_mgFrequencyTrigger.mg_iSelected) { case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } @@ -906,21 +907,27 @@ static void OnWaveVolumeChange(INDEX iCurPos) void WaveSliderChange(void) { - CMENU.gm_mgWaveVolume.mg_iCurPos -= 5; - CMENU.gm_mgWaveVolume.ApplyCurrentPosition(); + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + + gmCurrent.gm_mgWaveVolume.mg_iCurPos -= 5; + gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); } void FrequencyTriggerChange(INDEX iDummy) { + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + sam_bAutoAdjustAudio = 0; - CMENU.gm_mgAudioAutoTrigger.mg_iSelected = 0; - CMENU.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = 0; + gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); } void MPEGSliderChange(void) { - CMENU.gm_mgMPEGVolume.mg_iCurPos -= 5; - CMENU.gm_mgMPEGVolume.ApplyCurrentPosition(); + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + + gmCurrent.gm_mgMPEGVolume.mg_iCurPos -= 5; + gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); } static void OnMPEGVolumeChange(INDEX iCurPos) @@ -930,51 +937,45 @@ static void OnMPEGVolumeChange(INDEX iCurPos) void InitActionsForAudioOptionsMenu() { - CMENU.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - CMENU.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; - CMENU.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; - CMENU.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; - CMENU.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; - CMENU.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + + gmCurrent.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; + gmCurrent.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; + gmCurrent.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; + gmCurrent.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; + gmCurrent.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; + gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; } -#undef CMENU - // ------------------------ CVarMenu implementation -#define CMENU _pGUIM->gmVarMenu - void VarApply(void) { + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + FlushVarSettings(TRUE); - CMENU.EndMenu(); - CMENU.StartMenu(); + gmCurrent.EndMenu(); + gmCurrent.StartMenu(); } void InitActionsForVarMenu() { - CMENU.gm_mgApply.mg_pActivatedFunction = &VarApply; + _pGUIM->gmVarMenu.gm_mgApply.mg_pActivatedFunction = &VarApply; } -#undef CMENU - // ------------------------ CServersMenu implementation -extern void RefreshServerList(void) -{ - _pNetwork->EnumSessions(_pGUIM->gmServersMenu.m_bInternet); -} -void RefreshServerListManually(void) -{ - ChangeToMenu(&_pGUIM->gmServersMenu); // this refreshes the list and sets focuses -} +extern CMGButton mgServerColumn[7]; +extern CMGEdit mgServerFilter[7]; void SortByColumn(int i) { - if (_pGUIM->gmServersMenu.gm_mgList.mg_iSort == i) { - _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = !_pGUIM->gmServersMenu.gm_mgList.mg_bSortDown; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + + if (gmCurrent.gm_mgList.mg_iSort == i) { + gmCurrent.gm_mgList.mg_bSortDown = !gmCurrent.gm_mgList.mg_bSortDown; } else { - _pGUIM->gmServersMenu.gm_mgList.mg_bSortDown = FALSE; + gmCurrent.gm_mgList.mg_bSortDown = FALSE; } - _pGUIM->gmServersMenu.gm_mgList.mg_iSort = i; + gmCurrent.gm_mgList.mg_iSort = i; } void SortByServer(void) { SortByColumn(0); } @@ -985,8 +986,15 @@ void SortByGame(void) { SortByColumn(4); } void SortByMod(void) { SortByColumn(5); } void SortByVer(void) { SortByColumn(6); } -extern CMGButton mgServerColumn[7]; -extern CMGEdit mgServerFilter[7]; +extern void RefreshServerList(void) +{ + _pNetwork->EnumSessions(_pGUIM->gmServersMenu.m_bInternet); +} + +void RefreshServerListManually(void) +{ + ChangeToMenu(&_pGUIM->gmServersMenu); // this refreshes the list and sets focuses +} void InitActionsForServersMenu() { _pGUIM->gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; @@ -1001,29 +1009,25 @@ void InitActionsForServersMenu() { } // ------------------------ CNetworkMenu implementation -#define CMENU _pGUIM->gmNetworkMenu - void InitActionsForNetworkMenu() { - CMENU.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; -} + CNetworkMenu &gmCurrent = _pGUIM->gmNetworkMenu; -#undef CMENU + gmCurrent.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; +} // ------------------------ CNetworkJoinMenu implementation -#define CMENU _pGUIM->gmNetworkJoinMenu - void InitActionsForNetworkJoinMenu() { - CMENU.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; - CMENU.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; - CMENU.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; -} + CNetworkJoinMenu &gmCurrent = _pGUIM->gmNetworkJoinMenu; -#undef CMENU + gmCurrent.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; + gmCurrent.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; + gmCurrent.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; +} // ------------------------ CNetworkStartMenu implementation extern void UpdateNetworkLevel(INDEX iDummy) @@ -1041,8 +1045,6 @@ void InitActionsForNetworkStartMenu() } // ------------------------ CSelectPlayersMenu implementation -#define CMENU _pGUIM->gmSelectPlayersMenu - INDEX FindUnusedPlayer(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; @@ -1065,44 +1067,46 @@ INDEX FindUnusedPlayer(void) extern void SelectPlayersFillMenu(void) { + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - CMENU.gm_mgPlayer0Change.mg_iLocalPlayer = 0; - CMENU.gm_mgPlayer1Change.mg_iLocalPlayer = 1; - CMENU.gm_mgPlayer2Change.mg_iLocalPlayer = 2; - CMENU.gm_mgPlayer3Change.mg_iLocalPlayer = 3; + gmCurrent.gm_mgPlayer0Change.mg_iLocalPlayer = 0; + gmCurrent.gm_mgPlayer1Change.mg_iLocalPlayer = 1; + gmCurrent.gm_mgPlayer2Change.mg_iLocalPlayer = 2; + gmCurrent.gm_mgPlayer3Change.mg_iLocalPlayer = 3; - if (CMENU.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - CMENU.gm_mgDedicated.mg_iSelected = 1; + if (gmCurrent.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + gmCurrent.gm_mgDedicated.mg_iSelected = 1; } else { - CMENU.gm_mgDedicated.mg_iSelected = 0; + gmCurrent.gm_mgDedicated.mg_iSelected = 0; } - CMENU.gm_mgDedicated.ApplyCurrentSelection(); + gmCurrent.gm_mgDedicated.ApplyCurrentSelection(); - if (CMENU.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { - CMENU.gm_mgObserver.mg_iSelected = 1; + if (gmCurrent.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { + gmCurrent.gm_mgObserver.mg_iSelected = 1; } else { - CMENU.gm_mgObserver.mg_iSelected = 0; + gmCurrent.gm_mgObserver.mg_iSelected = 0; } - CMENU.gm_mgObserver.ApplyCurrentSelection(); + gmCurrent.gm_mgObserver.ApplyCurrentSelection(); if (_pGame->gm_MenuSplitScreenCfg >= CGame::SSC_PLAY1) { - CMENU.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; - CMENU.gm_mgSplitScreenCfg.ApplyCurrentSelection(); + gmCurrent.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; + gmCurrent.gm_mgSplitScreenCfg.ApplyCurrentSelection(); } - BOOL bHasDedicated = CMENU.gm_bAllowDedicated; - BOOL bHasObserver = CMENU.gm_bAllowObserving; + BOOL bHasDedicated = gmCurrent.gm_bAllowDedicated; + BOOL bHasObserver = gmCurrent.gm_bAllowObserving; BOOL bHasPlayers = TRUE; - if (bHasDedicated && CMENU.gm_mgDedicated.mg_iSelected) { + if (bHasDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { bHasObserver = FALSE; bHasPlayers = FALSE; } - if (bHasObserver && CMENU.gm_mgObserver.mg_iSelected) { + if (bHasObserver && gmCurrent.gm_mgObserver.mg_iSelected) { bHasPlayers = FALSE; } @@ -1111,17 +1115,17 @@ extern void SelectPlayersFillMenu(void) INDEX i = 0; if (bHasDedicated) { - CMENU.gm_mgDedicated.Appear(); - apmg[i++] = &CMENU.gm_mgDedicated; + gmCurrent.gm_mgDedicated.Appear(); + apmg[i++] = &gmCurrent.gm_mgDedicated; } else { - CMENU.gm_mgDedicated.Disappear(); + gmCurrent.gm_mgDedicated.Disappear(); } if (bHasObserver) { - CMENU.gm_mgObserver.Appear(); - apmg[i++] = &CMENU.gm_mgObserver; + gmCurrent.gm_mgObserver.Appear(); + apmg[i++] = &gmCurrent.gm_mgObserver; } else { - CMENU.gm_mgObserver.Disappear(); + gmCurrent.gm_mgObserver.Disappear(); } for (INDEX iLocal = 0; iLocal<4; iLocal++) { @@ -1135,32 +1139,32 @@ extern void SelectPlayersFillMenu(void) } } - CMENU.gm_mgPlayer0Change.Disappear(); - CMENU.gm_mgPlayer1Change.Disappear(); - CMENU.gm_mgPlayer2Change.Disappear(); - CMENU.gm_mgPlayer3Change.Disappear(); + gmCurrent.gm_mgPlayer0Change.Disappear(); + gmCurrent.gm_mgPlayer1Change.Disappear(); + gmCurrent.gm_mgPlayer2Change.Disappear(); + gmCurrent.gm_mgPlayer3Change.Disappear(); if (bHasPlayers) { - CMENU.gm_mgSplitScreenCfg.Appear(); - apmg[i++] = &CMENU.gm_mgSplitScreenCfg; - CMENU.gm_mgPlayer0Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer0Change; - if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { - CMENU.gm_mgPlayer1Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer1Change; + gmCurrent.gm_mgSplitScreenCfg.Appear(); + apmg[i++] = &gmCurrent.gm_mgSplitScreenCfg; + gmCurrent.gm_mgPlayer0Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer0Change; + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + gmCurrent.gm_mgPlayer1Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer1Change; } - if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 2) { - CMENU.gm_mgPlayer2Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer2Change; + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 2) { + gmCurrent.gm_mgPlayer2Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer2Change; } - if (CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 3) { - CMENU.gm_mgPlayer3Change.Appear(); - apmg[i++] = &CMENU.gm_mgPlayer3Change; + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 3) { + gmCurrent.gm_mgPlayer3Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer3Change; } } else { - CMENU.gm_mgSplitScreenCfg.Disappear(); + gmCurrent.gm_mgSplitScreenCfg.Disappear(); } - apmg[i++] = &CMENU.gm_mgStart; + apmg[i++] = &gmCurrent.gm_mgStart; // relink for (INDEX img = 0; img<8; img++) { @@ -1183,31 +1187,33 @@ extern void SelectPlayersFillMenu(void) apmg[img]->mg_pmgDown = apmg[imgSucc]; } - CMENU.gm_mgPlayer0Change.SetPlayerText(); - CMENU.gm_mgPlayer1Change.SetPlayerText(); - CMENU.gm_mgPlayer2Change.SetPlayerText(); - CMENU.gm_mgPlayer3Change.SetPlayerText(); + gmCurrent.gm_mgPlayer0Change.SetPlayerText(); + gmCurrent.gm_mgPlayer1Change.SetPlayerText(); + gmCurrent.gm_mgPlayer2Change.SetPlayerText(); + gmCurrent.gm_mgPlayer3Change.SetPlayerText(); - if (bHasPlayers && CMENU.gm_mgSplitScreenCfg.mg_iSelected >= 1) { - CMENU.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); + if (bHasPlayers && gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + gmCurrent.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); } else { - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgNotes.mg_strText = ""; } } extern void SelectPlayersApplyMenu(void) { - if (CMENU.gm_bAllowDedicated && CMENU.gm_mgDedicated.mg_iSelected) { + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + if (gmCurrent.gm_bAllowDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; return; } - if (CMENU.gm_bAllowObserving && CMENU.gm_mgObserver.mg_iSelected) { + if (gmCurrent.gm_bAllowObserving && gmCurrent.gm_mgObserver.mg_iSelected) { _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; return; } - _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) CMENU.gm_mgSplitScreenCfg.mg_iSelected; + _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmCurrent.gm_mgSplitScreenCfg.mg_iSelected; } void UpdateSelectPlayers(INDEX i) @@ -1218,12 +1224,12 @@ void UpdateSelectPlayers(INDEX i) void InitActionsForSelectPlayersMenu() { - CMENU.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; - CMENU.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; - CMENU.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; -} + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; -#undef CMENU + gmCurrent.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; + gmCurrent.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; + gmCurrent.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; +} // ------------------------ CNetworkOpenMenu implementation void InitActionsForNetworkOpenMenu() @@ -1232,32 +1238,30 @@ void InitActionsForNetworkOpenMenu() } // ------------------------ CSplitScreenMenu implementation -#define CMENU _pGUIM->gmSplitScreenMenu - void InitActionsForSplitScreenMenu() { - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; - CMENU.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; - CMENU.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; + CSplitScreenMenu &gmCurrent = _pGUIM->gmSplitScreenMenu; + + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; } -#undef CMENU - // ------------------------ CSplitStartMenu implementation -#define CMENU _pGUIM->gmSplitStartMenu - void InitActionsForSplitStartMenu() { - CMENU.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; - CMENU.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; + + gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; } extern void UpdateSplitLevel(INDEX iDummy) { - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(CMENU.gm_mgGameType.mg_iSelected)); - CMENU.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; -} + CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; -#undef CMENU \ No newline at end of file + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(gmCurrent.gm_mgGameType.mg_iSelected)); + gmCurrent.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; +} \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index d8ec6f9..d92c9e6 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -87,38 +87,48 @@ void StartSinglePlayerNewMenuCustom(void) static void SetQuickLoadNotes(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = TRANS( + gmCurrent.gm_mgNotes.mg_strText = TRANS( "In-game QuickSave shortcuts:\n" "F6 - save a new QuickSave\n" "F9 - load the last QuickSave\n"); } else { - _pGUIM->gmLoadSaveMenu.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgNotes.mg_strText = ""; } } +extern CTString sam_strFirstLevel; + void StartSinglePlayerNewMenu(void) { - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - extern CTString sam_strFirstLevel; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + _pGame->gam_strCustomLevel = sam_strFirstLevel; - ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&gmCurrent); } // game options var settings void StartVarGameOptions(void) { - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + + gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&gmCurrent); } void StartSinglePlayerGameOptions(void) { - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - ChangeToMenu(&_pGUIM->gmVarMenu); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + + gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&gmCurrent); } void StartGameOptionsFromNetwork(void) @@ -136,10 +146,12 @@ void StartGameOptionsFromSplitScreen(void) // rendering options var settings void StartRenderingOptionsMenu(void) { - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; - ChangeToMenu(&_pGUIM->gmVarMenu); + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + + gmCurrent.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartCustomizeKeyboardMenu(void) @@ -325,230 +337,251 @@ void JoinNetworkGame(void) } // -------- Servers Menu Functions -#define CMENU _pGUIM->gmServersMenu - void StartSelectServerLAN(void) { - CMENU.m_bInternet = FALSE; - ChangeToMenu(&CMENU); - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + + gmCurrent.m_bInternet = FALSE; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } void StartSelectServerNET(void) { - CMENU.m_bInternet = TRUE; - ChangeToMenu(&CMENU); - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + + gmCurrent.m_bInternet = TRUE; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } -#undef CMENU - // -------- Levels Menu Functions -#define CMENU _pGUIM->gmLevelsMenu - void StartSelectLevelFromSingle(void) { + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + FilterLevels(GetSpawnFlagsForGameType(-1)); _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu(&CMENU); - CMENU.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; } void StartSelectLevelFromSplit(void) { + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); void StartSplitStartMenu(void); _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu(&CMENU); - CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; } void StartSelectLevelFromNetwork(void) { + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); void StartNetworkStartMenu(void); _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu(&CMENU); - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; } -#undef CMENU - // -------- Players Selection Menu Functions -#define CMENU _pGUIM->gmSelectPlayersMenu - void StartSelectPlayersMenuFromSplit(void) { - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = FALSE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = FALSE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromNetwork(void) { - CMENU.gm_bAllowDedicated = TRUE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = TRUE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromNetworkLoad(void) { - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromSplitScreenLoad(void) { - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = FALSE; - CMENU.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - CMENU.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = FALSE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromOpen(void) { - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&gmCurrent); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; } } void StartSelectPlayersMenuFromServers(void) { - CMENU.gm_bAllowDedicated = FALSE; - CMENU.gm_bAllowObserving = TRUE; - CMENU.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - CMENU.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - ChangeToMenu(&CMENU); + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&gmCurrent); /*if (sam_strNetworkSettings=="")*/ { void StartNetworkSettingsMenu(void); StartNetworkSettingsMenu(); _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &CMENU; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; } } -#undef CMENU - // -------- Save/Load Menu Calling Functions -#define CMENU _pGUIM->gmLoadSaveMenu - void StartPlayerModelLoadMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Models\\Player\\"); - CMENU.gm_fnmSelected = _strLastPlayerAppearance; - CMENU.gm_fnmExt = CTString(".amc"); - CMENU.gm_pAfterFileChosen = &LSLoadPlayerModel; - CMENU.gm_mgNotes.mg_strText = ""; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - CMENU.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&CMENU); + gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Models\\Player\\"); + gmCurrent.gm_fnmSelected = _strLastPlayerAppearance; + gmCurrent.gm_fnmExt = CTString(".amc"); + gmCurrent.gm_pAfterFileChosen = &LSLoadPlayerModel; + gmCurrent.gm_mgNotes.mg_strText = ""; + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&gmCurrent); } void StartControlsLoadMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Controls\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".ctl"); - CMENU.gm_pAfterFileChosen = &LSLoadControls; - CMENU.gm_mgNotes.mg_strText = ""; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - CMENU.gm_pgmParentMenu = &_pGUIM->gmControls; - ChangeToMenu(&CMENU); + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Controls\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".ctl"); + gmCurrent.gm_pAfterFileChosen = &LSLoadControls; + gmCurrent.gm_mgNotes.mg_strText = ""; + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmControls; + ChangeToMenu(&gmCurrent); } void StartCustomLoadMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".cfg"); - CMENU.gm_pAfterFileChosen = &LSLoadCustom; - CMENU.gm_mgNotes.mg_strText = ""; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".cfg"); + gmCurrent.gm_pAfterFileChosen = &LSLoadCustom; + gmCurrent.gm_mgNotes.mg_strText = ""; + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartAddonsLoadMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".ini"); - CMENU.gm_pAfterFileChosen = &LSLoadAddon; - CMENU.gm_mgNotes.mg_strText = ""; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".ini"); + gmCurrent.gm_pAfterFileChosen = &LSLoadAddon; + gmCurrent.gm_mgNotes.mg_strText = ""; + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartModsLoadMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_NAMEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Mods\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".des"); - CMENU.gm_pAfterFileChosen = &LSLoadMod; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - CMENU.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Mods\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".des"); + gmCurrent.gm_pAfterFileChosen = &LSLoadMod; + + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkSettingsMenu(void) { - CMENU.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - CMENU.gm_bAllowThumbnails = FALSE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = FALSE; - CMENU.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - CMENU.gm_fnmSelected = sam_strNetworkSettings; - CMENU.gm_fnmExt = CTString(".ini"); - CMENU.gm_pAfterFileChosen = &LSLoadNetSettings; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + + gmCurrent.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + gmCurrent.gm_fnmSelected = sam_strNetworkSettings; + gmCurrent.gm_fnmExt = CTString(".ini"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetSettings; + if (sam_strNetworkSettings == "") { - CMENU.gm_mgNotes.mg_strText = TRANS( + gmCurrent.gm_mgNotes.mg_strText = TRANS( "Before joining a network game,\n" "you have to adjust your connection parameters.\n" "Choose one option from the list.\n" @@ -556,246 +589,271 @@ void StartNetworkSettingsMenu(void) "these parameters again from the Options menu.\n" ); } else { - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgNotes.mg_strText = ""; } - CMENU.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerQuickLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_SINGLE_PLAYER; - CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadSinglePlayer; + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; SetQuickLoadNotes(); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_SINGLE_PLAYER; - CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadSinglePlayer; - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; + gmCurrent.gm_mgNotes.mg_strText = ""; - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerSaveMenu(void) { if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; + // if no live players if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { // do nothing return; } - _gmMenuGameMode = GM_SINGLE_PLAYER; - CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = TRUE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmBaseName = CTString("SaveGame"); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; - CMENU.gm_mgNotes.mg_strText = ""; - CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + + _gmMenuGameMode = GM_SINGLE_PLAYER; + + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartDemoLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_DEMO; - CMENU.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("Demos\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".dem"); - CMENU.gm_pAfterFileChosen = &LSLoadDemo; - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("Demos\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".dem"); + gmCurrent.gm_pAfterFileChosen = &LSLoadDemo; + gmCurrent.gm_mgNotes.mg_strText = ""; - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartDemoSaveMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + if (_gmRunningGameMode == GM_NONE) return; _gmMenuGameMode = GM_DEMO; - CMENU.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEUP; - CMENU.gm_bSave = TRUE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("Demos\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmBaseName = CTString("Demo"); - CMENU.gm_fnmExt = CTString(".dem"); - CMENU.gm_pAfterFileChosen = &LSSaveDemo; - CMENU.gm_mgNotes.mg_strText = ""; - CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("Demos\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("Demo"); + gmCurrent.gm_fnmExt = CTString(".dem"); + gmCurrent.gm_pAfterFileChosen = &LSSaveDemo; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkQuickLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_NETWORK; - CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadNetwork; + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; SetQuickLoadNotes(); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_NETWORK; - CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadNetwork; - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; + gmCurrent.gm_mgNotes.mg_strText = ""; - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkSaveMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + if (_gmRunningGameMode != GM_NETWORK) return; _gmMenuGameMode = GM_NETWORK; - CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = TRUE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmBaseName = CTString("SaveGame"); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; - CMENU.gm_mgNotes.mg_strText = ""; - CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenQuickLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_SPLIT_SCREEN; - CMENU.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadSplitScreen; + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; SetQuickLoadNotes(); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenLoadMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + _gmMenuGameMode = GM_SPLIT_SCREEN; - CMENU.gm_mgTitle.mg_strText = TRANS("LOAD"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = FALSE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSLoadSplitScreen; - CMENU.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; + gmCurrent.gm_mgNotes.mg_strText = ""; - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenSaveMenu(void) { + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; _gmMenuGameMode = GM_SPLIT_SCREEN; - CMENU.gm_mgTitle.mg_strText = TRANS("SAVE"); - CMENU.gm_bAllowThumbnails = TRUE; - CMENU.gm_iSortType = LSSORT_FILEDN; - CMENU.gm_bSave = TRUE; - CMENU.gm_bManage = TRUE; - CMENU.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - CMENU.gm_fnmSelected = CTString(""); - CMENU.gm_fnmBaseName = CTString("SaveGame"); - CMENU.gm_fnmExt = CTString(".sav"); - CMENU.gm_pAfterFileChosen = &LSSaveAnyGame; - CMENU.gm_mgNotes.mg_strText = ""; - CMENU.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - CMENU.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&CMENU); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } -#undef CMENU - // -------- Disabled Menu Calling Function void DisabledFunction(void) { - _pGUIM->gmDisabledFunction.gm_pgmParentMenu = pgmCurrentMenu; - _pGUIM->gmDisabledFunction.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); - _pGUIM->gmDisabledFunction.gm_mgTitle.mg_strText = TRANS("DISABLED"); - ChangeToMenu(&_pGUIM->gmDisabledFunction); + CDisabledMenu &gmCurrent = _pGUIM->gmDisabledFunction; + + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); + gmCurrent.gm_mgTitle.mg_strText = TRANS("DISABLED"); + ChangeToMenu(&gmCurrent); } \ No newline at end of file From 7972586d1dae4dcb7061c1edb28d9b4958227cc8 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 21:58:50 +0300 Subject: [PATCH 57/62] GameExecutable: Cleanup. Make some extern functions and variables static. --- Sources/SeriousSam/GUI/Menus/MConfirm.cpp | 3 + Sources/SeriousSam/GUI/Menus/MConfirm.h | 3 + Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 170 ++++++++++--------- 3 files changed, 94 insertions(+), 82 deletions(-) diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp index 6555cbb..d7bc1b9 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp @@ -44,6 +44,9 @@ void CConfirmMenu::Initialize_t(void) gm_mgConfirmNo.mg_pmgRight = &gm_mgConfirmYes; gm_mgConfirmNo.mg_iCenterI = -1; gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; + + _pConfimedYes = NULL; + _pConfimedNo = NULL; } void CConfirmMenu::BeLarge(void) diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.h b/Sources/SeriousSam/GUI/Menus/MConfirm.h index 904f1c0..5fb75a9 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.h +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.h @@ -28,6 +28,9 @@ public: CMGButton gm_mgConfirmYes; CMGButton gm_mgConfirmNo; + void(*_pConfimedYes)(void) = NULL; + void(*_pConfimedNo)(void) = NULL; + void Initialize_t(void); // return TRUE if handled BOOL OnKeyDown(int iVKey); diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index c3e82eb..0a27758 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -22,26 +22,23 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "LevelInfo.h" #include "VarList.h" -#define VOLUME_STEPS 50 +ENGINE_API extern INDEX snd_iFormat; +extern BOOL _bMouseUsedLast; extern CMenuGadget *_pmgLastActivatedGadget; extern CMenuGadget *_pmgUnderCursor; -// functions to activate when user chose 'yes/no' on confirmation -void(*_pConfimedYes)(void) = NULL; -void(*_pConfimedNo)(void) = NULL; +static INDEX _ctAdapters = 0; +static CTString * _astrAdapterTexts = NULL; +static INDEX _ctResolutions = 0; +static CTString * _astrResolutionTexts = NULL; +static CDisplayMode *_admResolutionModes = NULL; -INDEX _ctAdapters = 0; -CTString * _astrAdapterTexts = NULL; -INDEX _ctResolutions = 0; -CTString * _astrResolutionTexts = NULL; -CDisplayMode *_admResolutionModes = NULL; +#define VOLUME_STEPS 50 -extern BOOL _bMouseUsedLast; -ENGINE_API extern INDEX snd_iFormat; // make description for a given resolution -CTString GetResolutionDescription(CDisplayMode &dm) +static CTString GetResolutionDescription(CDisplayMode &dm) { CTString str; // if dual head @@ -58,7 +55,7 @@ CTString GetResolutionDescription(CDisplayMode &dm) } // make description for a given resolution -void SetResolutionInList(INDEX iRes, PIX pixSizeI, PIX pixSizeJ) +static void SetResolutionInList(INDEX iRes, PIX pixSizeI, PIX pixSizeJ) { ASSERT(iRes >= 0 && iRes<_ctResolutions); @@ -103,25 +100,25 @@ CTFileName _fnmModSelected; CTString _strModURLSelected; CTString _strModServerSelected; -void ExitGame(void) +static void ExitGame(void) { _bRunning = FALSE; _bQuitScreen = TRUE; } -void ExitConfirm(void) +static void ExitConfirm(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - _pConfimedYes = &ExitGame; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &ExitGame; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; gmCurrent.BeLarge(); ChangeToMenu(&gmCurrent); } -void StopCurrentGame(void) +static void StopCurrentGame(void) { _pGame->StopGame(); _gmRunningGameMode = GM_NONE; @@ -129,25 +126,25 @@ void StopCurrentGame(void) StartMenus(""); } -void StopConfirm(void) +static void StopConfirm(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - _pConfimedYes = &StopCurrentGame; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &StopCurrentGame; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; gmCurrent.BeLarge(); ChangeToMenu(&gmCurrent); } -void ModLoadYes(void) +static void ModLoadYes(void) { extern CTFileName _fnmModToLoad; _fnmModToLoad = _fnmModSelected; } -void ModConnect(void) +static void ModConnect(void) { extern CTFileName _fnmModToLoad; extern CTString _strModServerJoin; @@ -162,6 +159,7 @@ extern void ModConnectConfirm(void) if (_fnmModSelected == " ") { _fnmModSelected = CTString("SeriousSam"); } + CTFileName fnmModPath = "Mods\\" + _fnmModSelected + "\\"; if (!FileExists(fnmModPath + "BaseWriteInclude.lst") && !FileExists(fnmModPath + "BaseWriteExclude.lst") @@ -173,8 +171,8 @@ extern void ModConnectConfirm(void) } CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); - _pConfimedYes = &ModConnect; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &ModConnect; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; gmCurrent.BeLarge(); @@ -186,8 +184,8 @@ void SaveConfirm(void) CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; extern void OnFileSaveOK(void); - _pConfimedYes = &OnFileSaveOK; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &OnFileSaveOK; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; gmCurrent.BeLarge(); @@ -206,8 +204,8 @@ void ModNotInstalled(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - _pConfimedYes = &ExitAndSpawnExplorer; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &ExitAndSpawnExplorer; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText.PrintF( TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; @@ -220,14 +218,16 @@ extern void ModConfirm(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - _pConfimedYes = &ModLoadYes; - _pConfimedNo = NULL; + gmCurrent._pConfimedYes = &ModLoadYes; + gmCurrent._pConfimedNo = NULL; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; gmCurrent.BeLarge(); ChangeToMenu(&gmCurrent); } +static void RevertVideoSettings(void); + void VideoConfirm(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; @@ -237,9 +237,8 @@ void VideoConfirm(void) _bMouseUsedLast = FALSE; _pmgUnderCursor = gmCurrent.gm_pmgSelectedByDefault; - _pConfimedYes = NULL; - void RevertVideoSettings(void); - _pConfimedNo = RevertVideoSettings; + gmCurrent._pConfimedYes = NULL; + gmCurrent._pConfimedNo = RevertVideoSettings; gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; @@ -247,19 +246,23 @@ void VideoConfirm(void) ChangeToMenu(&gmCurrent); } -void ConfirmYes(void) +static void ConfirmYes(void) { - if (_pConfimedYes != NULL) { - _pConfimedYes(); + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + + if (gmCurrent._pConfimedYes != NULL) { + gmCurrent._pConfimedYes(); } void MenuGoToParent(void); MenuGoToParent(); } -void ConfirmNo(void) +static void ConfirmNo(void) { - if (_pConfimedNo != NULL) { - _pConfimedNo(); + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + + if (gmCurrent._pConfimedNo != NULL) { + gmCurrent._pConfimedNo(); } void MenuGoToParent(void); MenuGoToParent(); @@ -288,13 +291,13 @@ void InitActionsForMainMenu() { // ------------------------ CInGameMenu implementation // start load/save menus depending on type of game running -void QuickSaveFromMenu() +static void QuickSaveFromMenu() { _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting StopMenus(TRUE); } -void StopRecordingDemo(void) +static void StopRecordingDemo(void) { _pNetwork->StopDemoRec(); void SetDemoStartStopRecText(void); @@ -333,19 +336,20 @@ extern void SetDemoStartStopRecText(void) // ------------------------ CSinglePlayerMenu implementation -void StartSinglePlayerGame_Normal(void); -void StartTechTest(void) +extern CTString sam_strTechTestLevel; +extern CTString sam_strTrainingLevel; + +static void StartSinglePlayerGame_Normal(void); +static void StartTechTest(void) { _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - extern CTString sam_strTechTestLevel; _pGame->gam_strCustomLevel = sam_strTechTestLevel; StartSinglePlayerGame_Normal(); } -void StartTraining(void) +static void StartTraining(void) { _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - extern CTString sam_strTrainingLevel; _pGame->gam_strCustomLevel = sam_strTrainingLevel; ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } @@ -387,42 +391,42 @@ void StartSinglePlayerGame(void) } } -void StartSinglePlayerGame_Tourist(void) +static void StartSinglePlayerGame_Tourist(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_TOURIST); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } -void StartSinglePlayerGame_Easy(void) +static void StartSinglePlayerGame_Easy(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } -void StartSinglePlayerGame_Normal(void) +static void StartSinglePlayerGame_Normal(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } -void StartSinglePlayerGame_Hard(void) +static void StartSinglePlayerGame_Hard(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } -void StartSinglePlayerGame_Serious(void) +static void StartSinglePlayerGame_Serious(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); StartSinglePlayerGame(); } -void StartSinglePlayerGame_Mental(void) +static void StartSinglePlayerGame_Mental(void) { _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME + 1); _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); @@ -441,21 +445,21 @@ void InitActionsForSinglePlayerNewMenu() { } // ------------------------ CPlayerProfileMenu implementation -void ChangeCrosshair(INDEX iNew) +static void ChangeCrosshair(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iCrossHairType = iNew - 1; } -void ChangeWeaponSelect(INDEX iNew) +static void ChangeWeaponSelect(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; pps->ps_iWeaponAutoSelect = iNew; } -void ChangeWeaponHide(INDEX iNew) +static void ChangeWeaponHide(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -466,7 +470,7 @@ void ChangeWeaponHide(INDEX iNew) } } -void Change3rdPerson(INDEX iNew) +static void Change3rdPerson(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -477,7 +481,7 @@ void Change3rdPerson(INDEX iNew) } } -void ChangeQuotes(INDEX iNew) +static void ChangeQuotes(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -488,7 +492,7 @@ void ChangeQuotes(INDEX iNew) } } -void ChangeAutoSave(INDEX iNew) +static void ChangeAutoSave(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -499,7 +503,7 @@ void ChangeAutoSave(INDEX iNew) } } -void ChangeCompDoubleClick(INDEX iNew) +static void ChangeCompDoubleClick(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -510,7 +514,7 @@ void ChangeCompDoubleClick(INDEX iNew) } } -void ChangeViewBobbing(INDEX iNew) +static void ChangeViewBobbing(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -521,7 +525,7 @@ void ChangeViewBobbing(INDEX iNew) } } -void ChangeSharpTurning(INDEX iNew) +static void ChangeSharpTurning(INDEX iNew) { INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; @@ -767,7 +771,7 @@ extern void InitVideoOptionsButtons(void) gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } -void ApplyVideoOptions(void) +static void ApplyVideoOptions(void) { CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; @@ -810,7 +814,7 @@ void ApplyVideoOptions(void) if (bFullScreenMode) VideoConfirm(); } -void RevertVideoSettings(void) +static void RevertVideoSettings(void) { // restore previous variables sam_bFullScreenActive = sam_old_bFullScreenActive; @@ -876,7 +880,7 @@ extern void RefreshSoundFormat(void) gmCurrent.gm_mgFrequencyTrigger.ApplyCurrentSelection(); } -void ApplyAudioOptions(void) +static void ApplyAudioOptions(void) { CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; @@ -905,7 +909,7 @@ static void OnWaveVolumeChange(INDEX iCurPos) _pShell->SetFLOAT("snd_fSoundVolume", iCurPos / FLOAT(VOLUME_STEPS)); } -void WaveSliderChange(void) +static void WaveSliderChange(void) { CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; @@ -913,7 +917,7 @@ void WaveSliderChange(void) gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); } -void FrequencyTriggerChange(INDEX iDummy) +static void FrequencyTriggerChange(INDEX iDummy) { CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; @@ -922,7 +926,7 @@ void FrequencyTriggerChange(INDEX iDummy) gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); } -void MPEGSliderChange(void) +static void MPEGSliderChange(void) { CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; @@ -948,7 +952,7 @@ void InitActionsForAudioOptionsMenu() } // ------------------------ CVarMenu implementation -void VarApply(void) +static void VarApply(void) { CVarMenu &gmCurrent = _pGUIM->gmVarMenu; @@ -966,7 +970,7 @@ void InitActionsForVarMenu() { extern CMGButton mgServerColumn[7]; extern CMGEdit mgServerFilter[7]; -void SortByColumn(int i) +static void SortByColumn(int i) { CServersMenu &gmCurrent = _pGUIM->gmServersMenu; @@ -978,13 +982,13 @@ void SortByColumn(int i) gmCurrent.gm_mgList.mg_iSort = i; } -void SortByServer(void) { SortByColumn(0); } -void SortByMap(void) { SortByColumn(1); } -void SortByPing(void) { SortByColumn(2); } -void SortByPlayers(void){ SortByColumn(3); } -void SortByGame(void) { SortByColumn(4); } -void SortByMod(void) { SortByColumn(5); } -void SortByVer(void) { SortByColumn(6); } +static void SortByServer(void) { SortByColumn(0); } +static void SortByMap(void) { SortByColumn(1); } +static void SortByPing(void) { SortByColumn(2); } +static void SortByPlayers(void){ SortByColumn(3); } +static void SortByGame(void) { SortByColumn(4); } +static void SortByMod(void) { SortByColumn(5); } +static void SortByVer(void) { SortByColumn(6); } extern void RefreshServerList(void) { @@ -1039,13 +1043,15 @@ extern void UpdateNetworkLevel(INDEX iDummy) void InitActionsForNetworkStartMenu() { - _pGUIM->gmNetworkStartMenu.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; - _pGUIM->gmNetworkStartMenu.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; - _pGUIM->gmNetworkStartMenu.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; + CNetworkStartMenu &gmCurrent = _pGUIM->gmNetworkStartMenu; + + gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; + gmCurrent.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; } // ------------------------ CSelectPlayersMenu implementation -INDEX FindUnusedPlayer(void) +static INDEX FindUnusedPlayer(void) { INDEX *ai = _pGame->gm_aiMenuLocalPlayers; INDEX iPlayer = 0; @@ -1216,7 +1222,7 @@ extern void SelectPlayersApplyMenu(void) _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmCurrent.gm_mgSplitScreenCfg.mg_iSelected; } -void UpdateSelectPlayers(INDEX i) +static void UpdateSelectPlayers(INDEX i) { SelectPlayersApplyMenu(); SelectPlayersFillMenu(); From 6434adfc1babd3ad862fecf64f269364ddbd84a3 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 22:43:28 +0300 Subject: [PATCH 58/62] GameExecutable: Fix spaces for headers. --- Sources/SeriousSam/ArrowDir.h | 10 +-- Sources/SeriousSam/CDCheck.h | 15 ---- Sources/SeriousSam/FileInfo.h | 6 +- Sources/SeriousSam/GUI/Components/MGArrow.h | 6 +- Sources/SeriousSam/GUI/Components/MGButton.h | 35 ++++----- .../GUI/Components/MGChangePlayer.h | 6 +- Sources/SeriousSam/GUI/Components/MGEdit.h | 26 ++++--- .../SeriousSam/GUI/Components/MGFileButton.h | 45 +++++------ .../SeriousSam/GUI/Components/MGHighScore.h | 2 +- .../GUI/Components/MGKeyDefinition.h | 30 ++++---- .../SeriousSam/GUI/Components/MGLevelButton.h | 6 +- Sources/SeriousSam/GUI/Components/MGModel.h | 12 +-- .../SeriousSam/GUI/Components/MGServerList.h | 72 +++++++++--------- Sources/SeriousSam/GUI/Components/MGSlider.h | 24 +++--- Sources/SeriousSam/GUI/Components/MGTitle.h | 4 +- Sources/SeriousSam/GUI/Components/MGTrigger.h | 30 ++++---- .../SeriousSam/GUI/Components/MGVarButton.h | 12 +-- .../SeriousSam/GUI/Components/MenuGadget.h | 58 +++++++------- Sources/SeriousSam/GUI/Menus/GameMenu.h | 50 ++++++------- Sources/SeriousSam/GUI/Menus/MAudioOptions.h | 18 ++--- Sources/SeriousSam/GUI/Menus/MConfirm.h | 20 ++--- Sources/SeriousSam/GUI/Menus/MControls.h | 30 ++++---- Sources/SeriousSam/GUI/Menus/MCredits.h | 2 +- Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h | 28 +++---- .../SeriousSam/GUI/Menus/MCustomizeKeyboard.h | 16 ++-- Sources/SeriousSam/GUI/Menus/MDisabled.h | 6 +- Sources/SeriousSam/GUI/Menus/MHighScore.h | 8 +- Sources/SeriousSam/GUI/Menus/MInGame.h | 28 +++---- Sources/SeriousSam/GUI/Menus/MLevels.h | 14 ++-- Sources/SeriousSam/GUI/Menus/MLoadSave.h | 75 ++++++++++--------- Sources/SeriousSam/GUI/Menus/MMain.h | 24 +++--- Sources/SeriousSam/GUI/Menus/MNetwork.h | 14 ++-- Sources/SeriousSam/GUI/Menus/MNetworkJoin.h | 10 +-- Sources/SeriousSam/GUI/Menus/MNetworkOpen.h | 20 ++--- Sources/SeriousSam/GUI/Menus/MNetworkStart.h | 26 +++---- Sources/SeriousSam/GUI/Menus/MOptions.h | 14 ++-- Sources/SeriousSam/GUI/Menus/MPlayerProfile.h | 52 ++++++------- .../SeriousSam/GUI/Menus/MRenderingOptions.h | 6 +- Sources/SeriousSam/GUI/Menus/MSelectPlayers.h | 30 ++++---- Sources/SeriousSam/GUI/Menus/MServers.h | 14 ++-- Sources/SeriousSam/GUI/Menus/MSinglePlayer.h | 24 +++--- .../SeriousSam/GUI/Menus/MSinglePlayerNew.h | 18 ++--- Sources/SeriousSam/GUI/Menus/MSplitScreen.h | 12 +-- Sources/SeriousSam/GUI/Menus/MSplitStart.h | 18 ++--- Sources/SeriousSam/GUI/Menus/MVar.h | 22 +++--- Sources/SeriousSam/GUI/Menus/MVideoOptions.h | 22 +++--- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 8 +- Sources/SeriousSam/GUI/Menus/MenuManager.h | 52 ++++++------- .../SeriousSam/GUI/Menus/MenuStartersAF.cpp | 4 +- Sources/SeriousSam/GUI/Menus/MenuStuff.h | 18 ++--- Sources/SeriousSam/SeriousSam.h | 1 - Sources/SeriousSam/SeriousSam.vcxproj | 1 - Sources/SeriousSam/SeriousSam.vcxproj.filters | 3 - 53 files changed, 547 insertions(+), 560 deletions(-) delete mode 100644 Sources/SeriousSam/CDCheck.h diff --git a/Sources/SeriousSam/ArrowDir.h b/Sources/SeriousSam/ArrowDir.h index aa9740d..8b02b09 100644 --- a/Sources/SeriousSam/ArrowDir.h +++ b/Sources/SeriousSam/ArrowDir.h @@ -20,11 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc., enum ArrowDir { - AD_NONE, - AD_UP, - AD_DOWN, - AD_LEFT, - AD_RIGHT, + AD_NONE, + AD_UP, + AD_DOWN, + AD_LEFT, + AD_RIGHT, }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/CDCheck.h b/Sources/SeriousSam/CDCheck.h deleted file mode 100644 index 283b894..0000000 --- a/Sources/SeriousSam/CDCheck.h +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. -This program is free software; you can redistribute it and/or modify -it under the terms of version 2 of the GNU General Public License as published by -the Free Software Foundation - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ - -#define CD_CHECK 1 diff --git a/Sources/SeriousSam/FileInfo.h b/Sources/SeriousSam/FileInfo.h index cad9465..c775720 100644 --- a/Sources/SeriousSam/FileInfo.h +++ b/Sources/SeriousSam/FileInfo.h @@ -21,9 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc., class CFileInfo { public: - CListNode fi_lnNode; - CTFileName fi_fnFile; - CTString fi_strName; + CListNode fi_lnNode; + CTFileName fi_fnFile; + CTString fi_strName; }; diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.h b/Sources/SeriousSam/GUI/Components/MGArrow.h index e0d424f..532c94a 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.h +++ b/Sources/SeriousSam/GUI/Components/MGArrow.h @@ -24,9 +24,9 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGArrow : public CMGButton { public: - enum ArrowDir mg_adDirection; - void Render(CDrawPort *pdp); - void OnActivate(void); + enum ArrowDir mg_adDirection; + void Render(CDrawPort *pdp); + void OnActivate(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGButton.h b/Sources/SeriousSam/GUI/Components/MGButton.h index 676b6ef..4b3ea4a 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.h +++ b/Sources/SeriousSam/GUI/Components/MGButton.h @@ -23,24 +23,25 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGButton : public CMenuGadget { public: - CTString mg_strLabel; // for those that have labels separately from main text - CTString mg_strText; - INDEX mg_iCenterI; - enum ButtonFontSize mg_bfsFontSize; - BOOL mg_bEditing; - BOOL mg_bHighlighted; - BOOL mg_bRectangle; - BOOL mg_bMental; - INDEX mg_iTextMode; - INDEX mg_iCursorPos; + CTString mg_strLabel; // for those that have labels separately from main text + CTString mg_strText; + INDEX mg_iCenterI; + enum ButtonFontSize mg_bfsFontSize; + BOOL mg_bEditing; + BOOL mg_bHighlighted; + BOOL mg_bRectangle; + BOOL mg_bMental; + INDEX mg_iTextMode; + INDEX mg_iCursorPos; + INDEX mg_iIndex; - INDEX mg_iIndex; - void(*mg_pActivatedFunction)(void); - CMGButton(void); - void SetText(CTString strNew); - void OnActivate(void); - void Render(CDrawPort *pdp); - PIX GetCharOffset(CDrawPort *pdp, INDEX iCharNo); + void(*mg_pActivatedFunction)(void); + + CMGButton(void); + void SetText(CTString strNew); + void OnActivate(void); + void Render(CDrawPort *pdp); + PIX GetCharOffset(CDrawPort *pdp, INDEX iCharNo); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h index e7f343a..8dd0f08 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h @@ -23,10 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGChangePlayer : public CMGButton { public: - INDEX mg_iLocalPlayer; + INDEX mg_iLocalPlayer; - void SetPlayerText(void); - void OnActivate(void); + void SetPlayerText(void); + void OnActivate(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.h b/Sources/SeriousSam/GUI/Components/MGEdit.h index 12ff4b1..86eb385 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.h +++ b/Sources/SeriousSam/GUI/Components/MGEdit.h @@ -23,18 +23,20 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGEdit : public CMGButton { public: - INDEX mg_ctMaxStringLen; - CTString *mg_pstrToChange; - CMGEdit(void); - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - BOOL OnChar(MSG msg); - void Clear(void); - void OnActivate(void); - void OnKillFocus(void); - void Render(CDrawPort *pdp); - virtual void OnStringChanged(void); - virtual void OnStringCanceled(void); + INDEX mg_ctMaxStringLen; + CTString *mg_pstrToChange; + + CMGEdit(void); + + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + BOOL OnChar(MSG msg); + void Clear(void); + void OnActivate(void); + void OnKillFocus(void); + void Render(CDrawPort *pdp); + virtual void OnStringChanged(void); + virtual void OnStringCanceled(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.h b/Sources/SeriousSam/GUI/Components/MGFileButton.h index 8dee6a4..ca37a05 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.h +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.h @@ -26,30 +26,31 @@ with this program; if not, write to the Free Software Foundation, Inc., #define FBS_RENAME 2 // renaming existing file class CMGFileButton : public CMGEdit { public: - CMGFileButton(void); - CTFileName mg_fnm; - CTString mg_strDes; // entire description goes here - CTString mg_strInfo; // info part of text to print above the gadget tip - INDEX mg_iState; - // refresh current text from description - void RefreshText(void); - // save description to disk - void SaveDescription(void); - void SaveYes(void); - void DoSave(void); - void DoLoad(void); - void StartEdit(void); + CMGFileButton(void); + CTFileName mg_fnm; + CTString mg_strDes; // entire description goes here + CTString mg_strInfo; // info part of text to print above the gadget tip + INDEX mg_iState; - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - void OnActivate(void); - void OnSetFocus(void); - void OnKillFocus(void); + // refresh current text from description + void RefreshText(void); + // save description to disk + void SaveDescription(void); + void SaveYes(void); + void DoSave(void); + void DoLoad(void); + void StartEdit(void); - // overrides from edit gadget - void OnStringChanged(void); - void OnStringCanceled(void); - void Render(CDrawPort *pdp); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void OnActivate(void); + void OnSetFocus(void); + void OnKillFocus(void); + + // overrides from edit gadget + void OnStringChanged(void); + void OnStringCanceled(void); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.h b/Sources/SeriousSam/GUI/Components/MGHighScore.h index 614460f..0299122 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.h +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.h @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGHighScore : public CMenuGadget { public: - void Render(CDrawPort *pdp); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h index 157361b..ef4370f 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h @@ -23,23 +23,23 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGKeyDefinition : public CMenuGadget { public: - INDEX mg_iState; - INDEX mg_iControlNumber; + INDEX mg_iState; + INDEX mg_iControlNumber; - CTString mg_strLabel; - CTString mg_strBinding; + CTString mg_strLabel; + CTString mg_strBinding; - CMGKeyDefinition(void); - void Appear(void); - void Disappear(void); - void OnActivate(void); - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - void Think(void); - // set names for both key bindings - void SetBindingNames(BOOL bDefining); - void DefineKey(INDEX iDik); - void Render(CDrawPort *pdp); + CMGKeyDefinition(void); + void Appear(void); + void Disappear(void); + void OnActivate(void); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void Think(void); + // set names for both key bindings + void SetBindingNames(BOOL bDefining); + void DefineKey(INDEX iDik); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.h b/Sources/SeriousSam/GUI/Components/MGLevelButton.h index 24c4578..b3392a3 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.h +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.h @@ -23,10 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGLevelButton : public CMGButton { public: - CTFileName mg_fnmLevel; + CTFileName mg_fnmLevel; - void OnActivate(void); - void OnSetFocus(void); + void OnActivate(void); + void OnSetFocus(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGModel.h b/Sources/SeriousSam/GUI/Components/MGModel.h index 72d4f30..30f002e 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.h +++ b/Sources/SeriousSam/GUI/Components/MGModel.h @@ -23,13 +23,13 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGModel : public CMGButton { public: - CModelObject mg_moModel; - CModelObject mg_moFloor; - CPlacement3D mg_plModel; - BOOL mg_fFloorY; + CModelObject mg_moModel; + CModelObject mg_moFloor; + CPlacement3D mg_plModel; + BOOL mg_fFloorY; - CMGModel(void); - void Render(CDrawPort *pdp); + CMGModel(void); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.h b/Sources/SeriousSam/GUI/Components/MGServerList.h index 4796013..dc3195a 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.h +++ b/Sources/SeriousSam/GUI/Components/MGServerList.h @@ -23,44 +23,44 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGServerList : public CMGButton { public: - INDEX mg_iSelected; - INDEX mg_iFirstOnScreen; - INDEX mg_ctOnScreen; - // server list dimensions - PIX mg_pixMinI; - PIX mg_pixMaxI; - PIX mg_pixListMinJ; - PIX mg_pixListStepJ; - // header dimensions - PIX mg_pixHeaderMinJ; - PIX mg_pixHeaderMidJ; - PIX mg_pixHeaderMaxJ; - PIX mg_pixHeaderI[8]; - // scrollbar dimensions - PIX mg_pixSBMinI; - PIX mg_pixSBMaxI; - PIX mg_pixSBMinJ; - PIX mg_pixSBMaxJ; - // scrollbar dragging params - PIX mg_pixDragJ; - PIX mg_iDragLine; - PIX mg_pixMouseDrag; - // current mouse pos - PIX mg_pixMouseI; - PIX mg_pixMouseJ; + INDEX mg_iSelected; + INDEX mg_iFirstOnScreen; + INDEX mg_ctOnScreen; + // server list dimensions + PIX mg_pixMinI; + PIX mg_pixMaxI; + PIX mg_pixListMinJ; + PIX mg_pixListStepJ; + // header dimensions + PIX mg_pixHeaderMinJ; + PIX mg_pixHeaderMidJ; + PIX mg_pixHeaderMaxJ; + PIX mg_pixHeaderI[8]; + // scrollbar dimensions + PIX mg_pixSBMinI; + PIX mg_pixSBMaxI; + PIX mg_pixSBMinJ; + PIX mg_pixSBMaxJ; + // scrollbar dragging params + PIX mg_pixDragJ; + PIX mg_iDragLine; + PIX mg_pixMouseDrag; + // current mouse pos + PIX mg_pixMouseI; + PIX mg_pixMouseJ; - INDEX mg_iSort; // column to sort by - BOOL mg_bSortDown; // sort in reverse order + INDEX mg_iSort; // column to sort by + BOOL mg_bSortDown; // sort in reverse order - CMGServerList(); - BOOL OnKeyDown(int iVKey); - PIXaabbox2D GetScrollBarFullBox(void); - PIXaabbox2D GetScrollBarHandleBox(void); - void OnSetFocus(void); - void OnKillFocus(void); - void Render(CDrawPort *pdp); - void AdjustFirstOnScreen(void); - void OnMouseOver(PIX pixI, PIX pixJ); + CMGServerList(); + BOOL OnKeyDown(int iVKey); + PIXaabbox2D GetScrollBarFullBox(void); + PIXaabbox2D GetScrollBarHandleBox(void); + void OnSetFocus(void); + void OnKillFocus(void); + void Render(CDrawPort *pdp); + void AdjustFirstOnScreen(void); + void OnMouseOver(PIX pixI, PIX pixJ); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.h b/Sources/SeriousSam/GUI/Components/MGSlider.h index 12f1f7a..5d25b06 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.h +++ b/Sources/SeriousSam/GUI/Components/MGSlider.h @@ -23,19 +23,19 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGSlider : public CMGButton { public: - FLOAT mg_fFactor; - INDEX mg_iMinPos; - INDEX mg_iMaxPos; - INDEX mg_iCurPos; + FLOAT mg_fFactor; + INDEX mg_iMinPos; + INDEX mg_iMaxPos; + INDEX mg_iCurPos; - CMGSlider(); - void ApplyCurrentPosition(void); - void ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur); - // return TRUE if handled - virtual BOOL OnKeyDown(int iVKey); - void(*mg_pOnSliderChange)(INDEX iCurPos); - PIXaabbox2D GetSliderBox(void); - void Render(CDrawPort *pdp); + CMGSlider(); + void ApplyCurrentPosition(void); + void ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + void(*mg_pOnSliderChange)(INDEX iCurPos); + PIXaabbox2D GetSliderBox(void); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.h b/Sources/SeriousSam/GUI/Components/MGTitle.h index eab0473..534c388 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.h +++ b/Sources/SeriousSam/GUI/Components/MGTitle.h @@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGTitle : public CMenuGadget { public: - CTString mg_strText; - void Render(CDrawPort *pdp); + CTString mg_strText; + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.h b/Sources/SeriousSam/GUI/Components/MGTrigger.h index 6392eff..e15c4d7 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.h +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.h @@ -23,24 +23,24 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGTrigger : public CMenuGadget { public: - CTString mg_strLabel; - CTString mg_strValue; - CTString *mg_astrTexts; - INDEX mg_ctTexts; - INDEX mg_iSelected; - INDEX mg_iCenterI; - BOOL mg_bVisual; + CTString mg_strLabel; + CTString mg_strValue; + CTString *mg_astrTexts; + INDEX mg_ctTexts; + INDEX mg_iSelected; + INDEX mg_iCenterI; + BOOL mg_bVisual; - CMGTrigger(void); + CMGTrigger(void); - void ApplyCurrentSelection(void); - void OnSetNextInList(int iVKey); - void(*mg_pPreTriggerChange)(INDEX iCurrentlySelected); - void(*mg_pOnTriggerChange)(INDEX iCurrentlySelected); + void ApplyCurrentSelection(void); + void OnSetNextInList(int iVKey); + void(*mg_pPreTriggerChange)(INDEX iCurrentlySelected); + void(*mg_pOnTriggerChange)(INDEX iCurrentlySelected); - // return TRUE if handled - BOOL OnKeyDown(int iVKey); - void Render(CDrawPort *pdp); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); + void Render(CDrawPort *pdp); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.h b/Sources/SeriousSam/GUI/Components/MGVarButton.h index 820165a..0bda9b2 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.h +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.h @@ -23,12 +23,12 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMGVarButton : public CMGButton { public: - class CVarSetting *mg_pvsVar; - PIXaabbox2D GetSliderBox(void); - BOOL OnKeyDown(int iVKey); - void Render(CDrawPort *pdp); - BOOL IsSeparator(void); - BOOL IsEnabled(void); + class CVarSetting *mg_pvsVar; + PIXaabbox2D GetSliderBox(void); + BOOL OnKeyDown(int iVKey); + void Render(CDrawPort *pdp); + BOOL IsSeparator(void); + BOOL IsEnabled(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.h b/Sources/SeriousSam/GUI/Components/MenuGadget.h index 3d03589..b4a4fbb 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.h +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.h @@ -29,41 +29,41 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMenuGadget { public: - CListNode mg_lnNode; - FLOATaabbox2D mg_boxOnScreen; - BOOL mg_bVisible; - BOOL mg_bEnabled; - BOOL mg_bLabel; - BOOL mg_bFocused; - INDEX mg_iInList; // for scrollable gadget lists + CListNode mg_lnNode; + FLOATaabbox2D mg_boxOnScreen; + BOOL mg_bVisible; + BOOL mg_bEnabled; + BOOL mg_bLabel; + BOOL mg_bFocused; + INDEX mg_iInList; // for scrollable gadget lists - CTString mg_strTip; - CMenuGadget *mg_pmgLeft; - CMenuGadget *mg_pmgRight; - CMenuGadget *mg_pmgUp; - CMenuGadget *mg_pmgDown; + CTString mg_strTip; + CMenuGadget *mg_pmgLeft; + CMenuGadget *mg_pmgRight; + CMenuGadget *mg_pmgUp; + CMenuGadget *mg_pmgDown; - CMenuGadget(void); - // return TRUE if handled - virtual BOOL OnKeyDown(int iVKey); - virtual BOOL OnChar(MSG msg); - virtual void OnActivate(void); - virtual void OnSetFocus(void); - virtual void OnKillFocus(void); - virtual void Appear(void); - virtual void Disappear(void); - virtual void Think(void); - virtual void OnMouseOver(PIX pixI, PIX pixJ); + CMenuGadget(void); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + virtual BOOL OnChar(MSG msg); + virtual void OnActivate(void); + virtual void OnSetFocus(void); + virtual void OnKillFocus(void); + virtual void Appear(void); + virtual void Disappear(void); + virtual void Think(void); + virtual void OnMouseOver(PIX pixI, PIX pixJ); - virtual COLOR GetCurrentColor(void); - virtual void Render(CDrawPort *pdp); - virtual BOOL IsSeparator(void) { return FALSE; }; + virtual COLOR GetCurrentColor(void); + virtual void Render(CDrawPort *pdp); + virtual BOOL IsSeparator(void) { return FALSE; }; }; enum ButtonFontSize { - BFS_SMALL = 0, - BFS_MEDIUM = 1, - BFS_LARGE = 2, + BFS_SMALL = 0, + BFS_MEDIUM = 1, + BFS_LARGE = 2, }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.h b/Sources/SeriousSam/GUI/Menus/GameMenu.h index 72b57a6..b386400 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.h +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.h @@ -21,31 +21,31 @@ with this program; if not, write to the Free Software Foundation, Inc., class CGameMenu { public: - CListHead gm_lhGadgets; - CGameMenu *gm_pgmParentMenu; - BOOL gm_bPopup; - const char *gm_strName; // menu name (for mod interface only) - class CMenuGadget *gm_pmgSelectedByDefault; - class CMenuGadget *gm_pmgArrowUp; - class CMenuGadget *gm_pmgArrowDn; - class CMenuGadget *gm_pmgListTop; - class CMenuGadget *gm_pmgListBottom; - INDEX gm_iListOffset; - INDEX gm_iListWantedItem; // item you want to focus initially - INDEX gm_ctListVisible; - INDEX gm_ctListTotal; - CGameMenu(void); - void ScrollList(INDEX iDir); - void KillAllFocuses(void); - virtual void Initialize_t(void); - virtual void Destroy(void); - virtual void StartMenu(void); - virtual void FillListItems(void); - virtual void EndMenu(void); - // return TRUE if handled - virtual BOOL OnKeyDown(int iVKey); - virtual BOOL OnChar(MSG msg); - virtual void Think(void); + CListHead gm_lhGadgets; + CGameMenu *gm_pgmParentMenu; + BOOL gm_bPopup; + const char *gm_strName; // menu name (for mod interface only) + class CMenuGadget *gm_pmgSelectedByDefault; + class CMenuGadget *gm_pmgArrowUp; + class CMenuGadget *gm_pmgArrowDn; + class CMenuGadget *gm_pmgListTop; + class CMenuGadget *gm_pmgListBottom; + INDEX gm_iListOffset; + INDEX gm_iListWantedItem; // item you want to focus initially + INDEX gm_ctListVisible; + INDEX gm_ctListTotal; + CGameMenu(void); + void ScrollList(INDEX iDir); + void KillAllFocuses(void); + virtual void Initialize_t(void); + virtual void Destroy(void); + virtual void StartMenu(void); + virtual void FillListItems(void); + virtual void EndMenu(void); + // return TRUE if handled + virtual BOOL OnKeyDown(int iVKey); + virtual BOOL OnChar(MSG msg); + virtual void Think(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h index e0d1b5a..4d6a592 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h @@ -27,16 +27,16 @@ with this program; if not, write to the Free Software Foundation, Inc., class CAudioOptionsMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGTrigger gm_mgAudioAutoTrigger; - CMGTrigger gm_mgAudioAPITrigger; - CMGTrigger gm_mgFrequencyTrigger; - CMGSlider gm_mgWaveVolume; - CMGSlider gm_mgMPEGVolume; - CMGButton gm_mgApply; + CMGTitle gm_mgTitle; + CMGTrigger gm_mgAudioAutoTrigger; + CMGTrigger gm_mgAudioAPITrigger; + CMGTrigger gm_mgFrequencyTrigger; + CMGSlider gm_mgWaveVolume; + CMGSlider gm_mgMPEGVolume; + CMGButton gm_mgApply; - void StartMenu(void); - void Initialize_t(void); + void StartMenu(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.h b/Sources/SeriousSam/GUI/Menus/MConfirm.h index 5fb75a9..b67e97f 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.h +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.h @@ -24,19 +24,19 @@ with this program; if not, write to the Free Software Foundation, Inc., class CConfirmMenu : public CGameMenu { public: - CMGButton gm_mgConfirmLabel; - CMGButton gm_mgConfirmYes; - CMGButton gm_mgConfirmNo; + CMGButton gm_mgConfirmLabel; + CMGButton gm_mgConfirmYes; + CMGButton gm_mgConfirmNo; - void(*_pConfimedYes)(void) = NULL; - void(*_pConfimedNo)(void) = NULL; + void(*_pConfimedYes)(void) = NULL; + void(*_pConfimedNo)(void) = NULL; - void Initialize_t(void); - // return TRUE if handled - BOOL OnKeyDown(int iVKey); + void Initialize_t(void); + // return TRUE if handled + BOOL OnKeyDown(int iVKey); - void BeLarge(void); - void BeSmall(void); + void BeLarge(void); + void BeSmall(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MControls.h b/Sources/SeriousSam/GUI/Menus/MControls.h index f34503f..93f9d2a 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.h +++ b/Sources/SeriousSam/GUI/Menus/MControls.h @@ -27,22 +27,22 @@ with this program; if not, write to the Free Software Foundation, Inc., class CControlsMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgNameLabel; - CMGButton gm_mgButtons; - CMGSlider gm_mgSensitivity; - CMGTrigger gm_mgInvertTrigger; - CMGTrigger gm_mgSmoothTrigger; - CMGTrigger gm_mgAccelTrigger; - CMGTrigger gm_mgIFeelTrigger; - CMGButton gm_mgPredefined; - CMGButton gm_mgAdvanced; + CMGTitle gm_mgTitle; + CMGButton gm_mgNameLabel; + CMGButton gm_mgButtons; + CMGSlider gm_mgSensitivity; + CMGTrigger gm_mgInvertTrigger; + CMGTrigger gm_mgSmoothTrigger; + CMGTrigger gm_mgAccelTrigger; + CMGTrigger gm_mgIFeelTrigger; + CMGButton gm_mgPredefined; + CMGButton gm_mgAdvanced; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void ObtainActionSettings(void); - void ApplyActionSettings(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void ObtainActionSettings(void); + void ApplyActionSettings(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MCredits.h b/Sources/SeriousSam/GUI/Menus/MCredits.h index 06be76d..a36d139 100644 --- a/Sources/SeriousSam/GUI/Menus/MCredits.h +++ b/Sources/SeriousSam/GUI/Menus/MCredits.h @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class CCreditsMenu : public CGameMenu { public: - void Initialize_t(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h index 6038733..5a92719 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h @@ -26,21 +26,21 @@ with this program; if not, write to the Free Software Foundation, Inc., class CCustomizeAxisMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGTrigger gm_mgActionTrigger; - CMGTrigger gm_mgMountedTrigger; - CMGSlider gm_mgSensitivity; - CMGSlider gm_mgDeadzone; - CMGTrigger gm_mgInvertTrigger; - CMGTrigger gm_mgRelativeTrigger; - CMGTrigger gm_mgSmoothTrigger; + CMGTitle gm_mgTitle; + CMGTrigger gm_mgActionTrigger; + CMGTrigger gm_mgMountedTrigger; + CMGSlider gm_mgSensitivity; + CMGSlider gm_mgDeadzone; + CMGTrigger gm_mgInvertTrigger; + CMGTrigger gm_mgRelativeTrigger; + CMGTrigger gm_mgSmoothTrigger; - ~CCustomizeAxisMenu(void); - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void ObtainActionSettings(void); - void ApplyActionSettings(void); + ~CCustomizeAxisMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void ObtainActionSettings(void); + void ApplyActionSettings(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h index 0b4c96e..b67861e 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h @@ -26,15 +26,15 @@ with this program; if not, write to the Free Software Foundation, Inc., class CCustomizeKeyboardMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGKeyDefinition gm_mgKey[KEYS_ON_SCREEN]; - CMGArrow gm_mgArrowUp; - CMGArrow gm_mgArrowDn; + CMGTitle gm_mgTitle; + CMGKeyDefinition gm_mgKey[KEYS_ON_SCREEN]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void FillListItems(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void FillListItems(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.h b/Sources/SeriousSam/GUI/Menus/MDisabled.h index 0a13a46..32cb7f2 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.h +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.h @@ -25,10 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc., class CDisabledMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgButton; + CMGTitle gm_mgTitle; + CMGButton gm_mgButton; - void Initialize_t(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.h b/Sources/SeriousSam/GUI/Menus/MHighScore.h index d563953..7402486 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.h +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.h @@ -25,11 +25,11 @@ with this program; if not, write to the Free Software Foundation, Inc., class CHighScoreMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGHighScore gm_mgHScore; + CMGTitle gm_mgTitle; + CMGHighScore gm_mgHScore; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.h b/Sources/SeriousSam/GUI/Menus/MInGame.h index c337fc3..1b9112e 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.h +++ b/Sources/SeriousSam/GUI/Menus/MInGame.h @@ -25,21 +25,21 @@ with this program; if not, write to the Free Software Foundation, Inc., class CInGameMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgLabel1; - CMGButton gm_mgLabel2; - CMGButton gm_mgQuickLoad; - CMGButton gm_mgQuickSave; - CMGButton gm_mgLoad; - CMGButton gm_mgSave; - CMGButton gm_mgDemoRec; - CMGButton gm_mgHighScore; - CMGButton gm_mgOptions; - CMGButton gm_mgStop; - CMGButton gm_mgQuit; + CMGTitle gm_mgTitle; + CMGButton gm_mgLabel1; + CMGButton gm_mgLabel2; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgQuickSave; + CMGButton gm_mgLoad; + CMGButton gm_mgSave; + CMGButton gm_mgDemoRec; + CMGButton gm_mgHighScore; + CMGButton gm_mgOptions; + CMGButton gm_mgStop; + CMGButton gm_mgQuit; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.h b/Sources/SeriousSam/GUI/Menus/MLevels.h index d39fe06..a746b50 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.h +++ b/Sources/SeriousSam/GUI/Menus/MLevels.h @@ -26,14 +26,14 @@ with this program; if not, write to the Free Software Foundation, Inc., class CLevelsMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGLevelButton gm_mgManualLevel[LEVELS_ON_SCREEN]; - CMGArrow gm_mgArrowUp; - CMGArrow gm_mgArrowDn; + CMGTitle gm_mgTitle; + CMGLevelButton gm_mgManualLevel[LEVELS_ON_SCREEN]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; - void Initialize_t(void); - void FillListItems(void); - void StartMenu(void); + void Initialize_t(void); + void FillListItems(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.h b/Sources/SeriousSam/GUI/Menus/MLoadSave.h index 44e794e..1836f69 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.h +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.h @@ -26,49 +26,54 @@ with this program; if not, write to the Free Software Foundation, Inc., #define SAVELOAD_BUTTONS_CT 14 +enum ELSSortType +{ + LSSORT_NONE, + LSSORT_NAMEUP, + LSSORT_NAMEDN, + LSSORT_FILEUP, + LSSORT_FILEDN, +}; + class CLoadSaveMenu : public CGameMenu { public: - // settings adjusted before starting the menu - CGameMenu *gm_pgmNextMenu; // menu to go to after selecting a file (if null, use parent menu) - CTFileName gm_fnmSelected; // file that is selected initially - CTFileName gm_fnmDirectory; // directory that should be read - CTFileName gm_fnmBaseName; // base file name for saving (numbers are auto-added) - CTFileName gm_fnmExt; // accepted file extension - BOOL gm_bSave; // set when chosing file for saving - BOOL gm_bManage; // set if managing (rename/delet is enabled) - CTString gm_strSaveDes; // default description (if saving) - BOOL gm_bAllowThumbnails; // set when chosing file for saving - BOOL gm_bNoEscape; // forbid exiting with escape/rmb -#define LSSORT_NONE 0 -#define LSSORT_NAMEUP 1 -#define LSSORT_NAMEDN 2 -#define LSSORT_FILEUP 3 -#define LSSORT_FILEDN 4 - INDEX gm_iSortType; // sort type + // settings adjusted before starting the menu + CGameMenu *gm_pgmNextMenu; // menu to go to after selecting a file (if null, use parent menu) + CTFileName gm_fnmSelected; // file that is selected initially + CTFileName gm_fnmDirectory; // directory that should be read + CTFileName gm_fnmBaseName; // base file name for saving (numbers are auto-added) + CTFileName gm_fnmExt; // accepted file extension + BOOL gm_bSave; // set when chosing file for saving + BOOL gm_bManage; // set if managing (rename/delet is enabled) + CTString gm_strSaveDes; // default description (if saving) + BOOL gm_bAllowThumbnails; // set when chosing file for saving + BOOL gm_bNoEscape; // forbid exiting with escape/rmb - // function to activate when file is chosen - // return true if saving succeeded - description is saved automatically - // always return true for loading - BOOL(*gm_pAfterFileChosen)(const CTFileName &fnm); + INDEX gm_iSortType; // sort type - // internal properties - CListHead gm_lhFileInfos; // all file infos to list - INDEX gm_iLastFile; // index of last saved file in numbered format + // function to activate when file is chosen + // return true if saving succeeded - description is saved automatically + // always return true for loading + BOOL(*gm_pAfterFileChosen)(const CTFileName &fnm); - CMGTitle gm_mgTitle; - CMGButton gm_mgNotes; - CMGFileButton gm_amgButton[SAVELOAD_BUTTONS_CT]; - CMGArrow gm_mgArrowUp; - CMGArrow gm_mgArrowDn; + // internal properties + CListHead gm_lhFileInfos; // all file infos to list + INDEX gm_iLastFile; // index of last saved file in numbered format - // called to get info of a file from directory, or to skip it - BOOL ParseFile(const CTFileName &fnm, CTString &strName); + CMGTitle gm_mgTitle; + CMGButton gm_mgNotes; + CMGFileButton gm_amgButton[SAVELOAD_BUTTONS_CT]; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); - void FillListItems(void); + // called to get info of a file from directory, or to skip it + BOOL ParseFile(const CTFileName &fnm, CTString &strName); + + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void FillListItems(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MMain.h b/Sources/SeriousSam/GUI/Menus/MMain.h index e1e920d..327a828 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.h +++ b/Sources/SeriousSam/GUI/Menus/MMain.h @@ -24,19 +24,19 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMainMenu : public CGameMenu { public: - CMGButton gm_mgVersionLabel; - CMGButton gm_mgModLabel; - CMGButton gm_mgSingle; - CMGButton gm_mgNetwork; - CMGButton gm_mgSplitScreen; - CMGButton gm_mgDemo; - CMGButton gm_mgMods; - CMGButton gm_mgHighScore; - CMGButton gm_mgOptions; - CMGButton gm_mgQuit; + CMGButton gm_mgVersionLabel; + CMGButton gm_mgModLabel; + CMGButton gm_mgSingle; + CMGButton gm_mgNetwork; + CMGButton gm_mgSplitScreen; + CMGButton gm_mgDemo; + CMGButton gm_mgMods; + CMGButton gm_mgHighScore; + CMGButton gm_mgOptions; + CMGButton gm_mgQuit; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.h b/Sources/SeriousSam/GUI/Menus/MNetwork.h index 44a523f..100e13e 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.h +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.h @@ -25,14 +25,14 @@ with this program; if not, write to the Free Software Foundation, Inc., class CNetworkMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgJoin; - CMGButton gm_mgStart; - CMGButton gm_mgQuickLoad; - CMGButton gm_mgLoad; + CMGTitle gm_mgTitle; + CMGButton gm_mgJoin; + CMGButton gm_mgStart; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h index 7875785..0b4322f 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h @@ -25,12 +25,12 @@ with this program; if not, write to the Free Software Foundation, Inc., class CNetworkJoinMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgLAN; - CMGButton gm_mgNET; - CMGButton gm_mgOpen; + CMGTitle gm_mgTitle; + CMGButton gm_mgLAN; + CMGButton gm_mgNET; + CMGButton gm_mgOpen; - void Initialize_t(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h index ef1094e..ba29554 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h @@ -26,18 +26,18 @@ with this program; if not, write to the Free Software Foundation, Inc., class CNetworkOpenMenu : public CGameMenu { public: - CTString gm_strPort; + CTString gm_strPort; - CMGTitle gm_mgTitle; - CMGButton gm_mgAddressLabel; - CMGEdit gm_mgAddress; - CMGButton gm_mgPortLabel; - CMGEdit gm_mgPort; - CMGButton gm_mgJoin; + CMGTitle gm_mgTitle; + CMGButton gm_mgAddressLabel; + CMGEdit gm_mgAddress; + CMGButton gm_mgPortLabel; + CMGEdit gm_mgPort; + CMGButton gm_mgJoin; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h index 9645fab..401af4d 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h @@ -27,20 +27,20 @@ with this program; if not, write to the Free Software Foundation, Inc., class CNetworkStartMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGEdit gm_mgSessionName; - CMGTrigger gm_mgGameType; - CMGTrigger gm_mgDifficulty; - CMGButton gm_mgLevel; - CMGTrigger gm_mgMaxPlayers; - CMGTrigger gm_mgWaitAllPlayers; - CMGTrigger gm_mgVisible; - CMGButton gm_mgGameOptions; - CMGButton gm_mgStart; + CMGTitle gm_mgTitle; + CMGEdit gm_mgSessionName; + CMGTrigger gm_mgGameType; + CMGTrigger gm_mgDifficulty; + CMGButton gm_mgLevel; + CMGTrigger gm_mgMaxPlayers; + CMGTrigger gm_mgWaitAllPlayers; + CMGTrigger gm_mgVisible; + CMGButton gm_mgGameOptions; + CMGButton gm_mgStart; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.h b/Sources/SeriousSam/GUI/Menus/MOptions.h index 905aab9..283a4f8 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MOptions.h @@ -25,13 +25,13 @@ with this program; if not, write to the Free Software Foundation, Inc., class COptionsMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgVideoOptions; - CMGButton gm_mgAudioOptions; - CMGButton gm_mgPlayerProfileOptions; - CMGButton gm_mgNetworkOptions; - CMGButton gm_mgCustomOptions; - CMGButton gm_mgAddonOptions; + CMGTitle gm_mgTitle; + CMGButton gm_mgVideoOptions; + CMGButton gm_mgAudioOptions; + CMGButton gm_mgPlayerProfileOptions; + CMGButton gm_mgNetworkOptions; + CMGButton gm_mgCustomOptions; + CMGButton gm_mgAddonOptions; void Initialize_t(void); }; diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h index 948e51a..def0eb9 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h @@ -28,34 +28,34 @@ with this program; if not, write to the Free Software Foundation, Inc., class CPlayerProfileMenu : public CGameMenu { public: - INDEX *gm_piCurrentPlayer; + INDEX *gm_piCurrentPlayer; - CMGTitle gm_mgProfileTitle; - CMGButton gm_mgNoLabel; - CMGButton gm_mgNumber[8]; - CMGButton gm_mgNameLabel; - CMGEdit gm_mgNameField; - CMGButton gm_mgTeamLabel; - CMGEdit gm_mgTeam; - CMGButton gm_mgCustomizeControls; - CMGTrigger gm_mgCrosshair; - CMGTrigger gm_mgWeaponSelect; - CMGTrigger gm_mgWeaponHide; - CMGTrigger gm_mg3rdPerson; - CMGTrigger gm_mgQuotes; - CMGTrigger gm_mgAutoSave; - CMGTrigger gm_mgCompDoubleClick; - CMGTrigger gm_mgViewBobbing; - CMGTrigger gm_mgSharpTurning; - CMGModel gm_mgModel; + CMGTitle gm_mgProfileTitle; + CMGButton gm_mgNoLabel; + CMGButton gm_mgNumber[8]; + CMGButton gm_mgNameLabel; + CMGEdit gm_mgNameField; + CMGButton gm_mgTeamLabel; + CMGEdit gm_mgTeam; + CMGButton gm_mgCustomizeControls; + CMGTrigger gm_mgCrosshair; + CMGTrigger gm_mgWeaponSelect; + CMGTrigger gm_mgWeaponHide; + CMGTrigger gm_mg3rdPerson; + CMGTrigger gm_mgQuotes; + CMGTrigger gm_mgAutoSave; + CMGTrigger gm_mgCompDoubleClick; + CMGTrigger gm_mgViewBobbing; + CMGTrigger gm_mgSharpTurning; + CMGModel gm_mgModel; - void Initialize_t(void); - INDEX ComboFromPlayer(INDEX iPlayer); - INDEX PlayerFromCombo(INDEX iCombo); - void SelectPlayer(INDEX iPlayer); - void ApplyComboPlayer(INDEX iPlayer); - void StartMenu(void); - void EndMenu(void); + void Initialize_t(void); + INDEX ComboFromPlayer(INDEX iPlayer); + INDEX PlayerFromCombo(INDEX iCombo); + void SelectPlayer(INDEX iPlayer); + void ApplyComboPlayer(INDEX iPlayer); + void StartMenu(void); + void EndMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h index 5ccaff1..d12c614 100644 --- a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h @@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc., class CRenderingOptionsMenu : public CGameMenu { public: - void StartMenu(void); - void EndMenu(void); - void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h index a743ec5..4befeed 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h @@ -27,27 +27,27 @@ with this program; if not, write to the Free Software Foundation, Inc., class CSelectPlayersMenu : public CGameMenu { public: - BOOL gm_bAllowDedicated; - BOOL gm_bAllowObserving; + BOOL gm_bAllowDedicated; + BOOL gm_bAllowObserving; - CMGTitle gm_mgTitle; + CMGTitle gm_mgTitle; - CMGTrigger gm_mgDedicated; - CMGTrigger gm_mgObserver; - CMGTrigger gm_mgSplitScreenCfg; + CMGTrigger gm_mgDedicated; + CMGTrigger gm_mgObserver; + CMGTrigger gm_mgSplitScreenCfg; - CMGChangePlayer gm_mgPlayer0Change; - CMGChangePlayer gm_mgPlayer1Change; - CMGChangePlayer gm_mgPlayer2Change; - CMGChangePlayer gm_mgPlayer3Change; + CMGChangePlayer gm_mgPlayer0Change; + CMGChangePlayer gm_mgPlayer1Change; + CMGChangePlayer gm_mgPlayer2Change; + CMGChangePlayer gm_mgPlayer3Change; - CMGButton gm_mgNotes; + CMGButton gm_mgNotes; - CMGButton gm_mgStart; + CMGButton gm_mgStart; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MServers.h b/Sources/SeriousSam/GUI/Menus/MServers.h index cb2d7d3..0b24f8f 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.h +++ b/Sources/SeriousSam/GUI/Menus/MServers.h @@ -27,15 +27,15 @@ with this program; if not, write to the Free Software Foundation, Inc., class CServersMenu : public CGameMenu { public: - BOOL m_bInternet; + BOOL m_bInternet; - CMGTitle gm_mgTitle; - CMGServerList gm_mgList; - CMGButton gm_mgRefresh; + CMGTitle gm_mgTitle; + CMGServerList gm_mgList; + CMGButton gm_mgRefresh; - void Initialize_t(void); - void StartMenu(void); - void Think(void); + void Initialize_t(void); + void StartMenu(void); + void Think(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h index 5dc0efb..2249338 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h @@ -25,19 +25,19 @@ with this program; if not, write to the Free Software Foundation, Inc., class CSinglePlayerMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgPlayerLabel; - CMGButton gm_mgNewGame; - CMGButton gm_mgCustom; - CMGButton gm_mgQuickLoad; - CMGButton gm_mgLoad; - CMGButton gm_mgTraining; - CMGButton gm_mgTechTest; - CMGButton gm_mgPlayersAndControls; - CMGButton gm_mgOptions; + CMGTitle gm_mgTitle; + CMGButton gm_mgPlayerLabel; + CMGButton gm_mgNewGame; + CMGButton gm_mgCustom; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; + CMGButton gm_mgTraining; + CMGButton gm_mgTechTest; + CMGButton gm_mgPlayersAndControls; + CMGButton gm_mgOptions; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h index 1d91f95..502f190 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h @@ -25,16 +25,16 @@ with this program; if not, write to the Free Software Foundation, Inc., class CSinglePlayerNewMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgTourist; - CMGButton gm_mgEasy; - CMGButton gm_mgMedium; - CMGButton gm_mgHard; - CMGButton gm_mgSerious; - CMGButton gm_mgMental; + CMGTitle gm_mgTitle; + CMGButton gm_mgTourist; + CMGButton gm_mgEasy; + CMGButton gm_mgMedium; + CMGButton gm_mgHard; + CMGButton gm_mgSerious; + CMGButton gm_mgMental; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h index ed73579..2e6ea97 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h @@ -25,13 +25,13 @@ with this program; if not, write to the Free Software Foundation, Inc., class CSplitScreenMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGButton gm_mgStart; - CMGButton gm_mgQuickLoad; - CMGButton gm_mgLoad; + CMGTitle gm_mgTitle; + CMGButton gm_mgStart; + CMGButton gm_mgQuickLoad; + CMGButton gm_mgLoad; - void Initialize_t(void); - void StartMenu(void); + void Initialize_t(void); + void StartMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.h b/Sources/SeriousSam/GUI/Menus/MSplitStart.h index 1c28069..8cb8597 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.h @@ -26,16 +26,16 @@ with this program; if not, write to the Free Software Foundation, Inc., class CSplitStartMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGTrigger gm_mgGameType; - CMGTrigger gm_mgDifficulty; - CMGButton gm_mgLevel; - CMGButton gm_mgOptions; - CMGButton gm_mgStart; + CMGTitle gm_mgTitle; + CMGTrigger gm_mgGameType; + CMGTrigger gm_mgDifficulty; + CMGButton gm_mgLevel; + CMGButton gm_mgOptions; + CMGButton gm_mgStart; - void Initialize_t(void); - void StartMenu(void); - void EndMenu(void); + void Initialize_t(void); + void StartMenu(void); + void EndMenu(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MVar.h b/Sources/SeriousSam/GUI/Menus/MVar.h index 4601e30..cc32d43 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.h +++ b/Sources/SeriousSam/GUI/Menus/MVar.h @@ -27,19 +27,19 @@ with this program; if not, write to the Free Software Foundation, Inc., class CVarMenu : public CGameMenu { public: - CTFileName gm_fnmMenuCFG; + CTFileName gm_fnmMenuCFG; - CMGTitle gm_mgTitle; - CMGVarButton gm_mgVar[LEVELS_ON_SCREEN]; - CMGButton gm_mgApply; - CMGArrow gm_mgArrowUp; - CMGArrow gm_mgArrowDn; + CMGTitle gm_mgTitle; + CMGVarButton gm_mgVar[LEVELS_ON_SCREEN]; + CMGButton gm_mgApply; + CMGArrow gm_mgArrowUp; + CMGArrow gm_mgArrowDn; - void Initialize_t(void); - void FillListItems(void); - void StartMenu(void); - void EndMenu(void); - void Think(void); + void Initialize_t(void); + void FillListItems(void); + void StartMenu(void); + void EndMenu(void); + void Think(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h index 2cc0c69..4befd27 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h @@ -23,18 +23,18 @@ with this program; if not, write to the Free Software Foundation, Inc., class CVideoOptionsMenu : public CGameMenu { public: - CMGTitle gm_mgTitle; - CMGTrigger gm_mgDisplayAPITrigger; - CMGTrigger gm_mgDisplayAdaptersTrigger; - CMGTrigger gm_mgFullScreenTrigger; - CMGTrigger gm_mgResolutionsTrigger; - CMGTrigger gm_mgDisplayPrefsTrigger; - CMGButton gm_mgVideoRendering; - CMGTrigger gm_mgBitsPerPixelTrigger; - CMGButton gm_mgApply; + CMGTitle gm_mgTitle; + CMGTrigger gm_mgDisplayAPITrigger; + CMGTrigger gm_mgDisplayAdaptersTrigger; + CMGTrigger gm_mgFullScreenTrigger; + CMGTrigger gm_mgResolutionsTrigger; + CMGTrigger gm_mgDisplayPrefsTrigger; + CMGButton gm_mgVideoRendering; + CMGTrigger gm_mgBitsPerPixelTrigger; + CMGButton gm_mgApply; - void StartMenu(void); - void Initialize_t(void); + void StartMenu(void); + void Initialize_t(void); }; #endif /* include-once check. */ \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index 0a27758..54d09a1 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -96,6 +96,9 @@ static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) } // ------------------------ CConfirmMenu implementation +extern CTFileName _fnmModToLoad; +extern CTString _strModServerJoin; + CTFileName _fnmModSelected; CTString _strModURLSelected; CTString _strModServerSelected; @@ -140,14 +143,11 @@ static void StopConfirm(void) static void ModLoadYes(void) { - extern CTFileName _fnmModToLoad; _fnmModToLoad = _fnmModSelected; } static void ModConnect(void) { - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; _fnmModToLoad = _fnmModSelected; _strModServerJoin = _strModServerSelected; } @@ -213,7 +213,6 @@ void ModNotInstalled(void) ChangeToMenu(&gmCurrent); } - extern void ModConfirm(void) { CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; @@ -334,7 +333,6 @@ extern void SetDemoStartStopRecText(void) } } - // ------------------------ CSinglePlayerMenu implementation extern CTString sam_strTechTestLevel; extern CTString sam_strTrainingLevel; diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.h b/Sources/SeriousSam/GUI/Menus/MenuManager.h index 400ac49..6ee755e 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuManager.h +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.h @@ -15,7 +15,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef SE_INCL_MENUMANAGER_H #define SE_INCL_MENUMANAGER_H #ifdef PRAGMA_ONCE -#pragma once + #pragma once #endif #include "MAudioOptions.h" @@ -46,31 +46,31 @@ with this program; if not, write to the Free Software Foundation, Inc., class CMenuManager { public: - CConfirmMenu gmConfirmMenu; - CMainMenu gmMainMenu; - CInGameMenu gmInGameMenu; - CSinglePlayerMenu gmSinglePlayerMenu; - CSinglePlayerNewMenu gmSinglePlayerNewMenu; - CDisabledMenu gmDisabledFunction; - CLevelsMenu gmLevelsMenu; - CVarMenu gmVarMenu; - CPlayerProfileMenu gmPlayerProfile; - CControlsMenu gmControls; - CLoadSaveMenu gmLoadSaveMenu; - CHighScoreMenu gmHighScoreMenu; - CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; - CServersMenu gmServersMenu; - CCustomizeAxisMenu gmCustomizeAxisMenu; - COptionsMenu gmOptionsMenu; - CVideoOptionsMenu gmVideoOptionsMenu; - CAudioOptionsMenu gmAudioOptionsMenu; - CNetworkMenu gmNetworkMenu; - CNetworkJoinMenu gmNetworkJoinMenu; - CNetworkStartMenu gmNetworkStartMenu; - CNetworkOpenMenu gmNetworkOpenMenu; - CSplitScreenMenu gmSplitScreenMenu; - CSplitStartMenu gmSplitStartMenu; - CSelectPlayersMenu gmSelectPlayersMenu; + CConfirmMenu gmConfirmMenu; + CMainMenu gmMainMenu; + CInGameMenu gmInGameMenu; + CSinglePlayerMenu gmSinglePlayerMenu; + CSinglePlayerNewMenu gmSinglePlayerNewMenu; + CDisabledMenu gmDisabledFunction; + CLevelsMenu gmLevelsMenu; + CVarMenu gmVarMenu; + CPlayerProfileMenu gmPlayerProfile; + CControlsMenu gmControls; + CLoadSaveMenu gmLoadSaveMenu; + CHighScoreMenu gmHighScoreMenu; + CCustomizeKeyboardMenu gmCustomizeKeyboardMenu; + CServersMenu gmServersMenu; + CCustomizeAxisMenu gmCustomizeAxisMenu; + COptionsMenu gmOptionsMenu; + CVideoOptionsMenu gmVideoOptionsMenu; + CAudioOptionsMenu gmAudioOptionsMenu; + CNetworkMenu gmNetworkMenu; + CNetworkJoinMenu gmNetworkJoinMenu; + CNetworkStartMenu gmNetworkStartMenu; + CNetworkOpenMenu gmNetworkOpenMenu; + CSplitScreenMenu gmSplitScreenMenu; + CSplitStartMenu gmSplitStartMenu; + CSelectPlayersMenu gmSelectPlayersMenu; }; extern CMenuManager *_pGUIM; // TODO: Make singleton! diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp index e2cb17d..f0c6937 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -22,8 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "MenuStarters.h" #include "MenuStuff.h" -CTFileName _fnDemoToPlay; -CTFileName _fnGameToLoad; +static CTFileName _fnDemoToPlay; +static CTFileName _fnGameToLoad; extern CTString sam_strNetworkSettings; diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h index 08a4a25..a51d69c 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.h @@ -21,15 +21,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "FileInfo.h" #define TRIGGER_MG(mg, y, up, down, text, astr) \ - mg.mg_pmgUp = &up; \ - mg.mg_pmgDown = &down; \ - mg.mg_boxOnScreen = BoxMediumRow(y); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); \ - mg.mg_astrTexts = astr; \ - mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ - mg.mg_iSelected = 0; \ - mg.mg_strLabel = text; \ - mg.mg_strValue = astr[0]; + mg.mg_pmgUp = &up; \ + mg.mg_pmgDown = &down; \ + mg.mg_boxOnScreen = BoxMediumRow(y); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); \ + mg.mg_astrTexts = astr; \ + mg.mg_ctTexts = sizeof(astr) / sizeof(astr[0]); \ + mg.mg_iSelected = 0; \ + mg.mg_strLabel = text; \ + mg.mg_strValue = astr[0]; extern INDEX ctGameTypeRadioTexts; diff --git a/Sources/SeriousSam/SeriousSam.h b/Sources/SeriousSam/SeriousSam.h index d98b629..0e1adc3 100644 --- a/Sources/SeriousSam/SeriousSam.h +++ b/Sources/SeriousSam/SeriousSam.h @@ -13,7 +13,6 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define APPLICATION_NAME "SeriousSam" -#include "CDCheck.h" extern HINSTANCE _hInstance; extern BOOL _bRunning, _bQuitScreen; diff --git a/Sources/SeriousSam/SeriousSam.vcxproj b/Sources/SeriousSam/SeriousSam.vcxproj index 93fed95..d5f2ca6 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj +++ b/Sources/SeriousSam/SeriousSam.vcxproj @@ -297,7 +297,6 @@ copy Release\$(TargetName).map $(SolutionDir)..\Bin\ >nul - diff --git a/Sources/SeriousSam/SeriousSam.vcxproj.filters b/Sources/SeriousSam/SeriousSam.vcxproj.filters index 6bacaec..433430c 100644 --- a/Sources/SeriousSam/SeriousSam.vcxproj.filters +++ b/Sources/SeriousSam/SeriousSam.vcxproj.filters @@ -215,9 +215,6 @@ - - Header Files - Header Files From 80471f50414fbbbb9a6eca4905f2c0bcdf1dbda3 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 22:57:40 +0300 Subject: [PATCH 59/62] GameExecutable: Fix } else { formatting. Make code more readable. --- Sources/SeriousSam/GUI/Components/MGArrow.cpp | 10 +++----- .../SeriousSam/GUI/Components/MGButton.cpp | 7 +++--- .../GUI/Components/MGChangePlayer.cpp | 7 ++++-- Sources/SeriousSam/GUI/Components/MGEdit.cpp | 19 ++++++-------- .../GUI/Components/MGFileButton.cpp | 25 +++++++++---------- .../SeriousSam/GUI/Components/MGHighScore.cpp | 3 +-- .../GUI/Components/MGKeyDefinition.cpp | 21 ++++++---------- .../GUI/Components/MGServerList.cpp | 17 ++++++------- .../SeriousSam/GUI/Components/MGSlider.cpp | 6 ++--- .../SeriousSam/GUI/Components/MGTrigger.cpp | 14 ++++------- .../SeriousSam/GUI/Components/MGVarButton.cpp | 8 +++--- Sources/SeriousSam/GUI/Menus/GameMenu.cpp | 5 ++-- Sources/SeriousSam/SeriousSam.cpp | 4 +-- 13 files changed, 60 insertions(+), 86 deletions(-) diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp index c88d1c4..ce7ccde 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.cpp +++ b/Sources/SeriousSam/GUI/Components/MGArrow.cpp @@ -29,16 +29,14 @@ void CMGArrow::Render(CDrawPort *pdp) CTString str; if (mg_adDirection == AD_NONE) { str = "???"; - } - else if (mg_adDirection == AD_UP) { + } else if (mg_adDirection == AD_UP) { str = TRANS("Page Up"); - } - else if (mg_adDirection == AD_DOWN) { + } else if (mg_adDirection == AD_DOWN) { str = TRANS("Page Down"); - } - else { + } else { ASSERT(FALSE); } + PIX pixI = box.Min()(1); PIX pixJ = box.Min()(2); pdp->PutText(str, pixI, pixJ, col); diff --git a/Sources/SeriousSam/GUI/Components/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp index d45323a..2747988 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGButton.cpp @@ -62,11 +62,9 @@ void CMGButton::Render(CDrawPort *pdp) { if (mg_bfsFontSize == BFS_LARGE) { SetFontBig(pdp); - } - else if (mg_bfsFontSize == BFS_MEDIUM) { + } else if (mg_bfsFontSize == BFS_MEDIUM) { SetFontMedium(pdp); - } - else { + } else { ASSERT(mg_bfsFontSize == BFS_SMALL); SetFontSmall(pdp); } @@ -159,6 +157,7 @@ void CMGButton::Render(CDrawPort *pdp) if (mg_strLabel != "") { pixX += box.Size()(1)*0.55f; } + PIX pixY = box.Min()(2); if (!pdp->dp_FontData->fd_bFixedWidth) { pixY -= pdp->dp_fTextScaling * 2; diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index 2ae4818..bed5e08 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -27,10 +27,13 @@ void CMGChangePlayer::OnActivate(void) PlayMenuSound(_psdPress); IFeel_PlayEffect("Menu_press"); _iLocalPlayer = mg_iLocalPlayer; + if (_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] < 0) _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] = 0; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSelectPlayersMenu; + extern BOOL _bPlayerMenuFromSinglePlayer; _bPlayerMenuFromSinglePlayer = FALSE; ChangeToMenu(&_pGUIM->gmPlayerProfile); @@ -40,10 +43,10 @@ void CMGChangePlayer::SetPlayerText(void) { INDEX iPlayer = _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; + if (iPlayer<0 || iPlayer>7) { mg_strText = "????"; - } - else { + } else { mg_strText.PrintF(TRANS("Player %d: %s\n"), mg_iLocalPlayer + 1, pc.GetNameForPrinting()); } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index 10a077f..b50f78b 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -74,8 +74,7 @@ static void Key_BackDel(CTString &str, INDEX &iPos, BOOL bShift, BOOL bRight) if (bShift) { // delete to end of line str.TrimRight(iPos); - } - else { + } else { // delete only one char str.DeleteChar(iPos); } @@ -85,8 +84,7 @@ static void Key_BackDel(CTString &str, INDEX &iPos, BOOL bShift, BOOL bRight) // delete to start of line str.TrimLeft(ctChars - iPos); iPos = 0; - } - else { + } else { // delete only one char str.DeleteChar(iPos - 1); iPos--; @@ -147,24 +145,21 @@ void CMGEdit::Render(CDrawPort *pdp) { if (mg_bEditing) { mg_iTextMode = -1; - } - else if (mg_bFocused) { + } else if (mg_bFocused) { mg_iTextMode = 0; - } - else { + } else { mg_iTextMode = 1; } + if (mg_strText == "" && !mg_bEditing) { if (mg_bfsFontSize == BFS_SMALL) { mg_strText = "*"; - } - else { + } else { mg_strText = TRANS(""); } CMGButton::Render(pdp); mg_strText = ""; - } - else { + } else { CMGButton::Render(pdp); } } diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index b1af656..d530ad3 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -42,8 +42,7 @@ void CMGFileButton::SaveDescription(void) CTFileName fnFileNameDescription = mg_fnm.NoExt() + ".des"; try { mg_strDes.Save_t(fnFileNameDescription); - } - catch (char *strError) { + } catch (char *strError) { CPrintF("%s\n", strError); } } @@ -62,8 +61,7 @@ void CMGFileButton::DoSave(void) _pmgFileToSave = this; extern void SaveConfirm(void); SaveConfirm(); - } - else { + } else { SaveYes(); } } @@ -118,16 +116,17 @@ void CMGFileButton::OnActivate(void) // load now DoLoad(); // if saving - } - else { + } else { // switch to editing mode BOOL bWasEmpty = mg_strText == EMPTYSLOTSTRING; mg_strDes = _pGUIM->gmLoadSaveMenu.gm_strSaveDes; RefreshText(); _strOrgDescription = _strTmpDescription = mg_strText; + if (bWasEmpty) { _strOrgDescription = EMPTYSLOTSTRING; } + mg_pstrToChange = &_strTmpDescription; StartEdit(); mg_iState = FBS_SAVENAME; @@ -148,8 +147,8 @@ BOOL CMGFileButton::OnKeyDown(int iVKey) mg_iState = FBS_RENAME; } return TRUE; - } - else if (iVKey == VK_DELETE) { + + } else if (iVKey == VK_DELETE) { if (FileExistsForWriting(mg_fnm)) { // delete the file, its description and thumbnail RemoveFile(mg_fnm); @@ -164,8 +163,7 @@ BOOL CMGFileButton::OnKeyDown(int iVKey) } } return CMenuGadget::OnKeyDown(iVKey); - } - else { + } else { // go out of editing mode if (mg_bEditing) { if (iVKey == VK_UP || iVKey == VK_DOWN) { @@ -185,6 +183,7 @@ void CMGFileButton::OnSetFocus(void) } else { ClearThumbnail(); } + pgmCurrentMenu->KillAllFocuses(); CMGButton::OnSetFocus(); } @@ -195,6 +194,7 @@ void CMGFileButton::OnKillFocus(void) if (mg_bEditing) { OnKeyDown(VK_ESCAPE); } + CMGEdit::OnKillFocus(); } @@ -206,9 +206,8 @@ void CMGFileButton::OnStringChanged(void) // do the save mg_strDes = _strTmpDescription + "\n" + mg_strInfo; DoSave(); - // if renaming - } - else if (mg_iState == FBS_RENAME) { + // if renaming + } else if (mg_iState == FBS_RENAME) { // do the rename mg_strDes = _strTmpDescription + "\n" + mg_strInfo; SaveDescription(); diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp index 31466ee..a46c124 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp @@ -94,8 +94,7 @@ void CMGHighScore::Render(CDrawPort *pdp) }} if (iRow == 0) { pixJ += pdp->GetHeight()*0.06f; - } - else { + } else { pixJ += pdp->GetHeight()*0.04f; } }} diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index 4d82ba6..85cce3c 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -79,9 +79,8 @@ void CMGKeyDefinition::SetBindingNames(BOOL bDefining) if (bKey1Bound && !bKey2Bound) { // put question mark for second key mg_strBinding = strKey1 + TRANS(" or ") + "?"; - // otherwise - } - else { + // otherwise + } else { // put question mark only mg_strBinding = "?"; } @@ -92,9 +91,8 @@ void CMGKeyDefinition::SetBindingNames(BOOL bDefining) if (bKey2Bound) { // add both mg_strBinding = strKey1 + TRANS(" or ") + strKey2; - // if second key is undefined - } - else { + // if second key is undefined + } else { // display only first one mg_strBinding = strKey1; } @@ -139,15 +137,13 @@ void CMGKeyDefinition::DefineKey(INDEX iDik) ba.ba_iFirstKey = iDik; // clear second key ba.ba_iSecondKey = KID_NONE; - // if only first key bound - } - else { + // if only first key bound + } else { // bind second key ba.ba_iSecondKey = iDik; } // if it is not this one - } - else { + } else { // clear bindings that contain this key if (ba.ba_iFirstKey == iDik) { ba.ba_iFirstKey = KID_NONE; @@ -195,8 +191,7 @@ void CMGKeyDefinition::Think(void) // define the new key DefineKey(iDik); // if escape pressed - } - else { + } else { // undefine the key DefineKey(KID_NONE); } diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index 5872ea9..286a001 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -67,8 +67,7 @@ void CMGServerList::AdjustFirstOnScreen(void) if (mg_iSelected= mg_iFirstOnScreen + mg_ctOnScreen) { + } else if (mg_iSelected >= mg_iFirstOnScreen + mg_ctOnScreen) { mg_iFirstOnScreen = ClampDn(mg_iSelected - mg_ctOnScreen + 1L, 0L); } } @@ -104,11 +103,11 @@ extern CMGEdit mgServerFilter[7]; void SortAndFilterServers(void) { - { FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + {FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { delete &*itns; - } } - { - FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { + }} + + {FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { CNetworkSession &ns = *itns; extern CTString _strServerFilter[7]; if (_strServerFilter[0] != "" && !ns.ns_strSession.Matches("*" + _strServerFilter[0] + "*")) continue; @@ -245,8 +244,7 @@ void CMGServerList::Render(CDrawPort *pdp) PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI, pixListTopJ + pixCharSizeJ + pixLineSize + 1, apixSeparatorI[1] - apixSeparatorI[0], TRANS("searching..."), colItem); } - } - else { + } else { FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { CNetworkSession &ns = *itns; @@ -352,8 +350,7 @@ void CMGServerList::OnMouseOver(PIX pixI, PIX pixJ) AdjustFirstOnScreen(); mg_pixMouseDrag = -1; } - } - else if (bInSlider) { + } else if (bInSlider) { mg_pixMouseDrag = pixJ; } } diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index 18055f7..275aa19 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -60,14 +60,12 @@ BOOL CMGSlider::OnKeyDown(int iVKey) ApplyCurrentPosition(); return TRUE; // if scrolling right - } - else if ((iVKey == VK_RETURN || iVKey == VK_RIGHT) && mg_iCurPosPutText(mg_strLabel, box.Min()(1), pixJ, col); pdp->PutTextR(strValue, box.Max()(1), pixJ, col); - } - else { + } else { pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); pdp->PutText(strValue, pixIR, pixJ, col); } - } - else { + } else { CTString strLabel = mg_strLabel + ": "; pdp->PutText(strLabel, box.Min()(1), pixJ, col); CTextureObject to; @@ -116,8 +113,7 @@ void CMGTrigger::Render(CDrawPort *pdp) pdp->PutTexture(&to, PIXaabbox2D( PIX2D(pixCX - pixSize / 2, pixCY - pixSize / 2), PIX2D(pixCX - pixSize / 2 + pixSize, pixCY - pixSize / 2 + pixSize)), C_WHITE | 255); - } - catch (char *strError) { + } catch (char *strError) { CPrintF("%s\n", strError); } to.SetData(NULL); diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index 5537ce3..970412a 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -141,9 +141,7 @@ void CMGVarButton::Render(CDrawPort *pdp) COLOR col = LCDGetColor(C_WHITE | 255, "separator"); CTString strText = mg_pvsVar->vs_strName; pdp->PutTextC(strText, pixIC, pixJ, col); - } - else if (mg_pvsVar->Validate()) - { + } else if (mg_pvsVar->Validate()) { // check whether the variable is disabled if (mg_pvsVar->vs_strFilter != "") mg_bEnabled = _pShell->GetINDEX(mg_pvsVar->vs_strFilter); COLOR col = GetCurrentColor(); @@ -160,13 +158,13 @@ void CMGVarButton::Render(CDrawPort *pdp) PIX pixJSize = box.Size()(2); LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)), LCDGetColor(C_GREEN | 255, "slider box")); + // draw filled part of slider if (mg_pvsVar->vs_iSlider == 1) { // fill slider FLOAT fFactor = (FLOAT)(mg_pvsVar->vs_iValue + 1) / mg_pvsVar->vs_ctValues; pdp->Fill(pixIR + 1, pixJ + 2, (pixISize - 6)*fFactor, pixJSize - 9, col); - } - else { + } else { // ratio slider ASSERT(mg_pvsVar->vs_iSlider == 2); FLOAT fUnitWidth = (FLOAT)(pixISize - 5) / mg_pvsVar->vs_ctValues; diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp index 91dd9d8..320a703 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp @@ -324,9 +324,8 @@ void CGameMenu::StartMenu(void) if (itmg->mg_iInList == -2) { // hide it itmg->mg_bVisible = FALSE; - // if in list - } - else if (itmg->mg_iInList >= 0) { + // if in list + } else if (itmg->mg_iInList >= 0) { // show it itmg->mg_bVisible = TRUE; } diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index b18fc39..5459745 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -1364,10 +1364,8 @@ BOOL TryToSetDisplayMode( enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI, // report success return TRUE; - } - // if couldn't set new mode - else { + } else { // close the application window CloseMainWindow(); // report failure From 4cb76b506f892d206f4ff3566f2c3dc1e209aebf Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Thu, 31 Mar 2016 23:27:11 +0300 Subject: [PATCH 60/62] GameExecutable: Replace 4-spaced tabs with 2-spaced. --- Sources/SeriousSam/GLSettings.cpp | 4 +- Sources/SeriousSam/GUI/Components/MGArrow.cpp | 44 +- .../GUI/Components/MGChangePlayer.cpp | 34 +- Sources/SeriousSam/GUI/Components/MGEdit.cpp | 202 +-- .../GUI/Components/MGFileButton.cpp | 286 ++-- .../SeriousSam/GUI/Components/MGHighScore.cpp | 134 +- .../GUI/Components/MGKeyDefinition.cpp | 304 ++-- .../GUI/Components/MGLevelButton.cpp | 14 +- Sources/SeriousSam/GUI/Components/MGModel.cpp | 164 +- .../GUI/Components/MGServerList.cpp | 654 ++++---- .../SeriousSam/GUI/Components/MGSlider.cpp | 140 +- Sources/SeriousSam/GUI/Components/MGTitle.cpp | 10 +- .../SeriousSam/GUI/Components/MGTrigger.cpp | 144 +- .../SeriousSam/GUI/Components/MGVarButton.cpp | 250 +-- .../SeriousSam/GUI/Components/MenuGadget.cpp | 108 +- Sources/SeriousSam/GUI/Menus/GameMenu.cpp | 530 +++--- .../SeriousSam/GUI/Menus/MAudioOptions.cpp | 82 +- Sources/SeriousSam/GUI/Menus/MConfirm.cpp | 82 +- Sources/SeriousSam/GUI/Menus/MControls.cpp | 198 +-- .../SeriousSam/GUI/Menus/MCustomizeAxis.cpp | 186 +-- .../GUI/Menus/MCustomizeKeyboard.cpp | 138 +- Sources/SeriousSam/GUI/Menus/MDisabled.cpp | 12 +- Sources/SeriousSam/GUI/Menus/MHighScore.cpp | 14 +- Sources/SeriousSam/GUI/Menus/MInGame.cpp | 252 +-- Sources/SeriousSam/GUI/Menus/MLevels.cpp | 148 +- Sources/SeriousSam/GUI/Menus/MLoadSave.cpp | 346 ++-- Sources/SeriousSam/GUI/Menus/MMain.cpp | 182 +- Sources/SeriousSam/GUI/Menus/MNetwork.cpp | 74 +- Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp | 56 +- Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp | 82 +- .../SeriousSam/GUI/Menus/MNetworkStart.cpp | 186 +-- Sources/SeriousSam/GUI/Menus/MOptions.cpp | 104 +- .../SeriousSam/GUI/Menus/MPlayerProfile.cpp | 442 ++--- .../SeriousSam/GUI/Menus/MSelectPlayers.cpp | 142 +- Sources/SeriousSam/GUI/Menus/MServers.cpp | 138 +- .../SeriousSam/GUI/Menus/MSinglePlayer.cpp | 214 +-- .../SeriousSam/GUI/Menus/MSinglePlayerNew.cpp | 128 +- Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp | 58 +- Sources/SeriousSam/GUI/Menus/MSplitStart.cpp | 112 +- Sources/SeriousSam/GUI/Menus/MVar.cpp | 172 +- .../SeriousSam/GUI/Menus/MVideoOptions.cpp | 94 +- Sources/SeriousSam/GUI/Menus/Menu.cpp | 266 +-- Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 1464 ++++++++--------- Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 996 +++++------ .../SeriousSam/GUI/Menus/MenuStartersAF.cpp | 254 +-- Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 354 ++-- Sources/SeriousSam/MainWindow.cpp | 50 +- Sources/SeriousSam/SeriousSam.cpp | 14 +- Sources/SeriousSam/SplashScreen.cpp | 28 +- 49 files changed, 5046 insertions(+), 5044 deletions(-) diff --git a/Sources/SeriousSam/GLSettings.cpp b/Sources/SeriousSam/GLSettings.cpp index 59e2c02..2e4d475 100644 --- a/Sources/SeriousSam/GLSettings.cpp +++ b/Sources/SeriousSam/GLSettings.cpp @@ -72,7 +72,7 @@ void InitGLSettings(void) { strmFile.Open_t( CTString("Scripts\\GLSettings\\GLSettings.lst"), CTStream::OM_READ); INDEX iIndex = 0; - do + do { achrLine [0] = 0; achrRenderer[0] = 0; @@ -89,7 +89,7 @@ void InitGLSettings(void) se.se_fnmScript = CTString(achrScript); _lhSettings.AddTail( se.se_lnNode); } - while( !strmFile.AtEOF()); + while( !strmFile.AtEOF()); } // ignore errors diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp index ce7ccde..49ab7dd 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.cpp +++ b/Sources/SeriousSam/GUI/Components/MGArrow.cpp @@ -21,33 +21,33 @@ with this program; if not, write to the Free Software Foundation, Inc., void CMGArrow::Render(CDrawPort *pdp) { - SetFontMedium(pdp); + SetFontMedium(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - COLOR col = GetCurrentColor(); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + COLOR col = GetCurrentColor(); - CTString str; - if (mg_adDirection == AD_NONE) { - str = "???"; - } else if (mg_adDirection == AD_UP) { - str = TRANS("Page Up"); - } else if (mg_adDirection == AD_DOWN) { - str = TRANS("Page Down"); - } else { - ASSERT(FALSE); - } + CTString str; + if (mg_adDirection == AD_NONE) { + str = "???"; + } else if (mg_adDirection == AD_UP) { + str = TRANS("Page Up"); + } else if (mg_adDirection == AD_DOWN) { + str = TRANS("Page Down"); + } else { + ASSERT(FALSE); + } - PIX pixI = box.Min()(1); - PIX pixJ = box.Min()(2); - pdp->PutText(str, pixI, pixJ, col); + PIX pixI = box.Min()(1); + PIX pixJ = box.Min()(2); + pdp->PutText(str, pixI, pixJ, col); } void CMGArrow::OnActivate(void) { - if (mg_adDirection == AD_UP) { - pgmCurrentMenu->ScrollList(-3); - } - else if (mg_adDirection == AD_DOWN) { - pgmCurrentMenu->ScrollList(+3); - } + if (mg_adDirection == AD_UP) { + pgmCurrentMenu->ScrollList(-3); + } + else if (mg_adDirection == AD_DOWN) { + pgmCurrentMenu->ScrollList(+3); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index bed5e08..c7bad69 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -24,29 +24,29 @@ extern CSoundData *_psdPress; void CMGChangePlayer::OnActivate(void) { - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - _iLocalPlayer = mg_iLocalPlayer; + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + _iLocalPlayer = mg_iLocalPlayer; - if (_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] < 0) - _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] = 0; + if (_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] < 0) + _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer] = 0; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSelectPlayersMenu; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSelectPlayersMenu; - extern BOOL _bPlayerMenuFromSinglePlayer; - _bPlayerMenuFromSinglePlayer = FALSE; - ChangeToMenu(&_pGUIM->gmPlayerProfile); + extern BOOL _bPlayerMenuFromSinglePlayer; + _bPlayerMenuFromSinglePlayer = FALSE; + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void CMGChangePlayer::SetPlayerText(void) { - INDEX iPlayer = _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; - CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; + INDEX iPlayer = _pGame->gm_aiMenuLocalPlayers[mg_iLocalPlayer]; + CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; - if (iPlayer<0 || iPlayer>7) { - mg_strText = "????"; - } else { - mg_strText.PrintF(TRANS("Player %d: %s\n"), mg_iLocalPlayer + 1, pc.GetNameForPrinting()); - } + if (iPlayer<0 || iPlayer>7) { + mg_strText = "????"; + } else { + mg_strText.PrintF(TRANS("Player %d: %s\n"), mg_iLocalPlayer + 1, pc.GetNameForPrinting()); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index b50f78b..e41f351 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -25,143 +25,143 @@ extern BOOL _bEditingString; CMGEdit::CMGEdit(void) { - mg_pstrToChange = NULL; - mg_ctMaxStringLen = 70; - Clear(); + mg_pstrToChange = NULL; + mg_ctMaxStringLen = 70; + Clear(); } void CMGEdit::Clear(void) { - mg_iCursorPos = 0; - mg_bEditing = FALSE; - _bEditingString = FALSE; + mg_iCursorPos = 0; + mg_bEditing = FALSE; + _bEditingString = FALSE; } void CMGEdit::OnActivate(void) { - if (!mg_bEnabled) { - return; - } - ASSERT(mg_pstrToChange != NULL); - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - SetText(mg_strText); - mg_iCursorPos = strlen(mg_strText); - mg_bEditing = TRUE; - _bEditingString = TRUE; + if (!mg_bEnabled) { + return; + } + ASSERT(mg_pstrToChange != NULL); + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + SetText(mg_strText); + mg_iCursorPos = strlen(mg_strText); + mg_bEditing = TRUE; + _bEditingString = TRUE; } // focus lost void CMGEdit::OnKillFocus(void) { - // go out of editing mode - if (mg_bEditing) { - OnKeyDown(VK_RETURN); - Clear(); - } - // proceed - CMenuGadget::OnKillFocus(); + // go out of editing mode + if (mg_bEditing) { + OnKeyDown(VK_RETURN); + Clear(); + } + // proceed + CMenuGadget::OnKillFocus(); } // helper function for deleting char(s) from string static void Key_BackDel(CTString &str, INDEX &iPos, BOOL bShift, BOOL bRight) { - // do nothing if string is empty - INDEX ctChars = strlen(str); - if (ctChars == 0) return; - if (bRight && iPos0) { // BACKSPACE key - if (bShift) { - // delete to start of line - str.TrimLeft(ctChars - iPos); - iPos = 0; - } else { - // delete only one char - str.DeleteChar(iPos - 1); - iPos--; - } - } + // do nothing if string is empty + INDEX ctChars = strlen(str); + if (ctChars == 0) return; + if (bRight && iPos0) { // BACKSPACE key + if (bShift) { + // delete to start of line + str.TrimLeft(ctChars - iPos); + iPos = 0; + } else { + // delete only one char + str.DeleteChar(iPos - 1); + iPos--; + } + } } // key/mouse button pressed BOOL CMGEdit::OnKeyDown(int iVKey) { - // if not in edit mode - if (!mg_bEditing) { - // behave like normal gadget - return CMenuGadget::OnKeyDown(iVKey); - } + // if not in edit mode + if (!mg_bEditing) { + // behave like normal gadget + return CMenuGadget::OnKeyDown(iVKey); + } - // finish editing? - BOOL bShift = GetKeyState(VK_SHIFT) & 0x8000; - switch (iVKey) { - case VK_UP: case VK_DOWN: - case VK_RETURN: case VK_LBUTTON: *mg_pstrToChange = mg_strText; Clear(); OnStringChanged(); break; - case VK_ESCAPE: case VK_RBUTTON: mg_strText = *mg_pstrToChange; Clear(); OnStringCanceled(); break; - case VK_LEFT: if (mg_iCursorPos > 0) mg_iCursorPos--; break; - case VK_RIGHT: if (mg_iCursorPos < strlen(mg_strText)) mg_iCursorPos++; break; - case VK_HOME: mg_iCursorPos = 0; break; - case VK_END: mg_iCursorPos = strlen(mg_strText); break; - case VK_BACK: Key_BackDel(mg_strText, mg_iCursorPos, bShift, FALSE); break; - case VK_DELETE: Key_BackDel(mg_strText, mg_iCursorPos, bShift, TRUE); break; - default: break; // ignore all other special keys - } + // finish editing? + BOOL bShift = GetKeyState(VK_SHIFT) & 0x8000; + switch (iVKey) { + case VK_UP: case VK_DOWN: + case VK_RETURN: case VK_LBUTTON: *mg_pstrToChange = mg_strText; Clear(); OnStringChanged(); break; + case VK_ESCAPE: case VK_RBUTTON: mg_strText = *mg_pstrToChange; Clear(); OnStringCanceled(); break; + case VK_LEFT: if (mg_iCursorPos > 0) mg_iCursorPos--; break; + case VK_RIGHT: if (mg_iCursorPos < strlen(mg_strText)) mg_iCursorPos++; break; + case VK_HOME: mg_iCursorPos = 0; break; + case VK_END: mg_iCursorPos = strlen(mg_strText); break; + case VK_BACK: Key_BackDel(mg_strText, mg_iCursorPos, bShift, FALSE); break; + case VK_DELETE: Key_BackDel(mg_strText, mg_iCursorPos, bShift, TRUE); break; + default: break; // ignore all other special keys + } - // key is handled - return TRUE; + // key is handled + return TRUE; } // char typed BOOL CMGEdit::OnChar(MSG msg) { - // if not in edit mode - if (!mg_bEditing) { - // behave like normal gadget - return CMenuGadget::OnChar(msg); - } - // only chars are allowed - const INDEX ctFullLen = mg_strText.Length(); - const INDEX ctNakedLen = mg_strText.LengthNaked(); - mg_iCursorPos = Clamp(mg_iCursorPos, 0L, ctFullLen); - int iVKey = msg.wParam; - if (isprint(iVKey) && ctNakedLen <= mg_ctMaxStringLen) { - mg_strText.InsertChar(mg_iCursorPos, (char)iVKey); - mg_iCursorPos++; - } - // key is handled - return TRUE; + // if not in edit mode + if (!mg_bEditing) { + // behave like normal gadget + return CMenuGadget::OnChar(msg); + } + // only chars are allowed + const INDEX ctFullLen = mg_strText.Length(); + const INDEX ctNakedLen = mg_strText.LengthNaked(); + mg_iCursorPos = Clamp(mg_iCursorPos, 0L, ctFullLen); + int iVKey = msg.wParam; + if (isprint(iVKey) && ctNakedLen <= mg_ctMaxStringLen) { + mg_strText.InsertChar(mg_iCursorPos, (char)iVKey); + mg_iCursorPos++; + } + // key is handled + return TRUE; } void CMGEdit::Render(CDrawPort *pdp) { - if (mg_bEditing) { - mg_iTextMode = -1; - } else if (mg_bFocused) { - mg_iTextMode = 0; - } else { - mg_iTextMode = 1; - } + if (mg_bEditing) { + mg_iTextMode = -1; + } else if (mg_bFocused) { + mg_iTextMode = 0; + } else { + mg_iTextMode = 1; + } - if (mg_strText == "" && !mg_bEditing) { - if (mg_bfsFontSize == BFS_SMALL) { - mg_strText = "*"; - } else { - mg_strText = TRANS(""); - } - CMGButton::Render(pdp); - mg_strText = ""; - } else { - CMGButton::Render(pdp); - } + if (mg_strText == "" && !mg_bEditing) { + if (mg_bfsFontSize == BFS_SMALL) { + mg_strText = "*"; + } else { + mg_strText = TRANS(""); + } + CMGButton::Render(pdp); + mg_strText = ""; + } else { + CMGButton::Render(pdp); + } } void CMGEdit::OnStringChanged(void) diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index d530ad3..9597350 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -24,74 +24,74 @@ extern CSoundData *_psdPress; CMGFileButton::CMGFileButton(void) { - mg_iState = FBS_NORMAL; + mg_iState = FBS_NORMAL; } // refresh current text from description void CMGFileButton::RefreshText(void) { - mg_strText = mg_strDes; - mg_strText.OnlyFirstLine(); - mg_strInfo = mg_strDes; - mg_strInfo.RemovePrefix(mg_strText); - mg_strInfo.DeleteChar(0); + mg_strText = mg_strDes; + mg_strText.OnlyFirstLine(); + mg_strInfo = mg_strDes; + mg_strInfo.RemovePrefix(mg_strText); + mg_strInfo.DeleteChar(0); } void CMGFileButton::SaveDescription(void) { - CTFileName fnFileNameDescription = mg_fnm.NoExt() + ".des"; - try { - mg_strDes.Save_t(fnFileNameDescription); - } catch (char *strError) { - CPrintF("%s\n", strError); - } + CTFileName fnFileNameDescription = mg_fnm.NoExt() + ".des"; + try { + mg_strDes.Save_t(fnFileNameDescription); + } catch (char *strError) { + CPrintF("%s\n", strError); + } } CMGFileButton *_pmgFileToSave = NULL; void OnFileSaveOK(void) { - if (_pmgFileToSave != NULL) { - _pmgFileToSave->SaveYes(); - } + if (_pmgFileToSave != NULL) { + _pmgFileToSave->SaveYes(); + } } void CMGFileButton::DoSave(void) { - if (FileExistsForWriting(mg_fnm)) { - _pmgFileToSave = this; - extern void SaveConfirm(void); - SaveConfirm(); - } else { - SaveYes(); - } + if (FileExistsForWriting(mg_fnm)) { + _pmgFileToSave = this; + extern void SaveConfirm(void); + SaveConfirm(); + } else { + SaveYes(); + } } void CMGFileButton::SaveYes(void) { - ASSERT(_pGUIM->gmLoadSaveMenu.gm_bSave); - // call saving function - BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); - // if saved - if (bSucceeded) { - // save the description too - SaveDescription(); - } + ASSERT(_pGUIM->gmLoadSaveMenu.gm_bSave); + // call saving function + BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + // if saved + if (bSucceeded) { + // save the description too + SaveDescription(); + } } void CMGFileButton::DoLoad(void) { - ASSERT(!_pGUIM->gmLoadSaveMenu.gm_bSave); - // if no file - if (!FileExists(mg_fnm)) { - // do nothing - return; - } - if (_pGUIM->gmLoadSaveMenu.gm_pgmNextMenu != NULL) { - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu; - } - // call loading function - BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); - ASSERT(bSucceeded); + ASSERT(!_pGUIM->gmLoadSaveMenu.gm_bSave); + // if no file + if (!FileExists(mg_fnm)) { + // do nothing + return; + } + if (_pGUIM->gmLoadSaveMenu.gm_pgmNextMenu != NULL) { + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu; + } + // call loading function + BOOL bSucceeded = _pGUIM->gmLoadSaveMenu.gm_pAfterFileChosen(mg_fnm); + ASSERT(bSucceeded); } static CTString _strTmpDescription; @@ -99,144 +99,144 @@ static CTString _strOrgDescription; void CMGFileButton::StartEdit(void) { - CMGEdit::OnActivate(); + CMGEdit::OnActivate(); } void CMGFileButton::OnActivate(void) { - if (mg_fnm == "") { - return; - } + if (mg_fnm == "") { + return; + } - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); - // if loading - if (!_pGUIM->gmLoadSaveMenu.gm_bSave) { - // load now - DoLoad(); - // if saving - } else { - // switch to editing mode - BOOL bWasEmpty = mg_strText == EMPTYSLOTSTRING; - mg_strDes = _pGUIM->gmLoadSaveMenu.gm_strSaveDes; - RefreshText(); - _strOrgDescription = _strTmpDescription = mg_strText; + // if loading + if (!_pGUIM->gmLoadSaveMenu.gm_bSave) { + // load now + DoLoad(); + // if saving + } else { + // switch to editing mode + BOOL bWasEmpty = mg_strText == EMPTYSLOTSTRING; + mg_strDes = _pGUIM->gmLoadSaveMenu.gm_strSaveDes; + RefreshText(); + _strOrgDescription = _strTmpDescription = mg_strText; - if (bWasEmpty) { - _strOrgDescription = EMPTYSLOTSTRING; - } + if (bWasEmpty) { + _strOrgDescription = EMPTYSLOTSTRING; + } - mg_pstrToChange = &_strTmpDescription; - StartEdit(); - mg_iState = FBS_SAVENAME; - } + mg_pstrToChange = &_strTmpDescription; + StartEdit(); + mg_iState = FBS_SAVENAME; + } } BOOL CMGFileButton::OnKeyDown(int iVKey) { - if (mg_iState == FBS_NORMAL) { - if (_pGUIM->gmLoadSaveMenu.gm_bSave || _pGUIM->gmLoadSaveMenu.gm_bManage) { - if (iVKey == VK_F2) { - if (FileExistsForWriting(mg_fnm)) { - // switch to renaming mode - _strOrgDescription = mg_strText; - _strTmpDescription = mg_strText; - mg_pstrToChange = &_strTmpDescription; - StartEdit(); - mg_iState = FBS_RENAME; - } - return TRUE; + if (mg_iState == FBS_NORMAL) { + if (_pGUIM->gmLoadSaveMenu.gm_bSave || _pGUIM->gmLoadSaveMenu.gm_bManage) { + if (iVKey == VK_F2) { + if (FileExistsForWriting(mg_fnm)) { + // switch to renaming mode + _strOrgDescription = mg_strText; + _strTmpDescription = mg_strText; + mg_pstrToChange = &_strTmpDescription; + StartEdit(); + mg_iState = FBS_RENAME; + } + return TRUE; - } else if (iVKey == VK_DELETE) { - if (FileExistsForWriting(mg_fnm)) { - // delete the file, its description and thumbnail - RemoveFile(mg_fnm); - RemoveFile(mg_fnm.NoExt() + ".des"); - RemoveFile(mg_fnm.NoExt() + "Tbn.tex"); - // refresh menu - _pGUIM->gmLoadSaveMenu.EndMenu(); - _pGUIM->gmLoadSaveMenu.StartMenu(); - OnSetFocus(); - } - return TRUE; - } - } - return CMenuGadget::OnKeyDown(iVKey); - } else { - // go out of editing mode - if (mg_bEditing) { - if (iVKey == VK_UP || iVKey == VK_DOWN) { - CMGEdit::OnKeyDown(VK_ESCAPE); - } - } - return CMGEdit::OnKeyDown(iVKey); - } + } else if (iVKey == VK_DELETE) { + if (FileExistsForWriting(mg_fnm)) { + // delete the file, its description and thumbnail + RemoveFile(mg_fnm); + RemoveFile(mg_fnm.NoExt() + ".des"); + RemoveFile(mg_fnm.NoExt() + "Tbn.tex"); + // refresh menu + _pGUIM->gmLoadSaveMenu.EndMenu(); + _pGUIM->gmLoadSaveMenu.StartMenu(); + OnSetFocus(); + } + return TRUE; + } + } + return CMenuGadget::OnKeyDown(iVKey); + } else { + // go out of editing mode + if (mg_bEditing) { + if (iVKey == VK_UP || iVKey == VK_DOWN) { + CMGEdit::OnKeyDown(VK_ESCAPE); + } + } + return CMGEdit::OnKeyDown(iVKey); + } } void CMGFileButton::OnSetFocus(void) { - mg_iState = FBS_NORMAL; + mg_iState = FBS_NORMAL; - if (_pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { - SetThumbnail(mg_fnm); - } else { - ClearThumbnail(); - } + if (_pGUIM->gmLoadSaveMenu.gm_bAllowThumbnails && mg_bEnabled) { + SetThumbnail(mg_fnm); + } else { + ClearThumbnail(); + } - pgmCurrentMenu->KillAllFocuses(); - CMGButton::OnSetFocus(); + pgmCurrentMenu->KillAllFocuses(); + CMGButton::OnSetFocus(); } void CMGFileButton::OnKillFocus(void) { - // go out of editing mode - if (mg_bEditing) { - OnKeyDown(VK_ESCAPE); - } + // go out of editing mode + if (mg_bEditing) { + OnKeyDown(VK_ESCAPE); + } - CMGEdit::OnKillFocus(); + CMGEdit::OnKillFocus(); } // override from edit gadget void CMGFileButton::OnStringChanged(void) { - // if saving - if (mg_iState == FBS_SAVENAME) { - // do the save - mg_strDes = _strTmpDescription + "\n" + mg_strInfo; - DoSave(); - // if renaming - } else if (mg_iState == FBS_RENAME) { - // do the rename - mg_strDes = _strTmpDescription + "\n" + mg_strInfo; - SaveDescription(); - // refresh menu - _pGUIM->gmLoadSaveMenu.EndMenu(); - _pGUIM->gmLoadSaveMenu.StartMenu(); - OnSetFocus(); - } + // if saving + if (mg_iState == FBS_SAVENAME) { + // do the save + mg_strDes = _strTmpDescription + "\n" + mg_strInfo; + DoSave(); + // if renaming + } else if (mg_iState == FBS_RENAME) { + // do the rename + mg_strDes = _strTmpDescription + "\n" + mg_strInfo; + SaveDescription(); + // refresh menu + _pGUIM->gmLoadSaveMenu.EndMenu(); + _pGUIM->gmLoadSaveMenu.StartMenu(); + OnSetFocus(); + } } void CMGFileButton::OnStringCanceled(void) { - mg_strText = _strOrgDescription; + mg_strText = _strOrgDescription; } void CMGFileButton::Render(CDrawPort *pdp) { - // render original gadget first - CMGEdit::Render(pdp); + // render original gadget first + CMGEdit::Render(pdp); - // if currently selected - if (mg_bFocused && mg_bEnabled) { - // add info at the bottom if screen - SetFontMedium(pdp); + // if currently selected + if (mg_bFocused && mg_bEnabled) { + // add info at the bottom if screen + SetFontMedium(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxSaveLoad(15.0)); - PIX pixI = box.Min()(1); - PIX pixJ = box.Min()(2); + PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxSaveLoad(15.0)); + PIX pixI = box.Min()(1); + PIX pixJ = box.Min()(2); - COLOR col = LCDGetColor(C_mlGREEN | 255, "file info"); - pdp->PutText(mg_strInfo, pixI, pixJ, col); - } + COLOR col = LCDGetColor(C_mlGREEN | 255, "file info"); + pdp->PutText(mg_strInfo, pixI, pixJ, col); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp index a46c124..6ab4120 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp @@ -21,81 +21,81 @@ with this program; if not, write to the Free Software Foundation, Inc., #define HSCOLUMNS 6 CTString strHighScores[HIGHSCORE_COUNT + 1][HSCOLUMNS]; FLOAT afI[HSCOLUMNS] = { - 0.12f, 0.15f, 0.6f, 0.7f, 0.78f, 0.9f + 0.12f, 0.15f, 0.6f, 0.7f, 0.78f, 0.9f }; void CMGHighScore::Render(CDrawPort *pdp) { - SetFontMedium(pdp); + SetFontMedium(pdp); - COLOR colHeader = LCDGetColor(C_GREEN | 255, "hiscore header"); - COLOR colData = LCDGetColor(C_mdGREEN | 255, "hiscore data"); - COLOR colLastSet = LCDGetColor(C_mlGREEN | 255, "hiscore last set"); - INDEX iLastSet = _pGame->gm_iLastSetHighScore; + COLOR colHeader = LCDGetColor(C_GREEN | 255, "hiscore header"); + COLOR colData = LCDGetColor(C_mdGREEN | 255, "hiscore data"); + COLOR colLastSet = LCDGetColor(C_mlGREEN | 255, "hiscore last set"); + INDEX iLastSet = _pGame->gm_iLastSetHighScore; - CTString strText; + CTString strText; - strHighScores[0][0] = TRANS("No."); - strHighScores[0][1] = TRANS("Player Name"); - strHighScores[0][2] = TRANS("Difficulty"); - strHighScores[0][3] = TRANS("Time"); - strHighScores[0][4] = TRANS("Kills"); - strHighScores[0][5] = TRANS("Score"); + strHighScores[0][0] = TRANS("No."); + strHighScores[0][1] = TRANS("Player Name"); + strHighScores[0][2] = TRANS("Difficulty"); + strHighScores[0][3] = TRANS("Time"); + strHighScores[0][4] = TRANS("Kills"); + strHighScores[0][5] = TRANS("Score"); - {for (INDEX i = 0; igm_ahseHighScores[i].hse_gdDifficulty) { - default: - ASSERT(FALSE); - case (CSessionProperties::GameDifficulty) - 100: - strHighScores[i + 1][1] = "---"; - continue; - break; - case CSessionProperties::GD_TOURIST: - strHighScores[i + 1][2] = TRANS("Tourist"); - break; - case CSessionProperties::GD_EASY: - strHighScores[i + 1][2] = TRANS("Easy"); - break; - case CSessionProperties::GD_NORMAL: - strHighScores[i + 1][2] = TRANS("Normal"); - break; - case CSessionProperties::GD_HARD: - strHighScores[i + 1][2] = TRANS("Hard"); - break; - case CSessionProperties::GD_EXTREME: - strHighScores[i + 1][2] = TRANS("Serious"); - break; - case CSessionProperties::GD_EXTREME + 1: - strHighScores[i + 1][2] = TRANS("Mental"); - break; - } - strHighScores[i + 1][0].PrintF("%d", i + 1); - strHighScores[i + 1][1] = _pGame->gm_ahseHighScores[i].hse_strPlayer; - strHighScores[i + 1][3] = TimeToString(_pGame->gm_ahseHighScores[i].hse_tmTime); - strHighScores[i + 1][4].PrintF("%03d", _pGame->gm_ahseHighScores[i].hse_ctKills); - strHighScores[i + 1][5].PrintF("%9d", _pGame->gm_ahseHighScores[i].hse_ctScore); - }} + {for (INDEX i = 0; igm_ahseHighScores[i].hse_gdDifficulty) { + default: + ASSERT(FALSE); + case (CSessionProperties::GameDifficulty) - 100: + strHighScores[i + 1][1] = "---"; + continue; + break; + case CSessionProperties::GD_TOURIST: + strHighScores[i + 1][2] = TRANS("Tourist"); + break; + case CSessionProperties::GD_EASY: + strHighScores[i + 1][2] = TRANS("Easy"); + break; + case CSessionProperties::GD_NORMAL: + strHighScores[i + 1][2] = TRANS("Normal"); + break; + case CSessionProperties::GD_HARD: + strHighScores[i + 1][2] = TRANS("Hard"); + break; + case CSessionProperties::GD_EXTREME: + strHighScores[i + 1][2] = TRANS("Serious"); + break; + case CSessionProperties::GD_EXTREME + 1: + strHighScores[i + 1][2] = TRANS("Mental"); + break; + } + strHighScores[i + 1][0].PrintF("%d", i + 1); + strHighScores[i + 1][1] = _pGame->gm_ahseHighScores[i].hse_strPlayer; + strHighScores[i + 1][3] = TimeToString(_pGame->gm_ahseHighScores[i].hse_tmTime); + strHighScores[i + 1][4].PrintF("%03d", _pGame->gm_ahseHighScores[i].hse_ctKills); + strHighScores[i + 1][5].PrintF("%9d", _pGame->gm_ahseHighScores[i].hse_ctScore); + }} - PIX pixJ = pdp->GetHeight()*0.25f; - {for (INDEX iRow = 0; iRowGetWidth()*afI[iColumn]; - if (iColumn == 1) { - pdp->PutText(strHighScores[iRow][iColumn], pixI, pixJ, col); - } - else { - pdp->PutTextR(strHighScores[iRow][iColumn], pixI, pixJ, col); - } - }} - if (iRow == 0) { - pixJ += pdp->GetHeight()*0.06f; - } else { - pixJ += pdp->GetHeight()*0.04f; - } - }} + PIX pixJ = pdp->GetHeight()*0.25f; + {for (INDEX iRow = 0; iRowGetWidth()*afI[iColumn]; + if (iColumn == 1) { + pdp->PutText(strHighScores[iRow][iColumn], pixI, pixJ, col); + } + else { + pdp->PutTextR(strHighScores[iRow][iColumn], pixI, pixJ, col); + } + }} + if (iRow == 0) { + pixJ += pdp->GetHeight()*0.06f; + } else { + pixJ += pdp->GetHeight()*0.04f; + } + }} } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index 85cce3c..a4029dc 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -26,197 +26,197 @@ extern BOOL _bDefiningKey; CMGKeyDefinition::CMGKeyDefinition(void) { - mg_iState = DOING_NOTHING; + mg_iState = DOING_NOTHING; } void CMGKeyDefinition::OnActivate(void) { - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - SetBindingNames(/*bDefining=*/TRUE); - mg_iState = RELEASE_RETURN_WAITING; + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + SetBindingNames(/*bDefining=*/TRUE); + mg_iState = RELEASE_RETURN_WAITING; } BOOL CMGKeyDefinition::OnKeyDown(int iVKey) { - // if waiting for a key definition - if (mg_iState == PRESS_KEY_WAITING) { - // do nothing - return TRUE; - } + // if waiting for a key definition + if (mg_iState == PRESS_KEY_WAITING) { + // do nothing + return TRUE; + } - // if backspace pressed - if (iVKey == VK_BACK) { - // clear both keys - DefineKey(KID_NONE); - // message is processed - return TRUE; - } + // if backspace pressed + if (iVKey == VK_BACK) { + // clear both keys + DefineKey(KID_NONE); + // message is processed + return TRUE; + } - return CMenuGadget::OnKeyDown(iVKey); + return CMenuGadget::OnKeyDown(iVKey); } // set names for both key bindings void CMGKeyDefinition::SetBindingNames(BOOL bDefining) { - // find the button - INDEX ict = 0; - INDEX iDik = 0; - FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { - if (ict == mg_iControlNumber) { - CButtonAction &ba = *itba; - // get the current bindings and names - INDEX iKey1 = ba.ba_iFirstKey; - INDEX iKey2 = ba.ba_iSecondKey; - BOOL bKey1Bound = iKey1 != KID_NONE; - BOOL bKey2Bound = iKey2 != KID_NONE; - CTString strKey1 = _pInput->GetButtonTransName(iKey1); - CTString strKey2 = _pInput->GetButtonTransName(iKey2); + // find the button + INDEX ict = 0; + INDEX iDik = 0; + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { + if (ict == mg_iControlNumber) { + CButtonAction &ba = *itba; + // get the current bindings and names + INDEX iKey1 = ba.ba_iFirstKey; + INDEX iKey2 = ba.ba_iSecondKey; + BOOL bKey1Bound = iKey1 != KID_NONE; + BOOL bKey2Bound = iKey2 != KID_NONE; + CTString strKey1 = _pInput->GetButtonTransName(iKey1); + CTString strKey2 = _pInput->GetButtonTransName(iKey2); - // if defining - if (bDefining) { - // if only first key is defined - if (bKey1Bound && !bKey2Bound) { - // put question mark for second key - mg_strBinding = strKey1 + TRANS(" or ") + "?"; - // otherwise - } else { - // put question mark only - mg_strBinding = "?"; - } - // if not defining - } - else { - // if second key is defined - if (bKey2Bound) { - // add both - mg_strBinding = strKey1 + TRANS(" or ") + strKey2; - // if second key is undefined - } else { - // display only first one - mg_strBinding = strKey1; - } - } - return; - } - ict++; - } + // if defining + if (bDefining) { + // if only first key is defined + if (bKey1Bound && !bKey2Bound) { + // put question mark for second key + mg_strBinding = strKey1 + TRANS(" or ") + "?"; + // otherwise + } else { + // put question mark only + mg_strBinding = "?"; + } + // if not defining + } + else { + // if second key is defined + if (bKey2Bound) { + // add both + mg_strBinding = strKey1 + TRANS(" or ") + strKey2; + // if second key is undefined + } else { + // display only first one + mg_strBinding = strKey1; + } + } + return; + } + ict++; + } - // if not found, put errorneous string - mg_strBinding = "???"; + // if not found, put errorneous string + mg_strBinding = "???"; } void CMGKeyDefinition::Appear(void) { - SetBindingNames(/*bDefining=*/FALSE); - CMenuGadget::Appear(); + SetBindingNames(/*bDefining=*/FALSE); + CMenuGadget::Appear(); } void CMGKeyDefinition::Disappear(void) { - CMenuGadget::Disappear(); + CMenuGadget::Disappear(); } void CMGKeyDefinition::DefineKey(INDEX iDik) { - // for each button in controls - INDEX ict = 0; - FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { - CButtonAction &ba = *itba; - // if it is this one - if (ict == mg_iControlNumber) { - // if should clear - if (iDik == KID_NONE) { - // unbind both - ba.ba_iFirstKey = KID_NONE; - ba.ba_iSecondKey = KID_NONE; - } - // if first key is unbound, or both keys are bound - if (ba.ba_iFirstKey == KID_NONE || ba.ba_iSecondKey != KID_NONE) { - // bind first key - ba.ba_iFirstKey = iDik; - // clear second key - ba.ba_iSecondKey = KID_NONE; - // if only first key bound - } else { - // bind second key - ba.ba_iSecondKey = iDik; - } - // if it is not this one - } else { - // clear bindings that contain this key - if (ba.ba_iFirstKey == iDik) { - ba.ba_iFirstKey = KID_NONE; - } - if (ba.ba_iSecondKey == iDik) { - ba.ba_iSecondKey = KID_NONE; - } - } - ict++; - } + // for each button in controls + INDEX ict = 0; + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itba) { + CButtonAction &ba = *itba; + // if it is this one + if (ict == mg_iControlNumber) { + // if should clear + if (iDik == KID_NONE) { + // unbind both + ba.ba_iFirstKey = KID_NONE; + ba.ba_iSecondKey = KID_NONE; + } + // if first key is unbound, or both keys are bound + if (ba.ba_iFirstKey == KID_NONE || ba.ba_iSecondKey != KID_NONE) { + // bind first key + ba.ba_iFirstKey = iDik; + // clear second key + ba.ba_iSecondKey = KID_NONE; + // if only first key bound + } else { + // bind second key + ba.ba_iSecondKey = iDik; + } + // if it is not this one + } else { + // clear bindings that contain this key + if (ba.ba_iFirstKey == iDik) { + ba.ba_iFirstKey = KID_NONE; + } + if (ba.ba_iSecondKey == iDik) { + ba.ba_iSecondKey = KID_NONE; + } + } + ict++; + } - SetBindingNames(/*bDefining=*/FALSE); + SetBindingNames(/*bDefining=*/FALSE); } void CMGKeyDefinition::Think(void) { - if (mg_iState == RELEASE_RETURN_WAITING) - { - _bDefiningKey = TRUE; - extern BOOL _bMouseUsedLast; - _bMouseUsedLast = FALSE; - _pInput->SetJoyPolling(TRUE); - _pInput->GetInput(FALSE); - if (_pInput->IsInputEnabled() && - !_pInput->GetButtonState(KID_ENTER) && - !_pInput->GetButtonState(KID_MOUSE1)) - { - mg_iState = PRESS_KEY_WAITING; - } - } - else if (mg_iState == PRESS_KEY_WAITING) - { - _pInput->SetJoyPolling(TRUE); - _pInput->GetInput(FALSE); - for (INDEX iDik = 0; iDikGetButtonState(iDik)) - { - // skip keys that cannot be defined - if (iDik == KID_TILDE) { - continue; - } - // if escape not pressed - if (iDik != KID_ESCAPE) { - // define the new key - DefineKey(iDik); - // if escape pressed - } else { - // undefine the key - DefineKey(KID_NONE); - } + if (mg_iState == RELEASE_RETURN_WAITING) + { + _bDefiningKey = TRUE; + extern BOOL _bMouseUsedLast; + _bMouseUsedLast = FALSE; + _pInput->SetJoyPolling(TRUE); + _pInput->GetInput(FALSE); + if (_pInput->IsInputEnabled() && + !_pInput->GetButtonState(KID_ENTER) && + !_pInput->GetButtonState(KID_MOUSE1)) + { + mg_iState = PRESS_KEY_WAITING; + } + } + else if (mg_iState == PRESS_KEY_WAITING) + { + _pInput->SetJoyPolling(TRUE); + _pInput->GetInput(FALSE); + for (INDEX iDik = 0; iDikGetButtonState(iDik)) + { + // skip keys that cannot be defined + if (iDik == KID_TILDE) { + continue; + } + // if escape not pressed + if (iDik != KID_ESCAPE) { + // define the new key + DefineKey(iDik); + // if escape pressed + } else { + // undefine the key + DefineKey(KID_NONE); + } - // end defining loop - mg_iState = DOING_NOTHING; - _bDefiningKey = FALSE; - // refresh all buttons - pgmCurrentMenu->FillListItems(); - break; - } - } - } + // end defining loop + mg_iState = DOING_NOTHING; + _bDefiningKey = FALSE; + // refresh all buttons + pgmCurrentMenu->FillListItems(); + break; + } + } + } } void CMGKeyDefinition::Render(CDrawPort *pdp) { - SetFontMedium(pdp); + SetFontMedium(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); - COLOR col = GetCurrentColor(); - pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); - pdp->PutText(mg_strBinding, pixIR, pixJ, col); + COLOR col = GetCurrentColor(); + pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); + pdp->PutText(mg_strBinding, pixIR, pixJ, col); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp index 2fe418f..1c222c8 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp @@ -23,15 +23,15 @@ extern CSoundData *_psdPress; void CMGLevelButton::OnActivate(void) { - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - _pGame->gam_strCustomLevel = mg_fnmLevel; - extern void(*_pAfterLevelChosen)(void); - _pAfterLevelChosen(); + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + _pGame->gam_strCustomLevel = mg_fnmLevel; + extern void(*_pAfterLevelChosen)(void); + _pAfterLevelChosen(); } void CMGLevelButton::OnSetFocus(void) { - SetThumbnail(mg_fnmLevel); - CMGButton::OnSetFocus(); + SetThumbnail(mg_fnmLevel); + CMGButton::OnSetFocus(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGModel.cpp b/Sources/SeriousSam/GUI/Components/MGModel.cpp index 0d45d05..2a7eb9e 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.cpp +++ b/Sources/SeriousSam/GUI/Components/MGModel.cpp @@ -23,103 +23,103 @@ extern INDEX sam_bWideScreen; CMGModel::CMGModel(void) { - mg_fFloorY = 0; + mg_fFloorY = 0; } void CMGModel::Render(CDrawPort *pdp) { - // if no model - if (mg_moModel.GetData() == NULL) { - // just render text - mg_strText = TRANS("No model"); - CMGButton::Render(pdp); - return; - } + // if no model + if (mg_moModel.GetData() == NULL) { + // just render text + mg_strText = TRANS("No model"); + CMGButton::Render(pdp); + return; + } - // get position on screen - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - CDrawPort dpModel(pdp, box); - dpModel.Lock(); - dpModel.FillZBuffer(1.0f); + // get position on screen + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + CDrawPort dpModel(pdp, box); + dpModel.Lock(); + dpModel.FillZBuffer(1.0f); - LCDSetDrawport(&dpModel); - // clear menu here - dpModel.Fill(C_BLACK | 255); - LCDRenderClouds1(); - LCDRenderClouds2(); + LCDSetDrawport(&dpModel); + // clear menu here + dpModel.Fill(C_BLACK | 255); + LCDRenderClouds1(); + LCDRenderClouds2(); - // prepare projection - CRenderModel rmRenderModel; - CPerspectiveProjection3D pr; - pr.FOVL() = sam_bWideScreen ? AngleDeg(45.0f) : AngleDeg(30.0f); - pr.ScreenBBoxL() = FLOATaabbox2D( - FLOAT2D(0.0f, 0.0f), - FLOAT2D((float)dpModel.GetWidth(), (float)dpModel.GetHeight()) - ); - pr.AspectRatioL() = 1.0f; - pr.FrontClipDistanceL() = 0.3f; - pr.ViewerPlacementL() = CPlacement3D(FLOAT3D(0, 0, 0), ANGLE3D(0, 0, 0)); + // prepare projection + CRenderModel rmRenderModel; + CPerspectiveProjection3D pr; + pr.FOVL() = sam_bWideScreen ? AngleDeg(45.0f) : AngleDeg(30.0f); + pr.ScreenBBoxL() = FLOATaabbox2D( + FLOAT2D(0.0f, 0.0f), + FLOAT2D((float)dpModel.GetWidth(), (float)dpModel.GetHeight()) + ); + pr.AspectRatioL() = 1.0f; + pr.FrontClipDistanceL() = 0.3f; + pr.ViewerPlacementL() = CPlacement3D(FLOAT3D(0, 0, 0), ANGLE3D(0, 0, 0)); - // initialize remdering - CAnyProjection3D apr; - apr = pr; - BeginModelRenderingView(apr, &dpModel); - rmRenderModel.rm_vLightDirection = FLOAT3D(0.2f, -0.2f, -0.2f); + // initialize remdering + CAnyProjection3D apr; + apr = pr; + BeginModelRenderingView(apr, &dpModel); + rmRenderModel.rm_vLightDirection = FLOAT3D(0.2f, -0.2f, -0.2f); - // if model needs floor - if (mg_moFloor.GetData() != NULL) { - // set floor's position - CPlacement3D pl = mg_plModel; - pl.pl_OrientationAngle = ANGLE3D(0, 0, 0); - pl.pl_PositionVector = mg_plModel.pl_PositionVector; - pl.pl_PositionVector(2) += mg_fFloorY; - rmRenderModel.SetObjectPlacement(pl); + // if model needs floor + if (mg_moFloor.GetData() != NULL) { + // set floor's position + CPlacement3D pl = mg_plModel; + pl.pl_OrientationAngle = ANGLE3D(0, 0, 0); + pl.pl_PositionVector = mg_plModel.pl_PositionVector; + pl.pl_PositionVector(2) += mg_fFloorY; + rmRenderModel.SetObjectPlacement(pl); - // render the floor - rmRenderModel.rm_colLight = C_WHITE; - rmRenderModel.rm_colAmbient = C_WHITE; - mg_moFloor.SetupModelRendering(rmRenderModel); - mg_moFloor.RenderModel(rmRenderModel); - } + // render the floor + rmRenderModel.rm_colLight = C_WHITE; + rmRenderModel.rm_colAmbient = C_WHITE; + mg_moFloor.SetupModelRendering(rmRenderModel); + mg_moFloor.RenderModel(rmRenderModel); + } - // set model's position - CPlacement3D pl; - pl.pl_OrientationAngle = mg_plModel.pl_OrientationAngle; - pl.pl_PositionVector = mg_plModel.pl_PositionVector; - extern FLOAT sam_fPlayerOffset; - pl.pl_PositionVector(3) += sam_fPlayerOffset; - rmRenderModel.SetObjectPlacement(pl); + // set model's position + CPlacement3D pl; + pl.pl_OrientationAngle = mg_plModel.pl_OrientationAngle; + pl.pl_PositionVector = mg_plModel.pl_PositionVector; + extern FLOAT sam_fPlayerOffset; + pl.pl_PositionVector(3) += sam_fPlayerOffset; + rmRenderModel.SetObjectPlacement(pl); - // render the model - rmRenderModel.rm_colLight = LerpColor(C_BLACK, C_WHITE, 0.4f) | CT_OPAQUE; - rmRenderModel.rm_colAmbient = LerpColor(C_BLACK, C_WHITE, 0.2f) | CT_OPAQUE; - mg_moModel.SetupModelRendering(rmRenderModel); - FLOATplane3D plFloorPlane = FLOATplane3D(FLOAT3D(0.0f, 1.0f, 0.0f), - mg_plModel.pl_PositionVector(2) + mg_fFloorY); - FLOAT3D vShadowLightDir = FLOAT3D(-0.2f, -0.4f, -0.6f); - CPlacement3D plLightPlacement = CPlacement3D( - mg_plModel.pl_PositionVector + - vShadowLightDir*mg_plModel.pl_PositionVector(3) * 5, - ANGLE3D(0, 0, 0)); - mg_moModel.RenderShadow(rmRenderModel, plLightPlacement, 200.0f, 200.0f, 1.0f, plFloorPlane); - mg_moModel.RenderModel(rmRenderModel); - EndModelRenderingView(); + // render the model + rmRenderModel.rm_colLight = LerpColor(C_BLACK, C_WHITE, 0.4f) | CT_OPAQUE; + rmRenderModel.rm_colAmbient = LerpColor(C_BLACK, C_WHITE, 0.2f) | CT_OPAQUE; + mg_moModel.SetupModelRendering(rmRenderModel); + FLOATplane3D plFloorPlane = FLOATplane3D(FLOAT3D(0.0f, 1.0f, 0.0f), + mg_plModel.pl_PositionVector(2) + mg_fFloorY); + FLOAT3D vShadowLightDir = FLOAT3D(-0.2f, -0.4f, -0.6f); + CPlacement3D plLightPlacement = CPlacement3D( + mg_plModel.pl_PositionVector + + vShadowLightDir*mg_plModel.pl_PositionVector(3) * 5, + ANGLE3D(0, 0, 0)); + mg_moModel.RenderShadow(rmRenderModel, plLightPlacement, 200.0f, 200.0f, 1.0f, plFloorPlane); + mg_moModel.RenderModel(rmRenderModel); + EndModelRenderingView(); - LCDScreenBox(LCDGetColor(C_GREEN, "model box") | GetCurrentColor()); + LCDScreenBox(LCDGetColor(C_GREEN, "model box") | GetCurrentColor()); - dpModel.Unlock(); + dpModel.Unlock(); - pdp->Unlock(); - pdp->Lock(); - LCDSetDrawport(pdp); + pdp->Unlock(); + pdp->Lock(); + LCDSetDrawport(pdp); - // print the model name - { - PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxPlayerModelName()); - COLOR col = GetCurrentColor(); + // print the model name + { + PIXaabbox2D box = FloatBoxToPixBox(pdp, BoxPlayerModelName()); + COLOR col = GetCurrentColor(); - PIX pixI = box.Min()(1); - PIX pixJ = box.Max()(2); - pdp->PutText(mg_strText, pixI, pixJ, col); - } + PIX pixI = box.Min()(1); + PIX pixJ = box.Max()(2); + pdp->PutText(mg_strText, pixI, pixJ, col); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index 286a001..fa196fc 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -25,51 +25,51 @@ extern CSoundData *_psdPress; FLOATaabbox2D GetBoxPartHoriz(const FLOATaabbox2D &box, FLOAT fMin, FLOAT fMax) { - FLOAT fBoxMin = box.Min()(1); - FLOAT fBoxSize = box.Size()(1); + FLOAT fBoxMin = box.Min()(1); + FLOAT fBoxSize = box.Size()(1); - return FLOATaabbox2D( - FLOAT2D(fBoxMin + fBoxSize*fMin, box.Min()(2)), - FLOAT2D(fBoxMin + fBoxSize*fMax, box.Max()(2))); + return FLOATaabbox2D( + FLOAT2D(fBoxMin + fBoxSize*fMin, box.Min()(2)), + FLOAT2D(fBoxMin + fBoxSize*fMax, box.Max()(2))); } void PrintInBox(CDrawPort *pdp, PIX pixI, PIX pixJ, PIX pixSizeI, CTString str, COLOR col) { - str = str.Undecorated(); - PIX pixCharSize = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; - str.TrimRight(pixSizeI / pixCharSize); + str = str.Undecorated(); + PIX pixCharSize = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; + str.TrimRight(pixSizeI / pixCharSize); - // print text - pdp->PutText(str, pixI, pixJ, col); + // print text + pdp->PutText(str, pixI, pixJ, col); } CMGServerList::CMGServerList() { - mg_iSelected = 0; - mg_iFirstOnScreen = 0; - mg_ctOnScreen = 10; - mg_pixMinI = 0; - mg_pixMaxI = 0; - mg_pixListMinJ = 0; - mg_pixListStepJ = 0; - mg_pixDragJ = -1; - mg_iDragLine = -1; - mg_pixMouseDrag = -1; - // by default, sort by ping, best on top - mg_iSort = 2; - mg_bSortDown = FALSE; + mg_iSelected = 0; + mg_iFirstOnScreen = 0; + mg_ctOnScreen = 10; + mg_pixMinI = 0; + mg_pixMaxI = 0; + mg_pixListMinJ = 0; + mg_pixListStepJ = 0; + mg_pixDragJ = -1; + mg_iDragLine = -1; + mg_pixMouseDrag = -1; + // by default, sort by ping, best on top + mg_iSort = 2; + mg_bSortDown = FALSE; } void CMGServerList::AdjustFirstOnScreen(void) { - INDEX ctSessions = _lhServers.Count(); - mg_iSelected = Clamp(mg_iSelected, 0L, ClampDn(ctSessions - 1L, 0L)); - mg_iFirstOnScreen = Clamp(mg_iFirstOnScreen, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); + INDEX ctSessions = _lhServers.Count(); + mg_iSelected = Clamp(mg_iSelected, 0L, ClampDn(ctSessions - 1L, 0L)); + mg_iFirstOnScreen = Clamp(mg_iFirstOnScreen, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); - if (mg_iSelected= mg_iFirstOnScreen + mg_ctOnScreen) { - mg_iFirstOnScreen = ClampDn(mg_iSelected - mg_ctOnScreen + 1L, 0L); - } + if (mg_iSelected= mg_iFirstOnScreen + mg_ctOnScreen) { + mg_iFirstOnScreen = ClampDn(mg_iSelected - mg_ctOnScreen + 1L, 0L); + } } BOOL _iSort = 0; @@ -77,25 +77,25 @@ BOOL _bSortDown = FALSE; int CompareSessions(const void *pv0, const void *pv1) { - const CNetworkSession &ns0 = **(const CNetworkSession **)pv0; - const CNetworkSession &ns1 = **(const CNetworkSession **)pv1; + const CNetworkSession &ns0 = **(const CNetworkSession **)pv0; + const CNetworkSession &ns1 = **(const CNetworkSession **)pv1; - int iResult = 0; - switch (_iSort) { - case 0: iResult = stricmp(ns0.ns_strSession, ns1.ns_strSession); break; - case 1: iResult = stricmp(ns0.ns_strWorld, ns1.ns_strWorld); break; - case 2: iResult = Sgn(ns0.ns_tmPing - ns1.ns_tmPing); break; - case 3: iResult = Sgn(ns0.ns_ctPlayers - ns1.ns_ctPlayers); break; - case 4: iResult = stricmp(ns0.ns_strGameType, ns1.ns_strGameType); break; - case 5: iResult = stricmp(ns0.ns_strMod, ns1.ns_strMod); break; - case 6: iResult = stricmp(ns0.ns_strVer, ns1.ns_strVer); break; - } + int iResult = 0; + switch (_iSort) { + case 0: iResult = stricmp(ns0.ns_strSession, ns1.ns_strSession); break; + case 1: iResult = stricmp(ns0.ns_strWorld, ns1.ns_strWorld); break; + case 2: iResult = Sgn(ns0.ns_tmPing - ns1.ns_tmPing); break; + case 3: iResult = Sgn(ns0.ns_ctPlayers - ns1.ns_ctPlayers); break; + case 4: iResult = stricmp(ns0.ns_strGameType, ns1.ns_strGameType); break; + case 5: iResult = stricmp(ns0.ns_strMod, ns1.ns_strMod); break; + case 6: iResult = stricmp(ns0.ns_strVer, ns1.ns_strVer); break; + } - if (iResult == 0) { // make sure we always have unique order when resorting - return stricmp(ns0.ns_strAddress, ns1.ns_strAddress);; - } + if (iResult == 0) { // make sure we always have unique order when resorting + return stricmp(ns0.ns_strAddress, ns1.ns_strAddress);; + } - return _bSortDown ? -iResult : iResult; + return _bSortDown ? -iResult : iResult; } extern CMGButton mgServerColumn[7]; @@ -103,351 +103,351 @@ extern CMGEdit mgServerFilter[7]; void SortAndFilterServers(void) { - {FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - delete &*itns; - }} + {FORDELETELIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + delete &*itns; + }} - {FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { - CNetworkSession &ns = *itns; - extern CTString _strServerFilter[7]; - if (_strServerFilter[0] != "" && !ns.ns_strSession.Matches("*" + _strServerFilter[0] + "*")) continue; - if (_strServerFilter[1] != "" && !ns.ns_strWorld.Matches("*" + _strServerFilter[1] + "*")) continue; - if (_strServerFilter[2] != "") { - char strCompare[3] = { 0, 0, 0 }; - int iPing = 0; - _strServerFilter[2].ScanF("%2[<>=]%d", strCompare, &iPing); - if (strcmp(strCompare, "<") == 0 && !(int(ns.ns_tmPing * 1000)< iPing)) continue; - if (strcmp(strCompare, "<=") == 0 && !(int(ns.ns_tmPing * 1000) <= iPing)) continue; - if (strcmp(strCompare, ">") == 0 && !(int(ns.ns_tmPing * 1000)> iPing)) continue; - if (strcmp(strCompare, ">=") == 0 && !(int(ns.ns_tmPing * 1000) >= iPing)) continue; - if (strcmp(strCompare, "=") == 0 && !(int(ns.ns_tmPing * 1000) == iPing)) continue; - } - if (_strServerFilter[3] != "") { - char strCompare[3] = { 0, 0, 0 }; - int iPlayers = 0; - _strServerFilter[3].ScanF("%2[<>=]%d", strCompare, &iPlayers); - if (strcmp(strCompare, "<") == 0 && !(ns.ns_ctPlayers< iPlayers)) continue; - if (strcmp(strCompare, "<=") == 0 && !(ns.ns_ctPlayers <= iPlayers)) continue; - if (strcmp(strCompare, ">") == 0 && !(ns.ns_ctPlayers> iPlayers)) continue; - if (strcmp(strCompare, ">=") == 0 && !(ns.ns_ctPlayers >= iPlayers)) continue; - if (strcmp(strCompare, "=") == 0 && !(ns.ns_ctPlayers == iPlayers)) continue; - } - if (_strServerFilter[4] != "" && !ns.ns_strGameType.Matches("*" + _strServerFilter[4] + "*")) continue; - if (_strServerFilter[5] != "" && !ns.ns_strMod.Matches("*" + _strServerFilter[5] + "*")) continue; - if (_strServerFilter[6] != "" && !ns.ns_strVer.Matches("*" + _strServerFilter[6] + "*")) continue; + {FOREACHINLIST(CNetworkSession, ns_lnNode, _pNetwork->ga_lhEnumeratedSessions, itns) { + CNetworkSession &ns = *itns; + extern CTString _strServerFilter[7]; + if (_strServerFilter[0] != "" && !ns.ns_strSession.Matches("*" + _strServerFilter[0] + "*")) continue; + if (_strServerFilter[1] != "" && !ns.ns_strWorld.Matches("*" + _strServerFilter[1] + "*")) continue; + if (_strServerFilter[2] != "") { + char strCompare[3] = { 0, 0, 0 }; + int iPing = 0; + _strServerFilter[2].ScanF("%2[<>=]%d", strCompare, &iPing); + if (strcmp(strCompare, "<") == 0 && !(int(ns.ns_tmPing * 1000)< iPing)) continue; + if (strcmp(strCompare, "<=") == 0 && !(int(ns.ns_tmPing * 1000) <= iPing)) continue; + if (strcmp(strCompare, ">") == 0 && !(int(ns.ns_tmPing * 1000)> iPing)) continue; + if (strcmp(strCompare, ">=") == 0 && !(int(ns.ns_tmPing * 1000) >= iPing)) continue; + if (strcmp(strCompare, "=") == 0 && !(int(ns.ns_tmPing * 1000) == iPing)) continue; + } + if (_strServerFilter[3] != "") { + char strCompare[3] = { 0, 0, 0 }; + int iPlayers = 0; + _strServerFilter[3].ScanF("%2[<>=]%d", strCompare, &iPlayers); + if (strcmp(strCompare, "<") == 0 && !(ns.ns_ctPlayers< iPlayers)) continue; + if (strcmp(strCompare, "<=") == 0 && !(ns.ns_ctPlayers <= iPlayers)) continue; + if (strcmp(strCompare, ">") == 0 && !(ns.ns_ctPlayers> iPlayers)) continue; + if (strcmp(strCompare, ">=") == 0 && !(ns.ns_ctPlayers >= iPlayers)) continue; + if (strcmp(strCompare, "=") == 0 && !(ns.ns_ctPlayers == iPlayers)) continue; + } + if (_strServerFilter[4] != "" && !ns.ns_strGameType.Matches("*" + _strServerFilter[4] + "*")) continue; + if (_strServerFilter[5] != "" && !ns.ns_strMod.Matches("*" + _strServerFilter[5] + "*")) continue; + if (_strServerFilter[6] != "" && !ns.ns_strVer.Matches("*" + _strServerFilter[6] + "*")) continue; - CNetworkSession *pnsNew = new CNetworkSession; - pnsNew->Copy(*itns); - _lhServers.AddTail(pnsNew->ns_lnNode); - } + CNetworkSession *pnsNew = new CNetworkSession; + pnsNew->Copy(*itns); + _lhServers.AddTail(pnsNew->ns_lnNode); + } } - _lhServers.Sort(CompareSessions, offsetof(CNetworkSession, ns_lnNode)); + _lhServers.Sort(CompareSessions, offsetof(CNetworkSession, ns_lnNode)); } void CMGServerList::Render(CDrawPort *pdp) { - _iSort = mg_iSort; - _bSortDown = mg_bSortDown; - SortAndFilterServers(); + _iSort = mg_iSort; + _bSortDown = mg_bSortDown; + SortAndFilterServers(); - SetFontSmall(pdp); - BOOL bFocusedBefore = mg_bFocused; - mg_bFocused = FALSE; + SetFontSmall(pdp); + BOOL bFocusedBefore = mg_bFocused; + mg_bFocused = FALSE; - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - COLOR col = GetCurrentColor(); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + COLOR col = GetCurrentColor(); - PIX pixDPSizeI = pdp->GetWidth(); - PIX pixDPSizeJ = pdp->GetHeight(); - PIX pixCharSizeI = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; - PIX pixCharSizeJ = pdp->dp_pixTextLineSpacing + pdp->dp_FontData->fd_pixCharHeight + 1; - PIX pixLineSize = 1; - PIX pixSliderSizeI = 10; - PIX pixOuterMargin = 20; + PIX pixDPSizeI = pdp->GetWidth(); + PIX pixDPSizeJ = pdp->GetHeight(); + PIX pixCharSizeI = pdp->dp_pixTextCharSpacing + pdp->dp_FontData->fd_pixCharWidth; + PIX pixCharSizeJ = pdp->dp_pixTextLineSpacing + pdp->dp_FontData->fd_pixCharHeight + 1; + PIX pixLineSize = 1; + PIX pixSliderSizeI = 10; + PIX pixOuterMargin = 20; - INDEX ctSessions = _lhServers.Count(); - INDEX iSession = 0; + INDEX ctSessions = _lhServers.Count(); + INDEX iSession = 0; - INDEX ctColumns[7]; - {for (INDEX i = 0; iDrawLine(apixSeparatorI[i], pixTopJ, apixSeparatorI[i], pixBottomJ, col | CT_OPAQUE); - } - pdp->DrawLine(apixSeparatorI[0], pixTopJ, apixSeparatorI[8], pixTopJ, col | CT_OPAQUE); - pdp->DrawLine(apixSeparatorI[0], pixListTopJ - pixLineSize, apixSeparatorI[8], pixListTopJ - pixLineSize, col | CT_OPAQUE); - pdp->DrawLine(apixSeparatorI[0], pixBottomJ, apixSeparatorI[8], pixBottomJ, col | CT_OPAQUE); + for (INDEX i = 0; iDrawLine(apixSeparatorI[i], pixTopJ, apixSeparatorI[i], pixBottomJ, col | CT_OPAQUE); + } + pdp->DrawLine(apixSeparatorI[0], pixTopJ, apixSeparatorI[8], pixTopJ, col | CT_OPAQUE); + pdp->DrawLine(apixSeparatorI[0], pixListTopJ - pixLineSize, apixSeparatorI[8], pixListTopJ - pixLineSize, col | CT_OPAQUE); + pdp->DrawLine(apixSeparatorI[0], pixBottomJ, apixSeparatorI[8], pixBottomJ, col | CT_OPAQUE); - PIXaabbox2D boxHandle = GetScrollBarHandleBox(); - pdp->Fill(boxHandle.Min()(1) + 2, boxHandle.Min()(2) + 2, boxHandle.Size()(1) - 3, boxHandle.Size()(2) - 3, col | CT_OPAQUE); + PIXaabbox2D boxHandle = GetScrollBarHandleBox(); + pdp->Fill(boxHandle.Min()(1) + 2, boxHandle.Min()(2) + 2, boxHandle.Size()(1) - 3, boxHandle.Size()(2) - 3, col | CT_OPAQUE); - PIX pixJ = pixTopJ + pixLineSize * 2 + 1; + PIX pixJ = pixTopJ + pixLineSize * 2 + 1; - mg_ctOnScreen = ctSessionsOnScreen; - AdjustFirstOnScreen(); + mg_ctOnScreen = ctSessionsOnScreen; + AdjustFirstOnScreen(); - if (_lhServers.Count() == 0) { - if (_pNetwork->ga_strEnumerationStatus != "") { - mg_bFocused = TRUE; - COLOR colItem = GetCurrentColor(); - PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI, pixListTopJ + pixCharSizeJ + pixLineSize + 1, apixSeparatorI[1] - apixSeparatorI[0], - TRANS("searching..."), colItem); - } - } else { - FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - CNetworkSession &ns = *itns; + if (_lhServers.Count() == 0) { + if (_pNetwork->ga_strEnumerationStatus != "") { + mg_bFocused = TRUE; + COLOR colItem = GetCurrentColor(); + PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI, pixListTopJ + pixCharSizeJ + pixLineSize + 1, apixSeparatorI[1] - apixSeparatorI[0], + TRANS("searching..."), colItem); + } + } else { + FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + CNetworkSession &ns = *itns; - if (iSession= mg_iFirstOnScreen + ctSessionsOnScreen) { - iSession++; - continue; - } + if (iSession= mg_iFirstOnScreen + ctSessionsOnScreen) { + iSession++; + continue; + } - PIX pixJ = pixListTopJ + (iSession - mg_iFirstOnScreen)*pixCharSizeJ + pixLineSize + 1; + PIX pixJ = pixListTopJ + (iSession - mg_iFirstOnScreen)*pixCharSizeJ + pixLineSize + 1; - mg_bFocused = bFocusedBefore&&iSession == mg_iSelected; - COLOR colItem = GetCurrentColor(); + mg_bFocused = bFocusedBefore&&iSession == mg_iSelected; + COLOR colItem = GetCurrentColor(); - if (ns.ns_strVer != _SE_VER_STRING) { - colItem = MulColors(colItem, 0xA0A0A0FF); - } + if (ns.ns_strVer != _SE_VER_STRING) { + colItem = MulColors(colItem, 0xA0A0A0FF); + } - CTString strPing(0, "%4d", INDEX(ns.ns_tmPing * 1000)); - CTString strPlayersCt(0, "%2d/%2d", ns.ns_ctPlayers, ns.ns_ctMaxPlayers); - CTString strMod = ns.ns_strMod; - if (strMod == "") { - strMod = "SeriousSam"; - } - PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI / 2, pixJ, apixSeparatorI[1] - apixSeparatorI[0] - pixCharSizeI, ns.ns_strSession, colItem); - PrintInBox(pdp, apixSeparatorI[1] + pixCharSizeI / 2, pixJ, apixSeparatorI[2] - apixSeparatorI[1] - pixCharSizeI, TranslateConst(ns.ns_strWorld), colItem); - PrintInBox(pdp, apixSeparatorI[2] + pixCharSizeI / 2, pixJ, apixSeparatorI[3] - apixSeparatorI[2] - pixCharSizeI, strPing, colItem); - PrintInBox(pdp, apixSeparatorI[3] + pixCharSizeI / 2, pixJ, apixSeparatorI[4] - apixSeparatorI[3] - pixCharSizeI, strPlayersCt, colItem); - PrintInBox(pdp, apixSeparatorI[4] + pixCharSizeI / 2, pixJ, apixSeparatorI[5] - apixSeparatorI[4] - pixCharSizeI, TranslateConst(ns.ns_strGameType), colItem); - PrintInBox(pdp, apixSeparatorI[5] + pixCharSizeI / 2, pixJ, apixSeparatorI[6] - apixSeparatorI[5] - pixCharSizeI, TranslateConst(strMod), colItem); - PrintInBox(pdp, apixSeparatorI[6] + pixCharSizeI / 2, pixJ, apixSeparatorI[7] - apixSeparatorI[6] - pixCharSizeI, ns.ns_strVer, colItem); + CTString strPing(0, "%4d", INDEX(ns.ns_tmPing * 1000)); + CTString strPlayersCt(0, "%2d/%2d", ns.ns_ctPlayers, ns.ns_ctMaxPlayers); + CTString strMod = ns.ns_strMod; + if (strMod == "") { + strMod = "SeriousSam"; + } + PrintInBox(pdp, apixSeparatorI[0] + pixCharSizeI / 2, pixJ, apixSeparatorI[1] - apixSeparatorI[0] - pixCharSizeI, ns.ns_strSession, colItem); + PrintInBox(pdp, apixSeparatorI[1] + pixCharSizeI / 2, pixJ, apixSeparatorI[2] - apixSeparatorI[1] - pixCharSizeI, TranslateConst(ns.ns_strWorld), colItem); + PrintInBox(pdp, apixSeparatorI[2] + pixCharSizeI / 2, pixJ, apixSeparatorI[3] - apixSeparatorI[2] - pixCharSizeI, strPing, colItem); + PrintInBox(pdp, apixSeparatorI[3] + pixCharSizeI / 2, pixJ, apixSeparatorI[4] - apixSeparatorI[3] - pixCharSizeI, strPlayersCt, colItem); + PrintInBox(pdp, apixSeparatorI[4] + pixCharSizeI / 2, pixJ, apixSeparatorI[5] - apixSeparatorI[4] - pixCharSizeI, TranslateConst(ns.ns_strGameType), colItem); + PrintInBox(pdp, apixSeparatorI[5] + pixCharSizeI / 2, pixJ, apixSeparatorI[6] - apixSeparatorI[5] - pixCharSizeI, TranslateConst(strMod), colItem); + PrintInBox(pdp, apixSeparatorI[6] + pixCharSizeI / 2, pixJ, apixSeparatorI[7] - apixSeparatorI[6] - pixCharSizeI, ns.ns_strVer, colItem); - iSession++; - } - } + iSession++; + } + } - mg_bFocused = bFocusedBefore; + mg_bFocused = bFocusedBefore; } static INDEX SliderPixToIndex(PIX pixOffset, INDEX iVisible, INDEX iTotal, PIXaabbox2D boxFull) { - FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); - PIX pixFull = boxFull.Size()(2); - PIX pixSize = PIX(pixFull*fSize); - if (pixSize >= boxFull.Size()(2)) { - return 0; - } - return (iTotal*pixOffset) / pixFull; + FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); + PIX pixFull = boxFull.Size()(2); + PIX pixSize = PIX(pixFull*fSize); + if (pixSize >= boxFull.Size()(2)) { + return 0; + } + return (iTotal*pixOffset) / pixFull; } static PIXaabbox2D GetSliderBox(INDEX iFirst, INDEX iVisible, INDEX iTotal, - PIXaabbox2D boxFull) + PIXaabbox2D boxFull) { - if (iTotal <= 0) { - return boxFull; - } - FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); - PIX pixFull = boxFull.Size()(2); - PIX pixSize = PIX(pixFull*fSize); - pixSize = ClampDn(pixSize, boxFull.Size()(1)); - PIX pixTop = pixFull*(FLOAT(iFirst) / iTotal) + boxFull.Min()(2); - PIX pixI0 = boxFull.Min()(1); - PIX pixI1 = boxFull.Max()(1); - return PIXaabbox2D(PIX2D(pixI0, pixTop), PIX2D(pixI1, pixTop + pixSize)); + if (iTotal <= 0) { + return boxFull; + } + FLOAT fSize = ClampUp(FLOAT(iVisible) / iTotal, 1.0f); + PIX pixFull = boxFull.Size()(2); + PIX pixSize = PIX(pixFull*fSize); + pixSize = ClampDn(pixSize, boxFull.Size()(1)); + PIX pixTop = pixFull*(FLOAT(iFirst) / iTotal) + boxFull.Min()(2); + PIX pixI0 = boxFull.Min()(1); + PIX pixI1 = boxFull.Max()(1); + return PIXaabbox2D(PIX2D(pixI0, pixTop), PIX2D(pixI1, pixTop + pixSize)); } PIXaabbox2D CMGServerList::GetScrollBarFullBox(void) { - return PIXaabbox2D(PIX2D(mg_pixSBMinI, mg_pixSBMinJ), PIX2D(mg_pixSBMaxI, mg_pixSBMaxJ)); + return PIXaabbox2D(PIX2D(mg_pixSBMinI, mg_pixSBMinJ), PIX2D(mg_pixSBMaxI, mg_pixSBMaxJ)); } PIXaabbox2D CMGServerList::GetScrollBarHandleBox(void) { - return GetSliderBox(mg_iFirstOnScreen, mg_ctOnScreen, _lhServers.Count(), GetScrollBarFullBox()); + return GetSliderBox(mg_iFirstOnScreen, mg_ctOnScreen, _lhServers.Count(), GetScrollBarFullBox()); } void CMGServerList::OnMouseOver(PIX pixI, PIX pixJ) { - mg_pixMouseI = pixI; - mg_pixMouseJ = pixJ; + mg_pixMouseI = pixI; + mg_pixMouseJ = pixJ; - if (!(GetKeyState(VK_LBUTTON) & 0x8000)) { - mg_pixDragJ = -1; - } + if (!(GetKeyState(VK_LBUTTON) & 0x8000)) { + mg_pixDragJ = -1; + } - BOOL bInSlider = (pixI >= mg_pixSBMinI && pixI <= mg_pixSBMaxI && pixJ >= mg_pixSBMinJ && pixJ <= mg_pixSBMaxJ); - if (mg_pixDragJ >= 0 && bInSlider) { - PIX pixDelta = pixJ - mg_pixDragJ; - INDEX ctSessions = _lhServers.Count(); - INDEX iWantedLine = mg_iDragLine + - SliderPixToIndex(pixDelta, mg_ctOnScreen, ctSessions, GetScrollBarFullBox()); - mg_iFirstOnScreen = Clamp(iWantedLine, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); - mg_iSelected = Clamp(mg_iSelected, mg_iFirstOnScreen, mg_iFirstOnScreen + mg_ctOnScreen - 1L); - // AdjustFirstOnScreen(); - return; - } + BOOL bInSlider = (pixI >= mg_pixSBMinI && pixI <= mg_pixSBMaxI && pixJ >= mg_pixSBMinJ && pixJ <= mg_pixSBMaxJ); + if (mg_pixDragJ >= 0 && bInSlider) { + PIX pixDelta = pixJ - mg_pixDragJ; + INDEX ctSessions = _lhServers.Count(); + INDEX iWantedLine = mg_iDragLine + + SliderPixToIndex(pixDelta, mg_ctOnScreen, ctSessions, GetScrollBarFullBox()); + mg_iFirstOnScreen = Clamp(iWantedLine, 0L, ClampDn(ctSessions - mg_ctOnScreen, 0L)); + mg_iSelected = Clamp(mg_iSelected, mg_iFirstOnScreen, mg_iFirstOnScreen + mg_ctOnScreen - 1L); + // AdjustFirstOnScreen(); + return; + } - // if some server is selected - if (pixI >= mg_pixMinI && pixI <= mg_pixMaxI) { - INDEX iOnScreen = (pixJ - mg_pixListMinJ) / mg_pixListStepJ; - if (iOnScreen >= 0 && iOnScreen= mg_pixMinI && pixI <= mg_pixMaxI) { + INDEX iOnScreen = (pixJ - mg_pixListMinJ) / mg_pixListStepJ; + if (iOnScreen >= 0 && iOnScreen=mg_pixHeaderMinJ && mg_pixMouseJ<=mg_pixHeaderMidJ - && mg_pixMouseI>=mg_pixHeaderI[0] && mg_pixMouseI<=mg_pixHeaderI[7]) { - INDEX iNewSort = mg_iSort; - if (mg_pixMouseI<=mg_pixHeaderI[1]) { - iNewSort = 0; - } else if (mg_pixMouseI<=mg_pixHeaderI[2]) { - iNewSort = 1; - } else if (mg_pixMouseI<=mg_pixHeaderI[3]) { - iNewSort = 2; - } else if (mg_pixMouseI<=mg_pixHeaderI[4]) { - iNewSort = 3; - } else if (mg_pixMouseI<=mg_pixHeaderI[5]) { - iNewSort = 4; - } else if (mg_pixMouseI<=mg_pixHeaderI[6]) { - iNewSort = 5; - } else if (mg_pixMouseI<=mg_pixHeaderI[7]) { - iNewSort = 6; - } - if (iNewSort==mg_iSort) { - mg_bSortDown = !mg_bSortDown; - } else { - mg_bSortDown = FALSE; - } - mg_iSort = iNewSort; - break; - } else */if (mg_pixMouseDrag >= 0) { - mg_pixDragJ = mg_pixMouseDrag; - mg_iDragLine = mg_iFirstOnScreen; - break; - } - case VK_RETURN: - PlayMenuSound(_psdPress); - IFeel_PlayEffect("Menu_press"); - {INDEX i = 0; - FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { - if (i == mg_iSelected) { + switch (iVKey) { + case VK_UP: + mg_iSelected -= 1; + AdjustFirstOnScreen(); + break; + case VK_DOWN: + mg_iSelected += 1; + AdjustFirstOnScreen(); + break; + case VK_PRIOR: + mg_iSelected -= mg_ctOnScreen - 1; + mg_iFirstOnScreen -= mg_ctOnScreen - 1; + AdjustFirstOnScreen(); + break; + case VK_NEXT: + mg_iSelected += mg_ctOnScreen - 1; + mg_iFirstOnScreen += mg_ctOnScreen - 1; + AdjustFirstOnScreen(); + break; + case 11: + mg_iSelected -= 3; + mg_iFirstOnScreen -= 3; + AdjustFirstOnScreen(); + break; + case 10: + mg_iSelected += 3; + mg_iFirstOnScreen += 3; + AdjustFirstOnScreen(); + break; + case VK_LBUTTON: + /* if (mg_pixMouseJ>=mg_pixHeaderMinJ && mg_pixMouseJ<=mg_pixHeaderMidJ + && mg_pixMouseI>=mg_pixHeaderI[0] && mg_pixMouseI<=mg_pixHeaderI[7]) { + INDEX iNewSort = mg_iSort; + if (mg_pixMouseI<=mg_pixHeaderI[1]) { + iNewSort = 0; + } else if (mg_pixMouseI<=mg_pixHeaderI[2]) { + iNewSort = 1; + } else if (mg_pixMouseI<=mg_pixHeaderI[3]) { + iNewSort = 2; + } else if (mg_pixMouseI<=mg_pixHeaderI[4]) { + iNewSort = 3; + } else if (mg_pixMouseI<=mg_pixHeaderI[5]) { + iNewSort = 4; + } else if (mg_pixMouseI<=mg_pixHeaderI[6]) { + iNewSort = 5; + } else if (mg_pixMouseI<=mg_pixHeaderI[7]) { + iNewSort = 6; + } + if (iNewSort==mg_iSort) { + mg_bSortDown = !mg_bSortDown; + } else { + mg_bSortDown = FALSE; + } + mg_iSort = iNewSort; + break; + } else */if (mg_pixMouseDrag >= 0) { + mg_pixDragJ = mg_pixMouseDrag; + mg_iDragLine = mg_iFirstOnScreen; + break; + } + case VK_RETURN: + PlayMenuSound(_psdPress); + IFeel_PlayEffect("Menu_press"); + {INDEX i = 0; + FOREACHINLIST(CNetworkSession, ns_lnNode, _lhServers, itns) { + if (i == mg_iSelected) { - char strAddress[256]; - int iPort; - itns->ns_strAddress.ScanF("%200[^:]:%d", &strAddress, &iPort); - _pGame->gam_strJoinAddress = strAddress; - _pShell->SetINDEX("net_iPort", iPort); - extern void StartSelectPlayersMenuFromServers(void); - StartSelectPlayersMenuFromServers(); - return TRUE; - } - i++; - }} - break; - default: - return FALSE; - } - return TRUE; + char strAddress[256]; + int iPort; + itns->ns_strAddress.ScanF("%200[^:]:%d", &strAddress, &iPort); + _pGame->gam_strJoinAddress = strAddress; + _pShell->SetINDEX("net_iPort", iPort); + extern void StartSelectPlayersMenuFromServers(void); + StartSelectPlayersMenuFromServers(); + return TRUE; + } + i++; + }} + break; + default: + return FALSE; + } + return TRUE; } void CMGServerList::OnSetFocus(void) { - mg_bFocused = TRUE; + mg_bFocused = TRUE; } void CMGServerList::OnKillFocus(void) { - mg_bFocused = FALSE; + mg_bFocused = FALSE; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index 275aa19..105b61f 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -25,101 +25,101 @@ extern INDEX sam_bWideScreen; CMGSlider::CMGSlider() { - mg_iMinPos = 0; - mg_iMaxPos = 16; - mg_iCurPos = 8; - mg_pOnSliderChange = NULL; - mg_fFactor = 1.0f; + mg_iMinPos = 0; + mg_iMaxPos = 16; + mg_iCurPos = 8; + mg_pOnSliderChange = NULL; + mg_fFactor = 1.0f; } void CMGSlider::ApplyCurrentPosition(void) { - mg_iCurPos = Clamp(mg_iCurPos, mg_iMinPos, mg_iMaxPos); - FLOAT fStretch = FLOAT(mg_iCurPos) / (mg_iMaxPos - mg_iMinPos); - mg_fFactor = fStretch; + mg_iCurPos = Clamp(mg_iCurPos, mg_iMinPos, mg_iMaxPos); + FLOAT fStretch = FLOAT(mg_iCurPos) / (mg_iMaxPos - mg_iMinPos); + mg_fFactor = fStretch; - if (mg_pOnSliderChange != NULL) { - mg_pOnSliderChange(mg_iCurPos); - } + if (mg_pOnSliderChange != NULL) { + mg_pOnSliderChange(mg_iCurPos); + } } void CMGSlider::ApplyGivenPosition(INDEX iMin, INDEX iMax, INDEX iCur) { - mg_iMinPos = iMin; - mg_iMaxPos = iMax; - mg_iCurPos = iCur; - ApplyCurrentPosition(); + mg_iMinPos = iMin; + mg_iMaxPos = iMax; + mg_iCurPos = iCur; + ApplyCurrentPosition(); } BOOL CMGSlider::OnKeyDown(int iVKey) { - // if scrolling left - if ((iVKey == VK_BACK || iVKey == VK_LEFT) && mg_iCurPos>mg_iMinPos) { - mg_iCurPos--; - ApplyCurrentPosition(); - return TRUE; - // if scrolling right - } else if ((iVKey == VK_RETURN || iVKey == VK_RIGHT) && mg_iCurPos= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { - // set new position exactly where mouse pointer is - FLOAT fRatio = FLOAT(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1); - fRatio = (fRatio - 0.01f) / (0.99f - 0.01f); - fRatio = Clamp(fRatio, 0.0f, 1.0f); - mg_iCurPos = fRatio*(mg_iMaxPos - mg_iMinPos) + mg_iMinPos; - ApplyCurrentPosition(); - return TRUE; - } - } - return CMenuGadget::OnKeyDown(iVKey); + // if scrolling left + if ((iVKey == VK_BACK || iVKey == VK_LEFT) && mg_iCurPos>mg_iMinPos) { + mg_iCurPos--; + ApplyCurrentPosition(); + return TRUE; + // if scrolling right + } else if ((iVKey == VK_RETURN || iVKey == VK_RIGHT) && mg_iCurPos= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { + // set new position exactly where mouse pointer is + FLOAT fRatio = FLOAT(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1); + fRatio = (fRatio - 0.01f) / (0.99f - 0.01f); + fRatio = Clamp(fRatio, 0.0f, 1.0f); + mg_iCurPos = fRatio*(mg_iMaxPos - mg_iMinPos) + mg_iMinPos; + ApplyCurrentPosition(); + return TRUE; + } + } + return CMenuGadget::OnKeyDown(iVKey); } PIXaabbox2D CMGSlider::GetSliderBox(void) { - extern CDrawPort *pdp; - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixJSize = box.Size()(2)*0.95f; - PIX pixISizeR = box.Size()(1)*0.45f; - if (sam_bWideScreen) pixJSize++; - return PIXaabbox2D(PIX2D(pixIR + 1, pixJ + 1), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)); + extern CDrawPort *pdp; + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixJSize = box.Size()(2)*0.95f; + PIX pixISizeR = box.Size()(1)*0.45f; + if (sam_bWideScreen) pixJSize++; + return PIXaabbox2D(PIX2D(pixIR + 1, pixJ + 1), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)); } void CMGSlider::Render(CDrawPort *pdp) { - SetFontMedium(pdp); + SetFontMedium(pdp); - // get geometry - COLOR col = GetCurrentColor(); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixJSize = box.Size()(2)*0.95f; - PIX pixISizeR = box.Size()(1)*0.45f; - if (sam_bWideScreen) pixJSize++; + // get geometry + COLOR col = GetCurrentColor(); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixJSize = box.Size()(2)*0.95f; + PIX pixISizeR = box.Size()(1)*0.45f; + if (sam_bWideScreen) pixJSize++; - // print text left of slider - pdp->PutTextR(mg_strText, pixIL, pixJ, col); + // print text left of slider + pdp->PutTextR(mg_strText, pixIL, pixJ, col); - // draw box around slider - LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR + 1, pixJ), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)), - LCDGetColor(C_GREEN | 255, "slider box")); + // draw box around slider + LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR + 1, pixJ), PIX2D(pixIR + pixISizeR - 2, pixJ + pixJSize - 2)), + LCDGetColor(C_GREEN | 255, "slider box")); - // draw filled part of slider - pdp->Fill(pixIR + 2, pixJ + 1, (pixISizeR - 5)*mg_fFactor, (pixJSize - 4), col); + // draw filled part of slider + pdp->Fill(pixIR + 2, pixJ + 1, (pixISizeR - 5)*mg_fFactor, (pixJSize - 4), col); - // print percentage text - CTString strPercentage; - strPercentage.PrintF("%d%%", (int)floor(mg_fFactor * 100 + 0.5f)); - pdp->PutTextC(strPercentage, pixIR + pixISizeR / 2, pixJ + 1, col); + // print percentage text + CTString strPercentage; + strPercentage.PrintF("%d%%", (int)floor(mg_fFactor * 100 + 0.5f)); + pdp->PutTextC(strPercentage, pixIR + pixISizeR / 2, pixJ + 1, col); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.cpp b/Sources/SeriousSam/GUI/Components/MGTitle.cpp index c5d7098..f432500 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTitle.cpp @@ -21,11 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc., void CMGTitle::Render(CDrawPort *pdp) { - SetFontTitle(pdp); + SetFontTitle(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixI = box.Center()(1); - PIX pixJ = box.Min()(2); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixI = box.Center()(1); + PIX pixJ = box.Min()(2); - pdp->PutTextC(mg_strText, pixI, pixJ, LCDGetColor(C_WHITE | CT_OPAQUE, "title")); + pdp->PutTextC(mg_strText, pixI, pixJ, LCDGetColor(C_WHITE | CT_OPAQUE, "title")); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index 1e275dd..4903518 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -21,101 +21,101 @@ with this program; if not, write to the Free Software Foundation, Inc., INDEX GetNewLoopValue(int iVKey, INDEX iCurrent, INDEX ctMembers) { - INDEX iPrev = (iCurrent + ctMembers - 1) % ctMembers; - INDEX iNext = (iCurrent + 1) % ctMembers; - // return and right arrow set new text - if (iVKey == VK_RETURN || iVKey == VK_LBUTTON || iVKey == VK_RIGHT) - { - return iNext; - // left arrow and backspace sets prev text - } else if ((iVKey == VK_BACK || iVKey == VK_RBUTTON) || (iVKey == VK_LEFT)) { - return iPrev; - } - return iCurrent; + INDEX iPrev = (iCurrent + ctMembers - 1) % ctMembers; + INDEX iNext = (iCurrent + 1) % ctMembers; + // return and right arrow set new text + if (iVKey == VK_RETURN || iVKey == VK_LBUTTON || iVKey == VK_RIGHT) + { + return iNext; + // left arrow and backspace sets prev text + } else if ((iVKey == VK_BACK || iVKey == VK_RBUTTON) || (iVKey == VK_LEFT)) { + return iPrev; + } + return iCurrent; } CMGTrigger::CMGTrigger(void) { - mg_pPreTriggerChange = NULL; - mg_pOnTriggerChange = NULL; - mg_iCenterI = 0; - mg_bVisual = FALSE; + mg_pPreTriggerChange = NULL; + mg_pOnTriggerChange = NULL; + mg_iCenterI = 0; + mg_bVisual = FALSE; } void CMGTrigger::ApplyCurrentSelection(void) { - mg_iSelected = Clamp(mg_iSelected, 0L, mg_ctTexts - 1L); - mg_strValue = mg_astrTexts[mg_iSelected]; + mg_iSelected = Clamp(mg_iSelected, 0L, mg_ctTexts - 1L); + mg_strValue = mg_astrTexts[mg_iSelected]; } void CMGTrigger::OnSetNextInList(int iVKey) { - if (mg_pPreTriggerChange != NULL) { - mg_pPreTriggerChange(mg_iSelected); - } + if (mg_pPreTriggerChange != NULL) { + mg_pPreTriggerChange(mg_iSelected); + } - mg_iSelected = GetNewLoopValue(iVKey, mg_iSelected, mg_ctTexts); - mg_strValue = mg_astrTexts[mg_iSelected]; + mg_iSelected = GetNewLoopValue(iVKey, mg_iSelected, mg_ctTexts); + mg_strValue = mg_astrTexts[mg_iSelected]; - if (mg_pOnTriggerChange != NULL) { - (*mg_pOnTriggerChange)(mg_iSelected); - } + if (mg_pOnTriggerChange != NULL) { + (*mg_pOnTriggerChange)(mg_iSelected); + } } BOOL CMGTrigger::OnKeyDown(int iVKey) { - if ((iVKey == VK_RETURN || iVKey == VK_LBUTTON) || - (iVKey == VK_LEFT) || - (iVKey == VK_BACK || iVKey == VK_RBUTTON) || - (iVKey == VK_RIGHT)) - { - // key is handled - if (mg_bEnabled) OnSetNextInList(iVKey); - return TRUE; - } - // key is not handled - return FALSE; + if ((iVKey == VK_RETURN || iVKey == VK_LBUTTON) || + (iVKey == VK_LEFT) || + (iVKey == VK_BACK || iVKey == VK_RBUTTON) || + (iVKey == VK_RIGHT)) + { + // key is handled + if (mg_bEnabled) OnSetNextInList(iVKey); + return TRUE; + } + // key is not handled + return FALSE; } void CMGTrigger::Render(CDrawPort *pdp) { - SetFontMedium(pdp); + SetFontMedium(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); - COLOR col = GetCurrentColor(); - if (!mg_bVisual || mg_strValue == "") { - CTString strValue = mg_strValue; - if (mg_bVisual) { - strValue = TRANS("none"); - } + COLOR col = GetCurrentColor(); + if (!mg_bVisual || mg_strValue == "") { + CTString strValue = mg_strValue; + if (mg_bVisual) { + strValue = TRANS("none"); + } - if (mg_iCenterI == -1) { - pdp->PutText(mg_strLabel, box.Min()(1), pixJ, col); - pdp->PutTextR(strValue, box.Max()(1), pixJ, col); - } else { - pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); - pdp->PutText(strValue, pixIR, pixJ, col); - } - } else { - CTString strLabel = mg_strLabel + ": "; - pdp->PutText(strLabel, box.Min()(1), pixJ, col); - CTextureObject to; - try { - to.SetData_t(mg_strValue); - CTextureData *ptd = (CTextureData *)to.GetData(); - PIX pixSize = box.Size()(2); - PIX pixCX = box.Max()(1) - pixSize / 2; - PIX pixCY = box.Center()(2); - pdp->PutTexture(&to, PIXaabbox2D( - PIX2D(pixCX - pixSize / 2, pixCY - pixSize / 2), - PIX2D(pixCX - pixSize / 2 + pixSize, pixCY - pixSize / 2 + pixSize)), C_WHITE | 255); - } catch (char *strError) { - CPrintF("%s\n", strError); - } - to.SetData(NULL); - } + if (mg_iCenterI == -1) { + pdp->PutText(mg_strLabel, box.Min()(1), pixJ, col); + pdp->PutTextR(strValue, box.Max()(1), pixJ, col); + } else { + pdp->PutTextR(mg_strLabel, pixIL, pixJ, col); + pdp->PutText(strValue, pixIR, pixJ, col); + } + } else { + CTString strLabel = mg_strLabel + ": "; + pdp->PutText(strLabel, box.Min()(1), pixJ, col); + CTextureObject to; + try { + to.SetData_t(mg_strValue); + CTextureData *ptd = (CTextureData *)to.GetData(); + PIX pixSize = box.Size()(2); + PIX pixCX = box.Max()(1) - pixSize / 2; + PIX pixCY = box.Center()(2); + pdp->PutTexture(&to, PIXaabbox2D( + PIX2D(pixCX - pixSize / 2, pixCY - pixSize / 2), + PIX2D(pixCX - pixSize / 2 + pixSize, pixCY - pixSize / 2 + pixSize)), C_WHITE | 255); + } catch (char *strError) { + CPrintF("%s\n", strError); + } + to.SetData(NULL); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index 970412a..a8fa59a 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -25,156 +25,156 @@ extern PIX _pixCursorPosJ; BOOL CMGVarButton::IsSeparator(void) { - if (mg_pvsVar == NULL) return FALSE; - return mg_pvsVar->vs_bSeparator; + if (mg_pvsVar == NULL) return FALSE; + return mg_pvsVar->vs_bSeparator; } BOOL CMGVarButton::IsEnabled(void) { - return(_gmRunningGameMode == GM_NONE - || mg_pvsVar == NULL - || mg_pvsVar->vs_bCanChangeInGame); + return(_gmRunningGameMode == GM_NONE + || mg_pvsVar == NULL + || mg_pvsVar->vs_bCanChangeInGame); } // return slider position on scren PIXaabbox2D CMGVarButton::GetSliderBox(void) { - extern CDrawPort *pdp; - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixJ = box.Min()(2); - PIX pixISize = box.Size()(1)*0.13f; - PIX pixJSize = box.Size()(2); - return PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)); + extern CDrawPort *pdp; + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixJ = box.Min()(2); + PIX pixISize = box.Size()(1)*0.13f; + PIX pixJSize = box.Size()(2); + return PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)); } extern BOOL _bVarChanged; BOOL CMGVarButton::OnKeyDown(int iVKey) { - if (mg_pvsVar == NULL || mg_pvsVar->vs_bSeparator || !mg_pvsVar->Validate() || !mg_bEnabled) { - return CMenuGadget::OnKeyDown(iVKey); - } + if (mg_pvsVar == NULL || mg_pvsVar->vs_bSeparator || !mg_pvsVar->Validate() || !mg_bEnabled) { + return CMenuGadget::OnKeyDown(iVKey); + } - // handle slider - if (mg_pvsVar->vs_iSlider && !mg_pvsVar->vs_bCustom) { - // ignore RMB - if (iVKey == VK_RBUTTON) return TRUE; - // handle LMB - if (iVKey == VK_LBUTTON) { - // get position of slider box on screen - PIXaabbox2D boxSlider = GetSliderBox(); - // if mouse is within - if (boxSlider >= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { - // set new position exactly where mouse pointer is - mg_pvsVar->vs_iValue = (FLOAT)(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1) * (mg_pvsVar->vs_ctValues); - _bVarChanged = TRUE; - } - // handled - return TRUE; - } - } + // handle slider + if (mg_pvsVar->vs_iSlider && !mg_pvsVar->vs_bCustom) { + // ignore RMB + if (iVKey == VK_RBUTTON) return TRUE; + // handle LMB + if (iVKey == VK_LBUTTON) { + // get position of slider box on screen + PIXaabbox2D boxSlider = GetSliderBox(); + // if mouse is within + if (boxSlider >= PIX2D(_pixCursorPosI, _pixCursorPosJ)) { + // set new position exactly where mouse pointer is + mg_pvsVar->vs_iValue = (FLOAT)(_pixCursorPosI - boxSlider.Min()(1)) / boxSlider.Size()(1) * (mg_pvsVar->vs_ctValues); + _bVarChanged = TRUE; + } + // handled + return TRUE; + } + } - if (iVKey == VK_RETURN) { - FlushVarSettings(TRUE); - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; - } + if (iVKey == VK_RETURN) { + FlushVarSettings(TRUE); + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; + } - if (iVKey == VK_LBUTTON || iVKey == VK_RIGHT) { - if (mg_pvsVar != NULL) { - INDEX iOldValue = mg_pvsVar->vs_iValue; - mg_pvsVar->vs_iValue++; - if (mg_pvsVar->vs_iValue >= mg_pvsVar->vs_ctValues) { - // wrap non-sliders, clamp sliders - if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; - else mg_pvsVar->vs_iValue = 0; - } - if (iOldValue != mg_pvsVar->vs_iValue) { - _bVarChanged = TRUE; - mg_pvsVar->vs_bCustom = FALSE; - mg_pvsVar->Validate(); - } - } - return TRUE; - } + if (iVKey == VK_LBUTTON || iVKey == VK_RIGHT) { + if (mg_pvsVar != NULL) { + INDEX iOldValue = mg_pvsVar->vs_iValue; + mg_pvsVar->vs_iValue++; + if (mg_pvsVar->vs_iValue >= mg_pvsVar->vs_ctValues) { + // wrap non-sliders, clamp sliders + if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; + else mg_pvsVar->vs_iValue = 0; + } + if (iOldValue != mg_pvsVar->vs_iValue) { + _bVarChanged = TRUE; + mg_pvsVar->vs_bCustom = FALSE; + mg_pvsVar->Validate(); + } + } + return TRUE; + } - if (iVKey == VK_LEFT || iVKey == VK_RBUTTON) { - if (mg_pvsVar != NULL) { - INDEX iOldValue = mg_pvsVar->vs_iValue; - mg_pvsVar->vs_iValue--; - if (mg_pvsVar->vs_iValue<0) { - // wrap non-sliders, clamp sliders - if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = 0; - else mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; - } - if (iOldValue != mg_pvsVar->vs_iValue) { - _bVarChanged = TRUE; - mg_pvsVar->vs_bCustom = FALSE; - mg_pvsVar->Validate(); - } - } - return TRUE; - } + if (iVKey == VK_LEFT || iVKey == VK_RBUTTON) { + if (mg_pvsVar != NULL) { + INDEX iOldValue = mg_pvsVar->vs_iValue; + mg_pvsVar->vs_iValue--; + if (mg_pvsVar->vs_iValue<0) { + // wrap non-sliders, clamp sliders + if (mg_pvsVar->vs_iSlider) mg_pvsVar->vs_iValue = 0; + else mg_pvsVar->vs_iValue = mg_pvsVar->vs_ctValues - 1L; + } + if (iOldValue != mg_pvsVar->vs_iValue) { + _bVarChanged = TRUE; + mg_pvsVar->vs_bCustom = FALSE; + mg_pvsVar->Validate(); + } + } + return TRUE; + } - // not handled - return CMenuGadget::OnKeyDown(iVKey); + // not handled + return CMenuGadget::OnKeyDown(iVKey); } void CMGVarButton::Render(CDrawPort *pdp) { - if (mg_pvsVar == NULL) { - return; - } + if (mg_pvsVar == NULL) { + return; + } - SetFontMedium(pdp); + SetFontMedium(pdp); - PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); - PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; - PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; - PIX pixIC = box.Center()(1); - PIX pixJ = box.Min()(2); + PIXaabbox2D box = FloatBoxToPixBox(pdp, mg_boxOnScreen); + PIX pixIL = box.Min()(1) + box.Size()(1)*0.45f; + PIX pixIR = box.Min()(1) + box.Size()(1)*0.55f; + PIX pixIC = box.Center()(1); + PIX pixJ = box.Min()(2); - if (mg_pvsVar->vs_bSeparator) - { - mg_bEnabled = FALSE; - COLOR col = LCDGetColor(C_WHITE | 255, "separator"); - CTString strText = mg_pvsVar->vs_strName; - pdp->PutTextC(strText, pixIC, pixJ, col); - } else if (mg_pvsVar->Validate()) { - // check whether the variable is disabled - if (mg_pvsVar->vs_strFilter != "") mg_bEnabled = _pShell->GetINDEX(mg_pvsVar->vs_strFilter); - COLOR col = GetCurrentColor(); - pdp->PutTextR(mg_pvsVar->vs_strName, pixIL, pixJ, col); - // custom is by default - CTString strText = TRANS("Custom"); - if (!mg_pvsVar->vs_bCustom) - { // not custom! - strText = mg_pvsVar->vs_astrTexts[mg_pvsVar->vs_iValue]; - // need slider? - if (mg_pvsVar->vs_iSlider>0) { - // draw box around slider - PIX pixISize = box.Size()(1)*0.13f; - PIX pixJSize = box.Size()(2); - LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)), - LCDGetColor(C_GREEN | 255, "slider box")); + if (mg_pvsVar->vs_bSeparator) + { + mg_bEnabled = FALSE; + COLOR col = LCDGetColor(C_WHITE | 255, "separator"); + CTString strText = mg_pvsVar->vs_strName; + pdp->PutTextC(strText, pixIC, pixJ, col); + } else if (mg_pvsVar->Validate()) { + // check whether the variable is disabled + if (mg_pvsVar->vs_strFilter != "") mg_bEnabled = _pShell->GetINDEX(mg_pvsVar->vs_strFilter); + COLOR col = GetCurrentColor(); + pdp->PutTextR(mg_pvsVar->vs_strName, pixIL, pixJ, col); + // custom is by default + CTString strText = TRANS("Custom"); + if (!mg_pvsVar->vs_bCustom) + { // not custom! + strText = mg_pvsVar->vs_astrTexts[mg_pvsVar->vs_iValue]; + // need slider? + if (mg_pvsVar->vs_iSlider>0) { + // draw box around slider + PIX pixISize = box.Size()(1)*0.13f; + PIX pixJSize = box.Size()(2); + LCDDrawBox(0, -1, PIXaabbox2D(PIX2D(pixIR, pixJ + 1), PIX2D(pixIR + pixISize - 4, pixJ + pixJSize - 6)), + LCDGetColor(C_GREEN | 255, "slider box")); - // draw filled part of slider - if (mg_pvsVar->vs_iSlider == 1) { - // fill slider - FLOAT fFactor = (FLOAT)(mg_pvsVar->vs_iValue + 1) / mg_pvsVar->vs_ctValues; - pdp->Fill(pixIR + 1, pixJ + 2, (pixISize - 6)*fFactor, pixJSize - 9, col); - } else { - // ratio slider - ASSERT(mg_pvsVar->vs_iSlider == 2); - FLOAT fUnitWidth = (FLOAT)(pixISize - 5) / mg_pvsVar->vs_ctValues; - pdp->Fill(pixIR + 1 + (mg_pvsVar->vs_iValue*fUnitWidth), pixJ + 2, fUnitWidth, pixJSize - 9, col); - } - // move text printout to the right of slider - pixIR += box.Size()(1)*0.15f; - } - } - // write right text - pdp->PutText(strText, pixIR, pixJ, col); - } + // draw filled part of slider + if (mg_pvsVar->vs_iSlider == 1) { + // fill slider + FLOAT fFactor = (FLOAT)(mg_pvsVar->vs_iValue + 1) / mg_pvsVar->vs_ctValues; + pdp->Fill(pixIR + 1, pixJ + 2, (pixISize - 6)*fFactor, pixJSize - 9, col); + } else { + // ratio slider + ASSERT(mg_pvsVar->vs_iSlider == 2); + FLOAT fUnitWidth = (FLOAT)(pixISize - 5) / mg_pvsVar->vs_ctValues; + pdp->Fill(pixIR + 1 + (mg_pvsVar->vs_iValue*fUnitWidth), pixJ + 2, fUnitWidth, pixJSize - 9, col); + } + // move text printout to the right of slider + pixIR += box.Size()(1)*0.15f; + } + } + // write right text + pdp->PutText(strText, pixIR, pixJ, col); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp index 36a1f2c..929ba17 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp @@ -29,69 +29,69 @@ extern CMenuGadget *_pmgLastActivatedGadget = NULL; CMenuGadget::CMenuGadget(void) { - mg_pmgLeft = NULL; - mg_pmgRight = NULL; - mg_pmgUp = NULL; - mg_pmgDown = NULL; + mg_pmgLeft = NULL; + mg_pmgRight = NULL; + mg_pmgUp = NULL; + mg_pmgDown = NULL; - mg_bVisible = TRUE; - mg_bEnabled = TRUE; - mg_bLabel = FALSE; - mg_bFocused = FALSE; - mg_iInList = -1; // not in list + mg_bVisible = TRUE; + mg_bEnabled = TRUE; + mg_bLabel = FALSE; + mg_bFocused = FALSE; + mg_iInList = -1; // not in list } void CMenuGadget::OnActivate(void) { - NOTHING; + NOTHING; } // return TRUE if handled BOOL CMenuGadget::OnKeyDown(int iVKey) { - // if return pressed - if (iVKey == VK_RETURN || iVKey == VK_LBUTTON) { - // activate - OnActivate(); - // key is handled - return TRUE; - } - // key is not handled - return FALSE; + // if return pressed + if (iVKey == VK_RETURN || iVKey == VK_LBUTTON) { + // activate + OnActivate(); + // key is handled + return TRUE; + } + // key is not handled + return FALSE; } BOOL CMenuGadget::OnChar(MSG msg) { - // key is not handled - return FALSE; + // key is not handled + return FALSE; } void CMenuGadget::OnSetFocus(void) { - mg_bFocused = TRUE; - if (!IsSeparator()) - { - PlayMenuSound(_psdSelect); - IFeel_PlayEffect("Menu_select"); - } + mg_bFocused = TRUE; + if (!IsSeparator()) + { + PlayMenuSound(_psdSelect); + IFeel_PlayEffect("Menu_select"); + } } void CMenuGadget::OnKillFocus(void) { - mg_bFocused = FALSE; + mg_bFocused = FALSE; } void CMenuGadget::Appear(void) { - mg_bVisible = TRUE; + mg_bVisible = TRUE; } void CMenuGadget::Disappear(void) { - mg_bVisible = FALSE; - mg_bFocused = FALSE; + mg_bVisible = FALSE; + mg_bFocused = FALSE; } void CMenuGadget::Think(void) @@ -105,30 +105,30 @@ void CMenuGadget::OnMouseOver(PIX pixI, PIX pixJ) // get current color for the gadget COLOR CMenuGadget::GetCurrentColor(void) { - // use normal colors - COLOR colUnselected = LCDGetColor(C_GREEN, "unselected"); - COLOR colSelected = LCDGetColor(C_WHITE, "selected"); - // if disabled - if (!mg_bEnabled) { - // use a bit darker colors - colUnselected = LCDGetColor(C_dGREEN, "disabled unselected"); - colSelected = LCDGetColor(C_GRAY, "disabled selected"); - // if label - if (mg_bLabel) { - // use white - colUnselected = colSelected = LCDGetColor(C_WHITE, "label"); - } - } - // use unselected color - COLOR colRet = colUnselected; - // if selected - if (mg_bFocused) { - // oscilate towards selected color - FLOAT tmNow = _pTimer->GetHighPrecisionTimer().GetSeconds(); - colRet = LerpColor((colUnselected >> 1) & 0x7F7F7F7F, colSelected, sin(tmNow*10.0f)*0.5f + 0.5f); - } + // use normal colors + COLOR colUnselected = LCDGetColor(C_GREEN, "unselected"); + COLOR colSelected = LCDGetColor(C_WHITE, "selected"); + // if disabled + if (!mg_bEnabled) { + // use a bit darker colors + colUnselected = LCDGetColor(C_dGREEN, "disabled unselected"); + colSelected = LCDGetColor(C_GRAY, "disabled selected"); + // if label + if (mg_bLabel) { + // use white + colUnselected = colSelected = LCDGetColor(C_WHITE, "label"); + } + } + // use unselected color + COLOR colRet = colUnselected; + // if selected + if (mg_bFocused) { + // oscilate towards selected color + FLOAT tmNow = _pTimer->GetHighPrecisionTimer().GetSeconds(); + colRet = LerpColor((colUnselected >> 1) & 0x7F7F7F7F, colSelected, sin(tmNow*10.0f)*0.5f + 0.5f); + } - return colRet | CT_OPAQUE; + return colRet | CT_OPAQUE; } void CMenuGadget::Render(CDrawPort *pdp) diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp index 320a703..91f8b72 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp @@ -20,16 +20,16 @@ with this program; if not, write to the Free Software Foundation, Inc., CGameMenu::CGameMenu(void) { - gm_pgmParentMenu = NULL; - gm_pmgSelectedByDefault = NULL; - gm_pmgArrowUp = NULL; - gm_pmgArrowDn = NULL; - gm_pmgListTop = NULL; - gm_pmgListBottom = NULL; - gm_iListOffset = 0; - gm_ctListVisible = 0; - gm_ctListTotal = 0; - gm_bPopup = FALSE; + gm_pgmParentMenu = NULL; + gm_pmgSelectedByDefault = NULL; + gm_pmgArrowUp = NULL; + gm_pmgArrowDn = NULL; + gm_pmgListTop = NULL; + gm_pmgListBottom = NULL; + gm_iListOffset = 0; + gm_ctListVisible = 0; + gm_ctListTotal = 0; + gm_bPopup = FALSE; } void CGameMenu::Initialize_t(void) @@ -42,15 +42,15 @@ void CGameMenu::Destroy(void) void CGameMenu::FillListItems(void) { - ASSERT(FALSE); // must be implemented to scroll up/down + ASSERT(FALSE); // must be implemented to scroll up/down } void CGameMenu::KillAllFocuses(void) { - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { - itmg->mg_bFocused = FALSE; - } + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { + itmg->mg_bFocused = FALSE; + } } void CGameMenu::Think(void) @@ -63,288 +63,288 @@ void CGameMenu::Think(void) // +-4 -> scrolling with mouse wheel void CGameMenu::ScrollList(INDEX iDir) { - // if not valid for scrolling - if (gm_ctListTotal <= 0 - || gm_pmgArrowUp == NULL || gm_pmgArrowDn == NULL - || gm_pmgListTop == NULL || gm_pmgListBottom == NULL) { - // do nothing - return; - } + // if not valid for scrolling + if (gm_ctListTotal <= 0 + || gm_pmgArrowUp == NULL || gm_pmgArrowDn == NULL + || gm_pmgListTop == NULL || gm_pmgListBottom == NULL) { + // do nothing + return; + } - INDEX iOldTopKey = gm_iListOffset; - // change offset - switch (iDir) { - case -1: - gm_iListOffset -= 1; - break; - case -4: - gm_iListOffset -= 3; - break; - case -2: - case -3: - gm_iListOffset -= gm_ctListVisible; - break; - case +1: - gm_iListOffset += 1; - break; - case +4: - gm_iListOffset += 3; - break; - case +2: - case +3: - gm_iListOffset += gm_ctListVisible; - break; - default: - ASSERT(FALSE); - return; - } - if (gm_ctListTotal <= gm_ctListVisible) { - gm_iListOffset = 0; - } - else { - gm_iListOffset = Clamp(gm_iListOffset, INDEX(0), INDEX(gm_ctListTotal - gm_ctListVisible)); - } + INDEX iOldTopKey = gm_iListOffset; + // change offset + switch (iDir) { + case -1: + gm_iListOffset -= 1; + break; + case -4: + gm_iListOffset -= 3; + break; + case -2: + case -3: + gm_iListOffset -= gm_ctListVisible; + break; + case +1: + gm_iListOffset += 1; + break; + case +4: + gm_iListOffset += 3; + break; + case +2: + case +3: + gm_iListOffset += gm_ctListVisible; + break; + default: + ASSERT(FALSE); + return; + } + if (gm_ctListTotal <= gm_ctListVisible) { + gm_iListOffset = 0; + } + else { + gm_iListOffset = Clamp(gm_iListOffset, INDEX(0), INDEX(gm_ctListTotal - gm_ctListVisible)); + } - // set new names - FillListItems(); + // set new names + FillListItems(); - // if scroling with wheel - if (iDir == +4 || iDir == -4) { - // no focus changing - return; - } + // if scroling with wheel + if (iDir == +4 || iDir == -4) { + // no focus changing + return; + } - // delete all focuses - FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - itmg->OnKillFocus(); - } + // delete all focuses + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + itmg->OnKillFocus(); + } - // set new focus - const INDEX iFirst = 0; - const INDEX iLast = gm_ctListVisible - 1; - switch (iDir) { - case +1: - gm_pmgListBottom->OnSetFocus(); - break; - case +2: - if (gm_iListOffset != iOldTopKey) { - gm_pmgListTop->OnSetFocus(); - } - else { - gm_pmgListBottom->OnSetFocus(); - } - break; - case +3: - gm_pmgArrowDn->OnSetFocus(); - break; - case -1: - gm_pmgListTop->OnSetFocus(); - break; - case -2: - gm_pmgListTop->OnSetFocus(); - break; - case -3: - gm_pmgArrowUp->OnSetFocus(); - break; - } + // set new focus + const INDEX iFirst = 0; + const INDEX iLast = gm_ctListVisible - 1; + switch (iDir) { + case +1: + gm_pmgListBottom->OnSetFocus(); + break; + case +2: + if (gm_iListOffset != iOldTopKey) { + gm_pmgListTop->OnSetFocus(); + } + else { + gm_pmgListBottom->OnSetFocus(); + } + break; + case +3: + gm_pmgArrowDn->OnSetFocus(); + break; + case -1: + gm_pmgListTop->OnSetFocus(); + break; + case -2: + gm_pmgListTop->OnSetFocus(); + break; + case -3: + gm_pmgArrowUp->OnSetFocus(); + break; + } } BOOL CGameMenu::OnChar(MSG msg) { - // find curently active gadget - CMenuGadget *pmgActive = NULL; - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - // if focused - if (itmg->mg_bFocused) { - // remember as active - pmgActive = &itmg.Current(); - } - } + // find curently active gadget + CMenuGadget *pmgActive = NULL; + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + // if focused + if (itmg->mg_bFocused) { + // remember as active + pmgActive = &itmg.Current(); + } + } - // if none focused - if (pmgActive == NULL) { - // do nothing - return FALSE; - } + // if none focused + if (pmgActive == NULL) { + // do nothing + return FALSE; + } - // if active gadget handles it - if (pmgActive->OnChar(msg)) { - // key is handled - return TRUE; - } + // if active gadget handles it + if (pmgActive->OnChar(msg)) { + // key is handled + return TRUE; + } - // key is not handled - return FALSE; + // key is not handled + return FALSE; } // return TRUE if handled BOOL CGameMenu::OnKeyDown(int iVKey) { - // find curently active gadget - CMenuGadget *pmgActive = NULL; - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { - // if focused - if (itmg->mg_bFocused) { - // remember as active - pmgActive = &itmg.Current(); - } - } + // find curently active gadget + CMenuGadget *pmgActive = NULL; + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, pgmCurrentMenu->gm_lhGadgets, itmg) { + // if focused + if (itmg->mg_bFocused) { + // remember as active + pmgActive = &itmg.Current(); + } + } - // if none focused - if (pmgActive == NULL) { - // do nothing - return FALSE; - } + // if none focused + if (pmgActive == NULL) { + // do nothing + return FALSE; + } - // if active gadget handles it - if (pmgActive->OnKeyDown(iVKey)) { - // key is handled - return TRUE; - } + // if active gadget handles it + if (pmgActive->OnKeyDown(iVKey)) { + // key is handled + return TRUE; + } - // process normal in menu movement - switch (iVKey) { - case VK_PRIOR: - ScrollList(-2); - return TRUE; - case VK_NEXT: - ScrollList(+2); - return TRUE; + // process normal in menu movement + switch (iVKey) { + case VK_PRIOR: + ScrollList(-2); + return TRUE; + case VK_NEXT: + ScrollList(+2); + return TRUE; - case 11: - ScrollList(-4); - return TRUE; - case 10: - ScrollList(+4); - return TRUE; + case 11: + ScrollList(-4); + return TRUE; + case 10: + ScrollList(+4); + return TRUE; - case VK_UP: - // if this is top button in list - if (pmgActive == gm_pmgListTop) { - // scroll list up - ScrollList(-1); - // key is handled - return TRUE; - } - // if we can go up - if (pmgActive->mg_pmgUp != NULL && pmgActive->mg_pmgUp->mg_bVisible) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - pmgActive = pmgActive->mg_pmgUp; - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_DOWN: - // if this is bottom button in list - if (pmgActive == gm_pmgListBottom) { - // scroll list down - ScrollList(+1); - // key is handled - return TRUE; - } - // if we can go down - if (pmgActive->mg_pmgDown != NULL && pmgActive->mg_pmgDown->mg_bVisible) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - pmgActive = pmgActive->mg_pmgDown; - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_LEFT: - // if we can go left - if (pmgActive->mg_pmgLeft != NULL) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - if (!pmgActive->mg_pmgLeft->mg_bVisible && gm_pmgSelectedByDefault != NULL) { - pmgActive = gm_pmgSelectedByDefault; - } - else { - pmgActive = pmgActive->mg_pmgLeft; - } - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - case VK_RIGHT: - // if we can go right - if (pmgActive->mg_pmgRight != NULL) { - // call lose focus to still active gadget and - pmgActive->OnKillFocus(); - // set focus to new one - if (!pmgActive->mg_pmgRight->mg_bVisible && gm_pmgSelectedByDefault != NULL) { - pmgActive = gm_pmgSelectedByDefault; - } - else { - pmgActive = pmgActive->mg_pmgRight; - } - pmgActive->OnSetFocus(); - // key is handled - return TRUE; - } - break; - } + case VK_UP: + // if this is top button in list + if (pmgActive == gm_pmgListTop) { + // scroll list up + ScrollList(-1); + // key is handled + return TRUE; + } + // if we can go up + if (pmgActive->mg_pmgUp != NULL && pmgActive->mg_pmgUp->mg_bVisible) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + pmgActive = pmgActive->mg_pmgUp; + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_DOWN: + // if this is bottom button in list + if (pmgActive == gm_pmgListBottom) { + // scroll list down + ScrollList(+1); + // key is handled + return TRUE; + } + // if we can go down + if (pmgActive->mg_pmgDown != NULL && pmgActive->mg_pmgDown->mg_bVisible) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + pmgActive = pmgActive->mg_pmgDown; + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_LEFT: + // if we can go left + if (pmgActive->mg_pmgLeft != NULL) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + if (!pmgActive->mg_pmgLeft->mg_bVisible && gm_pmgSelectedByDefault != NULL) { + pmgActive = gm_pmgSelectedByDefault; + } + else { + pmgActive = pmgActive->mg_pmgLeft; + } + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + case VK_RIGHT: + // if we can go right + if (pmgActive->mg_pmgRight != NULL) { + // call lose focus to still active gadget and + pmgActive->OnKillFocus(); + // set focus to new one + if (!pmgActive->mg_pmgRight->mg_bVisible && gm_pmgSelectedByDefault != NULL) { + pmgActive = gm_pmgSelectedByDefault; + } + else { + pmgActive = pmgActive->mg_pmgRight; + } + pmgActive->OnSetFocus(); + // key is handled + return TRUE; + } + break; + } - // key is not handled - return FALSE; + // key is not handled + return FALSE; } void CGameMenu::StartMenu(void) { - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) - { - itmg->mg_bFocused = FALSE; - // call appear - itmg->Appear(); - } + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) + { + itmg->mg_bFocused = FALSE; + // call appear + itmg->Appear(); + } - // if there is a list - if (gm_pmgListTop != NULL) { - // scroll it so that the wanted tem is centered - gm_iListOffset = gm_iListWantedItem - gm_ctListVisible / 2; - // clamp the scrolling - gm_iListOffset = Clamp(gm_iListOffset, 0L, Max(0L, gm_ctListTotal - gm_ctListVisible)); + // if there is a list + if (gm_pmgListTop != NULL) { + // scroll it so that the wanted tem is centered + gm_iListOffset = gm_iListWantedItem - gm_ctListVisible / 2; + // clamp the scrolling + gm_iListOffset = Clamp(gm_iListOffset, 0L, Max(0L, gm_ctListTotal - gm_ctListVisible)); - // fill the list - FillListItems(); + // fill the list + FillListItems(); - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { - // if in list, but disabled - if (itmg->mg_iInList == -2) { - // hide it - itmg->mg_bVisible = FALSE; - // if in list - } else if (itmg->mg_iInList >= 0) { - // show it - itmg->mg_bVisible = TRUE; - } - // if wanted - if (itmg->mg_iInList == gm_iListWantedItem) { - // focus it - itmg->OnSetFocus(); - gm_pmgSelectedByDefault = itmg; - } - } - } + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) { + // if in list, but disabled + if (itmg->mg_iInList == -2) { + // hide it + itmg->mg_bVisible = FALSE; + // if in list + } else if (itmg->mg_iInList >= 0) { + // show it + itmg->mg_bVisible = TRUE; + } + // if wanted + if (itmg->mg_iInList == gm_iListWantedItem) { + // focus it + itmg->OnSetFocus(); + gm_pmgSelectedByDefault = itmg; + } + } + } } void CGameMenu::EndMenu(void) { - // for each menu gadget in menu - FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) - { - // call disappear - itmg->Disappear(); - } + // for each menu gadget in menu + FOREACHINLIST(CMenuGadget, mg_lnNode, gm_lhGadgets, itmg) + { + // call disappear + itmg->Disappear(); + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp index e62316d..772ed57 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp @@ -23,55 +23,55 @@ extern void RefreshSoundFormat(void); void CAudioOptionsMenu::Initialize_t(void) { - // intialize Audio options menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("AUDIO"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize Audio options menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("AUDIO"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - TRIGGER_MG(gm_mgAudioAutoTrigger, 0, - gm_mgApply, gm_mgFrequencyTrigger, TRANS("AUTO-ADJUST"), astrNoYes); - gm_mgAudioAutoTrigger.mg_strTip = TRANS("adjust quality to fit your system"); + TRIGGER_MG(gm_mgAudioAutoTrigger, 0, + gm_mgApply, gm_mgFrequencyTrigger, TRANS("AUTO-ADJUST"), astrNoYes); + gm_mgAudioAutoTrigger.mg_strTip = TRANS("adjust quality to fit your system"); - TRIGGER_MG(gm_mgFrequencyTrigger, 1, - gm_mgAudioAutoTrigger, gm_mgAudioAPITrigger, TRANS("FREQUENCY"), astrFrequencyRadioTexts); - gm_mgFrequencyTrigger.mg_strTip = TRANS("select sound quality or turn sound off"); - gm_mgFrequencyTrigger.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgFrequencyTrigger, 1, + gm_mgAudioAutoTrigger, gm_mgAudioAPITrigger, TRANS("FREQUENCY"), astrFrequencyRadioTexts); + gm_mgFrequencyTrigger.mg_strTip = TRANS("select sound quality or turn sound off"); + gm_mgFrequencyTrigger.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgAudioAPITrigger, 2, - gm_mgFrequencyTrigger, gm_mgWaveVolume, TRANS("SOUND SYSTEM"), astrSoundAPIRadioTexts); - gm_mgAudioAPITrigger.mg_strTip = TRANS("choose sound system (API) to use"); - gm_mgAudioAPITrigger.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgAudioAPITrigger, 2, + gm_mgFrequencyTrigger, gm_mgWaveVolume, TRANS("SOUND SYSTEM"), astrSoundAPIRadioTexts); + gm_mgAudioAPITrigger.mg_strTip = TRANS("choose sound system (API) to use"); + gm_mgAudioAPITrigger.mg_pOnTriggerChange = NULL; - gm_mgWaveVolume.mg_boxOnScreen = BoxMediumRow(3); - gm_mgWaveVolume.mg_strText = TRANS("SOUND EFFECTS VOLUME"); - gm_mgWaveVolume.mg_strTip = TRANS("adjust volume of in-game sound effects"); - gm_mgWaveVolume.mg_pmgUp = &gm_mgAudioAPITrigger; - gm_mgWaveVolume.mg_pmgDown = &gm_mgMPEGVolume; - gm_mgWaveVolume.mg_pOnSliderChange = NULL; - gm_mgWaveVolume.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgWaveVolume.mg_lnNode); + gm_mgWaveVolume.mg_boxOnScreen = BoxMediumRow(3); + gm_mgWaveVolume.mg_strText = TRANS("SOUND EFFECTS VOLUME"); + gm_mgWaveVolume.mg_strTip = TRANS("adjust volume of in-game sound effects"); + gm_mgWaveVolume.mg_pmgUp = &gm_mgAudioAPITrigger; + gm_mgWaveVolume.mg_pmgDown = &gm_mgMPEGVolume; + gm_mgWaveVolume.mg_pOnSliderChange = NULL; + gm_mgWaveVolume.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgWaveVolume.mg_lnNode); - gm_mgMPEGVolume.mg_boxOnScreen = BoxMediumRow(4); - gm_mgMPEGVolume.mg_strText = TRANS("MUSIC VOLUME"); - gm_mgMPEGVolume.mg_strTip = TRANS("adjust volume of in-game music"); - gm_mgMPEGVolume.mg_pmgUp = &gm_mgWaveVolume; - gm_mgMPEGVolume.mg_pmgDown = &gm_mgApply; - gm_mgMPEGVolume.mg_pOnSliderChange = NULL; - gm_mgMPEGVolume.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgMPEGVolume.mg_lnNode); + gm_mgMPEGVolume.mg_boxOnScreen = BoxMediumRow(4); + gm_mgMPEGVolume.mg_strText = TRANS("MUSIC VOLUME"); + gm_mgMPEGVolume.mg_strTip = TRANS("adjust volume of in-game music"); + gm_mgMPEGVolume.mg_pmgUp = &gm_mgWaveVolume; + gm_mgMPEGVolume.mg_pmgDown = &gm_mgApply; + gm_mgMPEGVolume.mg_pOnSliderChange = NULL; + gm_mgMPEGVolume.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgMPEGVolume.mg_lnNode); - gm_mgApply.mg_bfsFontSize = BFS_LARGE; - gm_mgApply.mg_boxOnScreen = BoxBigRow(4); - gm_mgApply.mg_strText = TRANS("APPLY"); - gm_mgApply.mg_strTip = TRANS("activate selected options"); - gm_lhGadgets.AddTail(gm_mgApply.mg_lnNode); - gm_mgApply.mg_pmgUp = &gm_mgMPEGVolume; - gm_mgApply.mg_pmgDown = &gm_mgAudioAutoTrigger; - gm_mgApply.mg_pActivatedFunction = NULL; + gm_mgApply.mg_bfsFontSize = BFS_LARGE; + gm_mgApply.mg_boxOnScreen = BoxBigRow(4); + gm_mgApply.mg_strText = TRANS("APPLY"); + gm_mgApply.mg_strTip = TRANS("activate selected options"); + gm_lhGadgets.AddTail(gm_mgApply.mg_lnNode); + gm_mgApply.mg_pmgUp = &gm_mgMPEGVolume; + gm_mgApply.mg_pmgDown = &gm_mgAudioAutoTrigger; + gm_mgApply.mg_pActivatedFunction = NULL; } void CAudioOptionsMenu::StartMenu(void) { - RefreshSoundFormat(); - CGameMenu::StartMenu(); + RefreshSoundFormat(); + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp index d7bc1b9..bdb21d5 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp @@ -19,64 +19,64 @@ with this program; if not, write to the Free Software Foundation, Inc., void CConfirmMenu::Initialize_t(void) { - gm_bPopup = TRUE; + gm_bPopup = TRUE; - gm_mgConfirmLabel.mg_strText = ""; - gm_lhGadgets.AddTail(gm_mgConfirmLabel.mg_lnNode); - gm_mgConfirmLabel.mg_boxOnScreen = BoxPopupLabel(); - gm_mgConfirmLabel.mg_iCenterI = 0; - gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmLabel.mg_strText = ""; + gm_lhGadgets.AddTail(gm_mgConfirmLabel.mg_lnNode); + gm_mgConfirmLabel.mg_boxOnScreen = BoxPopupLabel(); + gm_mgConfirmLabel.mg_iCenterI = 0; + gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmYes.mg_strText = TRANS("YES"); - gm_lhGadgets.AddTail(gm_mgConfirmYes.mg_lnNode); - gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); - gm_mgConfirmYes.mg_pActivatedFunction = NULL; - gm_mgConfirmYes.mg_pmgLeft = - gm_mgConfirmYes.mg_pmgRight = &gm_mgConfirmNo; - gm_mgConfirmYes.mg_iCenterI = 1; - gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmYes.mg_strText = TRANS("YES"); + gm_lhGadgets.AddTail(gm_mgConfirmYes.mg_lnNode); + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); + gm_mgConfirmYes.mg_pActivatedFunction = NULL; + gm_mgConfirmYes.mg_pmgLeft = + gm_mgConfirmYes.mg_pmgRight = &gm_mgConfirmNo; + gm_mgConfirmYes.mg_iCenterI = 1; + gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmNo.mg_strText = TRANS("NO"); - gm_lhGadgets.AddTail(gm_mgConfirmNo.mg_lnNode); - gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); - gm_mgConfirmNo.mg_pActivatedFunction = NULL; - gm_mgConfirmNo.mg_pmgLeft = - gm_mgConfirmNo.mg_pmgRight = &gm_mgConfirmYes; - gm_mgConfirmNo.mg_iCenterI = -1; - gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmNo.mg_strText = TRANS("NO"); + gm_lhGadgets.AddTail(gm_mgConfirmNo.mg_lnNode); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); + gm_mgConfirmNo.mg_pActivatedFunction = NULL; + gm_mgConfirmNo.mg_pmgLeft = + gm_mgConfirmNo.mg_pmgRight = &gm_mgConfirmYes; + gm_mgConfirmNo.mg_iCenterI = -1; + gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; - _pConfimedYes = NULL; - _pConfimedNo = NULL; + _pConfimedYes = NULL; + _pConfimedNo = NULL; } void CConfirmMenu::BeLarge(void) { - gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmLabel.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmYes.mg_bfsFontSize = BFS_LARGE; + gm_mgConfirmNo.mg_bfsFontSize = BFS_LARGE; - gm_mgConfirmLabel.mg_iCenterI = 0; - gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); - gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); + gm_mgConfirmLabel.mg_iCenterI = 0; + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesLarge(); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoLarge(); } void CConfirmMenu::BeSmall(void) { - gm_mgConfirmLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgConfirmYes.mg_bfsFontSize = BFS_MEDIUM; - gm_mgConfirmNo.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmYes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgConfirmNo.mg_bfsFontSize = BFS_MEDIUM; - gm_mgConfirmLabel.mg_iCenterI = -1; - gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); - gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); + gm_mgConfirmLabel.mg_iCenterI = -1; + gm_mgConfirmYes.mg_boxOnScreen = BoxPopupYesSmall(); + gm_mgConfirmNo.mg_boxOnScreen = BoxPopupNoSmall(); } // return TRUE if handled BOOL CConfirmMenu::OnKeyDown(int iVKey) { - if ((iVKey == VK_ESCAPE || iVKey == VK_RBUTTON) && gm_mgConfirmNo.mg_pActivatedFunction != NULL) { - gm_mgConfirmNo.OnActivate(); - return TRUE; - } - return CGameMenu::OnKeyDown(iVKey); + if ((iVKey == VK_ESCAPE || iVKey == VK_RBUTTON) && gm_mgConfirmNo.mg_pActivatedFunction != NULL) { + gm_mgConfirmNo.OnActivate(); + return TRUE; + } + return CGameMenu::OnKeyDown(iVKey); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MControls.cpp b/Sources/SeriousSam/GUI/Menus/MControls.cpp index 5ec61a4..6d2b9b4 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.cpp +++ b/Sources/SeriousSam/GUI/Menus/MControls.cpp @@ -23,136 +23,136 @@ extern CTFileName _fnmControlsToCustomize; void CControlsMenu::Initialize_t(void) { - // intialize player and controls menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("CONTROLS"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize player and controls menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CONTROLS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgNameLabel.mg_strText = ""; - gm_mgNameLabel.mg_boxOnScreen = BoxMediumRow(0.0); - gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNameLabel.mg_iCenterI = -1; - gm_mgNameLabel.mg_bEnabled = FALSE; - gm_mgNameLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); + gm_mgNameLabel.mg_strText = ""; + gm_mgNameLabel.mg_boxOnScreen = BoxMediumRow(0.0); + gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameLabel.mg_iCenterI = -1; + gm_mgNameLabel.mg_bEnabled = FALSE; + gm_mgNameLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); - gm_mgButtons.mg_strText = TRANS("CUSTOMIZE BUTTONS"); - gm_mgButtons.mg_boxOnScreen = BoxMediumRow(2.0); - gm_mgButtons.mg_bfsFontSize = BFS_MEDIUM; - gm_mgButtons.mg_iCenterI = 0; - gm_lhGadgets.AddTail(gm_mgButtons.mg_lnNode); - gm_mgButtons.mg_pmgUp = &gm_mgPredefined; - gm_mgButtons.mg_pmgDown = &gm_mgAdvanced; - gm_mgButtons.mg_pActivatedFunction = NULL; - gm_mgButtons.mg_strTip = TRANS("customize buttons in current controls"); + gm_mgButtons.mg_strText = TRANS("CUSTOMIZE BUTTONS"); + gm_mgButtons.mg_boxOnScreen = BoxMediumRow(2.0); + gm_mgButtons.mg_bfsFontSize = BFS_MEDIUM; + gm_mgButtons.mg_iCenterI = 0; + gm_lhGadgets.AddTail(gm_mgButtons.mg_lnNode); + gm_mgButtons.mg_pmgUp = &gm_mgPredefined; + gm_mgButtons.mg_pmgDown = &gm_mgAdvanced; + gm_mgButtons.mg_pActivatedFunction = NULL; + gm_mgButtons.mg_strTip = TRANS("customize buttons in current controls"); - gm_mgAdvanced.mg_strText = TRANS("ADVANCED JOYSTICK SETUP"); - gm_mgAdvanced.mg_iCenterI = 0; - gm_mgAdvanced.mg_boxOnScreen = BoxMediumRow(3); - gm_mgAdvanced.mg_bfsFontSize = BFS_MEDIUM; - gm_lhGadgets.AddTail(gm_mgAdvanced.mg_lnNode); - gm_mgAdvanced.mg_pmgUp = &gm_mgButtons; - gm_mgAdvanced.mg_pmgDown = &gm_mgSensitivity; - gm_mgAdvanced.mg_pActivatedFunction = NULL; - gm_mgAdvanced.mg_strTip = TRANS("adjust advanced settings for joystick axis"); + gm_mgAdvanced.mg_strText = TRANS("ADVANCED JOYSTICK SETUP"); + gm_mgAdvanced.mg_iCenterI = 0; + gm_mgAdvanced.mg_boxOnScreen = BoxMediumRow(3); + gm_mgAdvanced.mg_bfsFontSize = BFS_MEDIUM; + gm_lhGadgets.AddTail(gm_mgAdvanced.mg_lnNode); + gm_mgAdvanced.mg_pmgUp = &gm_mgButtons; + gm_mgAdvanced.mg_pmgDown = &gm_mgSensitivity; + gm_mgAdvanced.mg_pActivatedFunction = NULL; + gm_mgAdvanced.mg_strTip = TRANS("adjust advanced settings for joystick axis"); - gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(4.5); - gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); - gm_mgSensitivity.mg_pmgUp = &gm_mgAdvanced; - gm_mgSensitivity.mg_pmgDown = &gm_mgInvertTrigger; - gm_mgSensitivity.mg_strTip = TRANS("sensitivity for all axis in this control set"); - gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); + gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(4.5); + gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); + gm_mgSensitivity.mg_pmgUp = &gm_mgAdvanced; + gm_mgSensitivity.mg_pmgDown = &gm_mgInvertTrigger; + gm_mgSensitivity.mg_strTip = TRANS("sensitivity for all axis in this control set"); + gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); - TRIGGER_MG(gm_mgInvertTrigger, 5.5, gm_mgSensitivity, gm_mgSmoothTrigger, - TRANS("INVERT LOOK"), astrNoYes); - gm_mgInvertTrigger.mg_strTip = TRANS("invert up/down looking"); - TRIGGER_MG(gm_mgSmoothTrigger, 6.5, gm_mgInvertTrigger, gm_mgAccelTrigger, - TRANS("SMOOTH AXIS"), astrNoYes); - gm_mgSmoothTrigger.mg_strTip = TRANS("smooth mouse/joystick movements"); - TRIGGER_MG(gm_mgAccelTrigger, 7.5, gm_mgSmoothTrigger, gm_mgIFeelTrigger, - TRANS("MOUSE ACCELERATION"), astrNoYes); - gm_mgAccelTrigger.mg_strTip = TRANS("allow mouse acceleration"); - TRIGGER_MG(gm_mgIFeelTrigger, 8.5, gm_mgAccelTrigger, gm_mgPredefined, - TRANS("ENABLE IFEEL"), astrNoYes); - gm_mgIFeelTrigger.mg_strTip = TRANS("enable support for iFeel tactile feedback mouse"); + TRIGGER_MG(gm_mgInvertTrigger, 5.5, gm_mgSensitivity, gm_mgSmoothTrigger, + TRANS("INVERT LOOK"), astrNoYes); + gm_mgInvertTrigger.mg_strTip = TRANS("invert up/down looking"); + TRIGGER_MG(gm_mgSmoothTrigger, 6.5, gm_mgInvertTrigger, gm_mgAccelTrigger, + TRANS("SMOOTH AXIS"), astrNoYes); + gm_mgSmoothTrigger.mg_strTip = TRANS("smooth mouse/joystick movements"); + TRIGGER_MG(gm_mgAccelTrigger, 7.5, gm_mgSmoothTrigger, gm_mgIFeelTrigger, + TRANS("MOUSE ACCELERATION"), astrNoYes); + gm_mgAccelTrigger.mg_strTip = TRANS("allow mouse acceleration"); + TRIGGER_MG(gm_mgIFeelTrigger, 8.5, gm_mgAccelTrigger, gm_mgPredefined, + TRANS("ENABLE IFEEL"), astrNoYes); + gm_mgIFeelTrigger.mg_strTip = TRANS("enable support for iFeel tactile feedback mouse"); - gm_mgPredefined.mg_strText = TRANS("LOAD PREDEFINED SETTINGS"); - gm_mgPredefined.mg_iCenterI = 0; - gm_mgPredefined.mg_boxOnScreen = BoxMediumRow(10); - gm_mgPredefined.mg_bfsFontSize = BFS_MEDIUM; - gm_lhGadgets.AddTail(gm_mgPredefined.mg_lnNode); - gm_mgPredefined.mg_pmgUp = &gm_mgIFeelTrigger; - gm_mgPredefined.mg_pmgDown = &gm_mgButtons; - gm_mgPredefined.mg_pActivatedFunction = NULL; - gm_mgPredefined.mg_strTip = TRANS("load one of several predefined control settings"); + gm_mgPredefined.mg_strText = TRANS("LOAD PREDEFINED SETTINGS"); + gm_mgPredefined.mg_iCenterI = 0; + gm_mgPredefined.mg_boxOnScreen = BoxMediumRow(10); + gm_mgPredefined.mg_bfsFontSize = BFS_MEDIUM; + gm_lhGadgets.AddTail(gm_mgPredefined.mg_lnNode); + gm_mgPredefined.mg_pmgUp = &gm_mgIFeelTrigger; + gm_mgPredefined.mg_pmgDown = &gm_mgButtons; + gm_mgPredefined.mg_pActivatedFunction = NULL; + gm_mgPredefined.mg_strTip = TRANS("load one of several predefined control settings"); } void CControlsMenu::StartMenu(void) { - gm_pmgSelectedByDefault = &gm_mgButtons; - INDEX iPlayer = _pGame->gm_iSinglePlayer; - if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { - iPlayer = _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer]; - } - _fnmControlsToCustomize.PrintF("Controls\\Controls%d.ctl", iPlayer); + gm_pmgSelectedByDefault = &gm_mgButtons; + INDEX iPlayer = _pGame->gm_iSinglePlayer; + if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { + iPlayer = _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer]; + } + _fnmControlsToCustomize.PrintF("Controls\\Controls%d.ctl", iPlayer); - ControlsMenuOn(); + ControlsMenuOn(); - gm_mgNameLabel.mg_strText.PrintF(TRANS("CONTROLS FOR: %s"), _pGame->gm_apcPlayers[iPlayer].GetNameForPrinting()); + gm_mgNameLabel.mg_strText.PrintF(TRANS("CONTROLS FOR: %s"), _pGame->gm_apcPlayers[iPlayer].GetNameForPrinting()); - ObtainActionSettings(); - CGameMenu::StartMenu(); + ObtainActionSettings(); + CGameMenu::StartMenu(); } void CControlsMenu::EndMenu(void) { - ApplyActionSettings(); + ApplyActionSettings(); - ControlsMenuOff(); + ControlsMenuOff(); - CGameMenu::EndMenu(); + CGameMenu::EndMenu(); } void CControlsMenu::ObtainActionSettings(void) { - CControls &ctrls = _pGame->gm_ctrlControlsExtra; + CControls &ctrls = _pGame->gm_ctrlControlsExtra; - gm_mgSensitivity.mg_iMinPos = 0; - gm_mgSensitivity.mg_iMaxPos = 50; - gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_fSensitivity / 2; - gm_mgSensitivity.ApplyCurrentPosition(); + gm_mgSensitivity.mg_iMinPos = 0; + gm_mgSensitivity.mg_iMaxPos = 50; + gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_fSensitivity / 2; + gm_mgSensitivity.ApplyCurrentPosition(); - gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_bInvertLook ? 1 : 0; - gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_bSmoothAxes ? 1 : 0; - gm_mgAccelTrigger.mg_iSelected = _pShell->GetINDEX("inp_bAllowMouseAcceleration") ? 1 : 0; - gm_mgIFeelTrigger.mg_bEnabled = _pShell->GetINDEX("sys_bIFeelEnabled") ? 1 : 0; - gm_mgIFeelTrigger.mg_iSelected = _pShell->GetFLOAT("inp_fIFeelGain")>0 ? 1 : 0; + gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_bInvertLook ? 1 : 0; + gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_bSmoothAxes ? 1 : 0; + gm_mgAccelTrigger.mg_iSelected = _pShell->GetINDEX("inp_bAllowMouseAcceleration") ? 1 : 0; + gm_mgIFeelTrigger.mg_bEnabled = _pShell->GetINDEX("sys_bIFeelEnabled") ? 1 : 0; + gm_mgIFeelTrigger.mg_iSelected = _pShell->GetFLOAT("inp_fIFeelGain")>0 ? 1 : 0; - gm_mgInvertTrigger.ApplyCurrentSelection(); - gm_mgSmoothTrigger.ApplyCurrentSelection(); - gm_mgAccelTrigger.ApplyCurrentSelection(); - gm_mgIFeelTrigger.ApplyCurrentSelection(); + gm_mgInvertTrigger.ApplyCurrentSelection(); + gm_mgSmoothTrigger.ApplyCurrentSelection(); + gm_mgAccelTrigger.ApplyCurrentSelection(); + gm_mgIFeelTrigger.ApplyCurrentSelection(); } void CControlsMenu::ApplyActionSettings(void) { - CControls &ctrls = _pGame->gm_ctrlControlsExtra; + CControls &ctrls = _pGame->gm_ctrlControlsExtra; - FLOAT fSensitivity = - FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / - FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; + FLOAT fSensitivity = + FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / + FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; - BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; - BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; - BOOL bAccel = gm_mgAccelTrigger.mg_iSelected != 0; - BOOL bIFeel = gm_mgIFeelTrigger.mg_iSelected != 0; + BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; + BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; + BOOL bAccel = gm_mgAccelTrigger.mg_iSelected != 0; + BOOL bIFeel = gm_mgIFeelTrigger.mg_iSelected != 0; - if (INDEX(ctrls.ctrl_fSensitivity) != INDEX(fSensitivity)) { - ctrls.ctrl_fSensitivity = fSensitivity; - } - ctrls.ctrl_bInvertLook = bInvert; - ctrls.ctrl_bSmoothAxes = bSmooth; - _pShell->SetINDEX("inp_bAllowMouseAcceleration", bAccel); - _pShell->SetFLOAT("inp_fIFeelGain", bIFeel ? 1.0f : 0.0f); - ctrls.CalculateInfluencesForAllAxis(); + if (INDEX(ctrls.ctrl_fSensitivity) != INDEX(fSensitivity)) { + ctrls.ctrl_fSensitivity = fSensitivity; + } + ctrls.ctrl_bInvertLook = bInvert; + ctrls.ctrl_bSmoothAxes = bSmooth; + _pShell->SetINDEX("inp_bAllowMouseAcceleration", bAccel); + _pShell->SetFLOAT("inp_fIFeelGain", bIFeel ? 1.0f : 0.0f); + ctrls.CalculateInfluencesForAllAxis(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp index 9b9fc23..176c7a8 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp @@ -21,135 +21,135 @@ with this program; if not, write to the Free Software Foundation, Inc., void CCustomizeAxisMenu::Initialize_t(void) { - // intialize axis menu - gm_mgTitle.mg_strText = TRANS("CUSTOMIZE AXIS"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize axis menu + gm_mgTitle.mg_strText = TRANS("CUSTOMIZE AXIS"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - TRIGGER_MG(gm_mgActionTrigger, 0, gm_mgSmoothTrigger, gm_mgMountedTrigger, TRANS("ACTION"), astrNoYes); - gm_mgActionTrigger.mg_strTip = TRANS("choose action to customize"); + TRIGGER_MG(gm_mgActionTrigger, 0, gm_mgSmoothTrigger, gm_mgMountedTrigger, TRANS("ACTION"), astrNoYes); + gm_mgActionTrigger.mg_strTip = TRANS("choose action to customize"); - TRIGGER_MG(gm_mgMountedTrigger, 2, gm_mgActionTrigger, gm_mgSensitivity, TRANS("MOUNTED TO"), astrNoYes); - gm_mgMountedTrigger.mg_strTip = TRANS("choose controller axis that will perform the action"); + TRIGGER_MG(gm_mgMountedTrigger, 2, gm_mgActionTrigger, gm_mgSensitivity, TRANS("MOUNTED TO"), astrNoYes); + gm_mgMountedTrigger.mg_strTip = TRANS("choose controller axis that will perform the action"); - gm_mgActionTrigger.mg_astrTexts = new CTString[AXIS_ACTIONS_CT]; - gm_mgActionTrigger.mg_ctTexts = AXIS_ACTIONS_CT; + gm_mgActionTrigger.mg_astrTexts = new CTString[AXIS_ACTIONS_CT]; + gm_mgActionTrigger.mg_ctTexts = AXIS_ACTIONS_CT; - gm_mgActionTrigger.mg_pPreTriggerChange = NULL; - gm_mgActionTrigger.mg_pOnTriggerChange = NULL; + gm_mgActionTrigger.mg_pPreTriggerChange = NULL; + gm_mgActionTrigger.mg_pOnTriggerChange = NULL; - // for all available axis type controlers - for (INDEX iControler = 0; iControlergm_astrAxisNames[iControler]), 0); - } - gm_mgActionTrigger.mg_iSelected = 3; + // for all available axis type controlers + for (INDEX iControler = 0; iControlergm_astrAxisNames[iControler]), 0); + } + gm_mgActionTrigger.mg_iSelected = 3; - INDEX ctAxis = _pInput->GetAvailableAxisCount(); - gm_mgMountedTrigger.mg_astrTexts = new CTString[ctAxis]; - gm_mgMountedTrigger.mg_ctTexts = ctAxis; - // for all axis actions that can be mounted - for (INDEX iAxis = 0; iAxisGetAxisTransName(iAxis); - } + INDEX ctAxis = _pInput->GetAvailableAxisCount(); + gm_mgMountedTrigger.mg_astrTexts = new CTString[ctAxis]; + gm_mgMountedTrigger.mg_ctTexts = ctAxis; + // for all axis actions that can be mounted + for (INDEX iAxis = 0; iAxisGetAxisTransName(iAxis); + } - gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(3); - gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); - gm_mgSensitivity.mg_pmgUp = &gm_mgMountedTrigger; - gm_mgSensitivity.mg_pmgDown = &gm_mgDeadzone; - gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); - gm_mgSensitivity.mg_strTip = TRANS("set sensitivity for this axis"); + gm_mgSensitivity.mg_boxOnScreen = BoxMediumRow(3); + gm_mgSensitivity.mg_strText = TRANS("SENSITIVITY"); + gm_mgSensitivity.mg_pmgUp = &gm_mgMountedTrigger; + gm_mgSensitivity.mg_pmgDown = &gm_mgDeadzone; + gm_lhGadgets.AddTail(gm_mgSensitivity.mg_lnNode); + gm_mgSensitivity.mg_strTip = TRANS("set sensitivity for this axis"); - gm_mgDeadzone.mg_boxOnScreen = BoxMediumRow(4); - gm_mgDeadzone.mg_strText = TRANS("DEAD ZONE"); - gm_mgDeadzone.mg_pmgUp = &gm_mgSensitivity; - gm_mgDeadzone.mg_pmgDown = &gm_mgInvertTrigger; - gm_lhGadgets.AddTail(gm_mgDeadzone.mg_lnNode); - gm_mgDeadzone.mg_strTip = TRANS("set dead zone for this axis"); + gm_mgDeadzone.mg_boxOnScreen = BoxMediumRow(4); + gm_mgDeadzone.mg_strText = TRANS("DEAD ZONE"); + gm_mgDeadzone.mg_pmgUp = &gm_mgSensitivity; + gm_mgDeadzone.mg_pmgDown = &gm_mgInvertTrigger; + gm_lhGadgets.AddTail(gm_mgDeadzone.mg_lnNode); + gm_mgDeadzone.mg_strTip = TRANS("set dead zone for this axis"); - TRIGGER_MG(gm_mgInvertTrigger, 5, gm_mgDeadzone, gm_mgRelativeTrigger, TRANS("INVERTED"), astrNoYes); - gm_mgInvertTrigger.mg_strTip = TRANS("choose whether to invert this axis or not"); - TRIGGER_MG(gm_mgRelativeTrigger, 6, gm_mgInvertTrigger, gm_mgSmoothTrigger, TRANS("RELATIVE"), astrNoYes); - gm_mgRelativeTrigger.mg_strTip = TRANS("select relative or absolute axis reading"); - TRIGGER_MG(gm_mgSmoothTrigger, 7, gm_mgRelativeTrigger, gm_mgActionTrigger, TRANS("SMOOTH"), astrNoYes); - gm_mgSmoothTrigger.mg_strTip = TRANS("turn this on to filter readings on this axis"); + TRIGGER_MG(gm_mgInvertTrigger, 5, gm_mgDeadzone, gm_mgRelativeTrigger, TRANS("INVERTED"), astrNoYes); + gm_mgInvertTrigger.mg_strTip = TRANS("choose whether to invert this axis or not"); + TRIGGER_MG(gm_mgRelativeTrigger, 6, gm_mgInvertTrigger, gm_mgSmoothTrigger, TRANS("RELATIVE"), astrNoYes); + gm_mgRelativeTrigger.mg_strTip = TRANS("select relative or absolute axis reading"); + TRIGGER_MG(gm_mgSmoothTrigger, 7, gm_mgRelativeTrigger, gm_mgActionTrigger, TRANS("SMOOTH"), astrNoYes); + gm_mgSmoothTrigger.mg_strTip = TRANS("turn this on to filter readings on this axis"); } CCustomizeAxisMenu::~CCustomizeAxisMenu(void) { - delete[] gm_mgActionTrigger.mg_astrTexts; - delete[] gm_mgMountedTrigger.mg_astrTexts; + delete[] gm_mgActionTrigger.mg_astrTexts; + delete[] gm_mgMountedTrigger.mg_astrTexts; } void CCustomizeAxisMenu::ObtainActionSettings(void) { - ControlsMenuOn(); - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; - INDEX iMountedAxis = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction; + ControlsMenuOn(); + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; + INDEX iMountedAxis = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction; - gm_mgMountedTrigger.mg_iSelected = iMountedAxis; + gm_mgMountedTrigger.mg_iSelected = iMountedAxis; - gm_mgSensitivity.mg_iMinPos = 0; - gm_mgSensitivity.mg_iMaxPos = 50; - gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity / 2; - gm_mgSensitivity.ApplyCurrentPosition(); + gm_mgSensitivity.mg_iMinPos = 0; + gm_mgSensitivity.mg_iMaxPos = 50; + gm_mgSensitivity.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity / 2; + gm_mgSensitivity.ApplyCurrentPosition(); - gm_mgDeadzone.mg_iMinPos = 0; - gm_mgDeadzone.mg_iMaxPos = 50; - gm_mgDeadzone.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone / 2; - gm_mgDeadzone.ApplyCurrentPosition(); + gm_mgDeadzone.mg_iMinPos = 0; + gm_mgDeadzone.mg_iMaxPos = 50; + gm_mgDeadzone.mg_iCurPos = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone / 2; + gm_mgDeadzone.ApplyCurrentPosition(); - gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert ? 1 : 0; - gm_mgRelativeTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler ? 1 : 0; - gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth ? 1 : 0; + gm_mgInvertTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert ? 1 : 0; + gm_mgRelativeTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler ? 1 : 0; + gm_mgSmoothTrigger.mg_iSelected = ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth ? 1 : 0; - gm_mgActionTrigger.ApplyCurrentSelection(); - gm_mgMountedTrigger.ApplyCurrentSelection(); - gm_mgInvertTrigger.ApplyCurrentSelection(); - gm_mgRelativeTrigger.ApplyCurrentSelection(); - gm_mgSmoothTrigger.ApplyCurrentSelection(); + gm_mgActionTrigger.ApplyCurrentSelection(); + gm_mgMountedTrigger.ApplyCurrentSelection(); + gm_mgInvertTrigger.ApplyCurrentSelection(); + gm_mgRelativeTrigger.ApplyCurrentSelection(); + gm_mgSmoothTrigger.ApplyCurrentSelection(); } void CCustomizeAxisMenu::ApplyActionSettings(void) { - CControls &ctrls = _pGame->gm_ctrlControlsExtra; - INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; - INDEX iMountedAxis = gm_mgMountedTrigger.mg_iSelected; - FLOAT fSensitivity = - FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / - FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; - FLOAT fDeadZone = - FLOAT(gm_mgDeadzone.mg_iCurPos - gm_mgDeadzone.mg_iMinPos) / - FLOAT(gm_mgDeadzone.mg_iMaxPos - gm_mgDeadzone.mg_iMinPos)*100.0f; + CControls &ctrls = _pGame->gm_ctrlControlsExtra; + INDEX iSelectedAction = gm_mgActionTrigger.mg_iSelected; + INDEX iMountedAxis = gm_mgMountedTrigger.mg_iSelected; + FLOAT fSensitivity = + FLOAT(gm_mgSensitivity.mg_iCurPos - gm_mgSensitivity.mg_iMinPos) / + FLOAT(gm_mgSensitivity.mg_iMaxPos - gm_mgSensitivity.mg_iMinPos)*100.0f; + FLOAT fDeadZone = + FLOAT(gm_mgDeadzone.mg_iCurPos - gm_mgDeadzone.mg_iMinPos) / + FLOAT(gm_mgDeadzone.mg_iMaxPos - gm_mgDeadzone.mg_iMinPos)*100.0f; - BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; - BOOL bRelative = gm_mgRelativeTrigger.mg_iSelected != 0; - BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; + BOOL bInvert = gm_mgInvertTrigger.mg_iSelected != 0; + BOOL bRelative = gm_mgRelativeTrigger.mg_iSelected != 0; + BOOL bSmooth = gm_mgSmoothTrigger.mg_iSelected != 0; - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction = iMountedAxis; - if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity) != INDEX(fSensitivity)) { - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity = fSensitivity; - } - if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone) != INDEX(fDeadZone)) { - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone = fDeadZone; - } - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert = bInvert; - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler = bRelative; - ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth = bSmooth; - ctrls.CalculateInfluencesForAllAxis(); + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_iAxisAction = iMountedAxis; + if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity) != INDEX(fSensitivity)) { + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fSensitivity = fSensitivity; + } + if (INDEX(ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone) != INDEX(fDeadZone)) { + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_fDeadZone = fDeadZone; + } + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bInvert = bInvert; + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bRelativeControler = bRelative; + ctrls.ctrl_aaAxisActions[iSelectedAction].aa_bSmooth = bSmooth; + ctrls.CalculateInfluencesForAllAxis(); - ControlsMenuOff(); + ControlsMenuOff(); } void CCustomizeAxisMenu::StartMenu(void) { - ObtainActionSettings(); + ObtainActionSettings(); - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } void CCustomizeAxisMenu::EndMenu(void) { - ApplyActionSettings(); - CGameMenu::EndMenu(); + ApplyActionSettings(); + CGameMenu::EndMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp index c9ab6bf..0290f8b 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp @@ -21,91 +21,91 @@ with this program; if not, write to the Free Software Foundation, Inc., void CCustomizeKeyboardMenu::FillListItems(void) { - // disable all items first - for (INDEX i = 0; igm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); - FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) - { - INDEX iInMenu = iLabel - gm_iListOffset; - if ((iLabel >= gm_iListOffset) && - (iLabel<(gm_iListOffset + gm_ctListVisible))) - { - bHasFirst |= (iLabel == 0); - bHasLast |= (iLabel == ctLabels - 1); - gm_mgKey[iInMenu].mg_strLabel = TranslateConst(itAct->ba_strName, 0); - gm_mgKey[iInMenu].mg_iControlNumber = iLabel; - gm_mgKey[iInMenu].SetBindingNames(FALSE); - gm_mgKey[iInMenu].mg_strTip = TRANS("Enter - change binding, Backspace - unbind"); - gm_mgKey[iInMenu].mg_bEnabled = TRUE; - gm_mgKey[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } + BOOL bHasFirst = FALSE; + BOOL bHasLast = FALSE; + // set diks to key buttons + INDEX iLabel = 0; + INDEX ctLabels = _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); + FOREACHINLIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) + { + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + gm_ctListVisible))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgKey[iInMenu].mg_strLabel = TranslateConst(itAct->ba_strName, 0); + gm_mgKey[iInMenu].mg_iControlNumber = iLabel; + gm_mgKey[iInMenu].SetBindingNames(FALSE); + gm_mgKey[iInMenu].mg_strTip = TRANS("Enter - change binding, Backspace - unbind"); + gm_mgKey[iInMenu].mg_bEnabled = TRUE; + gm_mgKey[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } - // enable/disable up/down arrows - gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; } void CCustomizeKeyboardMenu::Initialize_t(void) { - // intialize Audio options menu - gm_mgTitle.mg_strText = TRANS("CUSTOMIZE BUTTONS"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize Audio options menu + gm_mgTitle.mg_strText = TRANS("CUSTOMIZE BUTTONS"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); #define KL_START 3.0f #define KL_STEEP -1.45f - for (INDEX iLabel = 0; iLabelgm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); - gm_iListWantedItem = 0; - CGameMenu::StartMenu(); + ControlsMenuOn(); + gm_iListOffset = 0; + gm_ctListTotal = _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count(); + gm_iListWantedItem = 0; + CGameMenu::StartMenu(); } void CCustomizeKeyboardMenu::EndMenu(void) { - ControlsMenuOff(); - CGameMenu::EndMenu(); + ControlsMenuOff(); + CGameMenu::EndMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp index 8c61de8..1d88736 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp @@ -20,11 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc., void CDisabledMenu::Initialize_t(void) { - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgButton.mg_bfsFontSize = BFS_MEDIUM; - gm_mgButton.mg_boxOnScreen = BoxBigRow(0.0f); - gm_lhGadgets.AddTail(gm_mgButton.mg_lnNode); - gm_mgButton.mg_pActivatedFunction = NULL; + gm_mgButton.mg_bfsFontSize = BFS_MEDIUM; + gm_mgButton.mg_boxOnScreen = BoxBigRow(0.0f); + gm_lhGadgets.AddTail(gm_mgButton.mg_lnNode); + gm_mgButton.mg_pActivatedFunction = NULL; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp index 67077a4..2cf53a9 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp @@ -20,16 +20,16 @@ with this program; if not, write to the Free Software Foundation, Inc., void CHighScoreMenu::Initialize_t(void) { - gm_mgHScore.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 0.5)); - gm_lhGadgets.AddTail(gm_mgHScore.mg_lnNode); + gm_mgHScore.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 0.5)); + gm_lhGadgets.AddTail(gm_mgHScore.mg_lnNode); - gm_mgTitle.mg_strText = TRANS("HIGH SCORE TABLE"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_strText = TRANS("HIGH SCORE TABLE"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); } void CHighScoreMenu::StartMenu(void) { - gm_pgmParentMenu = pgmCurrentMenu; - CGameMenu::StartMenu(); + gm_pgmParentMenu = pgmCurrentMenu; + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.cpp b/Sources/SeriousSam/GUI/Menus/MInGame.cpp index 3673783..0fcaeeb 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.cpp +++ b/Sources/SeriousSam/GUI/Menus/MInGame.cpp @@ -20,154 +20,154 @@ with this program; if not, write to the Free Software Foundation, Inc., void CInGameMenu::Initialize_t(void) { - // intialize main menu - gm_mgTitle.mg_strText = TRANS("GAME"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize main menu + gm_mgTitle.mg_strText = TRANS("GAME"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgLabel1.mg_strText = ""; - gm_mgLabel1.mg_boxOnScreen = BoxMediumRow(-2.0); - gm_mgLabel1.mg_bfsFontSize = BFS_MEDIUM; - gm_mgLabel1.mg_iCenterI = -1; - gm_mgLabel1.mg_bEnabled = FALSE; - gm_mgLabel1.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgLabel1.mg_lnNode); + gm_mgLabel1.mg_strText = ""; + gm_mgLabel1.mg_boxOnScreen = BoxMediumRow(-2.0); + gm_mgLabel1.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLabel1.mg_iCenterI = -1; + gm_mgLabel1.mg_bEnabled = FALSE; + gm_mgLabel1.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgLabel1.mg_lnNode); - gm_mgLabel2.mg_strText = ""; - gm_mgLabel2.mg_boxOnScreen = BoxMediumRow(-1.0); - gm_mgLabel2.mg_bfsFontSize = BFS_MEDIUM; - gm_mgLabel2.mg_iCenterI = -1; - gm_mgLabel2.mg_bEnabled = FALSE; - gm_mgLabel2.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgLabel2.mg_lnNode); + gm_mgLabel2.mg_strText = ""; + gm_mgLabel2.mg_boxOnScreen = BoxMediumRow(-1.0); + gm_mgLabel2.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLabel2.mg_iCenterI = -1; + gm_mgLabel2.mg_bEnabled = FALSE; + gm_mgLabel2.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgLabel2.mg_lnNode); - gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); - gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(0.0f); - gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); - gm_mgQuickLoad.mg_pmgUp = &gm_mgQuit; - gm_mgQuickLoad.mg_pmgDown = &gm_mgQuickSave; - gm_mgQuickLoad.mg_pActivatedFunction = NULL; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pmgUp = &gm_mgQuit; + gm_mgQuickLoad.mg_pmgDown = &gm_mgQuickSave; + gm_mgQuickLoad.mg_pActivatedFunction = NULL; - gm_mgQuickSave.mg_strText = TRANS("QUICK SAVE"); - gm_mgQuickSave.mg_bfsFontSize = BFS_LARGE; - gm_mgQuickSave.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgQuickSave.mg_strTip = TRANS("quick-save current game (F6)"); - gm_lhGadgets.AddTail(gm_mgQuickSave.mg_lnNode); - gm_mgQuickSave.mg_pmgUp = &gm_mgQuickLoad; - gm_mgQuickSave.mg_pmgDown = &gm_mgLoad; - gm_mgQuickSave.mg_pActivatedFunction = NULL; + gm_mgQuickSave.mg_strText = TRANS("QUICK SAVE"); + gm_mgQuickSave.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickSave.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgQuickSave.mg_strTip = TRANS("quick-save current game (F6)"); + gm_lhGadgets.AddTail(gm_mgQuickSave.mg_lnNode); + gm_mgQuickSave.mg_pmgUp = &gm_mgQuickLoad; + gm_mgQuickSave.mg_pmgDown = &gm_mgLoad; + gm_mgQuickSave.mg_pActivatedFunction = NULL; - gm_mgLoad.mg_strText = TRANS("LOAD"); - gm_mgLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgLoad.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgLoad.mg_strTip = TRANS("load a saved game"); - gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); - gm_mgLoad.mg_pmgUp = &gm_mgQuickSave; - gm_mgLoad.mg_pmgDown = &gm_mgSave; - gm_mgLoad.mg_pActivatedFunction = NULL; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgLoad.mg_strTip = TRANS("load a saved game"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pmgUp = &gm_mgQuickSave; + gm_mgLoad.mg_pmgDown = &gm_mgSave; + gm_mgLoad.mg_pActivatedFunction = NULL; - gm_mgSave.mg_strText = TRANS("SAVE"); - gm_mgSave.mg_bfsFontSize = BFS_LARGE; - gm_mgSave.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgSave.mg_strTip = TRANS("save current game (each player has own slots!)"); - gm_lhGadgets.AddTail(gm_mgSave.mg_lnNode); - gm_mgSave.mg_pmgUp = &gm_mgLoad; - gm_mgSave.mg_pmgDown = &gm_mgDemoRec; - gm_mgSave.mg_pActivatedFunction = NULL; + gm_mgSave.mg_strText = TRANS("SAVE"); + gm_mgSave.mg_bfsFontSize = BFS_LARGE; + gm_mgSave.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgSave.mg_strTip = TRANS("save current game (each player has own slots!)"); + gm_lhGadgets.AddTail(gm_mgSave.mg_lnNode); + gm_mgSave.mg_pmgUp = &gm_mgLoad; + gm_mgSave.mg_pmgDown = &gm_mgDemoRec; + gm_mgSave.mg_pActivatedFunction = NULL; - gm_mgDemoRec.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgDemoRec.mg_bfsFontSize = BFS_LARGE; - gm_mgDemoRec.mg_pmgUp = &gm_mgSave; - gm_mgDemoRec.mg_pmgDown = &gm_mgHighScore; - gm_mgDemoRec.mg_strText = "Text not set"; - gm_lhGadgets.AddTail(gm_mgDemoRec.mg_lnNode); - gm_mgDemoRec.mg_pActivatedFunction = NULL; + gm_mgDemoRec.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgDemoRec.mg_bfsFontSize = BFS_LARGE; + gm_mgDemoRec.mg_pmgUp = &gm_mgSave; + gm_mgDemoRec.mg_pmgDown = &gm_mgHighScore; + gm_mgDemoRec.mg_strText = "Text not set"; + gm_lhGadgets.AddTail(gm_mgDemoRec.mg_lnNode); + gm_mgDemoRec.mg_pActivatedFunction = NULL; - gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); - gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; - gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); - gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); - gm_mgHighScore.mg_pmgUp = &gm_mgDemoRec; - gm_mgHighScore.mg_pmgDown = &gm_mgOptions; - gm_mgHighScore.mg_pActivatedFunction = NULL; + gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); + gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; + gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); + gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); + gm_mgHighScore.mg_pmgUp = &gm_mgDemoRec; + gm_mgHighScore.mg_pmgDown = &gm_mgOptions; + gm_mgHighScore.mg_pActivatedFunction = NULL; - gm_mgOptions.mg_strText = TRANS("OPTIONS"); - gm_mgOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); - gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); - gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); - gm_mgOptions.mg_pmgUp = &gm_mgHighScore; - gm_mgOptions.mg_pmgDown = &gm_mgStop; - gm_mgOptions.mg_pActivatedFunction = NULL; + gm_mgOptions.mg_strText = TRANS("OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgHighScore; + gm_mgOptions.mg_pmgDown = &gm_mgStop; + gm_mgOptions.mg_pActivatedFunction = NULL; - gm_mgStop.mg_strText = TRANS("STOP GAME"); - gm_mgStop.mg_bfsFontSize = BFS_LARGE; - gm_mgStop.mg_boxOnScreen = BoxBigRow(7.0f); - gm_mgStop.mg_strTip = TRANS("stop currently running game"); - gm_lhGadgets.AddTail(gm_mgStop.mg_lnNode); - gm_mgStop.mg_pmgUp = &gm_mgOptions; - gm_mgStop.mg_pmgDown = &gm_mgQuit; - gm_mgStop.mg_pActivatedFunction = NULL; + gm_mgStop.mg_strText = TRANS("STOP GAME"); + gm_mgStop.mg_bfsFontSize = BFS_LARGE; + gm_mgStop.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgStop.mg_strTip = TRANS("stop currently running game"); + gm_lhGadgets.AddTail(gm_mgStop.mg_lnNode); + gm_mgStop.mg_pmgUp = &gm_mgOptions; + gm_mgStop.mg_pmgDown = &gm_mgQuit; + gm_mgStop.mg_pActivatedFunction = NULL; - gm_mgQuit.mg_strText = TRANS("QUIT"); - gm_mgQuit.mg_bfsFontSize = BFS_LARGE; - gm_mgQuit.mg_boxOnScreen = BoxBigRow(8.0f); - gm_mgQuit.mg_strTip = TRANS("exit game immediately"); - gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); - gm_mgQuit.mg_pmgUp = &gm_mgStop; - gm_mgQuit.mg_pmgDown = &gm_mgQuickLoad; - gm_mgQuit.mg_pActivatedFunction = NULL; + gm_mgQuit.mg_strText = TRANS("QUIT"); + gm_mgQuit.mg_bfsFontSize = BFS_LARGE; + gm_mgQuit.mg_boxOnScreen = BoxBigRow(8.0f); + gm_mgQuit.mg_strTip = TRANS("exit game immediately"); + gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); + gm_mgQuit.mg_pmgUp = &gm_mgStop; + gm_mgQuit.mg_pmgDown = &gm_mgQuickLoad; + gm_mgQuit.mg_pActivatedFunction = NULL; } void CInGameMenu::StartMenu(void) { - gm_mgQuickLoad.mg_bEnabled = _pNetwork->IsServer(); - gm_mgQuickSave.mg_bEnabled = _pNetwork->IsServer(); - gm_mgLoad.mg_bEnabled = _pNetwork->IsServer(); - gm_mgSave.mg_bEnabled = _pNetwork->IsServer(); - gm_mgDemoRec.mg_bEnabled = TRUE;//_pNetwork->IsServer(); - extern void SetDemoStartStopRecText(); - SetDemoStartStopRecText(); + gm_mgQuickLoad.mg_bEnabled = _pNetwork->IsServer(); + gm_mgQuickSave.mg_bEnabled = _pNetwork->IsServer(); + gm_mgLoad.mg_bEnabled = _pNetwork->IsServer(); + gm_mgSave.mg_bEnabled = _pNetwork->IsServer(); + gm_mgDemoRec.mg_bEnabled = TRUE;//_pNetwork->IsServer(); + extern void SetDemoStartStopRecText(); + SetDemoStartStopRecText(); - if (_gmRunningGameMode == GM_SINGLE_PLAYER) { - CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; - gm_mgLabel1.mg_strText.PrintF(TRANS("Player: %s"), pc.GetNameForPrinting()); - gm_mgLabel2.mg_strText = ""; + if (_gmRunningGameMode == GM_SINGLE_PLAYER) { + CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; + gm_mgLabel1.mg_strText.PrintF(TRANS("Player: %s"), pc.GetNameForPrinting()); + gm_mgLabel2.mg_strText = ""; - } else { - if (_pNetwork->IsServer()) { + } else { + if (_pNetwork->IsServer()) { - CTString strHost, strAddress; - CTString strHostName; - _pNetwork->GetHostName(strHost, strAddress); - if (strHost == "") { - strHostName = TRANS(""); - } - else { - strHostName = strHost + " (" + strAddress + ")"; - } + CTString strHost, strAddress; + CTString strHostName; + _pNetwork->GetHostName(strHost, strAddress); + if (strHost == "") { + strHostName = TRANS(""); + } + else { + strHostName = strHost + " (" + strAddress + ")"; + } - gm_mgLabel1.mg_strText = TRANS("Address: ") + strHostName; - gm_mgLabel2.mg_strText = ""; + gm_mgLabel1.mg_strText = TRANS("Address: ") + strHostName; + gm_mgLabel2.mg_strText = ""; - } else { + } else { - CTString strConfig; - strConfig = TRANS(""); - extern CTString sam_strNetworkSettings; - if (sam_strNetworkSettings != "") { - LoadStringVar(CTFileName(sam_strNetworkSettings).NoExt() + ".des", strConfig); - strConfig.OnlyFirstLine(); - } + CTString strConfig; + strConfig = TRANS(""); + extern CTString sam_strNetworkSettings; + if (sam_strNetworkSettings != "") { + LoadStringVar(CTFileName(sam_strNetworkSettings).NoExt() + ".des", strConfig); + strConfig.OnlyFirstLine(); + } - gm_mgLabel1.mg_strText = TRANS("Connected to: ") + _pGame->gam_strJoinAddress; - gm_mgLabel2.mg_strText = TRANS("Connection: ") + strConfig; - } - } + gm_mgLabel1.mg_strText = TRANS("Connected to: ") + _pGame->gam_strJoinAddress; + gm_mgLabel2.mg_strText = TRANS("Connection: ") + strConfig; + } + } - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.cpp b/Sources/SeriousSam/GUI/Menus/MLevels.cpp index 141236f..efae5f1 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLevels.cpp @@ -21,91 +21,91 @@ with this program; if not, write to the Free Software Foundation, Inc., void CLevelsMenu::Initialize_t(void) { - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("CHOOSE LEVEL"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CHOOSE LEVEL"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - for (INDEX iLabel = 0; iLabel"); - gm_mgManualLevel[i].mg_iInList = -2; - } + // disable all items first + for (INDEX i = 0; i"); + gm_mgManualLevel[i].mg_iInList = -2; + } - BOOL bHasFirst = FALSE; - BOOL bHasLast = FALSE; - INDEX ctLabels = _lhFilteredLevels.Count(); - INDEX iLabel = 0; - FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itli) { - CLevelInfo &li = *itli; - INDEX iInMenu = iLabel - gm_iListOffset; - if ((iLabel >= gm_iListOffset) && - (iLabel<(gm_iListOffset + LEVELS_ON_SCREEN))) - { - bHasFirst |= (iLabel == 0); - bHasLast |= (iLabel == ctLabels - 1); - gm_mgManualLevel[iInMenu].mg_strText = li.li_strName; - gm_mgManualLevel[iInMenu].mg_fnmLevel = li.li_fnLevel; - gm_mgManualLevel[iInMenu].mg_bEnabled = TRUE; - gm_mgManualLevel[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } + BOOL bHasFirst = FALSE; + BOOL bHasLast = FALSE; + INDEX ctLabels = _lhFilteredLevels.Count(); + INDEX iLabel = 0; + FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itli) { + CLevelInfo &li = *itli; + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + LEVELS_ON_SCREEN))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgManualLevel[iInMenu].mg_strText = li.li_strName; + gm_mgManualLevel[iInMenu].mg_fnmLevel = li.li_fnLevel; + gm_mgManualLevel[iInMenu].mg_bEnabled = TRUE; + gm_mgManualLevel[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } - // enable/disable up/down arrows - gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; } void CLevelsMenu::StartMenu(void) { - // set default parameters for the list - gm_iListOffset = 0; - gm_ctListTotal = _lhFilteredLevels.Count(); - gm_iListWantedItem = 0; - // for each level - INDEX i = 0; - FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itlid) { - CLevelInfo &lid = *itlid; - // if it is the chosen one - if (lid.li_fnLevel == _pGame->gam_strCustomLevel) { - // demand focus on it - gm_iListWantedItem = i; - break; - } - i++; - } - CGameMenu::StartMenu(); + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = _lhFilteredLevels.Count(); + gm_iListWantedItem = 0; + // for each level + INDEX i = 0; + FOREACHINLIST(CLevelInfo, li_lnNode, _lhFilteredLevels, itlid) { + CLevelInfo &lid = *itlid; + // if it is the chosen one + if (lid.li_fnLevel == _pGame->gam_strCustomLevel) { + // demand focus on it + gm_iListWantedItem = i; + break; + } + i++; + } + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp index 75951ed..87a3c87 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp @@ -21,215 +21,215 @@ with this program; if not, write to the Free Software Foundation, Inc., void CLoadSaveMenu::Initialize_t(void) { - gm_pgmNextMenu = NULL; + gm_pgmNextMenu = NULL; - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgNotes.mg_boxOnScreen = BoxMediumRow(10.0); - gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNotes.mg_iCenterI = -1; - gm_mgNotes.mg_bEnabled = FALSE; - gm_mgNotes.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); + gm_mgNotes.mg_boxOnScreen = BoxMediumRow(10.0); + gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNotes.mg_iCenterI = -1; + gm_mgNotes.mg_bEnabled = FALSE; + gm_mgNotes.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); - for (INDEX iLabel = 0; iLabel afnmDir; - MakeDirList(afnmDir, gm_fnmDirectory, "", 0); - gm_iLastFile = -1; + // list the directory + CDynamicStackArray afnmDir; + MakeDirList(afnmDir, gm_fnmDirectory, "", 0); + gm_iLastFile = -1; - // for each file in the directory - for (INDEX i = 0; ifi_fnFile = fnm; - pfi->fi_strName = strName; - // add it to list - gm_lhFileInfos.AddTail(pfi->fi_lnNode); - } - } + // if it can be parsed + CTString strName; + if (ParseFile(fnm, strName)) { + // create new info for that file + CFileInfo *pfi = new CFileInfo; + pfi->fi_fnFile = fnm; + pfi->fi_strName = strName; + // add it to list + gm_lhFileInfos.AddTail(pfi->fi_lnNode); + } + } - // sort if needed - switch (gm_iSortType) { - default: ASSERT(FALSE); - case LSSORT_NONE: break; - case LSSORT_NAMEUP: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameUp, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_NAMEDN: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameDn, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_FILEUP: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileUp, offsetof(CFileInfo, fi_lnNode)); - break; - case LSSORT_FILEDN: - gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileDn, offsetof(CFileInfo, fi_lnNode)); - break; - } + // sort if needed + switch (gm_iSortType) { + default: ASSERT(FALSE); + case LSSORT_NONE: break; + case LSSORT_NAMEUP: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameUp, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_NAMEDN: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_NameDn, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_FILEUP: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileUp, offsetof(CFileInfo, fi_lnNode)); + break; + case LSSORT_FILEDN: + gm_lhFileInfos.Sort(qsort_CompareFileInfos_FileDn, offsetof(CFileInfo, fi_lnNode)); + break; + } - // if saving - if (gm_bSave) { - // add one info as empty slot - CFileInfo *pfi = new CFileInfo; - CTString strNumber; - strNumber.PrintF("%04d", gm_iLastFile + 1); - pfi->fi_fnFile = gm_fnmDirectory + gm_fnmBaseName + strNumber + gm_fnmExt; - pfi->fi_strName = EMPTYSLOTSTRING; - // add it to beginning - gm_lhFileInfos.AddHead(pfi->fi_lnNode); - } + // if saving + if (gm_bSave) { + // add one info as empty slot + CFileInfo *pfi = new CFileInfo; + CTString strNumber; + strNumber.PrintF("%04d", gm_iLastFile + 1); + pfi->fi_fnFile = gm_fnmDirectory + gm_fnmBaseName + strNumber + gm_fnmExt; + pfi->fi_strName = EMPTYSLOTSTRING; + // add it to beginning + gm_lhFileInfos.AddHead(pfi->fi_lnNode); + } - // set default parameters for the list - gm_iListOffset = 0; - gm_ctListTotal = gm_lhFileInfos.Count(); + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = gm_lhFileInfos.Count(); - // find which one should be selected - gm_iListWantedItem = 0; - if (gm_fnmSelected != "") { - INDEX i = 0; - FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - CFileInfo &fi = *itfi; - if (fi.fi_fnFile == gm_fnmSelected) { - gm_iListWantedItem = i; - break; - } - i++; - } - } + // find which one should be selected + gm_iListWantedItem = 0; + if (gm_fnmSelected != "") { + INDEX i = 0; + FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + CFileInfo &fi = *itfi; + if (fi.fi_fnFile == gm_fnmSelected) { + gm_iListWantedItem = i; + break; + } + i++; + } + } - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } void CLoadSaveMenu::EndMenu(void) { - // delete all file infos - FORDELETELIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - delete &itfi.Current(); - } - gm_pgmNextMenu = NULL; - CGameMenu::EndMenu(); + // delete all file infos + FORDELETELIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + delete &itfi.Current(); + } + gm_pgmNextMenu = NULL; + CGameMenu::EndMenu(); } void CLoadSaveMenu::FillListItems(void) { - // disable all items first - for (INDEX i = 0; i"); - gm_amgButton[i].mg_strTip = ""; - gm_amgButton[i].mg_iInList = -2; - } + // disable all items first + for (INDEX i = 0; i"); + gm_amgButton[i].mg_strTip = ""; + gm_amgButton[i].mg_iInList = -2; + } - BOOL bHasFirst = FALSE; - BOOL bHasLast = FALSE; - INDEX ctLabels = gm_lhFileInfos.Count(); - INDEX iLabel = 0; - FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { - CFileInfo &fi = *itfi; - INDEX iInMenu = iLabel - gm_iListOffset; - if ((iLabel >= gm_iListOffset) && - (iLabel<(gm_iListOffset + SAVELOAD_BUTTONS_CT))) - { - bHasFirst |= (iLabel == 0); - bHasLast |= (iLabel == ctLabels - 1); - gm_amgButton[iInMenu].mg_iInList = iLabel; - gm_amgButton[iInMenu].mg_strDes = fi.fi_strName; - gm_amgButton[iInMenu].mg_fnm = fi.fi_fnFile; - gm_amgButton[iInMenu].mg_bEnabled = TRUE; - gm_amgButton[iInMenu].RefreshText(); - if (gm_bSave) { - if (!FileExistsForWriting(gm_amgButton[iInMenu].mg_fnm)) { - gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save in new slot"); - } - else { - gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save here, F2 - rename, Del - delete"); - } - } - else if (gm_bManage) { - gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this, F2 - rename, Del - delete"); - } - else { - gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this"); - } - } - iLabel++; - } + BOOL bHasFirst = FALSE; + BOOL bHasLast = FALSE; + INDEX ctLabels = gm_lhFileInfos.Count(); + INDEX iLabel = 0; + FOREACHINLIST(CFileInfo, fi_lnNode, gm_lhFileInfos, itfi) { + CFileInfo &fi = *itfi; + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + SAVELOAD_BUTTONS_CT))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_amgButton[iInMenu].mg_iInList = iLabel; + gm_amgButton[iInMenu].mg_strDes = fi.fi_strName; + gm_amgButton[iInMenu].mg_fnm = fi.fi_fnFile; + gm_amgButton[iInMenu].mg_bEnabled = TRUE; + gm_amgButton[iInMenu].RefreshText(); + if (gm_bSave) { + if (!FileExistsForWriting(gm_amgButton[iInMenu].mg_fnm)) { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save in new slot"); + } + else { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - save here, F2 - rename, Del - delete"); + } + } + else if (gm_bManage) { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this, F2 - rename, Del - delete"); + } + else { + gm_amgButton[iInMenu].mg_strTip = TRANS("Enter - load this"); + } + } + iLabel++; + } - // enable/disable up/down arrows - gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; } // called to get info of a file from directory, or to skip it BOOL CLoadSaveMenu::ParseFile(const CTFileName &fnm, CTString &strName) { - if (fnm.FileExt() != gm_fnmExt) { - return FALSE; - } + if (fnm.FileExt() != gm_fnmExt) { + return FALSE; + } - CTFileName fnSaveGameDescription = fnm.NoExt() + ".des"; - try { - strName.Load_t(fnSaveGameDescription); - } catch (char *strError) { - (void)strError; - strName = fnm.FileName(); + CTFileName fnSaveGameDescription = fnm.NoExt() + ".des"; + try { + strName.Load_t(fnSaveGameDescription); + } catch (char *strError) { + (void)strError; + strName = fnm.FileName(); - if (fnm.FileExt() == ".ctl") { - INDEX iCtl = -1; - strName.ScanF("Controls%d", &iCtl); - if (iCtl >= 0 && iCtl <= 7) { - strName.PrintF(TRANS("From player: %s"), _pGame->gm_apcPlayers[iCtl].GetNameForPrinting()); - } - } - } + if (fnm.FileExt() == ".ctl") { + INDEX iCtl = -1; + strName.ScanF("Controls%d", &iCtl); + if (iCtl >= 0 && iCtl <= 7) { + strName.PrintF(TRANS("From player: %s"), _pGame->gm_apcPlayers[iCtl].GetNameForPrinting()); + } + } + } - INDEX iFile = -1; - fnm.FileName().ScanF((const char*)(gm_fnmBaseName + "%d"), &iFile); + INDEX iFile = -1; + fnm.FileName().ScanF((const char*)(gm_fnmBaseName + "%d"), &iFile); - gm_iLastFile = Max(gm_iLastFile, iFile); + gm_iLastFile = Max(gm_iLastFile, iFile); - return TRUE; + return TRUE; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MMain.cpp b/Sources/SeriousSam/GUI/Menus/MMain.cpp index 6bc4ecc..ea4b475 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.cpp +++ b/Sources/SeriousSam/GUI/Menus/MMain.cpp @@ -21,109 +21,109 @@ with this program; if not, write to the Free Software Foundation, Inc., void CMainMenu::Initialize_t(void) { - // intialize main menu - /* - gm_mgTitle.mg_strText = "SERIOUS SAM - BETA"; // nothing to see here, kazuya - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail( gm_mgTitle.mg_lnNode); - */ + // intialize main menu + /* + gm_mgTitle.mg_strText = "SERIOUS SAM - BETA"; // nothing to see here, kazuya + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail( gm_mgTitle.mg_lnNode); + */ - extern CTString sam_strVersion; - gm_mgVersionLabel.mg_strText = sam_strVersion; - gm_mgVersionLabel.mg_boxOnScreen = BoxVersion(); - gm_mgVersionLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgVersionLabel.mg_iCenterI = +1; - gm_mgVersionLabel.mg_bEnabled = FALSE; - gm_mgVersionLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgVersionLabel.mg_lnNode); + extern CTString sam_strVersion; + gm_mgVersionLabel.mg_strText = sam_strVersion; + gm_mgVersionLabel.mg_boxOnScreen = BoxVersion(); + gm_mgVersionLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgVersionLabel.mg_iCenterI = +1; + gm_mgVersionLabel.mg_bEnabled = FALSE; + gm_mgVersionLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgVersionLabel.mg_lnNode); - extern CTString sam_strModName; - gm_mgModLabel.mg_strText = sam_strModName; - gm_mgModLabel.mg_boxOnScreen = BoxMediumRow(-2.0f); - gm_mgModLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgModLabel.mg_iCenterI = 0; - gm_mgModLabel.mg_bEnabled = FALSE; - gm_mgModLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgModLabel.mg_lnNode); + extern CTString sam_strModName; + gm_mgModLabel.mg_strText = sam_strModName; + gm_mgModLabel.mg_boxOnScreen = BoxMediumRow(-2.0f); + gm_mgModLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgModLabel.mg_iCenterI = 0; + gm_mgModLabel.mg_bEnabled = FALSE; + gm_mgModLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgModLabel.mg_lnNode); - gm_mgSingle.mg_strText = TRANS("SINGLE PLAYER"); - gm_mgSingle.mg_bfsFontSize = BFS_LARGE; - gm_mgSingle.mg_boxOnScreen = BoxBigRow(0.0f); - gm_mgSingle.mg_strTip = TRANS("single player game menus"); - gm_lhGadgets.AddTail(gm_mgSingle.mg_lnNode); - gm_mgSingle.mg_pmgUp = &gm_mgQuit; - gm_mgSingle.mg_pmgDown = &gm_mgNetwork; - gm_mgSingle.mg_pActivatedFunction = NULL; + gm_mgSingle.mg_strText = TRANS("SINGLE PLAYER"); + gm_mgSingle.mg_bfsFontSize = BFS_LARGE; + gm_mgSingle.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgSingle.mg_strTip = TRANS("single player game menus"); + gm_lhGadgets.AddTail(gm_mgSingle.mg_lnNode); + gm_mgSingle.mg_pmgUp = &gm_mgQuit; + gm_mgSingle.mg_pmgDown = &gm_mgNetwork; + gm_mgSingle.mg_pActivatedFunction = NULL; - gm_mgNetwork.mg_strText = TRANS("NETWORK"); - gm_mgNetwork.mg_bfsFontSize = BFS_LARGE; - gm_mgNetwork.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgNetwork.mg_strTip = TRANS("LAN/iNet multiplayer menus"); - gm_lhGadgets.AddTail(gm_mgNetwork.mg_lnNode); - gm_mgNetwork.mg_pmgUp = &gm_mgSingle; - gm_mgNetwork.mg_pmgDown = &gm_mgSplitScreen; - gm_mgNetwork.mg_pActivatedFunction = NULL; + gm_mgNetwork.mg_strText = TRANS("NETWORK"); + gm_mgNetwork.mg_bfsFontSize = BFS_LARGE; + gm_mgNetwork.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgNetwork.mg_strTip = TRANS("LAN/iNet multiplayer menus"); + gm_lhGadgets.AddTail(gm_mgNetwork.mg_lnNode); + gm_mgNetwork.mg_pmgUp = &gm_mgSingle; + gm_mgNetwork.mg_pmgDown = &gm_mgSplitScreen; + gm_mgNetwork.mg_pActivatedFunction = NULL; - gm_mgSplitScreen.mg_strText = TRANS("SPLIT SCREEN"); - gm_mgSplitScreen.mg_bfsFontSize = BFS_LARGE; - gm_mgSplitScreen.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgSplitScreen.mg_strTip = TRANS("play with multiple players on one computer"); - gm_lhGadgets.AddTail(gm_mgSplitScreen.mg_lnNode); - gm_mgSplitScreen.mg_pmgUp = &gm_mgNetwork; - gm_mgSplitScreen.mg_pmgDown = &gm_mgDemo; - gm_mgSplitScreen.mg_pActivatedFunction = NULL; + gm_mgSplitScreen.mg_strText = TRANS("SPLIT SCREEN"); + gm_mgSplitScreen.mg_bfsFontSize = BFS_LARGE; + gm_mgSplitScreen.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgSplitScreen.mg_strTip = TRANS("play with multiple players on one computer"); + gm_lhGadgets.AddTail(gm_mgSplitScreen.mg_lnNode); + gm_mgSplitScreen.mg_pmgUp = &gm_mgNetwork; + gm_mgSplitScreen.mg_pmgDown = &gm_mgDemo; + gm_mgSplitScreen.mg_pActivatedFunction = NULL; - gm_mgDemo.mg_strText = TRANS("DEMO"); - gm_mgDemo.mg_bfsFontSize = BFS_LARGE; - gm_mgDemo.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgDemo.mg_strTip = TRANS("play a game demo"); - gm_lhGadgets.AddTail(gm_mgDemo.mg_lnNode); - gm_mgDemo.mg_pmgUp = &gm_mgSplitScreen; - gm_mgDemo.mg_pmgDown = &gm_mgMods; - gm_mgDemo.mg_pActivatedFunction = NULL; + gm_mgDemo.mg_strText = TRANS("DEMO"); + gm_mgDemo.mg_bfsFontSize = BFS_LARGE; + gm_mgDemo.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgDemo.mg_strTip = TRANS("play a game demo"); + gm_lhGadgets.AddTail(gm_mgDemo.mg_lnNode); + gm_mgDemo.mg_pmgUp = &gm_mgSplitScreen; + gm_mgDemo.mg_pmgDown = &gm_mgMods; + gm_mgDemo.mg_pActivatedFunction = NULL; - gm_mgMods.mg_strText = TRANS("MODS"); - gm_mgMods.mg_bfsFontSize = BFS_LARGE; - gm_mgMods.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgMods.mg_strTip = TRANS("run one of installed game modifications"); - gm_lhGadgets.AddTail(gm_mgMods.mg_lnNode); - gm_mgMods.mg_pmgUp = &gm_mgDemo; - gm_mgMods.mg_pmgDown = &gm_mgHighScore; - gm_mgMods.mg_pActivatedFunction = NULL; + gm_mgMods.mg_strText = TRANS("MODS"); + gm_mgMods.mg_bfsFontSize = BFS_LARGE; + gm_mgMods.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgMods.mg_strTip = TRANS("run one of installed game modifications"); + gm_lhGadgets.AddTail(gm_mgMods.mg_lnNode); + gm_mgMods.mg_pmgUp = &gm_mgDemo; + gm_mgMods.mg_pmgDown = &gm_mgHighScore; + gm_mgMods.mg_pActivatedFunction = NULL; - gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); - gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; - gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); - gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); - gm_mgHighScore.mg_pmgUp = &gm_mgMods; - gm_mgHighScore.mg_pmgDown = &gm_mgOptions; - gm_mgHighScore.mg_pActivatedFunction = NULL; + gm_mgHighScore.mg_strText = TRANS("HIGH SCORES"); + gm_mgHighScore.mg_bfsFontSize = BFS_LARGE; + gm_mgHighScore.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgHighScore.mg_strTip = TRANS("view list of top ten best scores"); + gm_lhGadgets.AddTail(gm_mgHighScore.mg_lnNode); + gm_mgHighScore.mg_pmgUp = &gm_mgMods; + gm_mgHighScore.mg_pmgDown = &gm_mgOptions; + gm_mgHighScore.mg_pActivatedFunction = NULL; - gm_mgOptions.mg_strText = TRANS("OPTIONS"); - gm_mgOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); - gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); - gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); - gm_mgOptions.mg_pmgUp = &gm_mgHighScore; - gm_mgOptions.mg_pmgDown = &gm_mgQuit; - gm_mgOptions.mg_pActivatedFunction = NULL; + gm_mgOptions.mg_strText = TRANS("OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_strTip = TRANS("adjust video, audio and input options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgHighScore; + gm_mgOptions.mg_pmgDown = &gm_mgQuit; + gm_mgOptions.mg_pActivatedFunction = NULL; - gm_mgQuit.mg_strText = TRANS("QUIT"); - gm_mgQuit.mg_bfsFontSize = BFS_LARGE; - gm_mgQuit.mg_boxOnScreen = BoxBigRow(7.0f); - gm_mgQuit.mg_strTip = TRANS("exit game immediately"); - gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); - gm_mgQuit.mg_pmgUp = &gm_mgOptions; - gm_mgQuit.mg_pmgDown = &gm_mgSingle; - gm_mgQuit.mg_pActivatedFunction = NULL; + gm_mgQuit.mg_strText = TRANS("QUIT"); + gm_mgQuit.mg_bfsFontSize = BFS_LARGE; + gm_mgQuit.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgQuit.mg_strTip = TRANS("exit game immediately"); + gm_lhGadgets.AddTail(gm_mgQuit.mg_lnNode); + gm_mgQuit.mg_pmgUp = &gm_mgOptions; + gm_mgQuit.mg_pmgDown = &gm_mgSingle; + gm_mgQuit.mg_pActivatedFunction = NULL; } void CMainMenu::StartMenu(void) { - gm_mgSingle.mg_bEnabled = IsMenuEnabled("Single Player"); - gm_mgNetwork.mg_bEnabled = IsMenuEnabled("Network"); - gm_mgSplitScreen.mg_bEnabled = IsMenuEnabled("Split Screen"); - gm_mgHighScore.mg_bEnabled = IsMenuEnabled("High Score"); - CGameMenu::StartMenu(); + gm_mgSingle.mg_bEnabled = IsMenuEnabled("Single Player"); + gm_mgNetwork.mg_bEnabled = IsMenuEnabled("Network"); + gm_mgSplitScreen.mg_bEnabled = IsMenuEnabled("Split Screen"); + gm_mgHighScore.mg_bEnabled = IsMenuEnabled("High Score"); + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp index bd20de2..05f8596 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp @@ -20,49 +20,49 @@ with this program; if not, write to the Free Software Foundation, Inc., void CNetworkMenu::Initialize_t(void) { - // intialize network menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("NETWORK"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize network menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("NETWORK"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgJoin.mg_bfsFontSize = BFS_LARGE; - gm_mgJoin.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgJoin.mg_pmgUp = &gm_mgLoad; - gm_mgJoin.mg_pmgDown = &gm_mgStart; - gm_mgJoin.mg_strText = TRANS("JOIN GAME"); - gm_mgJoin.mg_strTip = TRANS("join a network game"); - gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); - gm_mgJoin.mg_pActivatedFunction = NULL; + gm_mgJoin.mg_bfsFontSize = BFS_LARGE; + gm_mgJoin.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgJoin.mg_pmgUp = &gm_mgLoad; + gm_mgJoin.mg_pmgDown = &gm_mgStart; + gm_mgJoin.mg_strText = TRANS("JOIN GAME"); + gm_mgJoin.mg_strTip = TRANS("join a network game"); + gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); + gm_mgJoin.mg_pActivatedFunction = NULL; - gm_mgStart.mg_bfsFontSize = BFS_LARGE; - gm_mgStart.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgStart.mg_pmgUp = &gm_mgJoin; - gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; - gm_mgStart.mg_strText = TRANS("START SERVER"); - gm_mgStart.mg_strTip = TRANS("start a network game server"); - gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); - gm_mgStart.mg_pActivatedFunction = NULL; + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgStart.mg_pmgUp = &gm_mgJoin; + gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; + gm_mgStart.mg_strText = TRANS("START SERVER"); + gm_mgStart.mg_strTip = TRANS("start a network game server"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; - gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; - gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; - gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); - gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); - gm_mgQuickLoad.mg_pActivatedFunction = NULL; + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pActivatedFunction = NULL; - gm_mgLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgLoad.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; - gm_mgLoad.mg_pmgDown = &gm_mgJoin; - gm_mgLoad.mg_strText = TRANS("LOAD"); - gm_mgLoad.mg_strTip = TRANS("start server and load a network game (server only)"); - gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); - gm_mgLoad.mg_pActivatedFunction = NULL; + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgJoin; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_strTip = TRANS("start server and load a network game (server only)"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pActivatedFunction = NULL; } void CNetworkMenu::StartMenu(void) { - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp index 61430dc..1ecdde0 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp @@ -21,35 +21,35 @@ with this program; if not, write to the Free Software Foundation, Inc., void CNetworkJoinMenu::Initialize_t(void) { - // title - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("JOIN GAME"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // title + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("JOIN GAME"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgLAN.mg_bfsFontSize = BFS_LARGE; - gm_mgLAN.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgLAN.mg_pmgUp = &gm_mgOpen; - gm_mgLAN.mg_pmgDown = &gm_mgNET; - gm_mgLAN.mg_strText = TRANS("SEARCH LAN"); - gm_mgLAN.mg_strTip = TRANS("search local network for servers"); - gm_lhGadgets.AddTail(gm_mgLAN.mg_lnNode); - gm_mgLAN.mg_pActivatedFunction = NULL; + gm_mgLAN.mg_bfsFontSize = BFS_LARGE; + gm_mgLAN.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgLAN.mg_pmgUp = &gm_mgOpen; + gm_mgLAN.mg_pmgDown = &gm_mgNET; + gm_mgLAN.mg_strText = TRANS("SEARCH LAN"); + gm_mgLAN.mg_strTip = TRANS("search local network for servers"); + gm_lhGadgets.AddTail(gm_mgLAN.mg_lnNode); + gm_mgLAN.mg_pActivatedFunction = NULL; - gm_mgNET.mg_bfsFontSize = BFS_LARGE; - gm_mgNET.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgNET.mg_pmgUp = &gm_mgLAN; - gm_mgNET.mg_pmgDown = &gm_mgOpen; - gm_mgNET.mg_strText = TRANS("SEARCH INTERNET"); - gm_mgNET.mg_strTip = TRANS("search internet for servers"); - gm_lhGadgets.AddTail(gm_mgNET.mg_lnNode); - gm_mgNET.mg_pActivatedFunction = NULL; + gm_mgNET.mg_bfsFontSize = BFS_LARGE; + gm_mgNET.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgNET.mg_pmgUp = &gm_mgLAN; + gm_mgNET.mg_pmgDown = &gm_mgOpen; + gm_mgNET.mg_strText = TRANS("SEARCH INTERNET"); + gm_mgNET.mg_strTip = TRANS("search internet for servers"); + gm_lhGadgets.AddTail(gm_mgNET.mg_lnNode); + gm_mgNET.mg_pActivatedFunction = NULL; - gm_mgOpen.mg_bfsFontSize = BFS_LARGE; - gm_mgOpen.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgOpen.mg_pmgUp = &gm_mgNET; - gm_mgOpen.mg_pmgDown = &gm_mgLAN; - gm_mgOpen.mg_strText = TRANS("SPECIFY SERVER"); - gm_mgOpen.mg_strTip = TRANS("type in server address to connect to"); - gm_lhGadgets.AddTail(gm_mgOpen.mg_lnNode); - gm_mgOpen.mg_pActivatedFunction = NULL; + gm_mgOpen.mg_bfsFontSize = BFS_LARGE; + gm_mgOpen.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgOpen.mg_pmgUp = &gm_mgNET; + gm_mgOpen.mg_pmgDown = &gm_mgLAN; + gm_mgOpen.mg_strText = TRANS("SPECIFY SERVER"); + gm_mgOpen.mg_strTip = TRANS("type in server address to connect to"); + gm_lhGadgets.AddTail(gm_mgOpen.mg_lnNode); + gm_mgOpen.mg_pActivatedFunction = NULL; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp index 895b00a..fe2fe53 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp @@ -21,58 +21,58 @@ with this program; if not, write to the Free Software Foundation, Inc., void CNetworkOpenMenu::Initialize_t(void) { - // intialize network join menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("JOIN"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize network join menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("JOIN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgAddressLabel.mg_strText = TRANS("Address:"); - gm_mgAddressLabel.mg_boxOnScreen = BoxMediumLeft(1); - gm_mgAddressLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail(gm_mgAddressLabel.mg_lnNode); + gm_mgAddressLabel.mg_strText = TRANS("Address:"); + gm_mgAddressLabel.mg_boxOnScreen = BoxMediumLeft(1); + gm_mgAddressLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgAddressLabel.mg_lnNode); - gm_mgAddress.mg_strText = _pGame->gam_strJoinAddress; - gm_mgAddress.mg_ctMaxStringLen = 20; - gm_mgAddress.mg_pstrToChange = &_pGame->gam_strJoinAddress; - gm_mgAddress.mg_boxOnScreen = BoxMediumMiddle(1); - gm_mgAddress.mg_bfsFontSize = BFS_MEDIUM; - gm_mgAddress.mg_iCenterI = -1; - gm_mgAddress.mg_pmgUp = &gm_mgJoin; - gm_mgAddress.mg_pmgDown = &gm_mgPort; - gm_mgAddress.mg_strTip = TRANS("specify server address"); - gm_lhGadgets.AddTail(gm_mgAddress.mg_lnNode); + gm_mgAddress.mg_strText = _pGame->gam_strJoinAddress; + gm_mgAddress.mg_ctMaxStringLen = 20; + gm_mgAddress.mg_pstrToChange = &_pGame->gam_strJoinAddress; + gm_mgAddress.mg_boxOnScreen = BoxMediumMiddle(1); + gm_mgAddress.mg_bfsFontSize = BFS_MEDIUM; + gm_mgAddress.mg_iCenterI = -1; + gm_mgAddress.mg_pmgUp = &gm_mgJoin; + gm_mgAddress.mg_pmgDown = &gm_mgPort; + gm_mgAddress.mg_strTip = TRANS("specify server address"); + gm_lhGadgets.AddTail(gm_mgAddress.mg_lnNode); - gm_mgPortLabel.mg_strText = TRANS("Port:"); - gm_mgPortLabel.mg_boxOnScreen = BoxMediumLeft(2); - gm_mgPortLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail(gm_mgPortLabel.mg_lnNode); + gm_mgPortLabel.mg_strText = TRANS("Port:"); + gm_mgPortLabel.mg_boxOnScreen = BoxMediumLeft(2); + gm_mgPortLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgPortLabel.mg_lnNode); - gm_mgPort.mg_strText = ""; - gm_mgPort.mg_ctMaxStringLen = 10; - gm_mgPort.mg_pstrToChange = &gm_strPort; - gm_mgPort.mg_boxOnScreen = BoxMediumMiddle(2); - gm_mgPort.mg_bfsFontSize = BFS_MEDIUM; - gm_mgPort.mg_iCenterI = -1; - gm_mgPort.mg_pmgUp = &gm_mgAddress; - gm_mgPort.mg_pmgDown = &gm_mgJoin; - gm_mgPort.mg_strTip = TRANS("specify server address"); - gm_lhGadgets.AddTail(gm_mgPort.mg_lnNode); + gm_mgPort.mg_strText = ""; + gm_mgPort.mg_ctMaxStringLen = 10; + gm_mgPort.mg_pstrToChange = &gm_strPort; + gm_mgPort.mg_boxOnScreen = BoxMediumMiddle(2); + gm_mgPort.mg_bfsFontSize = BFS_MEDIUM; + gm_mgPort.mg_iCenterI = -1; + gm_mgPort.mg_pmgUp = &gm_mgAddress; + gm_mgPort.mg_pmgDown = &gm_mgJoin; + gm_mgPort.mg_strTip = TRANS("specify server address"); + gm_lhGadgets.AddTail(gm_mgPort.mg_lnNode); - gm_mgJoin.mg_boxOnScreen = BoxMediumMiddle(3); - gm_mgJoin.mg_pmgUp = &gm_mgPort; - gm_mgJoin.mg_pmgDown = &gm_mgAddress; - gm_mgJoin.mg_strText = TRANS("Join"); - gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); - gm_mgJoin.mg_pActivatedFunction = NULL; + gm_mgJoin.mg_boxOnScreen = BoxMediumMiddle(3); + gm_mgJoin.mg_pmgUp = &gm_mgPort; + gm_mgJoin.mg_pmgDown = &gm_mgAddress; + gm_mgJoin.mg_strText = TRANS("Join"); + gm_lhGadgets.AddTail(gm_mgJoin.mg_lnNode); + gm_mgJoin.mg_pActivatedFunction = NULL; } void CNetworkOpenMenu::StartMenu(void) { - gm_strPort = _pShell->GetValue("net_iPort"); - gm_mgPort.mg_strText = gm_strPort; + gm_strPort = _pShell->GetValue("net_iPort"); + gm_mgPort.mg_strText = gm_strPort; } void CNetworkOpenMenu::EndMenu(void) { - _pShell->SetValue("net_iPort", gm_strPort); + _pShell->SetValue("net_iPort", gm_strPort); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp index 9e24308..c967829 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp @@ -24,123 +24,123 @@ extern void UpdateNetworkLevel(INDEX iDummy); void CNetworkStartMenu::Initialize_t(void) { - // title - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("START SERVER"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // title + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("START SERVER"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - // session name edit box - gm_mgSessionName.mg_strText = _pGame->gam_strSessionName; - gm_mgSessionName.mg_strLabel = TRANS("Session name:"); - gm_mgSessionName.mg_ctMaxStringLen = 25; - gm_mgSessionName.mg_pstrToChange = &_pGame->gam_strSessionName; - gm_mgSessionName.mg_boxOnScreen = BoxMediumRow(1); - gm_mgSessionName.mg_bfsFontSize = BFS_MEDIUM; - gm_mgSessionName.mg_iCenterI = -1; - gm_mgSessionName.mg_pmgUp = &gm_mgStart; - gm_mgSessionName.mg_pmgDown = &gm_mgGameType; - gm_mgSessionName.mg_strTip = TRANS("name the session to start"); - gm_lhGadgets.AddTail(gm_mgSessionName.mg_lnNode); + // session name edit box + gm_mgSessionName.mg_strText = _pGame->gam_strSessionName; + gm_mgSessionName.mg_strLabel = TRANS("Session name:"); + gm_mgSessionName.mg_ctMaxStringLen = 25; + gm_mgSessionName.mg_pstrToChange = &_pGame->gam_strSessionName; + gm_mgSessionName.mg_boxOnScreen = BoxMediumRow(1); + gm_mgSessionName.mg_bfsFontSize = BFS_MEDIUM; + gm_mgSessionName.mg_iCenterI = -1; + gm_mgSessionName.mg_pmgUp = &gm_mgStart; + gm_mgSessionName.mg_pmgDown = &gm_mgGameType; + gm_mgSessionName.mg_strTip = TRANS("name the session to start"); + gm_lhGadgets.AddTail(gm_mgSessionName.mg_lnNode); - // game type trigger - TRIGGER_MG(gm_mgGameType, 2, - gm_mgSessionName, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); - gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; - gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); - gm_mgGameType.mg_pOnTriggerChange = &UpdateNetworkLevel; + // game type trigger + TRIGGER_MG(gm_mgGameType, 2, + gm_mgSessionName, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); + gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; + gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); + gm_mgGameType.mg_pOnTriggerChange = &UpdateNetworkLevel; - // difficulty trigger - TRIGGER_MG(gm_mgDifficulty, 3, - gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); - gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); + // difficulty trigger + TRIGGER_MG(gm_mgDifficulty, 3, + gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); + gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); - // level name - gm_mgLevel.mg_strText = ""; - gm_mgLevel.mg_strLabel = TRANS("Level:"); - gm_mgLevel.mg_boxOnScreen = BoxMediumRow(4); - gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgLevel.mg_iCenterI = -1; - gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; - gm_mgLevel.mg_pmgDown = &gm_mgMaxPlayers; - gm_mgLevel.mg_strTip = TRANS("choose the level to start"); - gm_mgLevel.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); + // level name + gm_mgLevel.mg_strText = ""; + gm_mgLevel.mg_strLabel = TRANS("Level:"); + gm_mgLevel.mg_boxOnScreen = BoxMediumRow(4); + gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLevel.mg_iCenterI = -1; + gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; + gm_mgLevel.mg_pmgDown = &gm_mgMaxPlayers; + gm_mgLevel.mg_strTip = TRANS("choose the level to start"); + gm_mgLevel.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); - // max players trigger - TRIGGER_MG(gm_mgMaxPlayers, 5, - gm_mgLevel, gm_mgWaitAllPlayers, TRANS("Max players:"), astrMaxPlayersRadioTexts); - gm_mgMaxPlayers.mg_strTip = TRANS("choose maximum allowed number of players"); + // max players trigger + TRIGGER_MG(gm_mgMaxPlayers, 5, + gm_mgLevel, gm_mgWaitAllPlayers, TRANS("Max players:"), astrMaxPlayersRadioTexts); + gm_mgMaxPlayers.mg_strTip = TRANS("choose maximum allowed number of players"); - // wait all players trigger - TRIGGER_MG(gm_mgWaitAllPlayers, 6, - gm_mgMaxPlayers, gm_mgVisible, TRANS("Wait for all players:"), astrNoYes); - gm_mgWaitAllPlayers.mg_strTip = TRANS("if on, game won't start until all players have joined"); + // wait all players trigger + TRIGGER_MG(gm_mgWaitAllPlayers, 6, + gm_mgMaxPlayers, gm_mgVisible, TRANS("Wait for all players:"), astrNoYes); + gm_mgWaitAllPlayers.mg_strTip = TRANS("if on, game won't start until all players have joined"); - // server visible trigger - TRIGGER_MG(gm_mgVisible, 7, - gm_mgMaxPlayers, gm_mgGameOptions, TRANS("Server visible:"), astrNoYes); - gm_mgVisible.mg_strTip = TRANS("invisible servers are not listed, cleints have to join manually"); + // server visible trigger + TRIGGER_MG(gm_mgVisible, 7, + gm_mgMaxPlayers, gm_mgGameOptions, TRANS("Server visible:"), astrNoYes); + gm_mgVisible.mg_strTip = TRANS("invisible servers are not listed, cleints have to join manually"); - // options button - gm_mgGameOptions.mg_strText = TRANS("Game options"); - gm_mgGameOptions.mg_boxOnScreen = BoxMediumRow(8); - gm_mgGameOptions.mg_bfsFontSize = BFS_MEDIUM; - gm_mgGameOptions.mg_iCenterI = 0; - gm_mgGameOptions.mg_pmgUp = &gm_mgVisible; - gm_mgGameOptions.mg_pmgDown = &gm_mgStart; - gm_mgGameOptions.mg_strTip = TRANS("adjust game rules"); - gm_mgGameOptions.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgGameOptions.mg_lnNode); + // options button + gm_mgGameOptions.mg_strText = TRANS("Game options"); + gm_mgGameOptions.mg_boxOnScreen = BoxMediumRow(8); + gm_mgGameOptions.mg_bfsFontSize = BFS_MEDIUM; + gm_mgGameOptions.mg_iCenterI = 0; + gm_mgGameOptions.mg_pmgUp = &gm_mgVisible; + gm_mgGameOptions.mg_pmgDown = &gm_mgStart; + gm_mgGameOptions.mg_strTip = TRANS("adjust game rules"); + gm_mgGameOptions.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgGameOptions.mg_lnNode); - // start button - gm_mgStart.mg_bfsFontSize = BFS_LARGE; - gm_mgStart.mg_boxOnScreen = BoxBigRow(7); - gm_mgStart.mg_pmgUp = &gm_mgGameOptions; - gm_mgStart.mg_pmgDown = &gm_mgSessionName; - gm_mgStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); - gm_mgStart.mg_pActivatedFunction = NULL; + // start button + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(7); + gm_mgStart.mg_pmgUp = &gm_mgGameOptions; + gm_mgStart.mg_pmgDown = &gm_mgSessionName; + gm_mgStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; } void CNetworkStartMenu::StartMenu(void) { - extern INDEX sam_bMentalActivated; - gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; + extern INDEX sam_bMentalActivated; + gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; - gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); - gm_mgGameType.ApplyCurrentSelection(); - gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; - gm_mgDifficulty.ApplyCurrentSelection(); + gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); + gm_mgGameType.ApplyCurrentSelection(); + gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; + gm_mgDifficulty.ApplyCurrentSelection(); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - INDEX ctMaxPlayers = _pShell->GetINDEX("gam_ctMaxPlayers"); - if (ctMaxPlayers<2 || ctMaxPlayers>16) { - ctMaxPlayers = 2; - _pShell->SetINDEX("gam_ctMaxPlayers", ctMaxPlayers); - } + INDEX ctMaxPlayers = _pShell->GetINDEX("gam_ctMaxPlayers"); + if (ctMaxPlayers<2 || ctMaxPlayers>16) { + ctMaxPlayers = 2; + _pShell->SetINDEX("gam_ctMaxPlayers", ctMaxPlayers); + } - gm_mgMaxPlayers.mg_iSelected = ctMaxPlayers - 2; - gm_mgMaxPlayers.ApplyCurrentSelection(); + gm_mgMaxPlayers.mg_iSelected = ctMaxPlayers - 2; + gm_mgMaxPlayers.ApplyCurrentSelection(); - gm_mgWaitAllPlayers.mg_iSelected = Clamp(_pShell->GetINDEX("gam_bWaitAllPlayers"), 0L, 1L); - gm_mgWaitAllPlayers.ApplyCurrentSelection(); + gm_mgWaitAllPlayers.mg_iSelected = Clamp(_pShell->GetINDEX("gam_bWaitAllPlayers"), 0L, 1L); + gm_mgWaitAllPlayers.ApplyCurrentSelection(); - gm_mgVisible.mg_iSelected = _pShell->GetINDEX("ser_bEnumeration"); - gm_mgVisible.ApplyCurrentSelection(); + gm_mgVisible.mg_iSelected = _pShell->GetINDEX("ser_bEnumeration"); + gm_mgVisible.ApplyCurrentSelection(); - UpdateNetworkLevel(0); + UpdateNetworkLevel(0); - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } void CNetworkStartMenu::EndMenu(void) { - _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); - _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); - _pShell->SetINDEX("gam_bWaitAllPlayers", gm_mgWaitAllPlayers.mg_iSelected); - _pShell->SetINDEX("gam_ctMaxPlayers", gm_mgMaxPlayers.mg_iSelected + 2); - _pShell->SetINDEX("ser_bEnumeration", gm_mgVisible.mg_iSelected); + _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); + _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); + _pShell->SetINDEX("gam_bWaitAllPlayers", gm_mgWaitAllPlayers.mg_iSelected); + _pShell->SetINDEX("gam_ctMaxPlayers", gm_mgMaxPlayers.mg_iSelected + 2); + _pShell->SetINDEX("ser_bEnumeration", gm_mgVisible.mg_iSelected); - CGameMenu::EndMenu(); + CGameMenu::EndMenu(); } diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.cpp b/Sources/SeriousSam/GUI/Menus/MOptions.cpp index a038463..b33ad1a 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MOptions.cpp @@ -20,62 +20,62 @@ with this program; if not, write to the Free Software Foundation, Inc., void COptionsMenu::Initialize_t(void) { - // intialize options menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("OPTIONS"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize options menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("OPTIONS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgVideoOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgVideoOptions.mg_boxOnScreen = BoxBigRow(0.0f); - gm_mgVideoOptions.mg_pmgUp = &gm_mgAddonOptions; - gm_mgVideoOptions.mg_pmgDown = &gm_mgAudioOptions; - gm_mgVideoOptions.mg_strText = TRANS("VIDEO OPTIONS"); - gm_mgVideoOptions.mg_strTip = TRANS("set video mode and driver"); - gm_lhGadgets.AddTail(gm_mgVideoOptions.mg_lnNode); - gm_mgVideoOptions.mg_pActivatedFunction = NULL; + gm_mgVideoOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgVideoOptions.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgVideoOptions.mg_pmgUp = &gm_mgAddonOptions; + gm_mgVideoOptions.mg_pmgDown = &gm_mgAudioOptions; + gm_mgVideoOptions.mg_strText = TRANS("VIDEO OPTIONS"); + gm_mgVideoOptions.mg_strTip = TRANS("set video mode and driver"); + gm_lhGadgets.AddTail(gm_mgVideoOptions.mg_lnNode); + gm_mgVideoOptions.mg_pActivatedFunction = NULL; - gm_mgAudioOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgAudioOptions.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgAudioOptions.mg_pmgUp = &gm_mgVideoOptions; - gm_mgAudioOptions.mg_pmgDown = &gm_mgPlayerProfileOptions; - gm_mgAudioOptions.mg_strText = TRANS("AUDIO OPTIONS"); - gm_mgAudioOptions.mg_strTip = TRANS("set audio quality and volume"); - gm_lhGadgets.AddTail(gm_mgAudioOptions.mg_lnNode); - gm_mgAudioOptions.mg_pActivatedFunction = NULL; + gm_mgAudioOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgAudioOptions.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgAudioOptions.mg_pmgUp = &gm_mgVideoOptions; + gm_mgAudioOptions.mg_pmgDown = &gm_mgPlayerProfileOptions; + gm_mgAudioOptions.mg_strText = TRANS("AUDIO OPTIONS"); + gm_mgAudioOptions.mg_strTip = TRANS("set audio quality and volume"); + gm_lhGadgets.AddTail(gm_mgAudioOptions.mg_lnNode); + gm_mgAudioOptions.mg_pActivatedFunction = NULL; - gm_mgPlayerProfileOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgPlayerProfileOptions.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgPlayerProfileOptions.mg_pmgUp = &gm_mgAudioOptions; - gm_mgPlayerProfileOptions.mg_pmgDown = &gm_mgNetworkOptions; - gm_mgPlayerProfileOptions.mg_strText = TRANS("PLAYERS AND CONTROLS"); - gm_mgPlayerProfileOptions.mg_strTip = TRANS("change currently active player or adjust controls"); - gm_lhGadgets.AddTail(gm_mgPlayerProfileOptions.mg_lnNode); - gm_mgPlayerProfileOptions.mg_pActivatedFunction = NULL; + gm_mgPlayerProfileOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgPlayerProfileOptions.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgPlayerProfileOptions.mg_pmgUp = &gm_mgAudioOptions; + gm_mgPlayerProfileOptions.mg_pmgDown = &gm_mgNetworkOptions; + gm_mgPlayerProfileOptions.mg_strText = TRANS("PLAYERS AND CONTROLS"); + gm_mgPlayerProfileOptions.mg_strTip = TRANS("change currently active player or adjust controls"); + gm_lhGadgets.AddTail(gm_mgPlayerProfileOptions.mg_lnNode); + gm_mgPlayerProfileOptions.mg_pActivatedFunction = NULL; - gm_mgNetworkOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgNetworkOptions.mg_boxOnScreen = BoxBigRow(3); - gm_mgNetworkOptions.mg_pmgUp = &gm_mgPlayerProfileOptions; - gm_mgNetworkOptions.mg_pmgDown = &gm_mgCustomOptions; - gm_mgNetworkOptions.mg_strText = TRANS("NETWORK CONNECTION"); - gm_mgNetworkOptions.mg_strTip = TRANS("choose your connection parameters"); - gm_lhGadgets.AddTail(gm_mgNetworkOptions.mg_lnNode); - gm_mgNetworkOptions.mg_pActivatedFunction = NULL; + gm_mgNetworkOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgNetworkOptions.mg_boxOnScreen = BoxBigRow(3); + gm_mgNetworkOptions.mg_pmgUp = &gm_mgPlayerProfileOptions; + gm_mgNetworkOptions.mg_pmgDown = &gm_mgCustomOptions; + gm_mgNetworkOptions.mg_strText = TRANS("NETWORK CONNECTION"); + gm_mgNetworkOptions.mg_strTip = TRANS("choose your connection parameters"); + gm_lhGadgets.AddTail(gm_mgNetworkOptions.mg_lnNode); + gm_mgNetworkOptions.mg_pActivatedFunction = NULL; - gm_mgCustomOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgCustomOptions.mg_boxOnScreen = BoxBigRow(4); - gm_mgCustomOptions.mg_pmgUp = &gm_mgNetworkOptions; - gm_mgCustomOptions.mg_pmgDown = &gm_mgAddonOptions; - gm_mgCustomOptions.mg_strText = TRANS("ADVANCED OPTIONS"); - gm_mgCustomOptions.mg_strTip = TRANS("for advanced users only"); - gm_lhGadgets.AddTail(gm_mgCustomOptions.mg_lnNode); - gm_mgCustomOptions.mg_pActivatedFunction = NULL; + gm_mgCustomOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgCustomOptions.mg_boxOnScreen = BoxBigRow(4); + gm_mgCustomOptions.mg_pmgUp = &gm_mgNetworkOptions; + gm_mgCustomOptions.mg_pmgDown = &gm_mgAddonOptions; + gm_mgCustomOptions.mg_strText = TRANS("ADVANCED OPTIONS"); + gm_mgCustomOptions.mg_strTip = TRANS("for advanced users only"); + gm_lhGadgets.AddTail(gm_mgCustomOptions.mg_lnNode); + gm_mgCustomOptions.mg_pActivatedFunction = NULL; - gm_mgAddonOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgAddonOptions.mg_boxOnScreen = BoxBigRow(5); - gm_mgAddonOptions.mg_pmgUp = &gm_mgCustomOptions; - gm_mgAddonOptions.mg_pmgDown = &gm_mgVideoOptions; - gm_mgAddonOptions.mg_strText = TRANS("EXECUTE ADDON"); - gm_mgAddonOptions.mg_strTip = TRANS("choose from list of addons to execute"); - gm_lhGadgets.AddTail(gm_mgAddonOptions.mg_lnNode); - gm_mgAddonOptions.mg_pActivatedFunction = NULL; + gm_mgAddonOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgAddonOptions.mg_boxOnScreen = BoxBigRow(5); + gm_mgAddonOptions.mg_pmgUp = &gm_mgCustomOptions; + gm_mgAddonOptions.mg_pmgDown = &gm_mgVideoOptions; + gm_mgAddonOptions.mg_strText = TRANS("EXECUTE ADDON"); + gm_mgAddonOptions.mg_strTip = TRANS("choose from list of addons to execute"); + gm_lhGadgets.AddTail(gm_mgAddonOptions.mg_lnNode); + gm_mgAddonOptions.mg_pActivatedFunction = NULL; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp index 3478a8f..7c558d3 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp @@ -20,18 +20,18 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "GUI/Menus/MenuManager.h" #define ADD_SELECT_PLAYER_MG( index, mg, mgprev, mgnext, me)\ - mg.mg_iIndex = index; \ - mg.mg_bfsFontSize = BFS_MEDIUM; \ - mg.mg_boxOnScreen = BoxNoUp(index); \ - mg.mg_bRectangle = TRUE; \ - mg.mg_pmgLeft = &mgprev; \ - mg.mg_pmgRight = &mgnext; \ - mg.mg_pmgUp = &gm_mgCustomizeControls; \ - mg.mg_pmgDown = &gm_mgNameField; \ - mg.mg_pActivatedFunction = &PPOnPlayerSelect; \ - mg.mg_strText = #index; \ - mg.mg_strTip = TRANS("select new currently active player"); \ - gm_lhGadgets.AddTail(mg.mg_lnNode); + mg.mg_iIndex = index; \ + mg.mg_bfsFontSize = BFS_MEDIUM; \ + mg.mg_boxOnScreen = BoxNoUp(index); \ + mg.mg_bRectangle = TRUE; \ + mg.mg_pmgLeft = &mgprev; \ + mg.mg_pmgRight = &mgnext; \ + mg.mg_pmgUp = &gm_mgCustomizeControls; \ + mg.mg_pmgDown = &gm_mgNameField; \ + mg.mg_pActivatedFunction = &PPOnPlayerSelect; \ + mg.mg_strText = #index; \ + mg.mg_strTip = TRANS("select new currently active player"); \ + gm_lhGadgets.AddTail(mg.mg_lnNode); extern BOOL _bPlayerMenuFromSinglePlayer; extern CTString _strLastPlayerAppearance; @@ -40,267 +40,267 @@ extern void PPOnPlayerSelect(void); void CPlayerProfileMenu::Initialize_t(void) { - // intialize player and controls menu - _bPlayerMenuFromSinglePlayer = FALSE; - gm_mgProfileTitle.mg_boxOnScreen = BoxTitle(); - gm_mgProfileTitle.mg_strText = TRANS("PLAYER PROFILE"); - gm_lhGadgets.AddTail(gm_mgProfileTitle.mg_lnNode); + // intialize player and controls menu + _bPlayerMenuFromSinglePlayer = FALSE; + gm_mgProfileTitle.mg_boxOnScreen = BoxTitle(); + gm_mgProfileTitle.mg_strText = TRANS("PLAYER PROFILE"); + gm_lhGadgets.AddTail(gm_mgProfileTitle.mg_lnNode); - gm_mgNoLabel.mg_strText = TRANS("PROFILE:"); - gm_mgNoLabel.mg_boxOnScreen = BoxMediumLeft(0.0f); - gm_mgNoLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNoLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail(gm_mgNoLabel.mg_lnNode); + gm_mgNoLabel.mg_strText = TRANS("PROFILE:"); + gm_mgNoLabel.mg_boxOnScreen = BoxMediumLeft(0.0f); + gm_mgNoLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNoLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgNoLabel.mg_lnNode); - ADD_SELECT_PLAYER_MG(0, gm_mgNumber[0], gm_mgNumber[7], gm_mgNumber[1], gm_mgNumber[0]); - ADD_SELECT_PLAYER_MG(1, gm_mgNumber[1], gm_mgNumber[0], gm_mgNumber[2], gm_mgNumber[1]); - ADD_SELECT_PLAYER_MG(2, gm_mgNumber[2], gm_mgNumber[1], gm_mgNumber[3], gm_mgNumber[2]); - ADD_SELECT_PLAYER_MG(3, gm_mgNumber[3], gm_mgNumber[2], gm_mgNumber[4], gm_mgNumber[3]); - ADD_SELECT_PLAYER_MG(4, gm_mgNumber[4], gm_mgNumber[3], gm_mgNumber[5], gm_mgNumber[4]); - ADD_SELECT_PLAYER_MG(5, gm_mgNumber[5], gm_mgNumber[4], gm_mgNumber[6], gm_mgNumber[5]); - ADD_SELECT_PLAYER_MG(6, gm_mgNumber[6], gm_mgNumber[5], gm_mgNumber[7], gm_mgNumber[6]); - ADD_SELECT_PLAYER_MG(7, gm_mgNumber[7], gm_mgNumber[6], gm_mgNumber[0], gm_mgNumber[7]); - gm_mgNumber[7].mg_pmgRight = &gm_mgModel; + ADD_SELECT_PLAYER_MG(0, gm_mgNumber[0], gm_mgNumber[7], gm_mgNumber[1], gm_mgNumber[0]); + ADD_SELECT_PLAYER_MG(1, gm_mgNumber[1], gm_mgNumber[0], gm_mgNumber[2], gm_mgNumber[1]); + ADD_SELECT_PLAYER_MG(2, gm_mgNumber[2], gm_mgNumber[1], gm_mgNumber[3], gm_mgNumber[2]); + ADD_SELECT_PLAYER_MG(3, gm_mgNumber[3], gm_mgNumber[2], gm_mgNumber[4], gm_mgNumber[3]); + ADD_SELECT_PLAYER_MG(4, gm_mgNumber[4], gm_mgNumber[3], gm_mgNumber[5], gm_mgNumber[4]); + ADD_SELECT_PLAYER_MG(5, gm_mgNumber[5], gm_mgNumber[4], gm_mgNumber[6], gm_mgNumber[5]); + ADD_SELECT_PLAYER_MG(6, gm_mgNumber[6], gm_mgNumber[5], gm_mgNumber[7], gm_mgNumber[6]); + ADD_SELECT_PLAYER_MG(7, gm_mgNumber[7], gm_mgNumber[6], gm_mgNumber[0], gm_mgNumber[7]); + gm_mgNumber[7].mg_pmgRight = &gm_mgModel; - gm_mgNameLabel.mg_strText = TRANS("NAME:"); - gm_mgNameLabel.mg_boxOnScreen = BoxMediumLeft(1.25f); - gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNameLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); + gm_mgNameLabel.mg_strText = TRANS("NAME:"); + gm_mgNameLabel.mg_boxOnScreen = BoxMediumLeft(1.25f); + gm_mgNameLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgNameLabel.mg_lnNode); - // setup of player name button is done on start menu - gm_mgNameField.mg_strText = ""; - gm_mgNameField.mg_ctMaxStringLen = 25; - gm_mgNameField.mg_boxOnScreen = BoxPlayerEdit(1.25); - gm_mgNameField.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNameField.mg_iCenterI = -1; - gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; - gm_mgNameField.mg_pmgDown = &gm_mgTeam; - gm_mgNameField.mg_pmgRight = &gm_mgModel; - gm_mgNameField.mg_strTip = TRANS("rename currently active player"); - gm_lhGadgets.AddTail(gm_mgNameField.mg_lnNode); + // setup of player name button is done on start menu + gm_mgNameField.mg_strText = ""; + gm_mgNameField.mg_ctMaxStringLen = 25; + gm_mgNameField.mg_boxOnScreen = BoxPlayerEdit(1.25); + gm_mgNameField.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNameField.mg_iCenterI = -1; + gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; + gm_mgNameField.mg_pmgDown = &gm_mgTeam; + gm_mgNameField.mg_pmgRight = &gm_mgModel; + gm_mgNameField.mg_strTip = TRANS("rename currently active player"); + gm_lhGadgets.AddTail(gm_mgNameField.mg_lnNode); - gm_mgTeamLabel.mg_strText = TRANS("TEAM:"); - gm_mgTeamLabel.mg_boxOnScreen = BoxMediumLeft(2.25f); - gm_mgTeamLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgTeamLabel.mg_iCenterI = -1; - gm_lhGadgets.AddTail(gm_mgTeamLabel.mg_lnNode); + gm_mgTeamLabel.mg_strText = TRANS("TEAM:"); + gm_mgTeamLabel.mg_boxOnScreen = BoxMediumLeft(2.25f); + gm_mgTeamLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgTeamLabel.mg_iCenterI = -1; + gm_lhGadgets.AddTail(gm_mgTeamLabel.mg_lnNode); - // setup of player name button is done on start menu - gm_mgTeam.mg_strText = ""; - gm_mgTeam.mg_ctMaxStringLen = 25; - gm_mgTeam.mg_boxOnScreen = BoxPlayerEdit(2.25f); - gm_mgTeam.mg_bfsFontSize = BFS_MEDIUM; - gm_mgTeam.mg_iCenterI = -1; - gm_mgTeam.mg_pmgUp = gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; + // setup of player name button is done on start menu + gm_mgTeam.mg_strText = ""; + gm_mgTeam.mg_ctMaxStringLen = 25; + gm_mgTeam.mg_boxOnScreen = BoxPlayerEdit(2.25f); + gm_mgTeam.mg_bfsFontSize = BFS_MEDIUM; + gm_mgTeam.mg_iCenterI = -1; + gm_mgTeam.mg_pmgUp = gm_mgNameField.mg_pmgUp = &gm_mgNumber[0]; - gm_mgTeam.mg_pmgDown = &gm_mgCrosshair; - gm_mgTeam.mg_pmgRight = &gm_mgModel; - //gm_mgTeam.mg_strTip = TRANS("teamplay is disabled in this version"); - gm_mgTeam.mg_strTip = TRANS("enter team name, if playing in team"); - gm_lhGadgets.AddTail(gm_mgTeam.mg_lnNode); + gm_mgTeam.mg_pmgDown = &gm_mgCrosshair; + gm_mgTeam.mg_pmgRight = &gm_mgModel; + //gm_mgTeam.mg_strTip = TRANS("teamplay is disabled in this version"); + gm_mgTeam.mg_strTip = TRANS("enter team name, if playing in team"); + gm_lhGadgets.AddTail(gm_mgTeam.mg_lnNode); - TRIGGER_MG(gm_mgCrosshair, 4.0, gm_mgTeam, gm_mgWeaponSelect, TRANS("CROSSHAIR"), astrCrosshair); - gm_mgCrosshair.mg_bVisual = TRUE; - gm_mgCrosshair.mg_boxOnScreen = BoxPlayerSwitch(5.0f); - gm_mgCrosshair.mg_iCenterI = -1; - gm_mgCrosshair.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgCrosshair, 4.0, gm_mgTeam, gm_mgWeaponSelect, TRANS("CROSSHAIR"), astrCrosshair); + gm_mgCrosshair.mg_bVisual = TRUE; + gm_mgCrosshair.mg_boxOnScreen = BoxPlayerSwitch(5.0f); + gm_mgCrosshair.mg_iCenterI = -1; + gm_mgCrosshair.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgWeaponSelect, 4.0, gm_mgCrosshair, gm_mgWeaponHide, TRANS("AUTO SELECT WEAPON"), astrWeapon); - gm_mgWeaponSelect.mg_boxOnScreen = BoxPlayerSwitch(6.0f); - gm_mgWeaponSelect.mg_iCenterI = -1; - gm_mgWeaponSelect.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgWeaponSelect, 4.0, gm_mgCrosshair, gm_mgWeaponHide, TRANS("AUTO SELECT WEAPON"), astrWeapon); + gm_mgWeaponSelect.mg_boxOnScreen = BoxPlayerSwitch(6.0f); + gm_mgWeaponSelect.mg_iCenterI = -1; + gm_mgWeaponSelect.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgWeaponHide, 4.0, gm_mgWeaponSelect, gm_mg3rdPerson, TRANS("HIDE WEAPON MODEL"), astrNoYes); - gm_mgWeaponHide.mg_boxOnScreen = BoxPlayerSwitch(7.0f); - gm_mgWeaponHide.mg_iCenterI = -1; - gm_mgWeaponHide.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgWeaponHide, 4.0, gm_mgWeaponSelect, gm_mg3rdPerson, TRANS("HIDE WEAPON MODEL"), astrNoYes); + gm_mgWeaponHide.mg_boxOnScreen = BoxPlayerSwitch(7.0f); + gm_mgWeaponHide.mg_iCenterI = -1; + gm_mgWeaponHide.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mg3rdPerson, 4.0, gm_mgWeaponHide, gm_mgQuotes, TRANS("PREFER 3RD PERSON VIEW"), astrNoYes); - gm_mg3rdPerson.mg_boxOnScreen = BoxPlayerSwitch(8.0f); - gm_mg3rdPerson.mg_iCenterI = -1; - gm_mg3rdPerson.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mg3rdPerson, 4.0, gm_mgWeaponHide, gm_mgQuotes, TRANS("PREFER 3RD PERSON VIEW"), astrNoYes); + gm_mg3rdPerson.mg_boxOnScreen = BoxPlayerSwitch(8.0f); + gm_mg3rdPerson.mg_iCenterI = -1; + gm_mg3rdPerson.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgQuotes, 4.0, gm_mg3rdPerson, gm_mgAutoSave, TRANS("VOICE QUOTES"), astrNoYes); - gm_mgQuotes.mg_boxOnScreen = BoxPlayerSwitch(9.0f); - gm_mgQuotes.mg_iCenterI = -1; - gm_mgQuotes.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgQuotes, 4.0, gm_mg3rdPerson, gm_mgAutoSave, TRANS("VOICE QUOTES"), astrNoYes); + gm_mgQuotes.mg_boxOnScreen = BoxPlayerSwitch(9.0f); + gm_mgQuotes.mg_iCenterI = -1; + gm_mgQuotes.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgAutoSave, 4.0, gm_mgQuotes, gm_mgCompDoubleClick, TRANS("AUTO SAVE"), astrNoYes); - gm_mgAutoSave.mg_boxOnScreen = BoxPlayerSwitch(10.0f); - gm_mgAutoSave.mg_iCenterI = -1; - gm_mgAutoSave.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgAutoSave, 4.0, gm_mgQuotes, gm_mgCompDoubleClick, TRANS("AUTO SAVE"), astrNoYes); + gm_mgAutoSave.mg_boxOnScreen = BoxPlayerSwitch(10.0f); + gm_mgAutoSave.mg_iCenterI = -1; + gm_mgAutoSave.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgCompDoubleClick, 4.0, gm_mgAutoSave, gm_mgSharpTurning, TRANS("INVOKE COMPUTER"), astrComputerInvoke); - gm_mgCompDoubleClick.mg_boxOnScreen = BoxPlayerSwitch(11.0f); - gm_mgCompDoubleClick.mg_iCenterI = -1; - gm_mgCompDoubleClick.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgCompDoubleClick, 4.0, gm_mgAutoSave, gm_mgSharpTurning, TRANS("INVOKE COMPUTER"), astrComputerInvoke); + gm_mgCompDoubleClick.mg_boxOnScreen = BoxPlayerSwitch(11.0f); + gm_mgCompDoubleClick.mg_iCenterI = -1; + gm_mgCompDoubleClick.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgSharpTurning, 4.0, gm_mgCompDoubleClick, gm_mgViewBobbing, TRANS("SHARP TURNING"), astrNoYes); - gm_mgSharpTurning.mg_boxOnScreen = BoxPlayerSwitch(12.0f); - gm_mgSharpTurning.mg_iCenterI = -1; - gm_mgSharpTurning.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgSharpTurning, 4.0, gm_mgCompDoubleClick, gm_mgViewBobbing, TRANS("SHARP TURNING"), astrNoYes); + gm_mgSharpTurning.mg_boxOnScreen = BoxPlayerSwitch(12.0f); + gm_mgSharpTurning.mg_iCenterI = -1; + gm_mgSharpTurning.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgViewBobbing, 4.0, gm_mgSharpTurning, gm_mgCustomizeControls, TRANS("VIEW BOBBING"), astrNoYes); - gm_mgViewBobbing.mg_boxOnScreen = BoxPlayerSwitch(13.0f); - gm_mgViewBobbing.mg_iCenterI = -1; - gm_mgViewBobbing.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgViewBobbing, 4.0, gm_mgSharpTurning, gm_mgCustomizeControls, TRANS("VIEW BOBBING"), astrNoYes); + gm_mgViewBobbing.mg_boxOnScreen = BoxPlayerSwitch(13.0f); + gm_mgViewBobbing.mg_iCenterI = -1; + gm_mgViewBobbing.mg_pOnTriggerChange = NULL; - gm_mgCustomizeControls.mg_strText = TRANS("CUSTOMIZE CONTROLS"); - gm_mgCustomizeControls.mg_boxOnScreen = BoxMediumLeft(14.5f); - gm_mgCustomizeControls.mg_bfsFontSize = BFS_MEDIUM; - gm_mgCustomizeControls.mg_iCenterI = -1; - gm_mgCustomizeControls.mg_pmgUp = &gm_mgViewBobbing; - gm_mgCustomizeControls.mg_pActivatedFunction = NULL; - gm_mgCustomizeControls.mg_pmgDown = &gm_mgNumber[0]; - gm_mgCustomizeControls.mg_pmgRight = &gm_mgModel; - gm_mgCustomizeControls.mg_strTip = TRANS("customize controls for this player"); - gm_lhGadgets.AddTail(gm_mgCustomizeControls.mg_lnNode); + gm_mgCustomizeControls.mg_strText = TRANS("CUSTOMIZE CONTROLS"); + gm_mgCustomizeControls.mg_boxOnScreen = BoxMediumLeft(14.5f); + gm_mgCustomizeControls.mg_bfsFontSize = BFS_MEDIUM; + gm_mgCustomizeControls.mg_iCenterI = -1; + gm_mgCustomizeControls.mg_pmgUp = &gm_mgViewBobbing; + gm_mgCustomizeControls.mg_pActivatedFunction = NULL; + gm_mgCustomizeControls.mg_pmgDown = &gm_mgNumber[0]; + gm_mgCustomizeControls.mg_pmgRight = &gm_mgModel; + gm_mgCustomizeControls.mg_strTip = TRANS("customize controls for this player"); + gm_lhGadgets.AddTail(gm_mgCustomizeControls.mg_lnNode); - gm_mgModel.mg_boxOnScreen = BoxPlayerModel(); - gm_mgModel.mg_pmgLeft = &gm_mgNameField; - gm_mgModel.mg_pActivatedFunction = NULL; - gm_mgModel.mg_pmgDown = &gm_mgNameField; - gm_mgModel.mg_pmgLeft = &gm_mgNameField; - gm_mgModel.mg_strTip = TRANS("change model for this player"); - gm_lhGadgets.AddTail(gm_mgModel.mg_lnNode); + gm_mgModel.mg_boxOnScreen = BoxPlayerModel(); + gm_mgModel.mg_pmgLeft = &gm_mgNameField; + gm_mgModel.mg_pActivatedFunction = NULL; + gm_mgModel.mg_pmgDown = &gm_mgNameField; + gm_mgModel.mg_pmgLeft = &gm_mgNameField; + gm_mgModel.mg_strTip = TRANS("change model for this player"); + gm_lhGadgets.AddTail(gm_mgModel.mg_lnNode); } INDEX CPlayerProfileMenu::ComboFromPlayer(INDEX iPlayer) { - return iPlayer; + return iPlayer; } INDEX CPlayerProfileMenu::PlayerFromCombo(INDEX iCombo) { - return iCombo; + return iCombo; } void CPlayerProfileMenu::SelectPlayer(INDEX iPlayer) { - CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; + CPlayerCharacter &pc = _pGame->gm_apcPlayers[iPlayer]; - for (INDEX iPl = 0; iPl<8; iPl++) - { - gm_mgNumber[iPl].mg_bHighlighted = FALSE; - } + for (INDEX iPl = 0; iPl<8; iPl++) + { + gm_mgNumber[iPl].mg_bHighlighted = FALSE; + } - gm_mgNumber[iPlayer].mg_bHighlighted = TRUE; + gm_mgNumber[iPlayer].mg_bHighlighted = TRUE; - iPlayer = Clamp(iPlayer, INDEX(0), INDEX(7)); + iPlayer = Clamp(iPlayer, INDEX(0), INDEX(7)); - if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { - _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer] = iPlayer; - } else { - _pGame->gm_iSinglePlayer = iPlayer; - } - gm_mgNameField.mg_pstrToChange = &pc.pc_strName; - gm_mgNameField.SetText(*gm_mgNameField.mg_pstrToChange); - gm_mgTeam.mg_pstrToChange = &pc.pc_strTeam; - gm_mgTeam.SetText(*gm_mgTeam.mg_pstrToChange); + if (_iLocalPlayer >= 0 && _iLocalPlayer<4) { + _pGame->gm_aiMenuLocalPlayers[_iLocalPlayer] = iPlayer; + } else { + _pGame->gm_iSinglePlayer = iPlayer; + } + gm_mgNameField.mg_pstrToChange = &pc.pc_strName; + gm_mgNameField.SetText(*gm_mgNameField.mg_pstrToChange); + gm_mgTeam.mg_pstrToChange = &pc.pc_strTeam; + gm_mgTeam.SetText(*gm_mgTeam.mg_pstrToChange); - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - gm_mgCrosshair.mg_iSelected = pps->ps_iCrossHairType + 1; - gm_mgCrosshair.ApplyCurrentSelection(); + gm_mgCrosshair.mg_iSelected = pps->ps_iCrossHairType + 1; + gm_mgCrosshair.ApplyCurrentSelection(); - gm_mgWeaponSelect.mg_iSelected = pps->ps_iWeaponAutoSelect; - gm_mgWeaponSelect.ApplyCurrentSelection(); + gm_mgWeaponSelect.mg_iSelected = pps->ps_iWeaponAutoSelect; + gm_mgWeaponSelect.ApplyCurrentSelection(); - gm_mgWeaponHide.mg_iSelected = (pps->ps_ulFlags&PSF_HIDEWEAPON) ? 1 : 0; - gm_mgWeaponHide.ApplyCurrentSelection(); + gm_mgWeaponHide.mg_iSelected = (pps->ps_ulFlags&PSF_HIDEWEAPON) ? 1 : 0; + gm_mgWeaponHide.ApplyCurrentSelection(); - gm_mg3rdPerson.mg_iSelected = (pps->ps_ulFlags&PSF_PREFER3RDPERSON) ? 1 : 0; - gm_mg3rdPerson.ApplyCurrentSelection(); + gm_mg3rdPerson.mg_iSelected = (pps->ps_ulFlags&PSF_PREFER3RDPERSON) ? 1 : 0; + gm_mg3rdPerson.ApplyCurrentSelection(); - gm_mgQuotes.mg_iSelected = (pps->ps_ulFlags&PSF_NOQUOTES) ? 0 : 1; - gm_mgQuotes.ApplyCurrentSelection(); + gm_mgQuotes.mg_iSelected = (pps->ps_ulFlags&PSF_NOQUOTES) ? 0 : 1; + gm_mgQuotes.ApplyCurrentSelection(); - gm_mgAutoSave.mg_iSelected = (pps->ps_ulFlags&PSF_AUTOSAVE) ? 1 : 0; - gm_mgAutoSave.ApplyCurrentSelection(); + gm_mgAutoSave.mg_iSelected = (pps->ps_ulFlags&PSF_AUTOSAVE) ? 1 : 0; + gm_mgAutoSave.ApplyCurrentSelection(); - gm_mgCompDoubleClick.mg_iSelected = (pps->ps_ulFlags&PSF_COMPSINGLECLICK) ? 0 : 1; - gm_mgCompDoubleClick.ApplyCurrentSelection(); + gm_mgCompDoubleClick.mg_iSelected = (pps->ps_ulFlags&PSF_COMPSINGLECLICK) ? 0 : 1; + gm_mgCompDoubleClick.ApplyCurrentSelection(); - gm_mgViewBobbing.mg_iSelected = (pps->ps_ulFlags&PSF_NOBOBBING) ? 0 : 1; - gm_mgViewBobbing.ApplyCurrentSelection(); + gm_mgViewBobbing.mg_iSelected = (pps->ps_ulFlags&PSF_NOBOBBING) ? 0 : 1; + gm_mgViewBobbing.ApplyCurrentSelection(); - gm_mgSharpTurning.mg_iSelected = (pps->ps_ulFlags&PSF_SHARPTURNING) ? 1 : 0; - gm_mgSharpTurning.ApplyCurrentSelection(); + gm_mgSharpTurning.mg_iSelected = (pps->ps_ulFlags&PSF_SHARPTURNING) ? 1 : 0; + gm_mgSharpTurning.ApplyCurrentSelection(); - // get function that will set player appearance - CShellSymbol *pss = _pShell->GetSymbol("SetPlayerAppearance", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss == NULL) { - // no model - gm_mgModel.mg_moModel.SetData(NULL); - // if there is some - } else { - // set the model - BOOL(*pFunc)(CModelObject *, CPlayerCharacter *, CTString &, BOOL) = - (BOOL(*)(CModelObject *, CPlayerCharacter *, CTString &, BOOL))pss->ss_pvValue; - CTString strName; - BOOL bSet; - if (_gmRunningGameMode != GM_SINGLE_PLAYER && !_bPlayerMenuFromSinglePlayer) { - bSet = pFunc(&gm_mgModel.mg_moModel, &pc, strName, TRUE); - gm_mgModel.mg_strTip = TRANS("change model for this player"); - gm_mgModel.mg_bEnabled = TRUE; - } - else { - // cannot change player appearance in single player mode - bSet = pFunc(&gm_mgModel.mg_moModel, NULL, strName, TRUE); - gm_mgModel.mg_strTip = TRANS("cannot change model for single-player game"); - gm_mgModel.mg_bEnabled = FALSE; - } - // ignore gender flags, if any - strName.RemovePrefix("#female#"); - strName.RemovePrefix("#male#"); - gm_mgModel.mg_plModel = CPlacement3D(FLOAT3D(0.1f, -1.0f, -3.5f), ANGLE3D(150, 0, 0)); - gm_mgModel.mg_strText = strName; - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - _strLastPlayerAppearance = pps->GetModelFilename(); - try { - gm_mgModel.mg_moFloor.SetData_t(CTFILENAME("Models\\Computer\\Floor.mdl")); - gm_mgModel.mg_moFloor.mo_toTexture.SetData_t(CTFILENAME("Models\\Computer\\Floor.tex")); - } - catch (char *strError) { - (void)strError; - } - } + // get function that will set player appearance + CShellSymbol *pss = _pShell->GetSymbol("SetPlayerAppearance", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // no model + gm_mgModel.mg_moModel.SetData(NULL); + // if there is some + } else { + // set the model + BOOL(*pFunc)(CModelObject *, CPlayerCharacter *, CTString &, BOOL) = + (BOOL(*)(CModelObject *, CPlayerCharacter *, CTString &, BOOL))pss->ss_pvValue; + CTString strName; + BOOL bSet; + if (_gmRunningGameMode != GM_SINGLE_PLAYER && !_bPlayerMenuFromSinglePlayer) { + bSet = pFunc(&gm_mgModel.mg_moModel, &pc, strName, TRUE); + gm_mgModel.mg_strTip = TRANS("change model for this player"); + gm_mgModel.mg_bEnabled = TRUE; + } + else { + // cannot change player appearance in single player mode + bSet = pFunc(&gm_mgModel.mg_moModel, NULL, strName, TRUE); + gm_mgModel.mg_strTip = TRANS("cannot change model for single-player game"); + gm_mgModel.mg_bEnabled = FALSE; + } + // ignore gender flags, if any + strName.RemovePrefix("#female#"); + strName.RemovePrefix("#male#"); + gm_mgModel.mg_plModel = CPlacement3D(FLOAT3D(0.1f, -1.0f, -3.5f), ANGLE3D(150, 0, 0)); + gm_mgModel.mg_strText = strName; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + _strLastPlayerAppearance = pps->GetModelFilename(); + try { + gm_mgModel.mg_moFloor.SetData_t(CTFILENAME("Models\\Computer\\Floor.mdl")); + gm_mgModel.mg_moFloor.mo_toTexture.SetData_t(CTFILENAME("Models\\Computer\\Floor.tex")); + } + catch (char *strError) { + (void)strError; + } + } } void CPlayerProfileMenu::StartMenu(void) { - _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &gm_mgNameField; + _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &gm_mgNameField; - if (_gmRunningGameMode == GM_NONE || _gmRunningGameMode == GM_DEMO) { - for (INDEX i = 0; i<8; i++) { - gm_mgNumber[i].mg_bEnabled = TRUE; - } - } else { - for (INDEX i = 0; i<8; i++) { - gm_mgNumber[i].mg_bEnabled = FALSE; - } - INDEX iFirstEnabled = 0; - {for (INDEX ilp = 0; ilp<4; ilp++) { - CLocalPlayer &lp = _pGame->gm_lpLocalPlayers[ilp]; - if (lp.lp_bActive) { - gm_mgNumber[lp.lp_iPlayer].mg_bEnabled = TRUE; - if (iFirstEnabled == 0) { - iFirstEnabled = lp.lp_iPlayer; - } - } - }} - // backup to first player in case current player is disabled - if (!gm_mgNumber[*gm_piCurrentPlayer].mg_bEnabled) *gm_piCurrentPlayer = iFirstEnabled; - } - // done - SelectPlayer(*gm_piCurrentPlayer); - CGameMenu::StartMenu(); + if (_gmRunningGameMode == GM_NONE || _gmRunningGameMode == GM_DEMO) { + for (INDEX i = 0; i<8; i++) { + gm_mgNumber[i].mg_bEnabled = TRUE; + } + } else { + for (INDEX i = 0; i<8; i++) { + gm_mgNumber[i].mg_bEnabled = FALSE; + } + INDEX iFirstEnabled = 0; + {for (INDEX ilp = 0; ilp<4; ilp++) { + CLocalPlayer &lp = _pGame->gm_lpLocalPlayers[ilp]; + if (lp.lp_bActive) { + gm_mgNumber[lp.lp_iPlayer].mg_bEnabled = TRUE; + if (iFirstEnabled == 0) { + iFirstEnabled = lp.lp_iPlayer; + } + } + }} + // backup to first player in case current player is disabled + if (!gm_mgNumber[*gm_piCurrentPlayer].mg_bEnabled) *gm_piCurrentPlayer = iFirstEnabled; + } + // done + SelectPlayer(*gm_piCurrentPlayer); + CGameMenu::StartMenu(); } void CPlayerProfileMenu::EndMenu(void) { - _pGame->SavePlayersAndControls(); - CGameMenu::EndMenu(); + _pGame->SavePlayersAndControls(); + CGameMenu::EndMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp index 4e0d306..787f04d 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp @@ -19,13 +19,13 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "MSelectPlayers.h" #define ADD_GADGET( gd, box, up, dn, lf, rt, txt) \ - gd.mg_boxOnScreen = box; \ - gd.mg_pmgUp = up; \ - gd.mg_pmgDown = dn; \ - gd.mg_pmgLeft = lf; \ - gd.mg_pmgRight = rt; \ - gd.mg_strText = txt; \ - gm_lhGadgets.AddTail(gd.mg_lnNode); + gd.mg_boxOnScreen = box; \ + gd.mg_pmgUp = up; \ + gd.mg_pmgDown = dn; \ + gd.mg_pmgLeft = lf; \ + gd.mg_pmgRight = rt; \ + gd.mg_strText = txt; \ + gm_lhGadgets.AddTail(gd.mg_lnNode); extern CTString astrNoYes[2]; extern CTString astrSplitScreenRadioTexts[4]; @@ -34,84 +34,84 @@ extern void SelectPlayersApplyMenu(void); void CSelectPlayersMenu::Initialize_t(void) { - // intialize split screen menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("SELECT PLAYERS"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("SELECT PLAYERS"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - TRIGGER_MG(gm_mgDedicated, 0, gm_mgStart, gm_mgObserver, TRANS("Dedicated:"), astrNoYes); - gm_mgDedicated.mg_strTip = TRANS("select to start dedicated server"); - gm_mgDedicated.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgDedicated, 0, gm_mgStart, gm_mgObserver, TRANS("Dedicated:"), astrNoYes); + gm_mgDedicated.mg_strTip = TRANS("select to start dedicated server"); + gm_mgDedicated.mg_pOnTriggerChange = NULL; - TRIGGER_MG(gm_mgObserver, 1, gm_mgDedicated, gm_mgSplitScreenCfg, TRANS("Observer:"), astrNoYes); - gm_mgObserver.mg_strTip = TRANS("select to join in for observing, not for playing"); - gm_mgObserver.mg_pOnTriggerChange = NULL; + TRIGGER_MG(gm_mgObserver, 1, gm_mgDedicated, gm_mgSplitScreenCfg, TRANS("Observer:"), astrNoYes); + gm_mgObserver.mg_strTip = TRANS("select to join in for observing, not for playing"); + gm_mgObserver.mg_pOnTriggerChange = NULL; - // split screen config trigger - TRIGGER_MG(gm_mgSplitScreenCfg, 2, gm_mgObserver, gm_mgPlayer0Change, TRANS("Number of players:"), astrSplitScreenRadioTexts); - gm_mgSplitScreenCfg.mg_strTip = TRANS("choose more than one player to play in split screen"); - gm_mgSplitScreenCfg.mg_pOnTriggerChange = NULL; + // split screen config trigger + TRIGGER_MG(gm_mgSplitScreenCfg, 2, gm_mgObserver, gm_mgPlayer0Change, TRANS("Number of players:"), astrSplitScreenRadioTexts); + gm_mgSplitScreenCfg.mg_strTip = TRANS("choose more than one player to play in split screen"); + gm_mgSplitScreenCfg.mg_pOnTriggerChange = NULL; - gm_mgPlayer0Change.mg_iCenterI = -1; - gm_mgPlayer1Change.mg_iCenterI = -1; - gm_mgPlayer2Change.mg_iCenterI = -1; - gm_mgPlayer3Change.mg_iCenterI = -1; - gm_mgPlayer0Change.mg_boxOnScreen = BoxMediumMiddle(4); - gm_mgPlayer1Change.mg_boxOnScreen = BoxMediumMiddle(5); - gm_mgPlayer2Change.mg_boxOnScreen = BoxMediumMiddle(6); - gm_mgPlayer3Change.mg_boxOnScreen = BoxMediumMiddle(7); - gm_mgPlayer0Change.mg_strTip = - gm_mgPlayer1Change.mg_strTip = - gm_mgPlayer2Change.mg_strTip = - gm_mgPlayer3Change.mg_strTip = TRANS("select profile for this player"); - gm_lhGadgets.AddTail(gm_mgPlayer0Change.mg_lnNode); - gm_lhGadgets.AddTail(gm_mgPlayer1Change.mg_lnNode); - gm_lhGadgets.AddTail(gm_mgPlayer2Change.mg_lnNode); - gm_lhGadgets.AddTail(gm_mgPlayer3Change.mg_lnNode); + gm_mgPlayer0Change.mg_iCenterI = -1; + gm_mgPlayer1Change.mg_iCenterI = -1; + gm_mgPlayer2Change.mg_iCenterI = -1; + gm_mgPlayer3Change.mg_iCenterI = -1; + gm_mgPlayer0Change.mg_boxOnScreen = BoxMediumMiddle(4); + gm_mgPlayer1Change.mg_boxOnScreen = BoxMediumMiddle(5); + gm_mgPlayer2Change.mg_boxOnScreen = BoxMediumMiddle(6); + gm_mgPlayer3Change.mg_boxOnScreen = BoxMediumMiddle(7); + gm_mgPlayer0Change.mg_strTip = + gm_mgPlayer1Change.mg_strTip = + gm_mgPlayer2Change.mg_strTip = + gm_mgPlayer3Change.mg_strTip = TRANS("select profile for this player"); + gm_lhGadgets.AddTail(gm_mgPlayer0Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer1Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer2Change.mg_lnNode); + gm_lhGadgets.AddTail(gm_mgPlayer3Change.mg_lnNode); - gm_mgNotes.mg_boxOnScreen = BoxMediumRow(9.0); - gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; - gm_mgNotes.mg_iCenterI = -1; - gm_mgNotes.mg_bEnabled = FALSE; - gm_mgNotes.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); - gm_mgNotes.mg_strText = ""; + gm_mgNotes.mg_boxOnScreen = BoxMediumRow(9.0); + gm_mgNotes.mg_bfsFontSize = BFS_MEDIUM; + gm_mgNotes.mg_iCenterI = -1; + gm_mgNotes.mg_bEnabled = FALSE; + gm_mgNotes.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgNotes.mg_lnNode); + gm_mgNotes.mg_strText = ""; - /* // options button - mgSplitOptions.mg_strText = TRANS("Game options"); - mgSplitOptions.mg_boxOnScreen = BoxMediumRow(3); - mgSplitOptions.mg_bfsFontSize = BFS_MEDIUM; - mgSplitOptions.mg_iCenterI = 0; - mgSplitOptions.mg_pmgUp = &mgSplitLevel; - mgSplitOptions.mg_pmgDown = &mgSplitStartStart; - mgSplitOptions.mg_strTip = TRANS("adjust game rules"); - mgSplitOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - gm_lhGadgets.AddTail( mgSplitOptions.mg_lnNode);*/ + /* // options button + mgSplitOptions.mg_strText = TRANS("Game options"); + mgSplitOptions.mg_boxOnScreen = BoxMediumRow(3); + mgSplitOptions.mg_bfsFontSize = BFS_MEDIUM; + mgSplitOptions.mg_iCenterI = 0; + mgSplitOptions.mg_pmgUp = &mgSplitLevel; + mgSplitOptions.mg_pmgDown = &mgSplitStartStart; + mgSplitOptions.mg_strTip = TRANS("adjust game rules"); + mgSplitOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + gm_lhGadgets.AddTail( mgSplitOptions.mg_lnNode);*/ - /* // start button - mgSplitStartStart.mg_bfsFontSize = BFS_LARGE; - mgSplitStartStart.mg_boxOnScreen = BoxBigRow(4); - mgSplitStartStart.mg_pmgUp = &mgSplitOptions; - mgSplitStartStart.mg_pmgDown = &mgSplitGameType; - mgSplitStartStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail( mgSplitStartStart.mg_lnNode); - mgSplitStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; - */ + /* // start button + mgSplitStartStart.mg_bfsFontSize = BFS_LARGE; + mgSplitStartStart.mg_boxOnScreen = BoxBigRow(4); + mgSplitStartStart.mg_pmgUp = &mgSplitOptions; + mgSplitStartStart.mg_pmgDown = &mgSplitGameType; + mgSplitStartStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail( mgSplitStartStart.mg_lnNode); + mgSplitStartStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + */ - ADD_GADGET(gm_mgStart, BoxMediumRow(11), &gm_mgSplitScreenCfg, &gm_mgPlayer0Change, NULL, NULL, TRANS("START")); - gm_mgStart.mg_bfsFontSize = BFS_LARGE; - gm_mgStart.mg_iCenterI = 0; + ADD_GADGET(gm_mgStart, BoxMediumRow(11), &gm_mgSplitScreenCfg, &gm_mgPlayer0Change, NULL, NULL, TRANS("START")); + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_iCenterI = 0; } void CSelectPlayersMenu::StartMenu(void) { - CGameMenu::StartMenu(); - SelectPlayersFillMenu(); - SelectPlayersApplyMenu(); + CGameMenu::StartMenu(); + SelectPlayersFillMenu(); + SelectPlayersApplyMenu(); } void CSelectPlayersMenu::EndMenu(void) { - SelectPlayersApplyMenu(); - CGameMenu::EndMenu(); + SelectPlayersApplyMenu(); + CGameMenu::EndMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MServers.cpp b/Sources/SeriousSam/GUI/Menus/MServers.cpp index 943f8de..8a50230 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MServers.cpp @@ -23,87 +23,87 @@ CMGEdit mgServerFilter[7]; void CServersMenu::Initialize_t(void) { - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("CHOOSE SERVER"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("CHOOSE SERVER"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgList.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 1)); - gm_mgList.mg_pmgLeft = &gm_mgList; // make sure it can get focus - gm_mgList.mg_bEnabled = TRUE; - gm_lhGadgets.AddTail(gm_mgList.mg_lnNode); + gm_mgList.mg_boxOnScreen = FLOATaabbox2D(FLOAT2D(0, 0), FLOAT2D(1, 1)); + gm_mgList.mg_pmgLeft = &gm_mgList; // make sure it can get focus + gm_mgList.mg_bEnabled = TRUE; + gm_lhGadgets.AddTail(gm_mgList.mg_lnNode); - ASSERT(ARRAYCOUNT(mgServerColumn) == ARRAYCOUNT(mgServerFilter)); - for (INDEX i = 0; i=2)"); - mgServerFilter[4].mg_strTip = TRANS("filter by game (ie. coop)"); - mgServerFilter[5].mg_strTip = TRANS("filter by mod"); - mgServerFilter[6].mg_strTip = TRANS("filter by version"); + CTString astrColumns[7]; + mgServerColumn[0].mg_strText = TRANS("Server"); + mgServerColumn[1].mg_strText = TRANS("Map"); + mgServerColumn[2].mg_strText = TRANS("Ping"); + mgServerColumn[3].mg_strText = TRANS("Players"); + mgServerColumn[4].mg_strText = TRANS("Game"); + mgServerColumn[5].mg_strText = TRANS("Mod"); + mgServerColumn[6].mg_strText = TRANS("Ver"); + mgServerColumn[0].mg_pActivatedFunction = NULL; + mgServerColumn[1].mg_pActivatedFunction = NULL; + mgServerColumn[2].mg_pActivatedFunction = NULL; + mgServerColumn[3].mg_pActivatedFunction = NULL; + mgServerColumn[4].mg_pActivatedFunction = NULL; + mgServerColumn[5].mg_pActivatedFunction = NULL; + mgServerColumn[6].mg_pActivatedFunction = NULL; + mgServerColumn[0].mg_strTip = TRANS("sort by server"); + mgServerColumn[1].mg_strTip = TRANS("sort by map"); + mgServerColumn[2].mg_strTip = TRANS("sort by ping"); + mgServerColumn[3].mg_strTip = TRANS("sort by players"); + mgServerColumn[4].mg_strTip = TRANS("sort by game"); + mgServerColumn[5].mg_strTip = TRANS("sort by mod"); + mgServerColumn[6].mg_strTip = TRANS("sort by version"); + mgServerFilter[0].mg_strTip = TRANS("filter by server"); + mgServerFilter[1].mg_strTip = TRANS("filter by map"); + mgServerFilter[2].mg_strTip = TRANS("filter by ping (ie. <200)"); + mgServerFilter[3].mg_strTip = TRANS("filter by players (ie. >=2)"); + mgServerFilter[4].mg_strTip = TRANS("filter by game (ie. coop)"); + mgServerFilter[5].mg_strTip = TRANS("filter by mod"); + mgServerFilter[6].mg_strTip = TRANS("filter by version"); } void CServersMenu::StartMenu(void) { - extern void RefreshServerList(void); - RefreshServerList(); + extern void RefreshServerList(void); + RefreshServerList(); - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } void CServersMenu::Think(void) { - if (!_pNetwork->ga_bEnumerationChange) { - return; - } - _pNetwork->ga_bEnumerationChange = FALSE; + if (!_pNetwork->ga_bEnumerationChange) { + return; + } + _pNetwork->ga_bEnumerationChange = FALSE; } diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp index a8c3522..a4cc27f 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp @@ -21,135 +21,135 @@ with this program; if not, write to the Free Software Foundation, Inc., void CSinglePlayerMenu::Initialize_t(void) { - // intialize single player menu - gm_mgTitle.mg_strText = TRANS("SINGLE PLAYER"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize single player menu + gm_mgTitle.mg_strText = TRANS("SINGLE PLAYER"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgPlayerLabel.mg_boxOnScreen = BoxBigRow(-1.0f); - gm_mgPlayerLabel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgPlayerLabel.mg_iCenterI = -1; - gm_mgPlayerLabel.mg_bEnabled = FALSE; - gm_mgPlayerLabel.mg_bLabel = TRUE; - gm_lhGadgets.AddTail(gm_mgPlayerLabel.mg_lnNode); + gm_mgPlayerLabel.mg_boxOnScreen = BoxBigRow(-1.0f); + gm_mgPlayerLabel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgPlayerLabel.mg_iCenterI = -1; + gm_mgPlayerLabel.mg_bEnabled = FALSE; + gm_mgPlayerLabel.mg_bLabel = TRUE; + gm_lhGadgets.AddTail(gm_mgPlayerLabel.mg_lnNode); - gm_mgNewGame.mg_strText = TRANS("NEW GAME"); - gm_mgNewGame.mg_bfsFontSize = BFS_LARGE; - gm_mgNewGame.mg_boxOnScreen = BoxBigRow(0.0f); - gm_mgNewGame.mg_strTip = TRANS("start new game with current player"); - gm_lhGadgets.AddTail(gm_mgNewGame.mg_lnNode); - gm_mgNewGame.mg_pmgUp = &gm_mgOptions; - gm_mgNewGame.mg_pmgDown = &gm_mgCustom; - gm_mgNewGame.mg_pActivatedFunction = NULL; + gm_mgNewGame.mg_strText = TRANS("NEW GAME"); + gm_mgNewGame.mg_bfsFontSize = BFS_LARGE; + gm_mgNewGame.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgNewGame.mg_strTip = TRANS("start new game with current player"); + gm_lhGadgets.AddTail(gm_mgNewGame.mg_lnNode); + gm_mgNewGame.mg_pmgUp = &gm_mgOptions; + gm_mgNewGame.mg_pmgDown = &gm_mgCustom; + gm_mgNewGame.mg_pActivatedFunction = NULL; - gm_mgCustom.mg_strText = TRANS("CUSTOM LEVEL"); - gm_mgCustom.mg_bfsFontSize = BFS_LARGE; - gm_mgCustom.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgCustom.mg_strTip = TRANS("start new game on a custom level"); - gm_lhGadgets.AddTail(gm_mgCustom.mg_lnNode); - gm_mgCustom.mg_pmgUp = &gm_mgNewGame; - gm_mgCustom.mg_pmgDown = &gm_mgQuickLoad; - gm_mgCustom.mg_pActivatedFunction = NULL; + gm_mgCustom.mg_strText = TRANS("CUSTOM LEVEL"); + gm_mgCustom.mg_bfsFontSize = BFS_LARGE; + gm_mgCustom.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgCustom.mg_strTip = TRANS("start new game on a custom level"); + gm_lhGadgets.AddTail(gm_mgCustom.mg_lnNode); + gm_mgCustom.mg_pmgUp = &gm_mgNewGame; + gm_mgCustom.mg_pmgDown = &gm_mgQuickLoad; + gm_mgCustom.mg_pActivatedFunction = NULL; - gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); - gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); - gm_mgQuickLoad.mg_pmgUp = &gm_mgCustom; - gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; - gm_mgQuickLoad.mg_pActivatedFunction = NULL; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pmgUp = &gm_mgCustom; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_pActivatedFunction = NULL; - gm_mgLoad.mg_strText = TRANS("LOAD"); - gm_mgLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgLoad.mg_strTip = TRANS("load a saved game of current player"); - gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); - gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; - gm_mgLoad.mg_pmgDown = &gm_mgTraining; - gm_mgLoad.mg_pActivatedFunction = NULL; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_strTip = TRANS("load a saved game of current player"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTraining; + gm_mgLoad.mg_pActivatedFunction = NULL; - gm_mgTraining.mg_strText = TRANS("TRAINING"); - gm_mgTraining.mg_bfsFontSize = BFS_LARGE; - gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgTraining.mg_strTip = TRANS("start training level - KarnakDemo"); - gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); - gm_mgTraining.mg_pmgUp = &gm_mgLoad; - gm_mgTraining.mg_pmgDown = &gm_mgTechTest; - gm_mgTraining.mg_pActivatedFunction = NULL; + gm_mgTraining.mg_strText = TRANS("TRAINING"); + gm_mgTraining.mg_bfsFontSize = BFS_LARGE; + gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTraining.mg_strTip = TRANS("start training level - KarnakDemo"); + gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); + gm_mgTraining.mg_pmgUp = &gm_mgLoad; + gm_mgTraining.mg_pmgDown = &gm_mgTechTest; + gm_mgTraining.mg_pActivatedFunction = NULL; - gm_mgTechTest.mg_strText = TRANS("TECHNOLOGY TEST"); - gm_mgTechTest.mg_bfsFontSize = BFS_LARGE; - gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgTechTest.mg_strTip = TRANS("start technology testing level"); - gm_lhGadgets.AddTail(gm_mgTechTest.mg_lnNode); - gm_mgTechTest.mg_pmgUp = &gm_mgTraining; - gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; - gm_mgTechTest.mg_pActivatedFunction = NULL; + gm_mgTechTest.mg_strText = TRANS("TECHNOLOGY TEST"); + gm_mgTechTest.mg_bfsFontSize = BFS_LARGE; + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgTechTest.mg_strTip = TRANS("start technology testing level"); + gm_lhGadgets.AddTail(gm_mgTechTest.mg_lnNode); + gm_mgTechTest.mg_pmgUp = &gm_mgTraining; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + gm_mgTechTest.mg_pActivatedFunction = NULL; - gm_mgPlayersAndControls.mg_bfsFontSize = BFS_LARGE; - gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); - gm_mgPlayersAndControls.mg_pmgUp = &gm_mgTechTest; - gm_mgPlayersAndControls.mg_pmgDown = &gm_mgOptions; - gm_mgPlayersAndControls.mg_strText = TRANS("PLAYERS AND CONTROLS"); - gm_mgPlayersAndControls.mg_strTip = TRANS("change currently active player or adjust controls"); - gm_lhGadgets.AddTail(gm_mgPlayersAndControls.mg_lnNode); - gm_mgPlayersAndControls.mg_pActivatedFunction = NULL; + gm_mgPlayersAndControls.mg_bfsFontSize = BFS_LARGE; + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgPlayersAndControls.mg_pmgUp = &gm_mgTechTest; + gm_mgPlayersAndControls.mg_pmgDown = &gm_mgOptions; + gm_mgPlayersAndControls.mg_strText = TRANS("PLAYERS AND CONTROLS"); + gm_mgPlayersAndControls.mg_strTip = TRANS("change currently active player or adjust controls"); + gm_lhGadgets.AddTail(gm_mgPlayersAndControls.mg_lnNode); + gm_mgPlayersAndControls.mg_pActivatedFunction = NULL; - gm_mgOptions.mg_strText = TRANS("GAME OPTIONS"); - gm_mgOptions.mg_bfsFontSize = BFS_LARGE; - gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); - gm_mgOptions.mg_strTip = TRANS("adjust miscellaneous game options"); - gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); - gm_mgOptions.mg_pmgUp = &gm_mgPlayersAndControls; - gm_mgOptions.mg_pmgDown = &gm_mgNewGame; - gm_mgOptions.mg_pActivatedFunction = NULL; + gm_mgOptions.mg_strText = TRANS("GAME OPTIONS"); + gm_mgOptions.mg_bfsFontSize = BFS_LARGE; + gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgOptions.mg_strTip = TRANS("adjust miscellaneous game options"); + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + gm_mgOptions.mg_pmgUp = &gm_mgPlayersAndControls; + gm_mgOptions.mg_pmgDown = &gm_mgNewGame; + gm_mgOptions.mg_pActivatedFunction = NULL; } void CSinglePlayerMenu::StartMenu(void) { - gm_mgTraining.mg_bEnabled = IsMenuEnabled("Training"); - gm_mgTechTest.mg_bEnabled = IsMenuEnabled("Technology Test"); + gm_mgTraining.mg_bEnabled = IsMenuEnabled("Training"); + gm_mgTechTest.mg_bEnabled = IsMenuEnabled("Technology Test"); - if (gm_mgTraining.mg_bEnabled) { - if (!gm_mgTraining.mg_lnNode.IsLinked()) { - gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); - } + if (gm_mgTraining.mg_bEnabled) { + if (!gm_mgTraining.mg_lnNode.IsLinked()) { + gm_lhGadgets.AddTail(gm_mgTraining.mg_lnNode); + } - gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; - gm_mgLoad.mg_pmgDown = &gm_mgTraining; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTraining; - gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgTraining.mg_pmgUp = &gm_mgLoad; - gm_mgTraining.mg_pmgDown = &gm_mgTechTest; + gm_mgTraining.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTraining.mg_pmgUp = &gm_mgLoad; + gm_mgTraining.mg_pmgDown = &gm_mgTechTest; - gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgTechTest.mg_pmgUp = &gm_mgTraining; - gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgTechTest.mg_pmgUp = &gm_mgTraining; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; - gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); - gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(6.0f); + gm_mgOptions.mg_boxOnScreen = BoxBigRow(7.0f); - } else { - if (gm_mgTraining.mg_lnNode.IsLinked()) { - gm_mgTraining.mg_lnNode.Remove(); - } + } else { + if (gm_mgTraining.mg_lnNode.IsLinked()) { + gm_mgTraining.mg_lnNode.Remove(); + } - gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; - gm_mgLoad.mg_pmgDown = &gm_mgTechTest; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgTechTest; - gm_mgTechTest.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgTechTest.mg_pmgUp = &gm_mgLoad; - gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; + gm_mgTechTest.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgTechTest.mg_pmgUp = &gm_mgLoad; + gm_mgTechTest.mg_pmgDown = &gm_mgPlayersAndControls; - gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); - } + gm_mgPlayersAndControls.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgOptions.mg_boxOnScreen = BoxBigRow(6.0f); + } - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); - CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; - gm_mgPlayerLabel.mg_strText.PrintF(TRANS("Player: %s\n"), pc.GetNameForPrinting()); + CPlayerCharacter &pc = _pGame->gm_apcPlayers[_pGame->gm_iSinglePlayer]; + gm_mgPlayerLabel.mg_strText.PrintF(TRANS("Player: %s\n"), pc.GetNameForPrinting()); } diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp index d4ad48b..300547f 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp @@ -21,79 +21,79 @@ with this program; if not, write to the Free Software Foundation, Inc., void CSinglePlayerNewMenu::Initialize_t(void) { - // intialize single player new menu - gm_mgTitle.mg_strText = TRANS("NEW GAME"); - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize single player new menu + gm_mgTitle.mg_strText = TRANS("NEW GAME"); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgTourist.mg_strText = TRANS("TOURIST"); - gm_mgTourist.mg_bfsFontSize = BFS_LARGE; - gm_mgTourist.mg_boxOnScreen = BoxBigRow(0.0f); - gm_mgTourist.mg_strTip = TRANS("for non-FPS players"); - gm_lhGadgets.AddTail(gm_mgTourist.mg_lnNode); - gm_mgTourist.mg_pmgUp = &gm_mgSerious; - gm_mgTourist.mg_pmgDown = &gm_mgEasy; - gm_mgTourist.mg_pActivatedFunction = NULL; + gm_mgTourist.mg_strText = TRANS("TOURIST"); + gm_mgTourist.mg_bfsFontSize = BFS_LARGE; + gm_mgTourist.mg_boxOnScreen = BoxBigRow(0.0f); + gm_mgTourist.mg_strTip = TRANS("for non-FPS players"); + gm_lhGadgets.AddTail(gm_mgTourist.mg_lnNode); + gm_mgTourist.mg_pmgUp = &gm_mgSerious; + gm_mgTourist.mg_pmgDown = &gm_mgEasy; + gm_mgTourist.mg_pActivatedFunction = NULL; - gm_mgEasy.mg_strText = TRANS("EASY"); - gm_mgEasy.mg_bfsFontSize = BFS_LARGE; - gm_mgEasy.mg_boxOnScreen = BoxBigRow(1.0f); - gm_mgEasy.mg_strTip = TRANS("for unexperienced FPS players"); - gm_lhGadgets.AddTail(gm_mgEasy.mg_lnNode); - gm_mgEasy.mg_pmgUp = &gm_mgTourist; - gm_mgEasy.mg_pmgDown = &gm_mgMedium; - gm_mgEasy.mg_pActivatedFunction = NULL; + gm_mgEasy.mg_strText = TRANS("EASY"); + gm_mgEasy.mg_bfsFontSize = BFS_LARGE; + gm_mgEasy.mg_boxOnScreen = BoxBigRow(1.0f); + gm_mgEasy.mg_strTip = TRANS("for unexperienced FPS players"); + gm_lhGadgets.AddTail(gm_mgEasy.mg_lnNode); + gm_mgEasy.mg_pmgUp = &gm_mgTourist; + gm_mgEasy.mg_pmgDown = &gm_mgMedium; + gm_mgEasy.mg_pActivatedFunction = NULL; - gm_mgMedium.mg_strText = TRANS("NORMAL"); - gm_mgMedium.mg_bfsFontSize = BFS_LARGE; - gm_mgMedium.mg_boxOnScreen = BoxBigRow(2.0f); - gm_mgMedium.mg_strTip = TRANS("for experienced FPS players"); - gm_lhGadgets.AddTail(gm_mgMedium.mg_lnNode); - gm_mgMedium.mg_pmgUp = &gm_mgEasy; - gm_mgMedium.mg_pmgDown = &gm_mgHard; - gm_mgMedium.mg_pActivatedFunction = NULL; + gm_mgMedium.mg_strText = TRANS("NORMAL"); + gm_mgMedium.mg_bfsFontSize = BFS_LARGE; + gm_mgMedium.mg_boxOnScreen = BoxBigRow(2.0f); + gm_mgMedium.mg_strTip = TRANS("for experienced FPS players"); + gm_lhGadgets.AddTail(gm_mgMedium.mg_lnNode); + gm_mgMedium.mg_pmgUp = &gm_mgEasy; + gm_mgMedium.mg_pmgDown = &gm_mgHard; + gm_mgMedium.mg_pActivatedFunction = NULL; - gm_mgHard.mg_strText = TRANS("HARD"); - gm_mgHard.mg_bfsFontSize = BFS_LARGE; - gm_mgHard.mg_boxOnScreen = BoxBigRow(3.0f); - gm_mgHard.mg_strTip = TRANS("for experienced Serious Sam players"); - gm_lhGadgets.AddTail(gm_mgHard.mg_lnNode); - gm_mgHard.mg_pmgUp = &gm_mgMedium; - gm_mgHard.mg_pmgDown = &gm_mgSerious; - gm_mgHard.mg_pActivatedFunction = NULL; + gm_mgHard.mg_strText = TRANS("HARD"); + gm_mgHard.mg_bfsFontSize = BFS_LARGE; + gm_mgHard.mg_boxOnScreen = BoxBigRow(3.0f); + gm_mgHard.mg_strTip = TRANS("for experienced Serious Sam players"); + gm_lhGadgets.AddTail(gm_mgHard.mg_lnNode); + gm_mgHard.mg_pmgUp = &gm_mgMedium; + gm_mgHard.mg_pmgDown = &gm_mgSerious; + gm_mgHard.mg_pActivatedFunction = NULL; - gm_mgSerious.mg_strText = TRANS("SERIOUS"); - gm_mgSerious.mg_bfsFontSize = BFS_LARGE; - gm_mgSerious.mg_boxOnScreen = BoxBigRow(4.0f); - gm_mgSerious.mg_strTip = TRANS("are you serious?"); - gm_lhGadgets.AddTail(gm_mgSerious.mg_lnNode); - gm_mgSerious.mg_pmgUp = &gm_mgHard; - gm_mgSerious.mg_pmgDown = &gm_mgTourist; - gm_mgSerious.mg_pActivatedFunction = NULL; + gm_mgSerious.mg_strText = TRANS("SERIOUS"); + gm_mgSerious.mg_bfsFontSize = BFS_LARGE; + gm_mgSerious.mg_boxOnScreen = BoxBigRow(4.0f); + gm_mgSerious.mg_strTip = TRANS("are you serious?"); + gm_lhGadgets.AddTail(gm_mgSerious.mg_lnNode); + gm_mgSerious.mg_pmgUp = &gm_mgHard; + gm_mgSerious.mg_pmgDown = &gm_mgTourist; + gm_mgSerious.mg_pActivatedFunction = NULL; - gm_mgMental.mg_strText = TRANS("MENTAL"); - gm_mgMental.mg_bfsFontSize = BFS_LARGE; - gm_mgMental.mg_boxOnScreen = BoxBigRow(5.0f); - gm_mgMental.mg_strTip = TRANS("you are not serious!"); - gm_lhGadgets.AddTail(gm_mgMental.mg_lnNode); - gm_mgMental.mg_pmgUp = &gm_mgSerious; - gm_mgMental.mg_pmgDown = &gm_mgTourist; - gm_mgMental.mg_pActivatedFunction = NULL; - gm_mgMental.mg_bMental = TRUE; + gm_mgMental.mg_strText = TRANS("MENTAL"); + gm_mgMental.mg_bfsFontSize = BFS_LARGE; + gm_mgMental.mg_boxOnScreen = BoxBigRow(5.0f); + gm_mgMental.mg_strTip = TRANS("you are not serious!"); + gm_lhGadgets.AddTail(gm_mgMental.mg_lnNode); + gm_mgMental.mg_pmgUp = &gm_mgSerious; + gm_mgMental.mg_pmgDown = &gm_mgTourist; + gm_mgMental.mg_pActivatedFunction = NULL; + gm_mgMental.mg_bMental = TRUE; } void CSinglePlayerNewMenu::StartMenu(void) { - CGameMenu::StartMenu(); - extern INDEX sam_bMentalActivated; - if (sam_bMentalActivated) { - gm_mgMental.Appear(); - gm_mgSerious.mg_pmgDown = &gm_mgMental; - gm_mgTourist.mg_pmgUp = &gm_mgMental; - } else { - gm_mgMental.Disappear(); - gm_mgSerious.mg_pmgDown = &gm_mgTourist; - gm_mgTourist.mg_pmgUp = &gm_mgSerious; - } + CGameMenu::StartMenu(); + extern INDEX sam_bMentalActivated; + if (sam_bMentalActivated) { + gm_mgMental.Appear(); + gm_mgSerious.mg_pmgDown = &gm_mgMental; + gm_mgTourist.mg_pmgUp = &gm_mgMental; + } else { + gm_mgMental.Disappear(); + gm_mgSerious.mg_pmgDown = &gm_mgTourist; + gm_mgTourist.mg_pmgUp = &gm_mgSerious; + } } diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp index 3144d80..160ccac 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp @@ -20,40 +20,40 @@ with this program; if not, write to the Free Software Foundation, Inc., void CSplitScreenMenu::Initialize_t(void) { - // intialize split screen menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("SPLIT SCREEN"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("SPLIT SCREEN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - gm_mgStart.mg_bfsFontSize = BFS_LARGE; - gm_mgStart.mg_boxOnScreen = BoxBigRow(0); - gm_mgStart.mg_pmgUp = &gm_mgLoad; - gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; - gm_mgStart.mg_strText = TRANS("NEW GAME"); - gm_mgStart.mg_strTip = TRANS("start new split-screen game"); - gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); - gm_mgStart.mg_pActivatedFunction = NULL; + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(0); + gm_mgStart.mg_pmgUp = &gm_mgLoad; + gm_mgStart.mg_pmgDown = &gm_mgQuickLoad; + gm_mgStart.mg_strText = TRANS("NEW GAME"); + gm_mgStart.mg_strTip = TRANS("start new split-screen game"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; - gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(1); - gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; - gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; - gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); - gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); - gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); - gm_mgQuickLoad.mg_pActivatedFunction = NULL; + gm_mgQuickLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgQuickLoad.mg_boxOnScreen = BoxBigRow(1); + gm_mgQuickLoad.mg_pmgUp = &gm_mgStart; + gm_mgQuickLoad.mg_pmgDown = &gm_mgLoad; + gm_mgQuickLoad.mg_strText = TRANS("QUICK LOAD"); + gm_mgQuickLoad.mg_strTip = TRANS("load a quick-saved game (F9)"); + gm_lhGadgets.AddTail(gm_mgQuickLoad.mg_lnNode); + gm_mgQuickLoad.mg_pActivatedFunction = NULL; - gm_mgLoad.mg_bfsFontSize = BFS_LARGE; - gm_mgLoad.mg_boxOnScreen = BoxBigRow(2); - gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; - gm_mgLoad.mg_pmgDown = &gm_mgStart; - gm_mgLoad.mg_strText = TRANS("LOAD"); - gm_mgLoad.mg_strTip = TRANS("load a saved split-screen game"); - gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); - gm_mgLoad.mg_pActivatedFunction = NULL; + gm_mgLoad.mg_bfsFontSize = BFS_LARGE; + gm_mgLoad.mg_boxOnScreen = BoxBigRow(2); + gm_mgLoad.mg_pmgUp = &gm_mgQuickLoad; + gm_mgLoad.mg_pmgDown = &gm_mgStart; + gm_mgLoad.mg_strText = TRANS("LOAD"); + gm_mgLoad.mg_strTip = TRANS("load a saved split-screen game"); + gm_lhGadgets.AddTail(gm_mgLoad.mg_lnNode); + gm_mgLoad.mg_pActivatedFunction = NULL; } void CSplitScreenMenu::StartMenu(void) { - CGameMenu::StartMenu(); + CGameMenu::StartMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp index 058e872..9cdc09f 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp @@ -24,77 +24,77 @@ extern void UpdateSplitLevel(INDEX iDummy); void CSplitStartMenu::Initialize_t(void) { - // intialize split screen menu - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = TRANS("START SPLIT SCREEN"); - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + // intialize split screen menu + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = TRANS("START SPLIT SCREEN"); + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - // game type trigger - TRIGGER_MG(gm_mgGameType, 0, - gm_mgStart, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); - gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; - gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); - gm_mgGameType.mg_pOnTriggerChange = &UpdateSplitLevel; + // game type trigger + TRIGGER_MG(gm_mgGameType, 0, + gm_mgStart, gm_mgDifficulty, TRANS("Game type:"), astrGameTypeRadioTexts); + gm_mgGameType.mg_ctTexts = ctGameTypeRadioTexts; + gm_mgGameType.mg_strTip = TRANS("choose type of multiplayer game"); + gm_mgGameType.mg_pOnTriggerChange = &UpdateSplitLevel; - // difficulty trigger - TRIGGER_MG(gm_mgDifficulty, 1, - gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); - gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); + // difficulty trigger + TRIGGER_MG(gm_mgDifficulty, 1, + gm_mgGameType, gm_mgLevel, TRANS("Difficulty:"), astrDifficultyRadioTexts); + gm_mgDifficulty.mg_strTip = TRANS("choose difficulty level"); - // level name - gm_mgLevel.mg_strText = ""; - gm_mgLevel.mg_strLabel = TRANS("Level:"); - gm_mgLevel.mg_boxOnScreen = BoxMediumRow(2); - gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; - gm_mgLevel.mg_iCenterI = -1; - gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; - gm_mgLevel.mg_pmgDown = &gm_mgOptions; - gm_mgLevel.mg_strTip = TRANS("choose the level to start"); - gm_mgLevel.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); + // level name + gm_mgLevel.mg_strText = ""; + gm_mgLevel.mg_strLabel = TRANS("Level:"); + gm_mgLevel.mg_boxOnScreen = BoxMediumRow(2); + gm_mgLevel.mg_bfsFontSize = BFS_MEDIUM; + gm_mgLevel.mg_iCenterI = -1; + gm_mgLevel.mg_pmgUp = &gm_mgDifficulty; + gm_mgLevel.mg_pmgDown = &gm_mgOptions; + gm_mgLevel.mg_strTip = TRANS("choose the level to start"); + gm_mgLevel.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgLevel.mg_lnNode); - // options button - gm_mgOptions.mg_strText = TRANS("Game options"); - gm_mgOptions.mg_boxOnScreen = BoxMediumRow(3); - gm_mgOptions.mg_bfsFontSize = BFS_MEDIUM; - gm_mgOptions.mg_iCenterI = 0; - gm_mgOptions.mg_pmgUp = &gm_mgLevel; - gm_mgOptions.mg_pmgDown = &gm_mgStart; - gm_mgOptions.mg_strTip = TRANS("adjust game rules"); - gm_mgOptions.mg_pActivatedFunction = NULL; - gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); + // options button + gm_mgOptions.mg_strText = TRANS("Game options"); + gm_mgOptions.mg_boxOnScreen = BoxMediumRow(3); + gm_mgOptions.mg_bfsFontSize = BFS_MEDIUM; + gm_mgOptions.mg_iCenterI = 0; + gm_mgOptions.mg_pmgUp = &gm_mgLevel; + gm_mgOptions.mg_pmgDown = &gm_mgStart; + gm_mgOptions.mg_strTip = TRANS("adjust game rules"); + gm_mgOptions.mg_pActivatedFunction = NULL; + gm_lhGadgets.AddTail(gm_mgOptions.mg_lnNode); - // start button - gm_mgStart.mg_bfsFontSize = BFS_LARGE; - gm_mgStart.mg_boxOnScreen = BoxBigRow(4); - gm_mgStart.mg_pmgUp = &gm_mgOptions; - gm_mgStart.mg_pmgDown = &gm_mgGameType; - gm_mgStart.mg_strText = TRANS("START"); - gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); - gm_mgStart.mg_pActivatedFunction = NULL; + // start button + gm_mgStart.mg_bfsFontSize = BFS_LARGE; + gm_mgStart.mg_boxOnScreen = BoxBigRow(4); + gm_mgStart.mg_pmgUp = &gm_mgOptions; + gm_mgStart.mg_pmgDown = &gm_mgGameType; + gm_mgStart.mg_strText = TRANS("START"); + gm_lhGadgets.AddTail(gm_mgStart.mg_lnNode); + gm_mgStart.mg_pActivatedFunction = NULL; } void CSplitStartMenu::StartMenu(void) { - extern INDEX sam_bMentalActivated; - gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; + extern INDEX sam_bMentalActivated; + gm_mgDifficulty.mg_ctTexts = sam_bMentalActivated ? 6 : 5; - gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); - gm_mgGameType.ApplyCurrentSelection(); - gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; - gm_mgDifficulty.ApplyCurrentSelection(); + gm_mgGameType.mg_iSelected = Clamp(_pShell->GetINDEX("gam_iStartMode"), 0L, ctGameTypeRadioTexts - 1L); + gm_mgGameType.ApplyCurrentSelection(); + gm_mgDifficulty.mg_iSelected = _pShell->GetINDEX("gam_iStartDifficulty") + 1; + gm_mgDifficulty.ApplyCurrentSelection(); - // clamp maximum number of players to at least 4 - _pShell->SetINDEX("gam_ctMaxPlayers", ClampDn(_pShell->GetINDEX("gam_ctMaxPlayers"), 4L)); + // clamp maximum number of players to at least 4 + _pShell->SetINDEX("gam_ctMaxPlayers", ClampDn(_pShell->GetINDEX("gam_ctMaxPlayers"), 4L)); - UpdateSplitLevel(0); - CGameMenu::StartMenu(); + UpdateSplitLevel(0); + CGameMenu::StartMenu(); } void CSplitStartMenu::EndMenu(void) { - _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); - _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); + _pShell->SetINDEX("gam_iStartDifficulty", gm_mgDifficulty.mg_iSelected - 1); + _pShell->SetINDEX("gam_iStartMode", gm_mgGameType.mg_iSelected); - CGameMenu::EndMenu(); + CGameMenu::EndMenu(); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MVar.cpp b/Sources/SeriousSam/GUI/Menus/MVar.cpp index b012341..44490b5 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVar.cpp @@ -23,111 +23,111 @@ extern BOOL _bVarChanged; void CVarMenu::Initialize_t(void) { - gm_mgTitle.mg_boxOnScreen = BoxTitle(); - gm_mgTitle.mg_strText = ""; - gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); + gm_mgTitle.mg_boxOnScreen = BoxTitle(); + gm_mgTitle.mg_strText = ""; + gm_lhGadgets.AddTail(gm_mgTitle.mg_lnNode); - for (INDEX iLabel = 0; iLabel= gm_iListOffset) && - (iLabel<(gm_iListOffset + VARS_ON_SCREEN))) - { - bHasFirst |= (iLabel == 0); - bHasLast |= (iLabel == ctLabels - 1); - gm_mgVar[iInMenu].mg_pvsVar = &vs; - gm_mgVar[iInMenu].mg_strTip = vs.vs_strTip; - gm_mgVar[iInMenu].mg_bEnabled = gm_mgVar[iInMenu].IsEnabled(); - gm_mgVar[iInMenu].mg_iInList = iLabel; - } - iLabel++; - } - // enable/disable up/down arrows - gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; - gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; + FOREACHINLIST(CVarSetting, vs_lnNode, _lhVarSettings, itvs) { + CVarSetting &vs = *itvs; + INDEX iInMenu = iLabel - gm_iListOffset; + if ((iLabel >= gm_iListOffset) && + (iLabel<(gm_iListOffset + VARS_ON_SCREEN))) + { + bHasFirst |= (iLabel == 0); + bHasLast |= (iLabel == ctLabels - 1); + gm_mgVar[iInMenu].mg_pvsVar = &vs; + gm_mgVar[iInMenu].mg_strTip = vs.vs_strTip; + gm_mgVar[iInMenu].mg_bEnabled = gm_mgVar[iInMenu].IsEnabled(); + gm_mgVar[iInMenu].mg_iInList = iLabel; + } + iLabel++; + } + // enable/disable up/down arrows + gm_mgArrowUp.mg_bEnabled = !bHasFirst && ctLabels>0; + gm_mgArrowDn.mg_bEnabled = !bHasLast && ctLabels>0; } void CVarMenu::StartMenu(void) { - LoadVarSettings(gm_fnmMenuCFG); - // set default parameters for the list - gm_iListOffset = 0; - gm_ctListTotal = _lhVarSettings.Count(); - gm_iListWantedItem = 0; - CGameMenu::StartMenu(); + LoadVarSettings(gm_fnmMenuCFG); + // set default parameters for the list + gm_iListOffset = 0; + gm_ctListTotal = _lhVarSettings.Count(); + gm_iListWantedItem = 0; + CGameMenu::StartMenu(); } void CVarMenu::EndMenu(void) { - // disable all items first - for (INDEX i = 0; igmMainMenu || pgmCurrentMenu == &_pGUIM->gmInGameMenu) { if (_gmRunningGameMode==GM_NONE) { - pgmCurrentMenu = &_pGUIM->gmMainMenu; + pgmCurrentMenu = &_pGUIM->gmMainMenu; } else { - pgmCurrentMenu = &_pGUIM->gmInGameMenu; + pgmCurrentMenu = &_pGUIM->gmInGameMenu; } } @@ -180,29 +180,29 @@ void StartMenus(char *str) } if (CTString(str)=="load") { StartCurrentLoadMenu(); - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; } if (CTString(str)=="save") { StartCurrentSaveMenu(); - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; - FixupBackButton(&_pGUIM->gmLoadSaveMenu); + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = NULL; + FixupBackButton(&_pGUIM->gmLoadSaveMenu); } if (CTString(str)=="controls") { void StartControlsMenuFromOptions(void); StartControlsMenuFromOptions(); - _pGUIM->gmControls.gm_pgmParentMenu = NULL; - FixupBackButton(&_pGUIM->gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = NULL; + FixupBackButton(&_pGUIM->gmControls); } if (CTString(str)=="join") { void StartSelectPlayersMenuFromOpen(void); StartSelectPlayersMenuFromOpen(); - _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - FixupBackButton(&_pGUIM->gmSelectPlayersMenu); + _pGUIM->gmSelectPlayersMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + FixupBackButton(&_pGUIM->gmSelectPlayersMenu); } if (CTString(str)=="hiscore") { - ChangeToMenu(&_pGUIM->gmHighScoreMenu); - _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - FixupBackButton(&_pGUIM->gmHighScoreMenu); + ChangeToMenu(&_pGUIM->gmHighScoreMenu); + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + FixupBackButton(&_pGUIM->gmHighScoreMenu); } bMenuActive = TRUE; bMenuRendering = TRUE; @@ -218,9 +218,9 @@ void StopMenus( BOOL bGoToRoot /*=TRUE*/) bMenuActive = FALSE; if (bGoToRoot) { if (_gmRunningGameMode==GM_NONE) { - pgmCurrentMenu = &_pGUIM->gmMainMenu; + pgmCurrentMenu = &_pGUIM->gmMainMenu; } else { - pgmCurrentMenu = &_pGUIM->gmInGameMenu; + pgmCurrentMenu = &_pGUIM->gmInGameMenu; } } } @@ -290,149 +290,149 @@ void InitializeMenus(void) InitGameTypes(); // ------------------- Initialize menus - _pGUIM->gmConfirmMenu.Initialize_t(); - _pGUIM->gmConfirmMenu.gm_strName = "Confirm"; - _pGUIM->gmConfirmMenu.gm_pmgSelectedByDefault = &_pGUIM->gmConfirmMenu.gm_mgConfirmYes; - _pGUIM->gmConfirmMenu.gm_pgmParentMenu = NULL; - InitActionsForConfirmMenu(); + _pGUIM->gmConfirmMenu.Initialize_t(); + _pGUIM->gmConfirmMenu.gm_strName = "Confirm"; + _pGUIM->gmConfirmMenu.gm_pmgSelectedByDefault = &_pGUIM->gmConfirmMenu.gm_mgConfirmYes; + _pGUIM->gmConfirmMenu.gm_pgmParentMenu = NULL; + InitActionsForConfirmMenu(); - _pGUIM->gmMainMenu.Initialize_t(); - _pGUIM->gmMainMenu.gm_strName = "Main"; - _pGUIM->gmMainMenu.gm_pmgSelectedByDefault = &_pGUIM->gmMainMenu.gm_mgSingle; - _pGUIM->gmMainMenu.gm_pgmParentMenu = NULL; - InitActionsForMainMenu(); + _pGUIM->gmMainMenu.Initialize_t(); + _pGUIM->gmMainMenu.gm_strName = "Main"; + _pGUIM->gmMainMenu.gm_pmgSelectedByDefault = &_pGUIM->gmMainMenu.gm_mgSingle; + _pGUIM->gmMainMenu.gm_pgmParentMenu = NULL; + InitActionsForMainMenu(); - _pGUIM->gmInGameMenu.Initialize_t(); - _pGUIM->gmInGameMenu.gm_strName = "InGame"; - _pGUIM->gmInGameMenu.gm_pmgSelectedByDefault = &_pGUIM->gmInGameMenu.gm_mgQuickLoad; - _pGUIM->gmInGameMenu.gm_pgmParentMenu = NULL; - InitActionsForInGameMenu(); + _pGUIM->gmInGameMenu.Initialize_t(); + _pGUIM->gmInGameMenu.gm_strName = "InGame"; + _pGUIM->gmInGameMenu.gm_pmgSelectedByDefault = &_pGUIM->gmInGameMenu.gm_mgQuickLoad; + _pGUIM->gmInGameMenu.gm_pgmParentMenu = NULL; + InitActionsForInGameMenu(); - _pGUIM->gmSinglePlayerMenu.Initialize_t(); - _pGUIM->gmSinglePlayerMenu.gm_strName = "SinglePlayer"; - _pGUIM->gmSinglePlayerMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerMenu.gm_mgNewGame; - _pGUIM->gmSinglePlayerMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - InitActionsForSinglePlayerMenu(); + _pGUIM->gmSinglePlayerMenu.Initialize_t(); + _pGUIM->gmSinglePlayerMenu.gm_strName = "SinglePlayer"; + _pGUIM->gmSinglePlayerMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerMenu.gm_mgNewGame; + _pGUIM->gmSinglePlayerMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + InitActionsForSinglePlayerMenu(); - _pGUIM->gmSinglePlayerNewMenu.Initialize_t(); - _pGUIM->gmSinglePlayerNewMenu.gm_strName = "SinglePlayerNew"; - _pGUIM->gmSinglePlayerNewMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerNewMenu.gm_mgMedium; - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - InitActionsForSinglePlayerNewMenu(); + _pGUIM->gmSinglePlayerNewMenu.Initialize_t(); + _pGUIM->gmSinglePlayerNewMenu.gm_strName = "SinglePlayerNew"; + _pGUIM->gmSinglePlayerNewMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSinglePlayerNewMenu.gm_mgMedium; + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + InitActionsForSinglePlayerNewMenu(); - _pGUIM->gmDisabledFunction.Initialize_t(); - _pGUIM->gmDisabledFunction.gm_strName = "DisabledFunction"; - _pGUIM->gmDisabledFunction.gm_pmgSelectedByDefault = &_pGUIM->gmDisabledFunction.gm_mgButton; - _pGUIM->gmDisabledFunction.gm_pgmParentMenu = NULL; + _pGUIM->gmDisabledFunction.Initialize_t(); + _pGUIM->gmDisabledFunction.gm_strName = "DisabledFunction"; + _pGUIM->gmDisabledFunction.gm_pmgSelectedByDefault = &_pGUIM->gmDisabledFunction.gm_mgButton; + _pGUIM->gmDisabledFunction.gm_pgmParentMenu = NULL; - _pGUIM->gmPlayerProfile.Initialize_t(); - _pGUIM->gmPlayerProfile.gm_strName = "PlayerProfile"; - _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &_pGUIM->gmPlayerProfile.gm_mgNameField; - InitActionsForPlayerProfileMenu(); + _pGUIM->gmPlayerProfile.Initialize_t(); + _pGUIM->gmPlayerProfile.gm_strName = "PlayerProfile"; + _pGUIM->gmPlayerProfile.gm_pmgSelectedByDefault = &_pGUIM->gmPlayerProfile.gm_mgNameField; + InitActionsForPlayerProfileMenu(); - _pGUIM->gmControls.Initialize_t(); - _pGUIM->gmControls.gm_strName = "Controls"; - _pGUIM->gmControls.gm_pmgSelectedByDefault = &_pGUIM->gmControls.gm_mgButtons; - InitActionsForControlsMenu(); + _pGUIM->gmControls.Initialize_t(); + _pGUIM->gmControls.gm_strName = "Controls"; + _pGUIM->gmControls.gm_pmgSelectedByDefault = &_pGUIM->gmControls.gm_mgButtons; + InitActionsForControlsMenu(); // warning! parent menu has to be set inside button activate function from where // Load/Save menu is called - _pGUIM->gmLoadSaveMenu.Initialize_t(); - _pGUIM->gmLoadSaveMenu.gm_strName = "LoadSave"; - _pGUIM->gmLoadSaveMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLoadSaveMenu.gm_amgButton[0]; + _pGUIM->gmLoadSaveMenu.Initialize_t(); + _pGUIM->gmLoadSaveMenu.gm_strName = "LoadSave"; + _pGUIM->gmLoadSaveMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLoadSaveMenu.gm_amgButton[0]; - _pGUIM->gmHighScoreMenu.Initialize_t(); - _pGUIM->gmHighScoreMenu.gm_strName = "HighScore"; - _pGUIM->gmHighScoreMenu.gm_pmgSelectedByDefault = &mgBack; + _pGUIM->gmHighScoreMenu.Initialize_t(); + _pGUIM->gmHighScoreMenu.gm_strName = "HighScore"; + _pGUIM->gmHighScoreMenu.gm_pmgSelectedByDefault = &mgBack; - _pGUIM->gmCustomizeKeyboardMenu.Initialize_t(); - _pGUIM->gmCustomizeKeyboardMenu.gm_strName = "CustomizeKeyboard"; - _pGUIM->gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeKeyboardMenu.gm_mgKey[0]; - _pGUIM->gmCustomizeKeyboardMenu.gm_pgmParentMenu = &_pGUIM->gmControls; + _pGUIM->gmCustomizeKeyboardMenu.Initialize_t(); + _pGUIM->gmCustomizeKeyboardMenu.gm_strName = "CustomizeKeyboard"; + _pGUIM->gmCustomizeKeyboardMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeKeyboardMenu.gm_mgKey[0]; + _pGUIM->gmCustomizeKeyboardMenu.gm_pgmParentMenu = &_pGUIM->gmControls; - _pGUIM->gmCustomizeAxisMenu.Initialize_t(); - _pGUIM->gmCustomizeAxisMenu.gm_strName = "CustomizeAxis"; - _pGUIM->gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeAxisMenu.gm_mgActionTrigger; - _pGUIM->gmCustomizeAxisMenu.gm_pgmParentMenu = &_pGUIM->gmControls; - InitActionsForCustomizeAxisMenu(); + _pGUIM->gmCustomizeAxisMenu.Initialize_t(); + _pGUIM->gmCustomizeAxisMenu.gm_strName = "CustomizeAxis"; + _pGUIM->gmCustomizeAxisMenu.gm_pmgSelectedByDefault = &_pGUIM->gmCustomizeAxisMenu.gm_mgActionTrigger; + _pGUIM->gmCustomizeAxisMenu.gm_pgmParentMenu = &_pGUIM->gmControls; + InitActionsForCustomizeAxisMenu(); - _pGUIM->gmOptionsMenu.Initialize_t(); - _pGUIM->gmOptionsMenu.gm_strName = "Options"; - _pGUIM->gmOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmOptionsMenu.gm_mgVideoOptions; - _pGUIM->gmOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - InitActionsForOptionsMenu(); + _pGUIM->gmOptionsMenu.Initialize_t(); + _pGUIM->gmOptionsMenu.gm_strName = "Options"; + _pGUIM->gmOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmOptionsMenu.gm_mgVideoOptions; + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + InitActionsForOptionsMenu(); - _pGUIM->gmVideoOptionsMenu.Initialize_t(); - _pGUIM->gmVideoOptionsMenu.gm_strName = "VideoOptions"; - _pGUIM->gmVideoOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVideoOptionsMenu.gm_mgDisplayAPITrigger; - _pGUIM->gmVideoOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - InitActionsForVideoOptionsMenu(); + _pGUIM->gmVideoOptionsMenu.Initialize_t(); + _pGUIM->gmVideoOptionsMenu.gm_strName = "VideoOptions"; + _pGUIM->gmVideoOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVideoOptionsMenu.gm_mgDisplayAPITrigger; + _pGUIM->gmVideoOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + InitActionsForVideoOptionsMenu(); - _pGUIM->gmAudioOptionsMenu.Initialize_t(); - _pGUIM->gmAudioOptionsMenu.gm_strName = "AudioOptions"; - _pGUIM->gmAudioOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmAudioOptionsMenu.gm_mgFrequencyTrigger; - _pGUIM->gmAudioOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - InitActionsForAudioOptionsMenu(); + _pGUIM->gmAudioOptionsMenu.Initialize_t(); + _pGUIM->gmAudioOptionsMenu.gm_strName = "AudioOptions"; + _pGUIM->gmAudioOptionsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmAudioOptionsMenu.gm_mgFrequencyTrigger; + _pGUIM->gmAudioOptionsMenu.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + InitActionsForAudioOptionsMenu(); - _pGUIM->gmLevelsMenu.Initialize_t(); - _pGUIM->gmLevelsMenu.gm_strName = "Levels"; - _pGUIM->gmLevelsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLevelsMenu.gm_mgManualLevel[0]; - _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + _pGUIM->gmLevelsMenu.Initialize_t(); + _pGUIM->gmLevelsMenu.gm_strName = "Levels"; + _pGUIM->gmLevelsMenu.gm_pmgSelectedByDefault = &_pGUIM->gmLevelsMenu.gm_mgManualLevel[0]; + _pGUIM->gmLevelsMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - _pGUIM->gmVarMenu.Initialize_t(); - _pGUIM->gmVarMenu.gm_strName = "Var"; - _pGUIM->gmVarMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVarMenu.gm_mgVar[0]; - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - InitActionsForVarMenu(); + _pGUIM->gmVarMenu.Initialize_t(); + _pGUIM->gmVarMenu.gm_strName = "Var"; + _pGUIM->gmVarMenu.gm_pmgSelectedByDefault = &_pGUIM->gmVarMenu.gm_mgVar[0]; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + InitActionsForVarMenu(); - _pGUIM->gmServersMenu.Initialize_t(); - _pGUIM->gmServersMenu.gm_strName = "Servers"; - _pGUIM->gmServersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmServersMenu.gm_mgList; - _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - InitActionsForServersMenu(); + _pGUIM->gmServersMenu.Initialize_t(); + _pGUIM->gmServersMenu.gm_strName = "Servers"; + _pGUIM->gmServersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmServersMenu.gm_mgList; + _pGUIM->gmServersMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + InitActionsForServersMenu(); - _pGUIM->gmNetworkMenu.Initialize_t(); - _pGUIM->gmNetworkMenu.gm_strName = "Network"; - _pGUIM->gmNetworkMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkMenu.gm_mgJoin; - _pGUIM->gmNetworkMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - InitActionsForNetworkMenu(); + _pGUIM->gmNetworkMenu.Initialize_t(); + _pGUIM->gmNetworkMenu.gm_strName = "Network"; + _pGUIM->gmNetworkMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkMenu.gm_mgJoin; + _pGUIM->gmNetworkMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + InitActionsForNetworkMenu(); - _pGUIM->gmNetworkStartMenu.Initialize_t(); - _pGUIM->gmNetworkStartMenu.gm_strName = "NetworkStart"; - _pGUIM->gmNetworkStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkStartMenu.gm_mgStart; - _pGUIM->gmNetworkStartMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; - InitActionsForNetworkStartMenu(); + _pGUIM->gmNetworkStartMenu.Initialize_t(); + _pGUIM->gmNetworkStartMenu.gm_strName = "NetworkStart"; + _pGUIM->gmNetworkStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkStartMenu.gm_mgStart; + _pGUIM->gmNetworkStartMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; + InitActionsForNetworkStartMenu(); - _pGUIM->gmNetworkJoinMenu.Initialize_t(); - _pGUIM->gmNetworkJoinMenu.gm_strName = "NetworkJoin"; - _pGUIM->gmNetworkJoinMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkJoinMenu.gm_mgLAN; - _pGUIM->gmNetworkJoinMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; - InitActionsForNetworkJoinMenu(); + _pGUIM->gmNetworkJoinMenu.Initialize_t(); + _pGUIM->gmNetworkJoinMenu.gm_strName = "NetworkJoin"; + _pGUIM->gmNetworkJoinMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkJoinMenu.gm_mgLAN; + _pGUIM->gmNetworkJoinMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkMenu; + InitActionsForNetworkJoinMenu(); - _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; - _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; - _pGUIM->gmSelectPlayersMenu.Initialize_t(); - _pGUIM->gmSelectPlayersMenu.gm_strName = "SelectPlayers"; - _pGUIM->gmSelectPlayersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSelectPlayersMenu.gm_mgStart; - InitActionsForSelectPlayersMenu(); + _pGUIM->gmSelectPlayersMenu.gm_bAllowDedicated = FALSE; + _pGUIM->gmSelectPlayersMenu.gm_bAllowObserving = FALSE; + _pGUIM->gmSelectPlayersMenu.Initialize_t(); + _pGUIM->gmSelectPlayersMenu.gm_strName = "SelectPlayers"; + _pGUIM->gmSelectPlayersMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSelectPlayersMenu.gm_mgStart; + InitActionsForSelectPlayersMenu(); - _pGUIM->gmNetworkOpenMenu.Initialize_t(); - _pGUIM->gmNetworkOpenMenu.gm_strName = "NetworkOpen"; - _pGUIM->gmNetworkOpenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkOpenMenu.gm_mgJoin; - _pGUIM->gmNetworkOpenMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; - InitActionsForNetworkOpenMenu(); + _pGUIM->gmNetworkOpenMenu.Initialize_t(); + _pGUIM->gmNetworkOpenMenu.gm_strName = "NetworkOpen"; + _pGUIM->gmNetworkOpenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmNetworkOpenMenu.gm_mgJoin; + _pGUIM->gmNetworkOpenMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; + InitActionsForNetworkOpenMenu(); - _pGUIM->gmSplitScreenMenu.Initialize_t(); - _pGUIM->gmSplitScreenMenu.gm_strName = "SplitScreen"; - _pGUIM->gmSplitScreenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitScreenMenu.gm_mgStart; - _pGUIM->gmSplitScreenMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - InitActionsForSplitScreenMenu(); + _pGUIM->gmSplitScreenMenu.Initialize_t(); + _pGUIM->gmSplitScreenMenu.gm_strName = "SplitScreen"; + _pGUIM->gmSplitScreenMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitScreenMenu.gm_mgStart; + _pGUIM->gmSplitScreenMenu.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + InitActionsForSplitScreenMenu(); - _pGUIM->gmSplitStartMenu.Initialize_t(); - _pGUIM->gmSplitStartMenu.gm_strName = "SplitStart"; - _pGUIM->gmSplitStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitStartMenu.gm_mgStart; - _pGUIM->gmSplitStartMenu.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; - InitActionsForSplitStartMenu(); + _pGUIM->gmSplitStartMenu.Initialize_t(); + _pGUIM->gmSplitStartMenu.gm_strName = "SplitStart"; + _pGUIM->gmSplitStartMenu.gm_pmgSelectedByDefault = &_pGUIM->gmSplitStartMenu.gm_mgStart; + _pGUIM->gmSplitStartMenu.gm_pgmParentMenu = &_pGUIM->gmSplitScreenMenu; + InitActionsForSplitStartMenu(); } catch( char *strError) { @@ -706,7 +706,7 @@ BOOL DoMenu( CDrawPort *pdp) FLOAT fScaleH = (FLOAT)pixH / 480.0f; PIX pixI0, pixJ0, pixI1, pixJ1; // put logo(s) to main menu (if logos exist) - if (pgmCurrentMenu == &_pGUIM->gmMainMenu) + if (pgmCurrentMenu == &_pGUIM->gmMainMenu) { if( _ptoLogoODI!=NULL) { CTextureData &td = (CTextureData&)*_ptoLogoODI->GetData(); @@ -744,7 +744,7 @@ BOOL DoMenu( CDrawPort *pdp) dpMenu.PutTexture(&_toLogoMenuB, PIXaabbox2D( PIX2D( pixCenterI, pixHeightJ),PIX2D( pixCenterI+pixSizeI, pixHeightJ+pixSizeJ))); } - } else if (pgmCurrentMenu == &_pGUIM->gmAudioOptionsMenu) { + } else if (pgmCurrentMenu == &_pGUIM->gmAudioOptionsMenu) { if( _ptoLogoEAX!=NULL) { CTextureData &td = (CTextureData&)*_ptoLogoEAX->GetData(); const INDEX iSize = 95; diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index 54d09a1..b5c8ab9 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -40,59 +40,59 @@ static CDisplayMode *_admResolutionModes = NULL; // make description for a given resolution static CTString GetResolutionDescription(CDisplayMode &dm) { - CTString str; - // if dual head - if (dm.IsDualHead()) { - str.PrintF(TRANS("%dx%d double"), dm.dm_pixSizeI / 2, dm.dm_pixSizeJ); - // if widescreen - } else if (dm.IsWideScreen()) { - str.PrintF(TRANS("%dx%d wide"), dm.dm_pixSizeI, dm.dm_pixSizeJ); - // otherwise it is normal - } else { - str.PrintF("%dx%d", dm.dm_pixSizeI, dm.dm_pixSizeJ); - } - return str; + CTString str; + // if dual head + if (dm.IsDualHead()) { + str.PrintF(TRANS("%dx%d double"), dm.dm_pixSizeI / 2, dm.dm_pixSizeJ); + // if widescreen + } else if (dm.IsWideScreen()) { + str.PrintF(TRANS("%dx%d wide"), dm.dm_pixSizeI, dm.dm_pixSizeJ); + // otherwise it is normal + } else { + str.PrintF("%dx%d", dm.dm_pixSizeI, dm.dm_pixSizeJ); + } + return str; } // make description for a given resolution static void SetResolutionInList(INDEX iRes, PIX pixSizeI, PIX pixSizeJ) { - ASSERT(iRes >= 0 && iRes<_ctResolutions); + ASSERT(iRes >= 0 && iRes<_ctResolutions); - CTString &str = _astrResolutionTexts[iRes]; - CDisplayMode &dm = _admResolutionModes[iRes]; - dm.dm_pixSizeI = pixSizeI; - dm.dm_pixSizeJ = pixSizeJ; - str = GetResolutionDescription(dm); + CTString &str = _astrResolutionTexts[iRes]; + CDisplayMode &dm = _admResolutionModes[iRes]; + dm.dm_pixSizeI = pixSizeI; + dm.dm_pixSizeJ = pixSizeJ; + str = GetResolutionDescription(dm); } static void ResolutionToSize(INDEX iRes, PIX &pixSizeI, PIX &pixSizeJ) { - ASSERT(iRes >= 0 && iRes<_ctResolutions); - CDisplayMode &dm = _admResolutionModes[iRes]; - pixSizeI = dm.dm_pixSizeI; - pixSizeJ = dm.dm_pixSizeJ; + ASSERT(iRes >= 0 && iRes<_ctResolutions); + CDisplayMode &dm = _admResolutionModes[iRes]; + pixSizeI = dm.dm_pixSizeI; + pixSizeJ = dm.dm_pixSizeJ; } static void SizeToResolution(PIX pixSizeI, PIX pixSizeJ, INDEX &iRes) { - for (iRes = 0; iRes<_ctResolutions; iRes++) { - CDisplayMode &dm = _admResolutionModes[iRes]; - if (dm.dm_pixSizeI == pixSizeI && dm.dm_pixSizeJ == pixSizeJ) { - return; - } - } - // if none was found, search for default - for (iRes = 0; iRes<_ctResolutions; iRes++) { - CDisplayMode &dm = _admResolutionModes[iRes]; - if (dm.dm_pixSizeI == 640 && dm.dm_pixSizeJ == 480) { - return; - } - } - // if still none found - ASSERT(FALSE); // this should never happen - // return first one - iRes = 0; + for (iRes = 0; iRes<_ctResolutions; iRes++) { + CDisplayMode &dm = _admResolutionModes[iRes]; + if (dm.dm_pixSizeI == pixSizeI && dm.dm_pixSizeJ == pixSizeJ) { + return; + } + } + // if none was found, search for default + for (iRes = 0; iRes<_ctResolutions; iRes++) { + CDisplayMode &dm = _admResolutionModes[iRes]; + if (dm.dm_pixSizeI == 640 && dm.dm_pixSizeJ == 480) { + return; + } + } + // if still none found + ASSERT(FALSE); // this should never happen + // return first one + iRes = 0; } // ------------------------ CConfirmMenu implementation @@ -105,232 +105,232 @@ CTString _strModServerSelected; static void ExitGame(void) { - _bRunning = FALSE; - _bQuitScreen = TRUE; + _bRunning = FALSE; + _bQuitScreen = TRUE; } static void ExitConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - gmCurrent._pConfimedYes = &ExitGame; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + gmCurrent._pConfimedYes = &ExitGame; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } static void StopCurrentGame(void) { - _pGame->StopGame(); - _gmRunningGameMode = GM_NONE; - StopMenus(TRUE); - StartMenus(""); + _pGame->StopGame(); + _gmRunningGameMode = GM_NONE; + StopMenus(TRUE); + StartMenus(""); } static void StopConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - gmCurrent._pConfimedYes = &StopCurrentGame; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + gmCurrent._pConfimedYes = &StopCurrentGame; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("ARE YOU SERIOUS?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } static void ModLoadYes(void) { - _fnmModToLoad = _fnmModSelected; + _fnmModToLoad = _fnmModSelected; } static void ModConnect(void) { - _fnmModToLoad = _fnmModSelected; - _strModServerJoin = _strModServerSelected; + _fnmModToLoad = _fnmModSelected; + _strModServerJoin = _strModServerSelected; } extern void ModConnectConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - if (_fnmModSelected == " ") { - _fnmModSelected = CTString("SeriousSam"); - } + if (_fnmModSelected == " ") { + _fnmModSelected = CTString("SeriousSam"); + } - CTFileName fnmModPath = "Mods\\" + _fnmModSelected + "\\"; - if (!FileExists(fnmModPath + "BaseWriteInclude.lst") - && !FileExists(fnmModPath + "BaseWriteExclude.lst") - && !FileExists(fnmModPath + "BaseBrowseInclude.lst") - && !FileExists(fnmModPath + "BaseBrowseExclude.lst")) { - extern void ModNotInstalled(void); - ModNotInstalled(); - return; - } + CTFileName fnmModPath = "Mods\\" + _fnmModSelected + "\\"; + if (!FileExists(fnmModPath + "BaseWriteInclude.lst") + && !FileExists(fnmModPath + "BaseWriteExclude.lst") + && !FileExists(fnmModPath + "BaseBrowseInclude.lst") + && !FileExists(fnmModPath + "BaseBrowseExclude.lst")) { + extern void ModNotInstalled(void); + ModNotInstalled(); + return; + } - CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); - gmCurrent._pConfimedYes = &ModConnect; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + CPrintF(TRANS("Server is running a different MOD (%s).\nYou need to reload to connect.\n"), _fnmModSelected); + gmCurrent._pConfimedYes = &ModConnect; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("CHANGE THE MOD?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void SaveConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - extern void OnFileSaveOK(void); - gmCurrent._pConfimedYes = &OnFileSaveOK; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + extern void OnFileSaveOK(void); + gmCurrent._pConfimedYes = &OnFileSaveOK; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("OVERWRITE?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } void ExitAndSpawnExplorer(void) { - _bRunning = FALSE; - _bQuitScreen = FALSE; - extern CTString _strURLToVisit; - _strURLToVisit = _strModURLSelected; + _bRunning = FALSE; + _bQuitScreen = FALSE; + extern CTString _strURLToVisit; + _strURLToVisit = _strModURLSelected; } void ModNotInstalled(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - gmCurrent._pConfimedYes = &ExitAndSpawnExplorer; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText.PrintF( - TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeSmall(); - ChangeToMenu(&gmCurrent); + gmCurrent._pConfimedYes = &ExitAndSpawnExplorer; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText.PrintF( + TRANS("You don't have MOD '%s' installed.\nDo you want to visit its web site?"), (const char*)_fnmModSelected); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeSmall(); + ChangeToMenu(&gmCurrent); } extern void ModConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - gmCurrent._pConfimedYes = &ModLoadYes; - gmCurrent._pConfimedNo = NULL; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + gmCurrent._pConfimedYes = &ModLoadYes; + gmCurrent._pConfimedNo = NULL; + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("LOAD THIS MOD?"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } static void RevertVideoSettings(void); void VideoConfirm(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - // FIXUP: keyboard focus lost when going from full screen to window mode - // due to WM_MOUSEMOVE being sent - _bMouseUsedLast = FALSE; - _pmgUnderCursor = gmCurrent.gm_pmgSelectedByDefault; + // FIXUP: keyboard focus lost when going from full screen to window mode + // due to WM_MOUSEMOVE being sent + _bMouseUsedLast = FALSE; + _pmgUnderCursor = gmCurrent.gm_pmgSelectedByDefault; - gmCurrent._pConfimedYes = NULL; - gmCurrent._pConfimedNo = RevertVideoSettings; + gmCurrent._pConfimedYes = NULL; + gmCurrent._pConfimedNo = RevertVideoSettings; - gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.BeLarge(); - ChangeToMenu(&gmCurrent); + gmCurrent.gm_mgConfirmLabel.mg_strText = TRANS("KEEP THIS SETTING?"); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.BeLarge(); + ChangeToMenu(&gmCurrent); } static void ConfirmYes(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - if (gmCurrent._pConfimedYes != NULL) { - gmCurrent._pConfimedYes(); - } - void MenuGoToParent(void); - MenuGoToParent(); + if (gmCurrent._pConfimedYes != NULL) { + gmCurrent._pConfimedYes(); + } + void MenuGoToParent(void); + MenuGoToParent(); } static void ConfirmNo(void) { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - if (gmCurrent._pConfimedNo != NULL) { - gmCurrent._pConfimedNo(); - } - void MenuGoToParent(void); - MenuGoToParent(); + if (gmCurrent._pConfimedNo != NULL) { + gmCurrent._pConfimedNo(); + } + void MenuGoToParent(void); + MenuGoToParent(); } void InitActionsForConfirmMenu() { - CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; + CConfirmMenu &gmCurrent = _pGUIM->gmConfirmMenu; - gmCurrent.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; - gmCurrent.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; + gmCurrent.gm_mgConfirmYes.mg_pActivatedFunction = &ConfirmYes; + gmCurrent.gm_mgConfirmNo.mg_pActivatedFunction = &ConfirmNo; } // ------------------------ CMainMenu implementation void InitActionsForMainMenu() { - CMainMenu &gmCurrent = _pGUIM->gmMainMenu; + CMainMenu &gmCurrent = _pGUIM->gmMainMenu; - gmCurrent.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; - gmCurrent.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; - gmCurrent.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; - gmCurrent.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; - gmCurrent.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; - gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; + gmCurrent.gm_mgSingle.mg_pActivatedFunction = &StartSinglePlayerMenu; + gmCurrent.gm_mgNetwork.mg_pActivatedFunction = StartNetworkMenu; + gmCurrent.gm_mgSplitScreen.mg_pActivatedFunction = &StartSplitScreenMenu; + gmCurrent.gm_mgDemo.mg_pActivatedFunction = &StartDemoLoadMenu; + gmCurrent.gm_mgMods.mg_pActivatedFunction = &StartModsLoadMenu; + gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } // ------------------------ CInGameMenu implementation // start load/save menus depending on type of game running static void QuickSaveFromMenu() { - _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting - StopMenus(TRUE); + _pShell->SetINDEX("gam_bQuickSave", 2); // force save with reporting + StopMenus(TRUE); } static void StopRecordingDemo(void) { - _pNetwork->StopDemoRec(); - void SetDemoStartStopRecText(void); - SetDemoStartStopRecText(); + _pNetwork->StopDemoRec(); + void SetDemoStartStopRecText(void); + SetDemoStartStopRecText(); } void InitActionsForInGameMenu() { - CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; + CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; - gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; - gmCurrent.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; - gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; - gmCurrent.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; - gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; - gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; - gmCurrent.gm_mgStop.mg_pActivatedFunction = &StopConfirm; - gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartCurrentQuickLoadMenu; + gmCurrent.gm_mgQuickSave.mg_pActivatedFunction = &QuickSaveFromMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartCurrentLoadMenu; + gmCurrent.gm_mgSave.mg_pActivatedFunction = &StartCurrentSaveMenu; + gmCurrent.gm_mgHighScore.mg_pActivatedFunction = &StartHighScoreMenu; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartOptionsMenu; + gmCurrent.gm_mgStop.mg_pActivatedFunction = &StopConfirm; + gmCurrent.gm_mgQuit.mg_pActivatedFunction = &ExitConfirm; } extern void SetDemoStartStopRecText(void) { - CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; + CInGameMenu &gmCurrent = _pGUIM->gmInGameMenu; - if (_pNetwork->IsRecordingDemo()) - { - gmCurrent.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); - gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); - gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; - } else { - gmCurrent.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); - gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); - gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; - } + if (_pNetwork->IsRecordingDemo()) + { + gmCurrent.gm_mgDemoRec.SetText(TRANS("STOP RECORDING")); + gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("stop current recording"); + gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StopRecordingDemo; + } else { + gmCurrent.gm_mgDemoRec.SetText(TRANS("RECORD DEMO")); + gmCurrent.gm_mgDemoRec.mg_strTip = TRANS("start recording current game"); + gmCurrent.gm_mgDemoRec.mg_pActivatedFunction = &StartDemoSaveMenu; + } } // ------------------------ CSinglePlayerMenu implementation @@ -340,265 +340,265 @@ extern CTString sam_strTrainingLevel; static void StartSinglePlayerGame_Normal(void); static void StartTechTest(void) { - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - _pGame->gam_strCustomLevel = sam_strTechTestLevel; - StartSinglePlayerGame_Normal(); + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + _pGame->gam_strCustomLevel = sam_strTechTestLevel; + StartSinglePlayerGame_Normal(); } static void StartTraining(void) { - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - _pGame->gam_strCustomLevel = sam_strTrainingLevel; - ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + _pGame->gam_strCustomLevel = sam_strTrainingLevel; + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } void InitActionsForSinglePlayerMenu() { - CSinglePlayerMenu &gmCurrent = _pGUIM->gmSinglePlayerMenu; + CSinglePlayerMenu &gmCurrent = _pGUIM->gmSinglePlayerMenu; - gmCurrent.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; - gmCurrent.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; - gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; - gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; - gmCurrent.gm_mgTraining.mg_pActivatedFunction = &StartTraining; - gmCurrent.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; - gmCurrent.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; - gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; + gmCurrent.gm_mgNewGame.mg_pActivatedFunction = &StartSinglePlayerNewMenu; + gmCurrent.gm_mgCustom.mg_pActivatedFunction = &StartSelectLevelFromSingle; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSinglePlayerQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSinglePlayerLoadMenu; + gmCurrent.gm_mgTraining.mg_pActivatedFunction = &StartTraining; + gmCurrent.gm_mgTechTest.mg_pActivatedFunction = &StartTechTest; + gmCurrent.gm_mgPlayersAndControls.mg_pActivatedFunction = &StartChangePlayerMenuFromSinglePlayer; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartSinglePlayerGameOptions; } // ------------------------ CSinglePlayerNewMenu implementation void StartSinglePlayerGame(void) { - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; + _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; - _pGame->gm_aiStartLocalPlayers[1] = -1; - _pGame->gm_aiStartLocalPlayers[2] = -1; - _pGame->gm_aiStartLocalPlayers[3] = -1; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; + _pGame->gm_aiStartLocalPlayers[1] = -1; + _pGame->gm_aiStartLocalPlayers[2] = -1; + _pGame->gm_aiStartLocalPlayers[3] = -1; - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetSinglePlayerSession(sp); + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetSinglePlayerSession(sp); - if (_pGame->NewGame(_pGame->gam_strCustomLevel, _pGame->gam_strCustomLevel, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SINGLE_PLAYER; - } else { - _gmRunningGameMode = GM_NONE; - } + if (_pGame->NewGame(_pGame->gam_strCustomLevel, _pGame->gam_strCustomLevel, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SINGLE_PLAYER; + } else { + _gmRunningGameMode = GM_NONE; + } } static void StartSinglePlayerGame_Tourist(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_TOURIST); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_TOURIST); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } static void StartSinglePlayerGame_Easy(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EASY); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } static void StartSinglePlayerGame_Normal(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_NORMAL); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } static void StartSinglePlayerGame_Hard(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_HARD); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } static void StartSinglePlayerGame_Serious(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } static void StartSinglePlayerGame_Mental(void) { - _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME + 1); - _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); - StartSinglePlayerGame(); + _pShell->SetINDEX("gam_iStartDifficulty", CSessionProperties::GD_EXTREME + 1); + _pShell->SetINDEX("gam_iStartMode", CSessionProperties::GM_COOPERATIVE); + StartSinglePlayerGame(); } void InitActionsForSinglePlayerNewMenu() { - CSinglePlayerNewMenu &gmCurrent = _pGUIM->gmSinglePlayerNewMenu; + CSinglePlayerNewMenu &gmCurrent = _pGUIM->gmSinglePlayerNewMenu; - gmCurrent.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; - gmCurrent.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; - gmCurrent.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; - gmCurrent.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; - gmCurrent.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; - gmCurrent.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; + gmCurrent.gm_mgTourist.mg_pActivatedFunction = &StartSinglePlayerGame_Tourist; + gmCurrent.gm_mgEasy.mg_pActivatedFunction = &StartSinglePlayerGame_Easy; + gmCurrent.gm_mgMedium.mg_pActivatedFunction = &StartSinglePlayerGame_Normal; + gmCurrent.gm_mgHard.mg_pActivatedFunction = &StartSinglePlayerGame_Hard; + gmCurrent.gm_mgSerious.mg_pActivatedFunction = &StartSinglePlayerGame_Serious; + gmCurrent.gm_mgMental.mg_pActivatedFunction = &StartSinglePlayerGame_Mental; } // ------------------------ CPlayerProfileMenu implementation static void ChangeCrosshair(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - pps->ps_iCrossHairType = iNew - 1; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + pps->ps_iCrossHairType = iNew - 1; } static void ChangeWeaponSelect(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - pps->ps_iWeaponAutoSelect = iNew; + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + pps->ps_iWeaponAutoSelect = iNew; } static void ChangeWeaponHide(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_HIDEWEAPON; - } else { - pps->ps_ulFlags &= ~PSF_HIDEWEAPON; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_HIDEWEAPON; + } else { + pps->ps_ulFlags &= ~PSF_HIDEWEAPON; + } } static void Change3rdPerson(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_PREFER3RDPERSON; - } else { - pps->ps_ulFlags &= ~PSF_PREFER3RDPERSON; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_PREFER3RDPERSON; + } else { + pps->ps_ulFlags &= ~PSF_PREFER3RDPERSON; + } } static void ChangeQuotes(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_NOQUOTES; - } else { - pps->ps_ulFlags |= PSF_NOQUOTES; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_NOQUOTES; + } else { + pps->ps_ulFlags |= PSF_NOQUOTES; + } } static void ChangeAutoSave(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_AUTOSAVE; - } else { - pps->ps_ulFlags &= ~PSF_AUTOSAVE; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_AUTOSAVE; + } else { + pps->ps_ulFlags &= ~PSF_AUTOSAVE; + } } static void ChangeCompDoubleClick(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; - } else { - pps->ps_ulFlags |= PSF_COMPSINGLECLICK; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_COMPSINGLECLICK; + } else { + pps->ps_ulFlags |= PSF_COMPSINGLECLICK; + } } static void ChangeViewBobbing(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags &= ~PSF_NOBOBBING; - } else { - pps->ps_ulFlags |= PSF_NOBOBBING; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags &= ~PSF_NOBOBBING; + } else { + pps->ps_ulFlags |= PSF_NOBOBBING; + } } static void ChangeSharpTurning(INDEX iNew) { - INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; - CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; - if (iNew) { - pps->ps_ulFlags |= PSF_SHARPTURNING; - } else { - pps->ps_ulFlags &= ~PSF_SHARPTURNING; - } + INDEX iPlayer = *_pGUIM->gmPlayerProfile.gm_piCurrentPlayer; + CPlayerSettings *pps = (CPlayerSettings *)_pGame->gm_apcPlayers[iPlayer].pc_aubAppearance; + if (iNew) { + pps->ps_ulFlags |= PSF_SHARPTURNING; + } else { + pps->ps_ulFlags &= ~PSF_SHARPTURNING; + } } extern void PPOnPlayerSelect(void) { - ASSERT(_pmgLastActivatedGadget != NULL); - if (_pmgLastActivatedGadget->mg_bEnabled) { - _pGUIM->gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); - } + ASSERT(_pmgLastActivatedGadget != NULL); + if (_pmgLastActivatedGadget->mg_bEnabled) { + _pGUIM->gmPlayerProfile.SelectPlayer(((CMGButton *)_pmgLastActivatedGadget)->mg_iIndex); + } } void InitActionsForPlayerProfileMenu() { - CPlayerProfileMenu &gmCurrent = _pGUIM->gmPlayerProfile; + CPlayerProfileMenu &gmCurrent = _pGUIM->gmPlayerProfile; - gmCurrent.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; - gmCurrent.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; - gmCurrent.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; - gmCurrent.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; - gmCurrent.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; - gmCurrent.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; - gmCurrent.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; - gmCurrent.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; - gmCurrent.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; - gmCurrent.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; - gmCurrent.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; + gmCurrent.gm_mgCrosshair.mg_pOnTriggerChange = ChangeCrosshair; + gmCurrent.gm_mgWeaponSelect.mg_pOnTriggerChange = ChangeWeaponSelect; + gmCurrent.gm_mgWeaponHide.mg_pOnTriggerChange = ChangeWeaponHide; + gmCurrent.gm_mg3rdPerson.mg_pOnTriggerChange = Change3rdPerson; + gmCurrent.gm_mgQuotes.mg_pOnTriggerChange = ChangeQuotes; + gmCurrent.gm_mgAutoSave.mg_pOnTriggerChange = ChangeAutoSave; + gmCurrent.gm_mgCompDoubleClick.mg_pOnTriggerChange = ChangeCompDoubleClick; + gmCurrent.gm_mgSharpTurning.mg_pOnTriggerChange = ChangeSharpTurning; + gmCurrent.gm_mgViewBobbing.mg_pOnTriggerChange = ChangeViewBobbing; + gmCurrent.gm_mgCustomizeControls.mg_pActivatedFunction = &StartControlsMenuFromPlayer; + gmCurrent.gm_mgModel.mg_pActivatedFunction = &StartPlayerModelLoadMenu; } // ------------------------ CControlsMenu implementation void InitActionsForControlsMenu() { - CControlsMenu &gmCurrent = _pGUIM->gmControls; + CControlsMenu &gmCurrent = _pGUIM->gmControls; - gmCurrent.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; - gmCurrent.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; - gmCurrent.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; + gmCurrent.gm_mgButtons.mg_pActivatedFunction = &StartCustomizeKeyboardMenu; + gmCurrent.gm_mgAdvanced.mg_pActivatedFunction = &StartCustomizeAxisMenu; + gmCurrent.gm_mgPredefined.mg_pActivatedFunction = &StartControlsLoadMenu; } // ------------------------ CCustomizeAxisMenu implementation void PreChangeAxis(INDEX iDummy) { - _pGUIM->gmCustomizeAxisMenu.ApplyActionSettings(); + _pGUIM->gmCustomizeAxisMenu.ApplyActionSettings(); } void PostChangeAxis(INDEX iDummy) { - _pGUIM->gmCustomizeAxisMenu.ObtainActionSettings(); + _pGUIM->gmCustomizeAxisMenu.ObtainActionSettings(); } void InitActionsForCustomizeAxisMenu() { - CCustomizeAxisMenu &gmCurrent = _pGUIM->gmCustomizeAxisMenu; + CCustomizeAxisMenu &gmCurrent = _pGUIM->gmCustomizeAxisMenu; - gmCurrent.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; - gmCurrent.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; + gmCurrent.gm_mgActionTrigger.mg_pPreTriggerChange = PreChangeAxis; + gmCurrent.gm_mgActionTrigger.mg_pOnTriggerChange = PostChangeAxis; } // ------------------------ COptionsMenu implementation void InitActionsForOptionsMenu() { - COptionsMenu &gmCurrent = _pGUIM->gmOptionsMenu; + COptionsMenu &gmCurrent = _pGUIM->gmOptionsMenu; - gmCurrent.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; - gmCurrent.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; - gmCurrent.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; - gmCurrent.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; - gmCurrent.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; - gmCurrent.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; + gmCurrent.gm_mgVideoOptions.mg_pActivatedFunction = &StartVideoOptionsMenu; + gmCurrent.gm_mgAudioOptions.mg_pActivatedFunction = &StartAudioOptionsMenu; + gmCurrent.gm_mgPlayerProfileOptions.mg_pActivatedFunction = &StartChangePlayerMenuFromOptions; + gmCurrent.gm_mgNetworkOptions.mg_pActivatedFunction = &StartNetworkSettingsMenu; + gmCurrent.gm_mgCustomOptions.mg_pActivatedFunction = &StartCustomLoadMenu; + gmCurrent.gm_mgAddonOptions.mg_pActivatedFunction = &StartAddonsLoadMenu; } // ------------------------ CVideoOptionsMenu implementation @@ -612,355 +612,355 @@ static INDEX sam_old_iVideoSetup; // 0==speed, 1==normal, 2==quality, 3==custom static void FillResolutionsList(void) { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - // free resolutions - if (_astrResolutionTexts != NULL) { - delete[] _astrResolutionTexts; - } - if (_admResolutionModes != NULL) { - delete[] _admResolutionModes; - } - _ctResolutions = 0; + // free resolutions + if (_astrResolutionTexts != NULL) { + delete[] _astrResolutionTexts; + } + if (_admResolutionModes != NULL) { + delete[] _admResolutionModes; + } + _ctResolutions = 0; - // if window - if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { - // always has fixed resolutions, but not greater than desktop + // if window + if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { + // always has fixed resolutions, but not greater than desktop - _ctResolutions = ARRAYCOUNT(apixWidths); - _astrResolutionTexts = new CTString[_ctResolutions]; - _admResolutionModes = new CDisplayMode[_ctResolutions]; - extern PIX _pixDesktopWidth; - INDEX iRes = 0; - for (; iRes<_ctResolutions; iRes++) { - if (apixWidths[iRes][0]>_pixDesktopWidth) break; - SetResolutionInList(iRes, apixWidths[iRes][0], apixWidths[iRes][1]); - } - _ctResolutions = iRes; + _ctResolutions = ARRAYCOUNT(apixWidths); + _astrResolutionTexts = new CTString[_ctResolutions]; + _admResolutionModes = new CDisplayMode[_ctResolutions]; + extern PIX _pixDesktopWidth; + INDEX iRes = 0; + for (; iRes<_ctResolutions; iRes++) { + if (apixWidths[iRes][0]>_pixDesktopWidth) break; + SetResolutionInList(iRes, apixWidths[iRes][0], apixWidths[iRes][1]); + } + _ctResolutions = iRes; - // if fullscreen - } else { - // get resolutions list from engine - CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, - SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected), gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected); - // allocate that much - _astrResolutionTexts = new CTString[_ctResolutions]; - _admResolutionModes = new CDisplayMode[_ctResolutions]; - // for each resolution - for (INDEX iRes = 0; iRes<_ctResolutions; iRes++) { - // add it to list - SetResolutionInList(iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); - } - } + // if fullscreen + } else { + // get resolutions list from engine + CDisplayMode *pdm = _pGfx->EnumDisplayModes(_ctResolutions, + SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected), gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected); + // allocate that much + _astrResolutionTexts = new CTString[_ctResolutions]; + _admResolutionModes = new CDisplayMode[_ctResolutions]; + // for each resolution + for (INDEX iRes = 0; iRes<_ctResolutions; iRes++) { + // add it to list + SetResolutionInList(iRes, pdm[iRes].dm_pixSizeI, pdm[iRes].dm_pixSizeJ); + } + } - gmCurrent.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; - gmCurrent.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; + gmCurrent.gm_mgResolutionsTrigger.mg_astrTexts = _astrResolutionTexts; + gmCurrent.gm_mgResolutionsTrigger.mg_ctTexts = _ctResolutions; } static void FillAdaptersList(void) { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - if (_astrAdapterTexts != NULL) { - delete[] _astrAdapterTexts; - } + if (_astrAdapterTexts != NULL) { + delete[] _astrAdapterTexts; + } - _ctAdapters = 0; + _ctAdapters = 0; - INDEX iApi = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); - _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; - _astrAdapterTexts = new CTString[_ctAdapters]; - for (INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { - _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; - } + INDEX iApi = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); + _ctAdapters = _pGfx->gl_gaAPI[iApi].ga_ctAdapters; + _astrAdapterTexts = new CTString[_ctAdapters]; + for (INDEX iAdapter = 0; iAdapter<_ctAdapters; iAdapter++) { + _astrAdapterTexts[iAdapter] = _pGfx->gl_gaAPI[iApi].ga_adaAdapter[iAdapter].da_strRenderer; + } - gmCurrent.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; - gmCurrent.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_astrTexts = _astrAdapterTexts; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_ctTexts = _ctAdapters; } extern void UpdateVideoOptionsButtons(INDEX iSelected) { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - const BOOL _bVideoOptionsChanged = (iSelected != -1); + const BOOL _bVideoOptionsChanged = (iSelected != -1); - const BOOL bOGLEnabled = _pGfx->HasAPI(GAT_OGL); + const BOOL bOGLEnabled = _pGfx->HasAPI(GAT_OGL); #ifdef SE1_D3D - const BOOL bD3DEnabled = _pGfx->HasAPI(GAT_D3D); - ASSERT(bOGLEnabled || bD3DEnabled); + const BOOL bD3DEnabled = _pGfx->HasAPI(GAT_D3D); + ASSERT(bOGLEnabled || bD3DEnabled); #else // - ASSERT(bOGLEnabled); + ASSERT(bOGLEnabled); #endif // SE1_D3D - CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected)] - .ga_adaAdapter[gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected]; + CDisplayAdapter &da = _pGfx->gl_gaAPI[SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected)] + .ga_adaAdapter[gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected]; - // number of available preferences is higher if video setup is custom - gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; - if (sam_iVideoSetup == 3) gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts++; + // number of available preferences is higher if video setup is custom + gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts = 3; + if (sam_iVideoSetup == 3) gmCurrent.gm_mgDisplayPrefsTrigger.mg_ctTexts++; - // enumerate adapters - FillAdaptersList(); + // enumerate adapters + FillAdaptersList(); - // show or hide buttons - gmCurrent.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled + // show or hide buttons + gmCurrent.gm_mgDisplayAPITrigger.mg_bEnabled = bOGLEnabled #ifdef SE1_D3D - && bD3DEnabled + && bD3DEnabled #endif // SE1_D3D - ; - gmCurrent.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; - gmCurrent.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; - // determine which should be visible + ; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_bEnabled = _ctAdapters>1; + gmCurrent.gm_mgApply.mg_bEnabled = _bVideoOptionsChanged; + // determine which should be visible - gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; - if (da.da_ulFlags&DAF_FULLSCREENONLY) { - gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; - gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; - gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - } + gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = TRUE; + if (da.da_ulFlags&DAF_FULLSCREENONLY) { + gmCurrent.gm_mgFullScreenTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; + gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + } - gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; - if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { - gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); - gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); - } else if (da.da_ulFlags&DAF_16BITONLY) { - gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; - gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); - gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); - } + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = TRUE; + if (gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 0) { + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_DEFAULT); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + } else if (da.da_ulFlags&DAF_16BITONLY) { + gmCurrent.gm_mgBitsPerPixelTrigger.mg_bEnabled = FALSE; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch(DD_16BIT); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + } - // remember current selected resolution - PIX pixSizeI, pixSizeJ; - ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); + // remember current selected resolution + PIX pixSizeI, pixSizeJ; + ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixSizeI, pixSizeJ); - // select same resolution again if possible - FillResolutionsList(); - SizeToResolution(pixSizeI, pixSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); + // select same resolution again if possible + FillResolutionsList(); + SizeToResolution(pixSizeI, pixSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); - // apply adapter and resolutions - gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + // apply adapter and resolutions + gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); } extern void InitVideoOptionsButtons(void) { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - if (sam_bFullScreenActive) { - gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; - } else { - gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 0; - } + if (sam_bFullScreenActive) { + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 1; + } else { + gmCurrent.gm_mgFullScreenTrigger.mg_iSelected = 0; + } - gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); - gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; - gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); + gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected = APIToSwitch((GfxAPIType)(INDEX)sam_iGfxAPI); + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected = sam_iDisplayAdapter; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected = DepthToSwitch((enum DisplayDepth)(INDEX)sam_iDisplayDepth); - FillResolutionsList(); - SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); - gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); + FillResolutionsList(); + SizeToResolution(sam_iScreenSizeI, sam_iScreenSizeJ, gmCurrent.gm_mgResolutionsTrigger.mg_iSelected); + gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected = Clamp(int(sam_iVideoSetup), 0, 3); - gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgFullScreenTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayPrefsTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayAPITrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgDisplayAdaptersTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgResolutionsTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgBitsPerPixelTrigger.ApplyCurrentSelection(); } static void ApplyVideoOptions(void) { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - // Remember old video settings - sam_old_bFullScreenActive = sam_bFullScreenActive; - sam_old_iScreenSizeI = sam_iScreenSizeI; - sam_old_iScreenSizeJ = sam_iScreenSizeJ; - sam_old_iDisplayDepth = sam_iDisplayDepth; - sam_old_iDisplayAdapter = sam_iDisplayAdapter; - sam_old_iGfxAPI = sam_iGfxAPI; - sam_old_iVideoSetup = sam_iVideoSetup; + // Remember old video settings + sam_old_bFullScreenActive = sam_bFullScreenActive; + sam_old_iScreenSizeI = sam_iScreenSizeI; + sam_old_iScreenSizeJ = sam_iScreenSizeJ; + sam_old_iDisplayDepth = sam_iDisplayDepth; + sam_old_iDisplayAdapter = sam_iDisplayAdapter; + sam_old_iGfxAPI = sam_iGfxAPI; + sam_old_iVideoSetup = sam_iVideoSetup; - BOOL bFullScreenMode = gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 1; - PIX pixWindowSizeI, pixWindowSizeJ; - ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); - enum GfxAPIType gat = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); - enum DisplayDepth dd = SwitchToDepth(gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected); - const INDEX iAdapter = gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected; + BOOL bFullScreenMode = gmCurrent.gm_mgFullScreenTrigger.mg_iSelected == 1; + PIX pixWindowSizeI, pixWindowSizeJ; + ResolutionToSize(gmCurrent.gm_mgResolutionsTrigger.mg_iSelected, pixWindowSizeI, pixWindowSizeJ); + enum GfxAPIType gat = SwitchToAPI(gmCurrent.gm_mgDisplayAPITrigger.mg_iSelected); + enum DisplayDepth dd = SwitchToDepth(gmCurrent.gm_mgBitsPerPixelTrigger.mg_iSelected); + const INDEX iAdapter = gmCurrent.gm_mgDisplayAdaptersTrigger.mg_iSelected; - // setup preferences - extern INDEX _iLastPreferences; - if (sam_iVideoSetup == 3) _iLastPreferences = 3; - sam_iVideoSetup = gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected; + // setup preferences + extern INDEX _iLastPreferences; + if (sam_iVideoSetup == 3) _iLastPreferences = 3; + sam_iVideoSetup = gmCurrent.gm_mgDisplayPrefsTrigger.mg_iSelected; - // force fullscreen mode if needed - CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; - if (da.da_ulFlags & DAF_FULLSCREENONLY) bFullScreenMode = TRUE; - if (da.da_ulFlags & DAF_16BITONLY) dd = DD_16BIT; - // force window to always be in default colors - if (!bFullScreenMode) dd = DD_DEFAULT; + // force fullscreen mode if needed + CDisplayAdapter &da = _pGfx->gl_gaAPI[gat].ga_adaAdapter[iAdapter]; + if (da.da_ulFlags & DAF_FULLSCREENONLY) bFullScreenMode = TRUE; + if (da.da_ulFlags & DAF_16BITONLY) dd = DD_16BIT; + // force window to always be in default colors + if (!bFullScreenMode) dd = DD_DEFAULT; - // (try to) set mode - StartNewMode(gat, iAdapter, pixWindowSizeI, pixWindowSizeJ, dd, bFullScreenMode); + // (try to) set mode + StartNewMode(gat, iAdapter, pixWindowSizeI, pixWindowSizeJ, dd, bFullScreenMode); - // refresh buttons - InitVideoOptionsButtons(); - UpdateVideoOptionsButtons(-1); + // refresh buttons + InitVideoOptionsButtons(); + UpdateVideoOptionsButtons(-1); - // ask user to keep or restore - if (bFullScreenMode) VideoConfirm(); + // ask user to keep or restore + if (bFullScreenMode) VideoConfirm(); } static void RevertVideoSettings(void) { - // restore previous variables - sam_bFullScreenActive = sam_old_bFullScreenActive; - sam_iScreenSizeI = sam_old_iScreenSizeI; - sam_iScreenSizeJ = sam_old_iScreenSizeJ; - sam_iDisplayDepth = sam_old_iDisplayDepth; - sam_iDisplayAdapter = sam_old_iDisplayAdapter; - sam_iGfxAPI = sam_old_iGfxAPI; - sam_iVideoSetup = sam_old_iVideoSetup; + // restore previous variables + sam_bFullScreenActive = sam_old_bFullScreenActive; + sam_iScreenSizeI = sam_old_iScreenSizeI; + sam_iScreenSizeJ = sam_old_iScreenSizeJ; + sam_iDisplayDepth = sam_old_iDisplayDepth; + sam_iDisplayAdapter = sam_old_iDisplayAdapter; + sam_iGfxAPI = sam_old_iGfxAPI; + sam_iVideoSetup = sam_old_iVideoSetup; - // update the video mode - extern void ApplyVideoMode(void); - ApplyVideoMode(); + // update the video mode + extern void ApplyVideoMode(void); + ApplyVideoMode(); - // refresh buttons - InitVideoOptionsButtons(); - UpdateVideoOptionsButtons(-1); + // refresh buttons + InitVideoOptionsButtons(); + UpdateVideoOptionsButtons(-1); } void InitActionsForVideoOptionsMenu() { - CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; + CVideoOptionsMenu &gmCurrent = _pGUIM->gmVideoOptionsMenu; - gmCurrent.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; - gmCurrent.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; - gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; + gmCurrent.gm_mgDisplayPrefsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgDisplayAPITrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgDisplayAdaptersTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgFullScreenTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgResolutionsTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgBitsPerPixelTrigger.mg_pOnTriggerChange = &UpdateVideoOptionsButtons; + gmCurrent.gm_mgVideoRendering.mg_pActivatedFunction = &StartRenderingOptionsMenu; + gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyVideoOptions; } // ------------------------ CAudioOptionsMenu implementation extern void RefreshSoundFormat(void) { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - switch (_pSound->GetFormat()) - { - case CSoundLibrary::SF_NONE: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } - case CSoundLibrary::SF_11025_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } - case CSoundLibrary::SF_22050_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } - case CSoundLibrary::SF_44100_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } - default: gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; - } + switch (_pSound->GetFormat()) + { + case CSoundLibrary::SF_NONE: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; break; } + case CSoundLibrary::SF_11025_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 1; break; } + case CSoundLibrary::SF_22050_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 2; break; } + case CSoundLibrary::SF_44100_16: {gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 3; break; } + default: gmCurrent.gm_mgFrequencyTrigger.mg_iSelected = 0; + } - gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); - gmCurrent.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); + gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = Clamp(sam_bAutoAdjustAudio, 0, 1); + gmCurrent.gm_mgAudioAPITrigger.mg_iSelected = Clamp(_pShell->GetINDEX("snd_iInterface"), 0L, 2L); - gmCurrent.gm_mgWaveVolume.mg_iMinPos = 0; - gmCurrent.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; - gmCurrent.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); - gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgWaveVolume.mg_iMinPos = 0; + gmCurrent.gm_mgWaveVolume.mg_iMaxPos = VOLUME_STEPS; + gmCurrent.gm_mgWaveVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fSoundVolume")*VOLUME_STEPS + 0.5f); + gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); - gmCurrent.gm_mgMPEGVolume.mg_iMinPos = 0; - gmCurrent.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; - gmCurrent.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); - gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgMPEGVolume.mg_iMinPos = 0; + gmCurrent.gm_mgMPEGVolume.mg_iMaxPos = VOLUME_STEPS; + gmCurrent.gm_mgMPEGVolume.mg_iCurPos = (INDEX)(_pShell->GetFLOAT("snd_fMusicVolume")*VOLUME_STEPS + 0.5f); + gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); - gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgAudioAPITrigger.ApplyCurrentSelection(); - gmCurrent.gm_mgFrequencyTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgAudioAPITrigger.ApplyCurrentSelection(); + gmCurrent.gm_mgFrequencyTrigger.ApplyCurrentSelection(); } static void ApplyAudioOptions(void) { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - sam_bAutoAdjustAudio = gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected; - if (sam_bAutoAdjustAudio) { - _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); - } else { - _pShell->SetINDEX("snd_iInterface", gmCurrent.gm_mgAudioAPITrigger.mg_iSelected); + sam_bAutoAdjustAudio = gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected; + if (sam_bAutoAdjustAudio) { + _pShell->Execute("include \"Scripts\\Addons\\SFX-AutoAdjust.ini\""); + } else { + _pShell->SetINDEX("snd_iInterface", gmCurrent.gm_mgAudioAPITrigger.mg_iSelected); - switch (gmCurrent.gm_mgFrequencyTrigger.mg_iSelected) - { - case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } - case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } - case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16); break; } - case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16); break; } - default: _pSound->SetFormat(CSoundLibrary::SF_NONE); - } - } + switch (gmCurrent.gm_mgFrequencyTrigger.mg_iSelected) + { + case 0: {_pSound->SetFormat(CSoundLibrary::SF_NONE); break; } + case 1: {_pSound->SetFormat(CSoundLibrary::SF_11025_16); break; } + case 2: {_pSound->SetFormat(CSoundLibrary::SF_22050_16); break; } + case 3: {_pSound->SetFormat(CSoundLibrary::SF_44100_16); break; } + default: _pSound->SetFormat(CSoundLibrary::SF_NONE); + } + } - RefreshSoundFormat(); - snd_iFormat = _pSound->GetFormat(); + RefreshSoundFormat(); + snd_iFormat = _pSound->GetFormat(); } static void OnWaveVolumeChange(INDEX iCurPos) { - _pShell->SetFLOAT("snd_fSoundVolume", iCurPos / FLOAT(VOLUME_STEPS)); + _pShell->SetFLOAT("snd_fSoundVolume", iCurPos / FLOAT(VOLUME_STEPS)); } static void WaveSliderChange(void) { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - gmCurrent.gm_mgWaveVolume.mg_iCurPos -= 5; - gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgWaveVolume.mg_iCurPos -= 5; + gmCurrent.gm_mgWaveVolume.ApplyCurrentPosition(); } static void FrequencyTriggerChange(INDEX iDummy) { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - sam_bAutoAdjustAudio = 0; - gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = 0; - gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); + sam_bAutoAdjustAudio = 0; + gmCurrent.gm_mgAudioAutoTrigger.mg_iSelected = 0; + gmCurrent.gm_mgAudioAutoTrigger.ApplyCurrentSelection(); } static void MPEGSliderChange(void) { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - gmCurrent.gm_mgMPEGVolume.mg_iCurPos -= 5; - gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); + gmCurrent.gm_mgMPEGVolume.mg_iCurPos -= 5; + gmCurrent.gm_mgMPEGVolume.ApplyCurrentPosition(); } static void OnMPEGVolumeChange(INDEX iCurPos) { - _pShell->SetFLOAT("snd_fMusicVolume", iCurPos / FLOAT(VOLUME_STEPS)); + _pShell->SetFLOAT("snd_fMusicVolume", iCurPos / FLOAT(VOLUME_STEPS)); } void InitActionsForAudioOptionsMenu() { - CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; + CAudioOptionsMenu &gmCurrent = _pGUIM->gmAudioOptionsMenu; - gmCurrent.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; - gmCurrent.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; - gmCurrent.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; - gmCurrent.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; - gmCurrent.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; - gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; + gmCurrent.gm_mgFrequencyTrigger.mg_pOnTriggerChange = FrequencyTriggerChange; + gmCurrent.gm_mgWaveVolume.mg_pOnSliderChange = &OnWaveVolumeChange; + gmCurrent.gm_mgWaveVolume.mg_pActivatedFunction = WaveSliderChange; + gmCurrent.gm_mgMPEGVolume.mg_pOnSliderChange = &OnMPEGVolumeChange; + gmCurrent.gm_mgMPEGVolume.mg_pActivatedFunction = MPEGSliderChange; + gmCurrent.gm_mgApply.mg_pActivatedFunction = &ApplyAudioOptions; } // ------------------------ CVarMenu implementation static void VarApply(void) { - CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; - FlushVarSettings(TRUE); - gmCurrent.EndMenu(); - gmCurrent.StartMenu(); + FlushVarSettings(TRUE); + gmCurrent.EndMenu(); + gmCurrent.StartMenu(); } void InitActionsForVarMenu() { - _pGUIM->gmVarMenu.gm_mgApply.mg_pActivatedFunction = &VarApply; + _pGUIM->gmVarMenu.gm_mgApply.mg_pActivatedFunction = &VarApply; } // ------------------------ CServersMenu implementation @@ -970,14 +970,14 @@ extern CMGEdit mgServerFilter[7]; static void SortByColumn(int i) { - CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; - if (gmCurrent.gm_mgList.mg_iSort == i) { - gmCurrent.gm_mgList.mg_bSortDown = !gmCurrent.gm_mgList.mg_bSortDown; - } else { - gmCurrent.gm_mgList.mg_bSortDown = FALSE; - } - gmCurrent.gm_mgList.mg_iSort = i; + if (gmCurrent.gm_mgList.mg_iSort == i) { + gmCurrent.gm_mgList.mg_bSortDown = !gmCurrent.gm_mgList.mg_bSortDown; + } else { + gmCurrent.gm_mgList.mg_bSortDown = FALSE; + } + gmCurrent.gm_mgList.mg_iSort = i; } static void SortByServer(void) { SortByColumn(0); } @@ -990,282 +990,282 @@ static void SortByVer(void) { SortByColumn(6); } extern void RefreshServerList(void) { - _pNetwork->EnumSessions(_pGUIM->gmServersMenu.m_bInternet); + _pNetwork->EnumSessions(_pGUIM->gmServersMenu.m_bInternet); } void RefreshServerListManually(void) { - ChangeToMenu(&_pGUIM->gmServersMenu); // this refreshes the list and sets focuses + ChangeToMenu(&_pGUIM->gmServersMenu); // this refreshes the list and sets focuses } void InitActionsForServersMenu() { - _pGUIM->gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; + _pGUIM->gmServersMenu.gm_mgRefresh.mg_pActivatedFunction = &RefreshServerList; - mgServerColumn[0].mg_pActivatedFunction = SortByServer; - mgServerColumn[1].mg_pActivatedFunction = SortByMap; - mgServerColumn[2].mg_pActivatedFunction = SortByPing; - mgServerColumn[3].mg_pActivatedFunction = SortByPlayers; - mgServerColumn[4].mg_pActivatedFunction = SortByGame; - mgServerColumn[5].mg_pActivatedFunction = SortByMod; - mgServerColumn[6].mg_pActivatedFunction = SortByVer; + mgServerColumn[0].mg_pActivatedFunction = SortByServer; + mgServerColumn[1].mg_pActivatedFunction = SortByMap; + mgServerColumn[2].mg_pActivatedFunction = SortByPing; + mgServerColumn[3].mg_pActivatedFunction = SortByPlayers; + mgServerColumn[4].mg_pActivatedFunction = SortByGame; + mgServerColumn[5].mg_pActivatedFunction = SortByMod; + mgServerColumn[6].mg_pActivatedFunction = SortByVer; } // ------------------------ CNetworkMenu implementation void InitActionsForNetworkMenu() { - CNetworkMenu &gmCurrent = _pGUIM->gmNetworkMenu; + CNetworkMenu &gmCurrent = _pGUIM->gmNetworkMenu; - gmCurrent.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; - gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; - gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; + gmCurrent.gm_mgJoin.mg_pActivatedFunction = &StartNetworkJoinMenu; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkStartMenu; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartNetworkQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartNetworkLoadMenu; } // ------------------------ CNetworkJoinMenu implementation void InitActionsForNetworkJoinMenu() { - CNetworkJoinMenu &gmCurrent = _pGUIM->gmNetworkJoinMenu; + CNetworkJoinMenu &gmCurrent = _pGUIM->gmNetworkJoinMenu; - gmCurrent.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; - gmCurrent.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; - gmCurrent.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; + gmCurrent.gm_mgLAN.mg_pActivatedFunction = &StartSelectServerLAN; + gmCurrent.gm_mgNET.mg_pActivatedFunction = &StartSelectServerNET; + gmCurrent.gm_mgOpen.mg_pActivatedFunction = &StartNetworkOpenMenu; } // ------------------------ CNetworkStartMenu implementation extern void UpdateNetworkLevel(INDEX iDummy) { - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - _pGUIM->gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + _pGUIM->gmNetworkStartMenu.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } void InitActionsForNetworkStartMenu() { - CNetworkStartMenu &gmCurrent = _pGUIM->gmNetworkStartMenu; + CNetworkStartMenu &gmCurrent = _pGUIM->gmNetworkStartMenu; - gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; - gmCurrent.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; + gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromNetwork; + gmCurrent.gm_mgGameOptions.mg_pActivatedFunction = &StartGameOptionsFromNetwork; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromNetwork; } // ------------------------ CSelectPlayersMenu implementation static INDEX FindUnusedPlayer(void) { - INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - INDEX iPlayer = 0; - for (; iPlayer<8; iPlayer++) { - BOOL bUsed = FALSE; - for (INDEX iLocal = 0; iLocal<4; iLocal++) { - if (ai[iLocal] == iPlayer) { - bUsed = TRUE; - break; - } - } - if (!bUsed) { - return iPlayer; - } - } - ASSERT(FALSE); - return iPlayer; + INDEX *ai = _pGame->gm_aiMenuLocalPlayers; + INDEX iPlayer = 0; + for (; iPlayer<8; iPlayer++) { + BOOL bUsed = FALSE; + for (INDEX iLocal = 0; iLocal<4; iLocal++) { + if (ai[iLocal] == iPlayer) { + bUsed = TRUE; + break; + } + } + if (!bUsed) { + return iPlayer; + } + } + ASSERT(FALSE); + return iPlayer; } extern void SelectPlayersFillMenu(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - INDEX *ai = _pGame->gm_aiMenuLocalPlayers; + INDEX *ai = _pGame->gm_aiMenuLocalPlayers; - gmCurrent.gm_mgPlayer0Change.mg_iLocalPlayer = 0; - gmCurrent.gm_mgPlayer1Change.mg_iLocalPlayer = 1; - gmCurrent.gm_mgPlayer2Change.mg_iLocalPlayer = 2; - gmCurrent.gm_mgPlayer3Change.mg_iLocalPlayer = 3; + gmCurrent.gm_mgPlayer0Change.mg_iLocalPlayer = 0; + gmCurrent.gm_mgPlayer1Change.mg_iLocalPlayer = 1; + gmCurrent.gm_mgPlayer2Change.mg_iLocalPlayer = 2; + gmCurrent.gm_mgPlayer3Change.mg_iLocalPlayer = 3; - if (gmCurrent.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - gmCurrent.gm_mgDedicated.mg_iSelected = 1; - } else { - gmCurrent.gm_mgDedicated.mg_iSelected = 0; - } + if (gmCurrent.gm_bAllowDedicated && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + gmCurrent.gm_mgDedicated.mg_iSelected = 1; + } else { + gmCurrent.gm_mgDedicated.mg_iSelected = 0; + } - gmCurrent.gm_mgDedicated.ApplyCurrentSelection(); + gmCurrent.gm_mgDedicated.ApplyCurrentSelection(); - if (gmCurrent.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { - gmCurrent.gm_mgObserver.mg_iSelected = 1; - } else { - gmCurrent.gm_mgObserver.mg_iSelected = 0; - } + if (gmCurrent.gm_bAllowObserving && _pGame->gm_MenuSplitScreenCfg == CGame::SSC_OBSERVER) { + gmCurrent.gm_mgObserver.mg_iSelected = 1; + } else { + gmCurrent.gm_mgObserver.mg_iSelected = 0; + } - gmCurrent.gm_mgObserver.ApplyCurrentSelection(); + gmCurrent.gm_mgObserver.ApplyCurrentSelection(); - if (_pGame->gm_MenuSplitScreenCfg >= CGame::SSC_PLAY1) { - gmCurrent.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; - gmCurrent.gm_mgSplitScreenCfg.ApplyCurrentSelection(); - } + if (_pGame->gm_MenuSplitScreenCfg >= CGame::SSC_PLAY1) { + gmCurrent.gm_mgSplitScreenCfg.mg_iSelected = _pGame->gm_MenuSplitScreenCfg; + gmCurrent.gm_mgSplitScreenCfg.ApplyCurrentSelection(); + } - BOOL bHasDedicated = gmCurrent.gm_bAllowDedicated; - BOOL bHasObserver = gmCurrent.gm_bAllowObserving; - BOOL bHasPlayers = TRUE; + BOOL bHasDedicated = gmCurrent.gm_bAllowDedicated; + BOOL bHasObserver = gmCurrent.gm_bAllowObserving; + BOOL bHasPlayers = TRUE; - if (bHasDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { - bHasObserver = FALSE; - bHasPlayers = FALSE; - } + if (bHasDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { + bHasObserver = FALSE; + bHasPlayers = FALSE; + } - if (bHasObserver && gmCurrent.gm_mgObserver.mg_iSelected) { - bHasPlayers = FALSE; - } + if (bHasObserver && gmCurrent.gm_mgObserver.mg_iSelected) { + bHasPlayers = FALSE; + } - CMenuGadget *apmg[8]; - memset(apmg, 0, sizeof(apmg)); - INDEX i = 0; + CMenuGadget *apmg[8]; + memset(apmg, 0, sizeof(apmg)); + INDEX i = 0; - if (bHasDedicated) { - gmCurrent.gm_mgDedicated.Appear(); - apmg[i++] = &gmCurrent.gm_mgDedicated; - } else { - gmCurrent.gm_mgDedicated.Disappear(); - } + if (bHasDedicated) { + gmCurrent.gm_mgDedicated.Appear(); + apmg[i++] = &gmCurrent.gm_mgDedicated; + } else { + gmCurrent.gm_mgDedicated.Disappear(); + } - if (bHasObserver) { - gmCurrent.gm_mgObserver.Appear(); - apmg[i++] = &gmCurrent.gm_mgObserver; - } else { - gmCurrent.gm_mgObserver.Disappear(); - } + if (bHasObserver) { + gmCurrent.gm_mgObserver.Appear(); + apmg[i++] = &gmCurrent.gm_mgObserver; + } else { + gmCurrent.gm_mgObserver.Disappear(); + } - for (INDEX iLocal = 0; iLocal<4; iLocal++) { - if (ai[iLocal]<0 || ai[iLocal]>7) { - ai[iLocal] = 0; - } - for (INDEX iCopy = 0; iCopy7) { + ai[iLocal] = 0; + } + for (INDEX iCopy = 0; iCopy= 1) { - gmCurrent.gm_mgPlayer1Change.Appear(); - apmg[i++] = &gmCurrent.gm_mgPlayer1Change; - } - if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 2) { - gmCurrent.gm_mgPlayer2Change.Appear(); - apmg[i++] = &gmCurrent.gm_mgPlayer2Change; - } - if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 3) { - gmCurrent.gm_mgPlayer3Change.Appear(); - apmg[i++] = &gmCurrent.gm_mgPlayer3Change; - } - } else { - gmCurrent.gm_mgSplitScreenCfg.Disappear(); - } - apmg[i++] = &gmCurrent.gm_mgStart; + if (bHasPlayers) { + gmCurrent.gm_mgSplitScreenCfg.Appear(); + apmg[i++] = &gmCurrent.gm_mgSplitScreenCfg; + gmCurrent.gm_mgPlayer0Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer0Change; + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + gmCurrent.gm_mgPlayer1Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer1Change; + } + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 2) { + gmCurrent.gm_mgPlayer2Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer2Change; + } + if (gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 3) { + gmCurrent.gm_mgPlayer3Change.Appear(); + apmg[i++] = &gmCurrent.gm_mgPlayer3Change; + } + } else { + gmCurrent.gm_mgSplitScreenCfg.Disappear(); + } + apmg[i++] = &gmCurrent.gm_mgStart; - // relink - for (INDEX img = 0; img<8; img++) { - if (apmg[img] == NULL) { - continue; - } - INDEX imgPred = (img + 8 - 1) % 8; - for (; imgPred != img; imgPred = (imgPred + 8 - 1) % 8) { - if (apmg[imgPred] != NULL) { - break; - } - } - INDEX imgSucc = (img + 1) % 8; - for (; imgSucc != img; imgSucc = (imgSucc + 1) % 8) { - if (apmg[imgSucc] != NULL) { - break; - } - } - apmg[img]->mg_pmgUp = apmg[imgPred]; - apmg[img]->mg_pmgDown = apmg[imgSucc]; - } + // relink + for (INDEX img = 0; img<8; img++) { + if (apmg[img] == NULL) { + continue; + } + INDEX imgPred = (img + 8 - 1) % 8; + for (; imgPred != img; imgPred = (imgPred + 8 - 1) % 8) { + if (apmg[imgPred] != NULL) { + break; + } + } + INDEX imgSucc = (img + 1) % 8; + for (; imgSucc != img; imgSucc = (imgSucc + 1) % 8) { + if (apmg[imgSucc] != NULL) { + break; + } + } + apmg[img]->mg_pmgUp = apmg[imgPred]; + apmg[img]->mg_pmgDown = apmg[imgSucc]; + } - gmCurrent.gm_mgPlayer0Change.SetPlayerText(); - gmCurrent.gm_mgPlayer1Change.SetPlayerText(); - gmCurrent.gm_mgPlayer2Change.SetPlayerText(); - gmCurrent.gm_mgPlayer3Change.SetPlayerText(); + gmCurrent.gm_mgPlayer0Change.SetPlayerText(); + gmCurrent.gm_mgPlayer1Change.SetPlayerText(); + gmCurrent.gm_mgPlayer2Change.SetPlayerText(); + gmCurrent.gm_mgPlayer3Change.SetPlayerText(); - if (bHasPlayers && gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 1) { - gmCurrent.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); - } else { - gmCurrent.gm_mgNotes.mg_strText = ""; - } + if (bHasPlayers && gmCurrent.gm_mgSplitScreenCfg.mg_iSelected >= 1) { + gmCurrent.gm_mgNotes.mg_strText = TRANS("Make sure you set different controls for each player!"); + } else { + gmCurrent.gm_mgNotes.mg_strText = ""; + } } extern void SelectPlayersApplyMenu(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - if (gmCurrent.gm_bAllowDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { - _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; - return; - } + if (gmCurrent.gm_bAllowDedicated && gmCurrent.gm_mgDedicated.mg_iSelected) { + _pGame->gm_MenuSplitScreenCfg = CGame::SSC_DEDICATED; + return; + } - if (gmCurrent.gm_bAllowObserving && gmCurrent.gm_mgObserver.mg_iSelected) { - _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; - return; - } + if (gmCurrent.gm_bAllowObserving && gmCurrent.gm_mgObserver.mg_iSelected) { + _pGame->gm_MenuSplitScreenCfg = CGame::SSC_OBSERVER; + return; + } - _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmCurrent.gm_mgSplitScreenCfg.mg_iSelected; + _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) gmCurrent.gm_mgSplitScreenCfg.mg_iSelected; } static void UpdateSelectPlayers(INDEX i) { - SelectPlayersApplyMenu(); - SelectPlayersFillMenu(); + SelectPlayersApplyMenu(); + SelectPlayersFillMenu(); } void InitActionsForSelectPlayersMenu() { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; - gmCurrent.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; - gmCurrent.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; + gmCurrent.gm_mgDedicated.mg_pOnTriggerChange = UpdateSelectPlayers; + gmCurrent.gm_mgObserver.mg_pOnTriggerChange = UpdateSelectPlayers; + gmCurrent.gm_mgSplitScreenCfg.mg_pOnTriggerChange = UpdateSelectPlayers; } // ------------------------ CNetworkOpenMenu implementation void InitActionsForNetworkOpenMenu() { - _pGUIM->gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; + _pGUIM->gmNetworkOpenMenu.gm_mgJoin.mg_pActivatedFunction = &StartSelectPlayersMenuFromOpen; } // ------------------------ CSplitScreenMenu implementation void InitActionsForSplitScreenMenu() { - CSplitScreenMenu &gmCurrent = _pGUIM->gmSplitScreenMenu; + CSplitScreenMenu &gmCurrent = _pGUIM->gmSplitScreenMenu; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; - gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; - gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitStartMenu; + gmCurrent.gm_mgQuickLoad.mg_pActivatedFunction = &StartSplitScreenQuickLoadMenu; + gmCurrent.gm_mgLoad.mg_pActivatedFunction = &StartSplitScreenLoadMenu; } // ------------------------ CSplitStartMenu implementation void InitActionsForSplitStartMenu() { - CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; + CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; - gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; - gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; + gmCurrent.gm_mgLevel.mg_pActivatedFunction = &StartSelectLevelFromSplit; + gmCurrent.gm_mgOptions.mg_pActivatedFunction = &StartGameOptionsFromSplitScreen; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSelectPlayersMenuFromSplit; } extern void UpdateSplitLevel(INDEX iDummy) { - CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; + CSplitStartMenu &gmCurrent = _pGUIM->gmSplitStartMenu; - ValidateLevelForFlags(_pGame->gam_strCustomLevel, - GetSpawnFlagsForGameType(gmCurrent.gm_mgGameType.mg_iSelected)); - gmCurrent.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; + ValidateLevelForFlags(_pGame->gam_strCustomLevel, + GetSpawnFlagsForGameType(gmCurrent.gm_mgGameType.mg_iSelected)); + gmCurrent.gm_mgLevel.mg_strText = FindLevelByFileName(_pGame->gam_strCustomLevel).li_strName; } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index d92c9e6..4312a61 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -36,824 +36,824 @@ extern CTString _strModServerSelected; void StartVideoOptionsMenu(void) { - ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); + ChangeToMenu(&_pGUIM->gmVideoOptionsMenu); } void StartAudioOptionsMenu(void) { - ChangeToMenu(&_pGUIM->gmAudioOptionsMenu); + ChangeToMenu(&_pGUIM->gmAudioOptionsMenu); } void StartSinglePlayerMenu(void) { - ChangeToMenu(&_pGUIM->gmSinglePlayerMenu); + ChangeToMenu(&_pGUIM->gmSinglePlayerMenu); } void StartNetworkMenu(void) { - ChangeToMenu(&_pGUIM->gmNetworkMenu); + ChangeToMenu(&_pGUIM->gmNetworkMenu); } void StartNetworkJoinMenu(void) { - ChangeToMenu(&_pGUIM->gmNetworkJoinMenu); + ChangeToMenu(&_pGUIM->gmNetworkJoinMenu); } void StartNetworkStartMenu(void) { - ChangeToMenu(&_pGUIM->gmNetworkStartMenu); + ChangeToMenu(&_pGUIM->gmNetworkStartMenu); } void StartNetworkOpenMenu(void) { - ChangeToMenu(&_pGUIM->gmNetworkOpenMenu); + ChangeToMenu(&_pGUIM->gmNetworkOpenMenu); } void StartSplitScreenMenu(void) { - ChangeToMenu(&_pGUIM->gmSplitScreenMenu); + ChangeToMenu(&_pGUIM->gmSplitScreenMenu); } void StartSplitStartMenu(void) { - ChangeToMenu(&_pGUIM->gmSplitStartMenu); + ChangeToMenu(&_pGUIM->gmSplitStartMenu); } void StartSinglePlayerNewMenuCustom(void) { - _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmLevelsMenu; - ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); + _pGUIM->gmSinglePlayerNewMenu.gm_pgmParentMenu = &_pGUIM->gmLevelsMenu; + ChangeToMenu(&_pGUIM->gmSinglePlayerNewMenu); } static void SetQuickLoadNotes(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { - gmCurrent.gm_mgNotes.mg_strText = TRANS( - "In-game QuickSave shortcuts:\n" - "F6 - save a new QuickSave\n" - "F9 - load the last QuickSave\n"); - } else { - gmCurrent.gm_mgNotes.mg_strText = ""; - } + if (_pShell->GetINDEX("gam_iQuickSaveSlots") <= 8) { + gmCurrent.gm_mgNotes.mg_strText = TRANS( + "In-game QuickSave shortcuts:\n" + "F6 - save a new QuickSave\n" + "F9 - load the last QuickSave\n"); + } else { + gmCurrent.gm_mgNotes.mg_strText = ""; + } } extern CTString sam_strFirstLevel; void StartSinglePlayerNewMenu(void) { - CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; - _pGame->gam_strCustomLevel = sam_strFirstLevel; + _pGame->gam_strCustomLevel = sam_strFirstLevel; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&gmCurrent); } // game options var settings void StartVarGameOptions(void) { - CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); - ChangeToMenu(&gmCurrent); + gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\GameOptions.cfg"); + ChangeToMenu(&gmCurrent); } void StartSinglePlayerGameOptions(void) { - CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); - gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_mgTitle.mg_strText = TRANS("GAME OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\SPOptions.cfg"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&gmCurrent); } void StartGameOptionsFromNetwork(void) { - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; } void StartGameOptionsFromSplitScreen(void) { - StartVarGameOptions(); - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + StartVarGameOptions(); + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; } // rendering options var settings void StartRenderingOptionsMenu(void) { - CVarMenu &gmCurrent = _pGUIM->gmVarMenu; + CVarMenu &gmCurrent = _pGUIM->gmVarMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); - gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_mgTitle.mg_strText = TRANS("RENDERING OPTIONS"); + gmCurrent.gm_fnmMenuCFG = CTFILENAME("Scripts\\Menu\\RenderingOptions.cfg"); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmVideoOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartCustomizeKeyboardMenu(void) { - ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); + ChangeToMenu(&_pGUIM->gmCustomizeKeyboardMenu); } void StartCustomizeAxisMenu(void) { - ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); + ChangeToMenu(&_pGUIM->gmCustomizeAxisMenu); } void StartOptionsMenu(void) { - _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmOptionsMenu); + _pGUIM->gmOptionsMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmOptionsMenu); } void StartCurrentLoadMenu() { - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkLoadMenu(void); - StartNetworkLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenLoadMenu(void); - StartSplitScreenLoadMenu(); - } else { - void StartSinglePlayerLoadMenu(void); - StartSinglePlayerLoadMenu(); - } + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkLoadMenu(void); + StartNetworkLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenLoadMenu(void); + StartSplitScreenLoadMenu(); + } else { + void StartSinglePlayerLoadMenu(void); + StartSinglePlayerLoadMenu(); + } } void StartCurrentSaveMenu() { - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkSaveMenu(void); - StartNetworkSaveMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenSaveMenu(void); - StartSplitScreenSaveMenu(); - } else { - void StartSinglePlayerSaveMenu(void); - StartSinglePlayerSaveMenu(); - } + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkSaveMenu(void); + StartNetworkSaveMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenSaveMenu(void); + StartSplitScreenSaveMenu(); + } else { + void StartSinglePlayerSaveMenu(void); + StartSinglePlayerSaveMenu(); + } } void StartCurrentQuickLoadMenu() { - if (_gmRunningGameMode == GM_NETWORK) { - void StartNetworkQuickLoadMenu(void); - StartNetworkQuickLoadMenu(); - } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { - void StartSplitScreenQuickLoadMenu(void); - StartSplitScreenQuickLoadMenu(); - } else { - void StartSinglePlayerQuickLoadMenu(void); - StartSinglePlayerQuickLoadMenu(); - } + if (_gmRunningGameMode == GM_NETWORK) { + void StartNetworkQuickLoadMenu(void); + StartNetworkQuickLoadMenu(); + } else if (_gmRunningGameMode == GM_SPLIT_SCREEN) { + void StartSplitScreenQuickLoadMenu(void); + StartSplitScreenQuickLoadMenu(); + } else { + void StartSinglePlayerQuickLoadMenu(void); + StartSinglePlayerQuickLoadMenu(); + } } void StartChangePlayerMenuFromOptions(void) { - _bPlayerMenuFromSinglePlayer = FALSE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); + _bPlayerMenuFromSinglePlayer = FALSE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void StartChangePlayerMenuFromSinglePlayer(void) { - _iLocalPlayer = -1; - _bPlayerMenuFromSinglePlayer = TRUE; - _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; - _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; - ChangeToMenu(&_pGUIM->gmPlayerProfile); + _iLocalPlayer = -1; + _bPlayerMenuFromSinglePlayer = TRUE; + _pGUIM->gmPlayerProfile.gm_piCurrentPlayer = &_pGame->gm_iSinglePlayer; + _pGUIM->gmPlayerProfile.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + ChangeToMenu(&_pGUIM->gmPlayerProfile); } void StartControlsMenuFromPlayer(void) { - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&_pGUIM->gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&_pGUIM->gmControls); } void StartControlsMenuFromOptions(void) { - _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&_pGUIM->gmControls); + _pGUIM->gmControls.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&_pGUIM->gmControls); } void StartHighScoreMenu(void) { - _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&_pGUIM->gmHighScoreMenu); + _pGUIM->gmHighScoreMenu.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&_pGUIM->gmHighScoreMenu); } void StartSplitScreenGame(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - CTFileName fnWorld = _pGame->gam_strCustomLevel; + CTFileName fnWorld = _pGame->gam_strCustomLevel; - _pGame->gm_strNetworkProvider = "Local"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } else { - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_strNetworkProvider = "Local"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(fnWorld.FileName(), fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } else { + _gmRunningGameMode = GM_NONE; + } } void StartNetworkGame(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - CTFileName fnWorld = _pGame->gam_strCustomLevel; + CTFileName fnWorld = _pGame->gam_strCustomLevel; - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - CUniversalSessionProperties sp; - _pGame->SetMultiPlayerSession(sp); - if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - // if starting a dedicated server - if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { - // pull down the console - extern INDEX sam_bToggleConsole; - sam_bToggleConsole = TRUE; - } - } else { - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + CUniversalSessionProperties sp; + _pGame->SetMultiPlayerSession(sp); + if (_pGame->NewGame(_pGame->gam_strSessionName, fnWorld, sp)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + // if starting a dedicated server + if (_pGame->gm_MenuSplitScreenCfg == CGame::SSC_DEDICATED) { + // pull down the console + extern INDEX sam_bToggleConsole; + sam_bToggleConsole = TRUE; + } + } else { + _gmRunningGameMode = GM_NONE; + } } void JoinNetworkGame(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - _pGame->gm_strNetworkProvider = "TCP/IP Client"; - if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } else { - if (_pNetwork->ga_strRequiredMod != "") { - extern CTFileName _fnmModToLoad; - extern CTString _strModServerJoin; - char strModName[256] = { 0 }; - char strModURL[256] = { 0 }; - _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); - _fnmModSelected = CTString(strModName); - _strModURLSelected = strModURL; - if (_strModURLSelected = "") { - _strModURLSelected = "http://www.croteam.com/mods/Old"; - } - _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); - extern void ModConnectConfirm(void); - ModConnectConfirm(); - } - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_strNetworkProvider = "TCP/IP Client"; + if (_pGame->JoinGame(CNetworkSession(_pGame->gam_strJoinAddress))) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } else { + if (_pNetwork->ga_strRequiredMod != "") { + extern CTFileName _fnmModToLoad; + extern CTString _strModServerJoin; + char strModName[256] = { 0 }; + char strModURL[256] = { 0 }; + _pNetwork->ga_strRequiredMod.ScanF("%250[^\\]\\%s", &strModName, &strModURL); + _fnmModSelected = CTString(strModName); + _strModURLSelected = strModURL; + if (_strModURLSelected = "") { + _strModURLSelected = "http://www.croteam.com/mods/Old"; + } + _strModServerSelected.PrintF("%s:%s", _pGame->gam_strJoinAddress, _pShell->GetValue("net_iPort")); + extern void ModConnectConfirm(void); + ModConnectConfirm(); + } + _gmRunningGameMode = GM_NONE; + } } // -------- Servers Menu Functions void StartSelectServerLAN(void) { - CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; - gmCurrent.m_bInternet = FALSE; - ChangeToMenu(&gmCurrent); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; + gmCurrent.m_bInternet = FALSE; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } void StartSelectServerNET(void) { - CServersMenu &gmCurrent = _pGUIM->gmServersMenu; + CServersMenu &gmCurrent = _pGUIM->gmServersMenu; - gmCurrent.m_bInternet = TRUE; - ChangeToMenu(&gmCurrent); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; + gmCurrent.m_bInternet = TRUE; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkJoinMenu; } // -------- Levels Menu Functions void StartSelectLevelFromSingle(void) { - CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; - FilterLevels(GetSpawnFlagsForGameType(-1)); - _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; - ChangeToMenu(&gmCurrent); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; + FilterLevels(GetSpawnFlagsForGameType(-1)); + _pAfterLevelChosen = StartSinglePlayerNewMenuCustom; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSinglePlayerMenu; } void StartSelectLevelFromSplit(void) { - CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); - void StartSplitStartMenu(void); - _pAfterLevelChosen = StartSplitStartMenu; - ChangeToMenu(&gmCurrent); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmSplitStartMenu.gm_mgGameType.mg_iSelected)); + void StartSplitStartMenu(void); + _pAfterLevelChosen = StartSplitStartMenu; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; } void StartSelectLevelFromNetwork(void) { - CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; + CLevelsMenu &gmCurrent = _pGUIM->gmLevelsMenu; - FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); - void StartNetworkStartMenu(void); - _pAfterLevelChosen = StartNetworkStartMenu; - ChangeToMenu(&gmCurrent); - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + FilterLevels(GetSpawnFlagsForGameType(_pGUIM->gmNetworkStartMenu.gm_mgGameType.mg_iSelected)); + void StartNetworkStartMenu(void); + _pAfterLevelChosen = StartNetworkStartMenu; + ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; } // -------- Players Selection Menu Functions void StartSelectPlayersMenuFromSplit(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = FALSE; - gmCurrent.gm_bAllowObserving = FALSE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = FALSE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmSplitStartMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromNetwork(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = TRUE; - gmCurrent.gm_bAllowObserving = TRUE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = TRUE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkStartMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromNetworkLoad(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = FALSE; - gmCurrent.gm_bAllowObserving = TRUE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartNetworkLoadGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromSplitScreenLoad(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = FALSE; - gmCurrent.gm_bAllowObserving = FALSE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = FALSE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &StartSplitScreenGameLoad; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&gmCurrent); } void StartSelectPlayersMenuFromOpen(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = FALSE; - gmCurrent.gm_bAllowObserving = TRUE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + ChangeToMenu(&gmCurrent); - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; - } + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmNetworkOpenMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; + } } void StartSelectPlayersMenuFromServers(void) { - CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; + CSelectPlayersMenu &gmCurrent = _pGUIM->gmSelectPlayersMenu; - gmCurrent.gm_bAllowDedicated = FALSE; - gmCurrent.gm_bAllowObserving = TRUE; - gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_bAllowDedicated = FALSE; + gmCurrent.gm_bAllowObserving = TRUE; + gmCurrent.gm_mgStart.mg_pActivatedFunction = &JoinNetworkGame; + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + ChangeToMenu(&gmCurrent); - /*if (sam_strNetworkSettings=="")*/ { - void StartNetworkSettingsMenu(void); - StartNetworkSettingsMenu(); - _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; - _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; - _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; - } + /*if (sam_strNetworkSettings=="")*/ { + void StartNetworkSettingsMenu(void); + StartNetworkSettingsMenu(); + _pGUIM->gmLoadSaveMenu.gm_bNoEscape = TRUE; + _pGUIM->gmLoadSaveMenu.gm_pgmParentMenu = &_pGUIM->gmServersMenu; + _pGUIM->gmLoadSaveMenu.gm_pgmNextMenu = &gmCurrent; + } } // -------- Save/Load Menu Calling Functions void StartPlayerModelLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Models\\Player\\"); - gmCurrent.gm_fnmSelected = _strLastPlayerAppearance; - gmCurrent.gm_fnmExt = CTString(".amc"); - gmCurrent.gm_pAfterFileChosen = &LSLoadPlayerModel; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MODEL"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Models\\Player\\"); + gmCurrent.gm_fnmSelected = _strLastPlayerAppearance; + gmCurrent.gm_fnmExt = CTString(".amc"); + gmCurrent.gm_pAfterFileChosen = &LSLoadPlayerModel; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmPlayerProfile; + ChangeToMenu(&gmCurrent); } void StartControlsLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); - gmCurrent.gm_bAllowThumbnails = FALSE; - gmCurrent.gm_iSortType = LSSORT_FILEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Controls\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".ctl"); - gmCurrent.gm_pAfterFileChosen = &LSLoadControls; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD CONTROLS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Controls\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".ctl"); + gmCurrent.gm_pAfterFileChosen = &LSLoadControls; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmControls; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmControls; + ChangeToMenu(&gmCurrent); } void StartCustomLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - gmCurrent.gm_bAllowThumbnails = FALSE; - gmCurrent.gm_iSortType = LSSORT_NAMEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".cfg"); - gmCurrent.gm_pAfterFileChosen = &LSLoadCustom; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\CustomOptions\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".cfg"); + gmCurrent.gm_pAfterFileChosen = &LSLoadCustom; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartAddonsLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); - gmCurrent.gm_bAllowThumbnails = FALSE; - gmCurrent.gm_iSortType = LSSORT_NAMEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Scripts\\Addons\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".ini"); - gmCurrent.gm_pAfterFileChosen = &LSLoadAddon; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("EXECUTE ADDON"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\Addons\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".ini"); + gmCurrent.gm_pAfterFileChosen = &LSLoadAddon; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartModsLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_NAMEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Mods\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".des"); - gmCurrent.gm_pAfterFileChosen = &LSLoadMod; + gmCurrent.gm_mgTitle.mg_strText = TRANS("CHOOSE MOD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_NAMEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Mods\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".des"); + gmCurrent.gm_pAfterFileChosen = &LSLoadMod; - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmMainMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmMainMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkSettingsMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - gmCurrent.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); - gmCurrent.gm_bAllowThumbnails = FALSE; - gmCurrent.gm_iSortType = LSSORT_FILEUP; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = FALSE; - gmCurrent.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); - gmCurrent.gm_fnmSelected = sam_strNetworkSettings; - gmCurrent.gm_fnmExt = CTString(".ini"); - gmCurrent.gm_pAfterFileChosen = &LSLoadNetSettings; + gmCurrent.gm_mgTitle.mg_strText = TRANS("CONNECTION SETTINGS"); + gmCurrent.gm_bAllowThumbnails = FALSE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = FALSE; + gmCurrent.gm_fnmDirectory = CTString("Scripts\\NetSettings\\"); + gmCurrent.gm_fnmSelected = sam_strNetworkSettings; + gmCurrent.gm_fnmExt = CTString(".ini"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetSettings; - if (sam_strNetworkSettings == "") { - gmCurrent.gm_mgNotes.mg_strText = TRANS( - "Before joining a network game,\n" - "you have to adjust your connection parameters.\n" - "Choose one option from the list.\n" - "If you have problems with connection, you can adjust\n" - "these parameters again from the Options menu.\n" - ); - } else { - gmCurrent.gm_mgNotes.mg_strText = ""; - } + if (sam_strNetworkSettings == "") { + gmCurrent.gm_mgNotes.mg_strText = TRANS( + "Before joining a network game,\n" + "you have to adjust your connection parameters.\n" + "Choose one option from the list.\n" + "If you have problems with connection, you can adjust\n" + "these parameters again from the Options menu.\n" + ); + } else { + gmCurrent.gm_mgNotes.mg_strText = ""; + } - gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = &_pGUIM->gmOptionsMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerQuickLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_SINGLE_PLAYER; + _gmMenuGameMode = GM_SINGLE_PLAYER; - gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; - SetQuickLoadNotes(); + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\Quick\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; + SetQuickLoadNotes(); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_SINGLE_PLAYER; + _gmMenuGameMode = GM_SINGLE_PLAYER; - gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSinglePlayer; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSinglePlayerSaveMenu(void) { - if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; + if (_gmRunningGameMode != GM_SINGLE_PLAYER) return; - // if no live players - if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { - // do nothing - return; - } + // if no live players + if (_pGame->GetPlayersCount()>0 && _pGame->GetLivePlayersCount() <= 0) { + // do nothing + return; + } - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_SINGLE_PLAYER; + _gmMenuGameMode = GM_SINGLE_PLAYER; - gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = TRUE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmBaseName = CTString("SaveGame"); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; - gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory.PrintF("SaveGame\\Player%d\\", _pGame->gm_iSinglePlayer); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartDemoLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_DEMO; + _gmMenuGameMode = GM_DEMO; - gmCurrent.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("Demos\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".dem"); - gmCurrent.gm_pAfterFileChosen = &LSLoadDemo; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("PLAY DEMO"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("Demos\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".dem"); + gmCurrent.gm_pAfterFileChosen = &LSLoadDemo; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartDemoSaveMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - if (_gmRunningGameMode == GM_NONE) return; - _gmMenuGameMode = GM_DEMO; + if (_gmRunningGameMode == GM_NONE) return; + _gmMenuGameMode = GM_DEMO; - gmCurrent.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEUP; - gmCurrent.gm_bSave = TRUE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("Demos\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmBaseName = CTString("Demo"); - gmCurrent.gm_fnmExt = CTString(".dem"); - gmCurrent.gm_pAfterFileChosen = &LSSaveDemo; - gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("RECORD DEMO"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEUP; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("Demos\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("Demo"); + gmCurrent.gm_fnmExt = CTString(".dem"); + gmCurrent.gm_pAfterFileChosen = &LSSaveDemo; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(FALSE); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkQuickLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_NETWORK; + _gmMenuGameMode = GM_NETWORK; - gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; - SetQuickLoadNotes(); + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\Quick\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; + SetQuickLoadNotes(); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_NETWORK; + _gmMenuGameMode = GM_NETWORK; - gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadNetwork; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartNetworkSaveMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - if (_gmRunningGameMode != GM_NETWORK) return; - _gmMenuGameMode = GM_NETWORK; + if (_gmRunningGameMode != GM_NETWORK) return; + _gmMenuGameMode = GM_NETWORK; - gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = TRUE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmBaseName = CTString("SaveGame"); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; - gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\Network\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenQuickLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_SPLIT_SCREEN; + _gmMenuGameMode = GM_SPLIT_SCREEN; - gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; - SetQuickLoadNotes(); + gmCurrent.gm_mgTitle.mg_strText = TRANS("QUICK LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\Quick\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; + SetQuickLoadNotes(); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenLoadMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - _gmMenuGameMode = GM_SPLIT_SCREEN; + _gmMenuGameMode = GM_SPLIT_SCREEN; - gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = FALSE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; - gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_mgTitle.mg_strText = TRANS("LOAD"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = FALSE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSLoadSplitScreen; + gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } void StartSplitScreenSaveMenu(void) { - CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; + CLoadSaveMenu &gmCurrent = _pGUIM->gmLoadSaveMenu; - if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; - _gmMenuGameMode = GM_SPLIT_SCREEN; + if (_gmRunningGameMode != GM_SPLIT_SCREEN) return; + _gmMenuGameMode = GM_SPLIT_SCREEN; - gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); - gmCurrent.gm_bAllowThumbnails = TRUE; - gmCurrent.gm_iSortType = LSSORT_FILEDN; - gmCurrent.gm_bSave = TRUE; - gmCurrent.gm_bManage = TRUE; - gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); - gmCurrent.gm_fnmSelected = CTString(""); - gmCurrent.gm_fnmBaseName = CTString("SaveGame"); - gmCurrent.gm_fnmExt = CTString(".sav"); - gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; - gmCurrent.gm_mgNotes.mg_strText = ""; - gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); + gmCurrent.gm_mgTitle.mg_strText = TRANS("SAVE"); + gmCurrent.gm_bAllowThumbnails = TRUE; + gmCurrent.gm_iSortType = LSSORT_FILEDN; + gmCurrent.gm_bSave = TRUE; + gmCurrent.gm_bManage = TRUE; + gmCurrent.gm_fnmDirectory = CTString("SaveGame\\SplitScreen\\"); + gmCurrent.gm_fnmSelected = CTString(""); + gmCurrent.gm_fnmBaseName = CTString("SaveGame"); + gmCurrent.gm_fnmExt = CTString(".sav"); + gmCurrent.gm_pAfterFileChosen = &LSSaveAnyGame; + gmCurrent.gm_mgNotes.mg_strText = ""; + gmCurrent.gm_strSaveDes = _pGame->GetDefaultGameDescription(TRUE); - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + ChangeToMenu(&gmCurrent); } // -------- Disabled Menu Calling Function void DisabledFunction(void) { - CDisabledMenu &gmCurrent = _pGUIM->gmDisabledFunction; + CDisabledMenu &gmCurrent = _pGUIM->gmDisabledFunction; - gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; - gmCurrent.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); - gmCurrent.gm_mgTitle.mg_strText = TRANS("DISABLED"); - ChangeToMenu(&gmCurrent); + gmCurrent.gm_pgmParentMenu = pgmCurrentMenu; + gmCurrent.gm_mgButton.mg_strText = TRANS("The feature is not available in this version!"); + gmCurrent.gm_mgTitle.mg_strText = TRANS("DISABLED"); + ChangeToMenu(&gmCurrent); } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp index f0c6937..bb951c3 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -34,196 +34,196 @@ extern CTString _strModServerSelected; BOOL LSLoadSinglePlayer(const CTFileName &fnm) { - _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; + _pGame->gm_StartSplitScreenCfg = CGame::SSC_PLAY1; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; - _pGame->gm_aiStartLocalPlayers[1] = -1; - _pGame->gm_aiStartLocalPlayers[2] = -1; - _pGame->gm_aiStartLocalPlayers[3] = -1; - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame(fnm)) { - StopMenus(); - _gmRunningGameMode = GM_SINGLE_PLAYER; - } - else { - _gmRunningGameMode = GM_NONE; - } - return TRUE; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_iSinglePlayer; + _pGame->gm_aiStartLocalPlayers[1] = -1; + _pGame->gm_aiStartLocalPlayers[2] = -1; + _pGame->gm_aiStartLocalPlayers[3] = -1; + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(fnm)) { + StopMenus(); + _gmRunningGameMode = GM_SINGLE_PLAYER; + } + else { + _gmRunningGameMode = GM_NONE; + } + return TRUE; } BOOL LSLoadNetwork(const CTFileName &fnm) { - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromNetworkLoad(); - return TRUE; + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromNetworkLoad(); + return TRUE; } BOOL LSLoadSplitScreen(const CTFileName &fnm) { - // call local players menu - _fnGameToLoad = fnm; - StartSelectPlayersMenuFromSplitScreenLoad(); - return TRUE; + // call local players menu + _fnGameToLoad = fnm; + StartSelectPlayersMenuFromSplitScreenLoad(); + return TRUE; } void StartDemoPlay(void) { - _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; - // play the demo - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->StartDemoPlay(_fnDemoToPlay)) - { - // exit menu and pull up the console - StopMenus(); - if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; - _gmRunningGameMode = GM_DEMO; - } - else { - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_StartSplitScreenCfg = CGame::SSC_OBSERVER; + // play the demo + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->StartDemoPlay(_fnDemoToPlay)) + { + // exit menu and pull up the console + StopMenus(); + if (_pGame->gm_csConsoleState != CS_OFF) _pGame->gm_csConsoleState = CS_TURNINGOFF; + _gmRunningGameMode = GM_DEMO; + } + else { + _gmRunningGameMode = GM_NONE; + } } extern BOOL LSLoadDemo(const CTFileName &fnm) { - // call local players menu - _fnDemoToPlay = fnm; - StartDemoPlay(); - return TRUE; + // call local players menu + _fnDemoToPlay = fnm; + StartDemoPlay(); + return TRUE; } BOOL LSLoadPlayerModel(const CTFileName &fnm) { - // get base filename - CTString strBaseName = fnm.FileName(); - // set it for current player - CPlayerCharacter &pc = _pGame->gm_apcPlayers[*_pGUIM->gmPlayerProfile.gm_piCurrentPlayer]; - CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; - memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); - strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); + // get base filename + CTString strBaseName = fnm.FileName(); + // set it for current player + CPlayerCharacter &pc = _pGame->gm_apcPlayers[*_pGUIM->gmPlayerProfile.gm_piCurrentPlayer]; + CPlayerSettings *pps = (CPlayerSettings *)pc.pc_aubAppearance; + memset(pps->ps_achModelFile, 0, sizeof(pps->ps_achModelFile)); + strncpy(pps->ps_achModelFile, strBaseName, sizeof(pps->ps_achModelFile)); - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; } BOOL LSLoadControls(const CTFileName &fnm) { - try { - ControlsMenuOn(); - _pGame->gm_ctrlControlsExtra.Load_t(fnm); - ControlsMenuOff(); - } - catch (char *strError) { - CPrintF("%s", strError); - } + try { + ControlsMenuOn(); + _pGame->gm_ctrlControlsExtra.Load_t(fnm); + ControlsMenuOff(); + } + catch (char *strError) { + CPrintF("%s", strError); + } - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; } BOOL LSLoadAddon(const CTFileName &fnm) { - extern INDEX _iAddonExecState; - extern CTFileName _fnmAddonToExec; - _iAddonExecState = 1; - _fnmAddonToExec = fnm; - return TRUE; + extern INDEX _iAddonExecState; + extern CTFileName _fnmAddonToExec; + _iAddonExecState = 1; + _fnmAddonToExec = fnm; + return TRUE; } BOOL LSLoadMod(const CTFileName &fnm) { - _fnmModSelected = fnm; - extern void ModConfirm(void); - ModConfirm(); - return TRUE; + _fnmModSelected = fnm; + extern void ModConfirm(void); + ModConfirm(); + return TRUE; } BOOL LSLoadCustom(const CTFileName &fnm) { - _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); - // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); - // mgVarTitle.mg_strText.OnlyFirstLine(); - _pGUIM->gmVarMenu.gm_fnmMenuCFG = fnm; - _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; - ChangeToMenu(&_pGUIM->gmVarMenu); - return TRUE; + _pGUIM->gmVarMenu.gm_mgTitle.mg_strText = TRANS("ADVANCED OPTIONS"); + // LoadStringVar(fnm.NoExt()+".des", mgVarTitle.mg_strText); + // mgVarTitle.mg_strText.OnlyFirstLine(); + _pGUIM->gmVarMenu.gm_fnmMenuCFG = fnm; + _pGUIM->gmVarMenu.gm_pgmParentMenu = &_pGUIM->gmLoadSaveMenu; + ChangeToMenu(&_pGUIM->gmVarMenu); + return TRUE; } BOOL LSLoadNetSettings(const CTFileName &fnm) { - sam_strNetworkSettings = fnm; - CTString strCmd; - strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); - _pShell->Execute(strCmd); + sam_strNetworkSettings = fnm; + CTString strCmd; + strCmd.PrintF("include \"%s\"", (const char*)sam_strNetworkSettings); + _pShell->Execute(strCmd); - void MenuGoToParent(void); - MenuGoToParent(); - return TRUE; + void MenuGoToParent(void); + MenuGoToParent(); + return TRUE; } // same function for saving in singleplay, network and splitscreen BOOL LSSaveAnyGame(const CTFileName &fnm) { - if (_pGame->SaveGame(fnm)) { - StopMenus(); - return TRUE; - } - else { - return FALSE; - } + if (_pGame->SaveGame(fnm)) { + StopMenus(); + return TRUE; + } + else { + return FALSE; + } } BOOL LSSaveDemo(const CTFileName &fnm) { - // save the demo - if (_pGame->StartDemoRec(fnm)) { - StopMenus(); - return TRUE; - } - else { - return FALSE; - } + // save the demo + if (_pGame->StartDemoRec(fnm)) { + StopMenus(); + return TRUE; + } + else { + return FALSE; + } } void StartNetworkLoadGame(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - _pGame->gm_strNetworkProvider = "TCP/IP Server"; - if (_pGame->LoadGame(_fnGameToLoad)) - { - StopMenus(); - _gmRunningGameMode = GM_NETWORK; - } - else { - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_strNetworkProvider = "TCP/IP Server"; + if (_pGame->LoadGame(_fnGameToLoad)) + { + StopMenus(); + _gmRunningGameMode = GM_NETWORK; + } + else { + _gmRunningGameMode = GM_NONE; + } } void StartSplitScreenGameLoad(void) { - // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; - _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; + // _pGame->gm_MenuSplitScreenCfg = (enum CGame::SplitScreenCfg) mgSplitScreenCfg.mg_iSelected; + _pGame->gm_StartSplitScreenCfg = _pGame->gm_MenuSplitScreenCfg; - _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; - _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; - _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; - _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; + _pGame->gm_aiStartLocalPlayers[0] = _pGame->gm_aiMenuLocalPlayers[0]; + _pGame->gm_aiStartLocalPlayers[1] = _pGame->gm_aiMenuLocalPlayers[1]; + _pGame->gm_aiStartLocalPlayers[2] = _pGame->gm_aiMenuLocalPlayers[2]; + _pGame->gm_aiStartLocalPlayers[3] = _pGame->gm_aiMenuLocalPlayers[3]; - _pGame->gm_strNetworkProvider = "Local"; - if (_pGame->LoadGame(_fnGameToLoad)) { - StopMenus(); - _gmRunningGameMode = GM_SPLIT_SCREEN; - } - else { - _gmRunningGameMode = GM_NONE; - } + _pGame->gm_strNetworkProvider = "Local"; + if (_pGame->LoadGame(_fnGameToLoad)) { + StopMenus(); + _gmRunningGameMode = GM_SPLIT_SCREEN; + } + else { + _gmRunningGameMode = GM_NONE; + } } \ No newline at end of file diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index 375294b..4866a6d 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -20,259 +20,259 @@ with this program; if not, write to the Free Software Foundation, Inc., #define RADIOTRANS(str) ("ETRS" str) extern CTString astrNoYes[] = { - RADIOTRANS("No"), - RADIOTRANS("Yes"), + RADIOTRANS("No"), + RADIOTRANS("Yes"), }; extern CTString astrComputerInvoke[] = { - RADIOTRANS("Use"), - RADIOTRANS("Double-click use"), + RADIOTRANS("Use"), + RADIOTRANS("Double-click use"), }; extern CTString astrWeapon[] = { - RADIOTRANS("Only if new"), - RADIOTRANS("Never"), - RADIOTRANS("Always"), - RADIOTRANS("Only if stronger"), + RADIOTRANS("Only if new"), + RADIOTRANS("Never"), + RADIOTRANS("Always"), + RADIOTRANS("Only if stronger"), }; extern PIX apixWidths[][2] = { - 320, 240, - 400, 300, - 512, 384, - 640, 240, - 640, 480, - 720, 540, - 800, 300, - 800, 600, - 960, 720, - 1024, 384, - 1024, 768, - 1152, 864, - 1280, 480, - 1280, 960, - 1600, 600, - 1600, 1200, - 1920, 720, - 1920, 1440, - 2048, 786, - 2048, 1536, + 320, 240, + 400, 300, + 512, 384, + 640, 240, + 640, 480, + 720, 540, + 800, 300, + 800, 600, + 960, 720, + 1024, 384, + 1024, 768, + 1152, 864, + 1280, 480, + 1280, 960, + 1600, 600, + 1600, 1200, + 1920, 720, + 1920, 1440, + 2048, 786, + 2048, 1536, }; extern CTString astrCrosshair[] = { - "", - "Textures\\Interface\\Crosshairs\\Crosshair1.tex", - "Textures\\Interface\\Crosshairs\\Crosshair2.tex", - "Textures\\Interface\\Crosshairs\\Crosshair3.tex", - "Textures\\Interface\\Crosshairs\\Crosshair4.tex", - "Textures\\Interface\\Crosshairs\\Crosshair5.tex", - "Textures\\Interface\\Crosshairs\\Crosshair6.tex", - "Textures\\Interface\\Crosshairs\\Crosshair7.tex", + "", + "Textures\\Interface\\Crosshairs\\Crosshair1.tex", + "Textures\\Interface\\Crosshairs\\Crosshair2.tex", + "Textures\\Interface\\Crosshairs\\Crosshair3.tex", + "Textures\\Interface\\Crosshairs\\Crosshair4.tex", + "Textures\\Interface\\Crosshairs\\Crosshair5.tex", + "Textures\\Interface\\Crosshairs\\Crosshair6.tex", + "Textures\\Interface\\Crosshairs\\Crosshair7.tex", }; extern CTString astrMaxPlayersRadioTexts[] = { - RADIOTRANS("2"), - RADIOTRANS("3"), - RADIOTRANS("4"), - RADIOTRANS("5"), - RADIOTRANS("6"), - RADIOTRANS("7"), - RADIOTRANS("8"), - RADIOTRANS("9"), - RADIOTRANS("10"), - RADIOTRANS("11"), - RADIOTRANS("12"), - RADIOTRANS("13"), - RADIOTRANS("14"), - RADIOTRANS("15"), - RADIOTRANS("16"), + RADIOTRANS("2"), + RADIOTRANS("3"), + RADIOTRANS("4"), + RADIOTRANS("5"), + RADIOTRANS("6"), + RADIOTRANS("7"), + RADIOTRANS("8"), + RADIOTRANS("9"), + RADIOTRANS("10"), + RADIOTRANS("11"), + RADIOTRANS("12"), + RADIOTRANS("13"), + RADIOTRANS("14"), + RADIOTRANS("15"), + RADIOTRANS("16"), }; // here, we just reserve space for up to 16 different game types // actual names are added later extern CTString astrGameTypeRadioTexts[] = { - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", }; extern INDEX ctGameTypeRadioTexts = 1; extern CTString astrDifficultyRadioTexts[] = { - RADIOTRANS("Tourist"), - RADIOTRANS("Easy"), - RADIOTRANS("Normal"), - RADIOTRANS("Hard"), - RADIOTRANS("Serious"), - RADIOTRANS("Mental"), + RADIOTRANS("Tourist"), + RADIOTRANS("Easy"), + RADIOTRANS("Normal"), + RADIOTRANS("Hard"), + RADIOTRANS("Serious"), + RADIOTRANS("Mental"), }; extern CTString astrSplitScreenRadioTexts[] = { - RADIOTRANS("1"), - RADIOTRANS("2 - split screen"), - RADIOTRANS("3 - split screen"), - RADIOTRANS("4 - split screen"), + RADIOTRANS("1"), + RADIOTRANS("2 - split screen"), + RADIOTRANS("3 - split screen"), + RADIOTRANS("4 - split screen"), }; extern CTString astrDisplayPrefsRadioTexts[] = { - RADIOTRANS("Speed"), - RADIOTRANS("Normal"), - RADIOTRANS("Quality"), - RADIOTRANS("Custom"), + RADIOTRANS("Speed"), + RADIOTRANS("Normal"), + RADIOTRANS("Quality"), + RADIOTRANS("Custom"), }; extern CTString astrDisplayAPIRadioTexts[] = { - RADIOTRANS("OpenGL"), - RADIOTRANS("Direct3D"), + RADIOTRANS("OpenGL"), + RADIOTRANS("Direct3D"), }; extern CTString astrBitsPerPixelRadioTexts[] = { - RADIOTRANS("Desktop"), - RADIOTRANS("16 BPP"), - RADIOTRANS("32 BPP"), + RADIOTRANS("Desktop"), + RADIOTRANS("16 BPP"), + RADIOTRANS("32 BPP"), }; extern CTString astrFrequencyRadioTexts[] = { - RADIOTRANS("No sound"), - RADIOTRANS("11kHz"), - RADIOTRANS("22kHz"), - RADIOTRANS("44kHz"), + RADIOTRANS("No sound"), + RADIOTRANS("11kHz"), + RADIOTRANS("22kHz"), + RADIOTRANS("44kHz"), }; extern CTString astrSoundAPIRadioTexts[] = { - RADIOTRANS("WaveOut"), - RADIOTRANS("DirectSound"), - RADIOTRANS("EAX"), + RADIOTRANS("WaveOut"), + RADIOTRANS("DirectSound"), + RADIOTRANS("EAX"), }; ULONG GetSpawnFlagsForGameType(INDEX iGameType) { - if (iGameType == -1) return SPF_SINGLEPLAYER; + if (iGameType == -1) return SPF_SINGLEPLAYER; - // get function that will provide us the flags - CShellSymbol *pss = _pShell->GetSymbol("GetSpawnFlagsForGameTypeSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss == NULL) { - // error - ASSERT(FALSE); - return 0; - } + // get function that will provide us the flags + CShellSymbol *pss = _pShell->GetSymbol("GetSpawnFlagsForGameTypeSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + ASSERT(FALSE); + return 0; + } - ULONG(*pFunc)(INDEX) = (ULONG(*)(INDEX))pss->ss_pvValue; - return pFunc(iGameType); + ULONG(*pFunc)(INDEX) = (ULONG(*)(INDEX))pss->ss_pvValue; + return pFunc(iGameType); } BOOL IsMenuEnabled(const CTString &strMenuName) { - // get function that will provide us the flags - CShellSymbol *pss = _pShell->GetSymbol("IsMenuEnabledSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss == NULL) { - // error - ASSERT(FALSE); - return TRUE; - } + // get function that will provide us the flags + CShellSymbol *pss = _pShell->GetSymbol("IsMenuEnabledSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + ASSERT(FALSE); + return TRUE; + } - BOOL(*pFunc)(const CTString &) = (BOOL(*)(const CTString &))pss->ss_pvValue; - return pFunc(strMenuName); + BOOL(*pFunc)(const CTString &) = (BOOL(*)(const CTString &))pss->ss_pvValue; + return pFunc(strMenuName); } // initialize game type strings table void InitGameTypes(void) { - // get function that will provide us the info about gametype - CShellSymbol *pss = _pShell->GetSymbol("GetGameTypeNameSS", /*bDeclaredOnly=*/ TRUE); - // if none - if (pss == NULL) { - // error - astrGameTypeRadioTexts[0] = ""; - ctGameTypeRadioTexts = 1; - return; - } + // get function that will provide us the info about gametype + CShellSymbol *pss = _pShell->GetSymbol("GetGameTypeNameSS", /*bDeclaredOnly=*/ TRUE); + // if none + if (pss == NULL) { + // error + astrGameTypeRadioTexts[0] = ""; + ctGameTypeRadioTexts = 1; + return; + } - // for each mode - for (ctGameTypeRadioTexts = 0; ctGameTypeRadioTextsss_pvValue; - CTString strMode = pFunc(ctGameTypeRadioTexts); - // if no mode modes - if (strMode == "") { - // stop - break; - } - // add that mode - astrGameTypeRadioTexts[ctGameTypeRadioTexts] = strMode; - } + // for each mode + for (ctGameTypeRadioTexts = 0; ctGameTypeRadioTextsss_pvValue; + CTString strMode = pFunc(ctGameTypeRadioTexts); + // if no mode modes + if (strMode == "") { + // stop + break; + } + // add that mode + astrGameTypeRadioTexts[ctGameTypeRadioTexts] = strMode; + } } int qsort_CompareFileInfos_NameUp(const void *elem1, const void *elem2) { - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return strcmp(fi1.fi_strName, fi2.fi_strName); + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return strcmp(fi1.fi_strName, fi2.fi_strName); } int qsort_CompareFileInfos_NameDn(const void *elem1, const void *elem2) { - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return -strcmp(fi1.fi_strName, fi2.fi_strName); + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return -strcmp(fi1.fi_strName, fi2.fi_strName); } int qsort_CompareFileInfos_FileUp(const void *elem1, const void *elem2) { - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return strcmp(fi1.fi_fnFile, fi2.fi_fnFile); + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return strcmp(fi1.fi_fnFile, fi2.fi_fnFile); } int qsort_CompareFileInfos_FileDn(const void *elem1, const void *elem2) { - const CFileInfo &fi1 = **(CFileInfo **)elem1; - const CFileInfo &fi2 = **(CFileInfo **)elem2; - return -strcmp(fi1.fi_fnFile, fi2.fi_fnFile); + const CFileInfo &fi1 = **(CFileInfo **)elem1; + const CFileInfo &fi2 = **(CFileInfo **)elem2; + return -strcmp(fi1.fi_fnFile, fi2.fi_fnFile); } INDEX APIToSwitch(enum GfxAPIType gat) { - switch (gat) { - case GAT_OGL: return 0; + switch (gat) { + case GAT_OGL: return 0; #ifdef SE1_D3D - case GAT_D3D: return 1; + case GAT_D3D: return 1; #endif // SE1_D3D - default: ASSERT(FALSE); return 0; - } + default: ASSERT(FALSE); return 0; + } } enum GfxAPIType SwitchToAPI(INDEX i) { - switch (i) { - case 0: return GAT_OGL; + switch (i) { + case 0: return GAT_OGL; #ifdef SE1_D3D - case 1: return GAT_D3D; + case 1: return GAT_D3D; #endif // SE1_D3D - default: ASSERT(FALSE); return GAT_OGL; - } + default: ASSERT(FALSE); return GAT_OGL; + } } INDEX DepthToSwitch(enum DisplayDepth dd) { - switch (dd) { - case DD_DEFAULT: return 0; - case DD_16BIT: return 1; - case DD_32BIT: return 2; - default: ASSERT(FALSE); return 0; - } + switch (dd) { + case DD_DEFAULT: return 0; + case DD_16BIT: return 1; + case DD_32BIT: return 2; + default: ASSERT(FALSE); return 0; + } } enum DisplayDepth SwitchToDepth(INDEX i) { - switch (i) { - case 0: return DD_DEFAULT; - case 1: return DD_16BIT; - case 2: return DD_32BIT; - default: ASSERT(FALSE); return DD_DEFAULT; - } + switch (i) { + case 0: return DD_DEFAULT; + case 1: return DD_16BIT; + case 2: return DD_32BIT; + default: ASSERT(FALSE); return DD_DEFAULT; + } } // controls that are currently customized @@ -280,27 +280,27 @@ CTFileName _fnmControlsToCustomize = CTString(""); void ControlsMenuOn() { - _pGame->SavePlayersAndControls(); - try { - _pGame->gm_ctrlControlsExtra.Load_t(_fnmControlsToCustomize); - } - catch (char *strError) { - WarningMessage(strError); - } + _pGame->SavePlayersAndControls(); + try { + _pGame->gm_ctrlControlsExtra.Load_t(_fnmControlsToCustomize); + } + catch (char *strError) { + WarningMessage(strError); + } } void ControlsMenuOff() { - try { - if (_pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count()>0) { - _pGame->gm_ctrlControlsExtra.Save_t(_fnmControlsToCustomize); - } - } - catch (char *strError) { - FatalError(strError); - } - FORDELETELIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) { - delete &itAct.Current(); - } - _pGame->LoadPlayersAndControls(); + try { + if (_pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions.Count()>0) { + _pGame->gm_ctrlControlsExtra.Save_t(_fnmControlsToCustomize); + } + } + catch (char *strError) { + FatalError(strError); + } + FORDELETELIST(CButtonAction, ba_lnNode, _pGame->gm_ctrlControlsExtra.ctrl_lhButtonActions, itAct) { + delete &itAct.Current(); + } + _pGame->LoadPlayersAndControls(); } \ No newline at end of file diff --git a/Sources/SeriousSam/MainWindow.cpp b/Sources/SeriousSam/MainWindow.cpp index a4b2de2..1030d5a 100644 --- a/Sources/SeriousSam/MainWindow.cpp +++ b/Sources/SeriousSam/MainWindow.cpp @@ -29,7 +29,7 @@ static PIX _pixLastSizeI, _pixLastSizeJ; // window procedure active while window changes are occuring LRESULT WindowProc_WindowChanging( HWND hWnd, UINT message, - WPARAM wParam, LPARAM lParam ) + WPARAM wParam, LPARAM lParam ) { switch( message ) { case WM_PAINT: { @@ -65,7 +65,7 @@ LRESULT WindowProc_WindowChanging( HWND hWnd, UINT message, // window procedure active normally LRESULT WindowProc_Normal( HWND hWnd, UINT message, - WPARAM wParam, LPARAM lParam ) + WPARAM wParam, LPARAM lParam ) { switch( message ) { @@ -77,7 +77,7 @@ LRESULT WindowProc_Normal( HWND hWnd, UINT message, case SC_RESTORE: case SC_MAXIMIZE: // relay to application - PostMessage(NULL, message, wParam & ~0x0F, lParam); + PostMessage(NULL, message, wParam & ~0x0F, lParam); // do not allow automatic resizing return 0; break; @@ -90,7 +90,7 @@ LRESULT WindowProc_Normal( HWND hWnd, UINT message, // when close box is clicked case WM_CLOSE: // relay to application - PostMessage(NULL, message, wParam, lParam); + PostMessage(NULL, message, wParam, lParam); // do not pass to default wndproc return 0; @@ -102,7 +102,7 @@ LRESULT WindowProc_Normal( HWND hWnd, UINT message, case WM_KILLFOCUS: case WM_ACTIVATEAPP: // relay to application - PostMessage(NULL, message, wParam, lParam); + PostMessage(NULL, message, wParam, lParam); // pass to default wndproc break; } @@ -113,7 +113,7 @@ LRESULT WindowProc_Normal( HWND hWnd, UINT message, // main window procedure LRESULT CALLBACK WindowProc( HWND hWnd, UINT message, - WPARAM wParam, LPARAM lParam ) + WPARAM wParam, LPARAM lParam ) { // dispatch to proper window procedure if(_bWindowChanging) { @@ -141,6 +141,7 @@ void MainWindow_Init(void) wc.lpszMenuName = APPLICATION_NAME; wc.lpszClassName = APPLICATION_NAME; wc.hIconSm = NULL; + if (0 == RegisterClassExA(&wc)) { DWORD dwError = GetLastError(); CTString strErrorMessage(TRANS("Cannot open main window!")); @@ -199,16 +200,16 @@ void OpenMainWindowNormal( PIX pixSizeI, PIX pixSizeJ) // create a window, invisible initially _hwndMain = CreateWindowExA( - WS_EX_APPWINDOW, - APPLICATION_NAME, - "", // title + WS_EX_APPWINDOW, + APPLICATION_NAME, + "", // title WS_OVERLAPPED|WS_CAPTION|WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_SYSMENU, - 10,10, - 100,100, // window size - NULL, - NULL, - _hInstance, - NULL); + 10,10, + 100,100, // window size + NULL, + NULL, + _hInstance, + NULL); // didn't make it? if( _hwndMain==NULL) FatalError(TRANS("Cannot open main window!")); SE_UpdateWindowHandle( _hwndMain); @@ -255,16 +256,16 @@ void OpenMainWindowInvisible(void) ASSERT(_hwndMain==NULL); // create a window, invisible initially _hwndMain = CreateWindowExA( - WS_EX_APPWINDOW, - APPLICATION_NAME, - "", // title + WS_EX_APPWINDOW, + APPLICATION_NAME, + "", // title WS_POPUP, - 0,0, - 10, 10, // window size - NULL, - NULL, - _hInstance, - NULL); + 0,0, + 10, 10, // window size + NULL, + NULL, + _hInstance, + NULL); // didn't make it? if( _hwndMain==NULL) { DWORD dwError = GetLastError(); @@ -273,6 +274,7 @@ void OpenMainWindowInvisible(void) strError.PrintF("%s Error %d", strErrorMessage, dwError); FatalError(strError); } + SE_UpdateWindowHandle( _hwndMain); // set window title diff --git a/Sources/SeriousSam/SeriousSam.cpp b/Sources/SeriousSam/SeriousSam.cpp index 5459745..6ab323d 100644 --- a/Sources/SeriousSam/SeriousSam.cpp +++ b/Sources/SeriousSam/SeriousSam.cpp @@ -600,7 +600,7 @@ void End(void) // destroy the main window and its canvas if (pvpViewPort!=NULL) { - _pGfx->DestroyWindowCanvas( pvpViewPort); + _pGfx->DestroyWindowCanvas( pvpViewPort); pvpViewPort = NULL; pdpNormal = NULL; } @@ -1109,7 +1109,7 @@ int SubMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int // teleport player TeleportPlayer(msg.lParam); // restore - PostMessage(NULL, WM_SYSCOMMAND, SC_RESTORE, 0); + PostMessage(NULL, WM_SYSCOMMAND, SC_RESTORE, 0); } } @@ -1240,7 +1240,7 @@ void CheckBrowser(void) int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, - LPSTR lpCmdLine, int nCmdShow) + LPSTR lpCmdLine, int nCmdShow) { int iResult; CTSTREAM_BEGIN { @@ -1273,7 +1273,7 @@ BOOL TryToSetDisplayMode( enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI, // destroy canvas if existing _pGame->DisableLoadingHook(); if( pvpViewPort!=NULL) { - _pGfx->DestroyWindowCanvas( pvpViewPort); + _pGfx->DestroyWindowCanvas( pvpViewPort); pvpViewPort = NULL; pdpNormal = NULL; } @@ -1305,7 +1305,7 @@ BOOL TryToSetDisplayMode( enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI, // create canvas ASSERT( pvpViewPort==NULL); ASSERT( pdpNormal==NULL); - _pGfx->CreateWindowCanvas( _hwndMain, &pvpViewPort, &pdpNormal); + _pGfx->CreateWindowCanvas( _hwndMain, &pvpViewPort, &pdpNormal); // erase context of both buffers (for the sake of wide-screen) pdp = pdpNormal; @@ -1344,7 +1344,7 @@ BOOL TryToSetDisplayMode( enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI, // destroy canvas if existing if( pvpViewPort!=NULL) { _pGame->DisableLoadingHook(); - _pGfx->DestroyWindowCanvas( pvpViewPort); + _pGfx->DestroyWindowCanvas( pvpViewPort); pvpViewPort = NULL; pdpNormal = NULL; } @@ -1355,7 +1355,7 @@ BOOL TryToSetDisplayMode( enum GfxAPIType eGfxAPI, INDEX iAdapter, PIX pixSizeI, } // remember new settings - sam_bFullScreenActive = bFullScreenMode; + sam_bFullScreenActive = bFullScreenMode; sam_iScreenSizeI = pixSizeI; sam_iScreenSizeJ = pixSizeJ; sam_iDisplayDepth = eColorDepth; diff --git a/Sources/SeriousSam/SplashScreen.cpp b/Sources/SeriousSam/SplashScreen.cpp index da8cebe..88e7f46 100644 --- a/Sources/SeriousSam/SplashScreen.cpp +++ b/Sources/SeriousSam/SplashScreen.cpp @@ -24,7 +24,7 @@ static BITMAP _bmSplashMask; static HWND hwnd = NULL; static long FAR PASCAL SplashWindowProc( HWND hWnd, UINT message, - WPARAM wParam, LPARAM lParam ) + WPARAM wParam, LPARAM lParam ) { switch( message ) { case WM_PAINT: { @@ -68,8 +68,8 @@ void ShowSplashScreen(HINSTANCE hInstance) return; } - int iScreenX = ::GetSystemMetrics(SM_CXSCREEN); // screen size - int iScreenY = ::GetSystemMetrics(SM_CYSCREEN); + int iScreenX = ::GetSystemMetrics(SM_CXSCREEN); // screen size + int iScreenY = ::GetSystemMetrics(SM_CYSCREEN); WNDCLASSA wc; wc.style = CS_HREDRAW | CS_VREDRAW; @@ -88,20 +88,20 @@ void ShowSplashScreen(HINSTANCE hInstance) * create a window */ hwnd = CreateWindowExA( - WS_EX_TRANSPARENT|WS_EX_TOOLWINDOW, - NAME, - "SeriousSam loading...", // title + WS_EX_TRANSPARENT|WS_EX_TOOLWINDOW, + NAME, + "SeriousSam loading...", // title WS_POPUP, - iScreenX/2-_bmSplash.bmWidth/2, - iScreenY/2-_bmSplash.bmHeight/2, - _bmSplash.bmWidth,_bmSplash.bmHeight, // window size - NULL, - NULL, - hInstance, - NULL); + iScreenX/2-_bmSplash.bmWidth/2, + iScreenY/2-_bmSplash.bmHeight/2, + _bmSplash.bmWidth,_bmSplash.bmHeight, // window size + NULL, + NULL, + hInstance, + NULL); if(!hwnd) { - return; + return; } ShowWindow( hwnd, SW_SHOW); From 9bb4fa43cd58937edc1ecd24e614d4325d05e820 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Fri, 1 Apr 2016 01:04:08 +0300 Subject: [PATCH 61/62] Update SeriousSam/StdH.h --- Sources/SeriousSam/StdH.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/SeriousSam/StdH.h b/Sources/SeriousSam/StdH.h index 26c7a5c..bb3ae60 100644 --- a/Sources/SeriousSam/StdH.h +++ b/Sources/SeriousSam/StdH.h @@ -33,8 +33,5 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #undef DECL_DLL -#define TECHTESTONLY 0 - #include "SeriousSam.h" -#include "Menu.h" -#include "MenuGadgets.h" +#include "GUI/Menus/Menu.h" \ No newline at end of file From f9f4ec904c9f6a3604d8e286a643bd6f7cfb06d5 Mon Sep 17 00:00:00 2001 From: zcaliptium Date: Fri, 1 Apr 2016 01:12:10 +0300 Subject: [PATCH 62/62] Fix the License. --- Sources/SeriousSam/ArrowDir.h | 1 + Sources/SeriousSam/CmdLine.cpp | 7 ------- Sources/SeriousSam/FileInfo.h | 1 + Sources/SeriousSam/GUI/Components/MGArrow.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGArrow.h | 1 + Sources/SeriousSam/GUI/Components/MGButton.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGButton.h | 1 + Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGChangePlayer.h | 1 + Sources/SeriousSam/GUI/Components/MGEdit.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGEdit.h | 1 + Sources/SeriousSam/GUI/Components/MGFileButton.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGFileButton.h | 1 + Sources/SeriousSam/GUI/Components/MGHighScore.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGHighScore.h | 1 + Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGKeyDefinition.h | 1 + Sources/SeriousSam/GUI/Components/MGLevelButton.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGLevelButton.h | 1 + Sources/SeriousSam/GUI/Components/MGModel.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGModel.h | 1 + Sources/SeriousSam/GUI/Components/MGServerList.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGServerList.h | 1 + Sources/SeriousSam/GUI/Components/MGSlider.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGSlider.h | 1 + Sources/SeriousSam/GUI/Components/MGTitle.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGTitle.h | 1 + Sources/SeriousSam/GUI/Components/MGTrigger.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGTrigger.h | 1 + Sources/SeriousSam/GUI/Components/MGVarButton.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MGVarButton.h | 1 + Sources/SeriousSam/GUI/Components/MenuGadget.cpp | 3 ++- Sources/SeriousSam/GUI/Components/MenuGadget.h | 1 + Sources/SeriousSam/GUI/Menus/GameMenu.cpp | 3 ++- Sources/SeriousSam/GUI/Menus/GameMenu.h | 1 + Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp | 3 ++- Sources/SeriousSam/GUI/Menus/MAudioOptions.h | 1 + Sources/SeriousSam/GUI/Menus/MConfirm.cpp | 3 ++- Sources/SeriousSam/GUI/Menus/MConfirm.h | 1 + Sources/SeriousSam/GUI/Menus/MControls.cpp | 3 ++- Sources/SeriousSam/GUI/Menus/MControls.h | 1 + Sources/SeriousSam/GUI/Menus/MCredits.h | 1 + Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp | 1 + Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h | 1 + Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp | 1 + Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h | 1 + Sources/SeriousSam/GUI/Menus/MDisabled.cpp | 1 + Sources/SeriousSam/GUI/Menus/MDisabled.h | 1 + Sources/SeriousSam/GUI/Menus/MHighScore.cpp | 1 + Sources/SeriousSam/GUI/Menus/MHighScore.h | 1 + Sources/SeriousSam/GUI/Menus/MInGame.cpp | 1 + Sources/SeriousSam/GUI/Menus/MInGame.h | 1 + Sources/SeriousSam/GUI/Menus/MLevels.cpp | 1 + Sources/SeriousSam/GUI/Menus/MLevels.h | 1 + Sources/SeriousSam/GUI/Menus/MLoadSave.cpp | 1 + Sources/SeriousSam/GUI/Menus/MLoadSave.h | 1 + Sources/SeriousSam/GUI/Menus/MMain.cpp | 1 + Sources/SeriousSam/GUI/Menus/MMain.h | 1 + Sources/SeriousSam/GUI/Menus/MNetwork.cpp | 1 + Sources/SeriousSam/GUI/Menus/MNetwork.h | 1 + Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp | 1 + Sources/SeriousSam/GUI/Menus/MNetworkJoin.h | 1 + Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp | 1 + Sources/SeriousSam/GUI/Menus/MNetworkOpen.h | 1 + Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp | 1 + Sources/SeriousSam/GUI/Menus/MNetworkStart.h | 1 + Sources/SeriousSam/GUI/Menus/MOptions.cpp | 1 + Sources/SeriousSam/GUI/Menus/MOptions.h | 1 + Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp | 1 + Sources/SeriousSam/GUI/Menus/MPlayerProfile.h | 1 + Sources/SeriousSam/GUI/Menus/MRenderingOptions.h | 1 + Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp | 1 + Sources/SeriousSam/GUI/Menus/MSelectPlayers.h | 1 + Sources/SeriousSam/GUI/Menus/MServers.cpp | 1 + Sources/SeriousSam/GUI/Menus/MServers.h | 1 + Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp | 1 + Sources/SeriousSam/GUI/Menus/MSinglePlayer.h | 1 + Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp | 1 + Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h | 1 + Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp | 1 + Sources/SeriousSam/GUI/Menus/MSplitScreen.h | 1 + Sources/SeriousSam/GUI/Menus/MSplitStart.cpp | 1 + Sources/SeriousSam/GUI/Menus/MSplitStart.h | 1 + Sources/SeriousSam/GUI/Menus/MVar.cpp | 1 + Sources/SeriousSam/GUI/Menus/MVar.h | 1 + Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp | 1 + Sources/SeriousSam/GUI/Menus/MVideoOptions.h | 1 + Sources/SeriousSam/GUI/Menus/Menu.cpp | 1 + Sources/SeriousSam/GUI/Menus/Menu.h | 1 + Sources/SeriousSam/GUI/Menus/MenuActions.cpp | 1 + Sources/SeriousSam/GUI/Menus/MenuActions.h | 1 + Sources/SeriousSam/GUI/Menus/MenuManager.cpp | 1 + Sources/SeriousSam/GUI/Menus/MenuManager.h | 1 + Sources/SeriousSam/GUI/Menus/MenuStarters.cpp | 1 + Sources/SeriousSam/GUI/Menus/MenuStarters.h | 1 + Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp | 1 + Sources/SeriousSam/GUI/Menus/MenuStartersAF.h | 1 + Sources/SeriousSam/GUI/Menus/MenuStuff.cpp | 1 + Sources/SeriousSam/GUI/Menus/MenuStuff.h | 1 + 99 files changed, 117 insertions(+), 26 deletions(-) diff --git a/Sources/SeriousSam/ArrowDir.h b/Sources/SeriousSam/ArrowDir.h index 8b02b09..83e6390 100644 --- a/Sources/SeriousSam/ArrowDir.h +++ b/Sources/SeriousSam/ArrowDir.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/CmdLine.cpp b/Sources/SeriousSam/CmdLine.cpp index 8eb13a3..0c83373 100644 --- a/Sources/SeriousSam/CmdLine.cpp +++ b/Sources/SeriousSam/CmdLine.cpp @@ -1,16 +1,9 @@ -<<<<<<< HEAD /* Copyright (c) 2002-2012 Croteam Ltd. -======= -/* Copyright (c) 2002-2012 Croteam Ltd. ->>>>>>> refs/remotes/origin/working This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation -<<<<<<< HEAD -======= ->>>>>>> refs/remotes/origin/working This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/FileInfo.h b/Sources/SeriousSam/FileInfo.h index c775720..30b70e0 100644 --- a/Sources/SeriousSam/FileInfo.h +++ b/Sources/SeriousSam/FileInfo.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.cpp b/Sources/SeriousSam/GUI/Components/MGArrow.cpp index 49ab7dd..84f0956 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.cpp +++ b/Sources/SeriousSam/GUI/Components/MGArrow.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGArrow.h b/Sources/SeriousSam/GUI/Components/MGArrow.h index 532c94a..e5408e6 100644 --- a/Sources/SeriousSam/GUI/Components/MGArrow.h +++ b/Sources/SeriousSam/GUI/Components/MGArrow.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGButton.cpp b/Sources/SeriousSam/GUI/Components/MGButton.cpp index 2747988..ad1ccca 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGButton.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGButton.h b/Sources/SeriousSam/GUI/Components/MGButton.h index 4b3ea4a..8d83f65 100644 --- a/Sources/SeriousSam/GUI/Components/MGButton.h +++ b/Sources/SeriousSam/GUI/Components/MGButton.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp index c7bad69..931c584 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* C/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h index 8dd0f08..f571237 100644 --- a/Sources/SeriousSam/GUI/Components/MGChangePlayer.h +++ b/Sources/SeriousSam/GUI/Components/MGChangePlayer.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.cpp b/Sources/SeriousSam/GUI/Components/MGEdit.cpp index e41f351..8375668 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.cpp +++ b/Sources/SeriousSam/GUI/Components/MGEdit.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGEdit.h b/Sources/SeriousSam/GUI/Components/MGEdit.h index 86eb385..f995736 100644 --- a/Sources/SeriousSam/GUI/Components/MGEdit.h +++ b/Sources/SeriousSam/GUI/Components/MGEdit.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp index 9597350..cbf9d84 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGFileButton.h b/Sources/SeriousSam/GUI/Components/MGFileButton.h index ca37a05..a5d10dd 100644 --- a/Sources/SeriousSam/GUI/Components/MGFileButton.h +++ b/Sources/SeriousSam/GUI/Components/MGFileButton.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp index 6ab4120..c6272dc 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.cpp +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGHighScore.h b/Sources/SeriousSam/GUI/Components/MGHighScore.h index 0299122..469acd0 100644 --- a/Sources/SeriousSam/GUI/Components/MGHighScore.h +++ b/Sources/SeriousSam/GUI/Components/MGHighScore.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp index a4029dc..4cc9e3f 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h index ef4370f..9291e65 100644 --- a/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h +++ b/Sources/SeriousSam/GUI/Components/MGKeyDefinition.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp index 1c222c8..1077e28 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGLevelButton.h b/Sources/SeriousSam/GUI/Components/MGLevelButton.h index b3392a3..a0f5e80 100644 --- a/Sources/SeriousSam/GUI/Components/MGLevelButton.h +++ b/Sources/SeriousSam/GUI/Components/MGLevelButton.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGModel.cpp b/Sources/SeriousSam/GUI/Components/MGModel.cpp index 2a7eb9e..ee3583b 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.cpp +++ b/Sources/SeriousSam/GUI/Components/MGModel.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGModel.h b/Sources/SeriousSam/GUI/Components/MGModel.h index 30f002e..9cdbc7d 100644 --- a/Sources/SeriousSam/GUI/Components/MGModel.h +++ b/Sources/SeriousSam/GUI/Components/MGModel.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.cpp b/Sources/SeriousSam/GUI/Components/MGServerList.cpp index fa196fc..51a4c40 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.cpp +++ b/Sources/SeriousSam/GUI/Components/MGServerList.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGServerList.h b/Sources/SeriousSam/GUI/Components/MGServerList.h index dc3195a..8932bb2 100644 --- a/Sources/SeriousSam/GUI/Components/MGServerList.h +++ b/Sources/SeriousSam/GUI/Components/MGServerList.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.cpp b/Sources/SeriousSam/GUI/Components/MGSlider.cpp index 105b61f..01a360a 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.cpp +++ b/Sources/SeriousSam/GUI/Components/MGSlider.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* /* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGSlider.h b/Sources/SeriousSam/GUI/Components/MGSlider.h index 5d25b06..eb582d4 100644 --- a/Sources/SeriousSam/GUI/Components/MGSlider.h +++ b/Sources/SeriousSam/GUI/Components/MGSlider.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.cpp b/Sources/SeriousSam/GUI/Components/MGTitle.cpp index f432500..76e0c01 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTitle.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGTitle.h b/Sources/SeriousSam/GUI/Components/MGTitle.h index 534c388..7bb2658 100644 --- a/Sources/SeriousSam/GUI/Components/MGTitle.h +++ b/Sources/SeriousSam/GUI/Components/MGTitle.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp index 4903518..8cd9a11 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.cpp +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGTrigger.h b/Sources/SeriousSam/GUI/Components/MGTrigger.h index e15c4d7..1a5e8f4 100644 --- a/Sources/SeriousSam/GUI/Components/MGTrigger.h +++ b/Sources/SeriousSam/GUI/Components/MGTrigger.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp index a8fa59a..da00dc9 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.cpp +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MGVarButton.h b/Sources/SeriousSam/GUI/Components/MGVarButton.h index 0bda9b2..ec22f83 100644 --- a/Sources/SeriousSam/GUI/Components/MGVarButton.h +++ b/Sources/SeriousSam/GUI/Components/MGVarButton.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp index 929ba17..22ea7fe 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.cpp +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Components/MenuGadget.h b/Sources/SeriousSam/GUI/Components/MenuGadget.h index b4a4fbb..04b30a3 100644 --- a/Sources/SeriousSam/GUI/Components/MenuGadget.h +++ b/Sources/SeriousSam/GUI/Components/MenuGadget.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp index 91f8b72..5c776db 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.cpp +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/GameMenu.h b/Sources/SeriousSam/GUI/Menus/GameMenu.h index b386400..9f53a38 100644 --- a/Sources/SeriousSam/GUI/Menus/GameMenu.h +++ b/Sources/SeriousSam/GUI/Menus/GameMenu.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp index 772ed57..adf9c34 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h index 4d6a592..26d3c13 100644 --- a/Sources/SeriousSam/GUI/Menus/MAudioOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MAudioOptions.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp index bdb21d5..9900950 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.cpp +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MConfirm.h b/Sources/SeriousSam/GUI/Menus/MConfirm.h index b67e97f..a614cba 100644 --- a/Sources/SeriousSam/GUI/Menus/MConfirm.h +++ b/Sources/SeriousSam/GUI/Menus/MConfirm.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MControls.cpp b/Sources/SeriousSam/GUI/Menus/MControls.cpp index 6d2b9b4..747c78f 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.cpp +++ b/Sources/SeriousSam/GUI/Menus/MControls.cpp @@ -1,8 +1,9 @@ -/* Copyright (c) 2002-2012 Croteam Ltd. +/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MControls.h b/Sources/SeriousSam/GUI/Menus/MControls.h index 93f9d2a..99b5794 100644 --- a/Sources/SeriousSam/GUI/Menus/MControls.h +++ b/Sources/SeriousSam/GUI/Menus/MControls.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MCredits.h b/Sources/SeriousSam/GUI/Menus/MCredits.h index a36d139..f76ee91 100644 --- a/Sources/SeriousSam/GUI/Menus/MCredits.h +++ b/Sources/SeriousSam/GUI/Menus/MCredits.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp index 176c7a8..4a3b54e 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h index 5a92719..721bff0 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeAxis.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp index 0290f8b..4a7a000 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h index b67861e..877b40d 100644 --- a/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h +++ b/Sources/SeriousSam/GUI/Menus/MCustomizeKeyboard.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp index 1d88736..e97d0b1 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.cpp +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MDisabled.h b/Sources/SeriousSam/GUI/Menus/MDisabled.h index 32cb7f2..ef705c2 100644 --- a/Sources/SeriousSam/GUI/Menus/MDisabled.h +++ b/Sources/SeriousSam/GUI/Menus/MDisabled.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp index 2cf53a9..4a14a2f 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.cpp +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MHighScore.h b/Sources/SeriousSam/GUI/Menus/MHighScore.h index 7402486..71408d4 100644 --- a/Sources/SeriousSam/GUI/Menus/MHighScore.h +++ b/Sources/SeriousSam/GUI/Menus/MHighScore.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.cpp b/Sources/SeriousSam/GUI/Menus/MInGame.cpp index 0fcaeeb..7b7bf9c 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.cpp +++ b/Sources/SeriousSam/GUI/Menus/MInGame.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MInGame.h b/Sources/SeriousSam/GUI/Menus/MInGame.h index 1b9112e..a047ea6 100644 --- a/Sources/SeriousSam/GUI/Menus/MInGame.h +++ b/Sources/SeriousSam/GUI/Menus/MInGame.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.cpp b/Sources/SeriousSam/GUI/Menus/MLevels.cpp index efae5f1..17fdac1 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLevels.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MLevels.h b/Sources/SeriousSam/GUI/Menus/MLevels.h index a746b50..d6b4957 100644 --- a/Sources/SeriousSam/GUI/Menus/MLevels.h +++ b/Sources/SeriousSam/GUI/Menus/MLevels.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp index 87a3c87..db9ecbe 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MLoadSave.h b/Sources/SeriousSam/GUI/Menus/MLoadSave.h index 1836f69..243c1fe 100644 --- a/Sources/SeriousSam/GUI/Menus/MLoadSave.h +++ b/Sources/SeriousSam/GUI/Menus/MLoadSave.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MMain.cpp b/Sources/SeriousSam/GUI/Menus/MMain.cpp index ea4b475..c7151be 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.cpp +++ b/Sources/SeriousSam/GUI/Menus/MMain.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MMain.h b/Sources/SeriousSam/GUI/Menus/MMain.h index 327a828..3816c8a 100644 --- a/Sources/SeriousSam/GUI/Menus/MMain.h +++ b/Sources/SeriousSam/GUI/Menus/MMain.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp index 05f8596..09d7992 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetwork.h b/Sources/SeriousSam/GUI/Menus/MNetwork.h index 100e13e..25e9836 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetwork.h +++ b/Sources/SeriousSam/GUI/Menus/MNetwork.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp index 1ecdde0..fc53a54 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h index 0b4322f..fa0388a 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkJoin.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp index fe2fe53..3a9b0b9 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h index ba29554..e5d57b0 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkOpen.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp index c967829..415dae7 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h index 401af4d..b599a61 100644 --- a/Sources/SeriousSam/GUI/Menus/MNetworkStart.h +++ b/Sources/SeriousSam/GUI/Menus/MNetworkStart.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.cpp b/Sources/SeriousSam/GUI/Menus/MOptions.cpp index b33ad1a..0462887 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MOptions.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MOptions.h b/Sources/SeriousSam/GUI/Menus/MOptions.h index 283a4f8..e461237 100644 --- a/Sources/SeriousSam/GUI/Menus/MOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MOptions.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp index 7c558d3..42332e6 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h index def0eb9..92343e6 100644 --- a/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h +++ b/Sources/SeriousSam/GUI/Menus/MPlayerProfile.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h index d12c614..4a1c6bd 100644 --- a/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MRenderingOptions.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp index 787f04d..48da973 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h index 4befeed..ea6d68e 100644 --- a/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h +++ b/Sources/SeriousSam/GUI/Menus/MSelectPlayers.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MServers.cpp b/Sources/SeriousSam/GUI/Menus/MServers.cpp index 8a50230..b03032d 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.cpp +++ b/Sources/SeriousSam/GUI/Menus/MServers.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MServers.h b/Sources/SeriousSam/GUI/Menus/MServers.h index 0b24f8f..f0d16dd 100644 --- a/Sources/SeriousSam/GUI/Menus/MServers.h +++ b/Sources/SeriousSam/GUI/Menus/MServers.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp index a4cc27f..a052e63 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h index 2249338..f49a6b9 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayer.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp index 300547f..de00420 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h index 502f190..7100bfb 100644 --- a/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h +++ b/Sources/SeriousSam/GUI/Menus/MSinglePlayerNew.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp index 160ccac..e7e8e5d 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h index 2e6ea97..173de31 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitScreen.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitScreen.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp index 9cdc09f..62b955d 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MSplitStart.h b/Sources/SeriousSam/GUI/Menus/MSplitStart.h index 8cb8597..c0f6618 100644 --- a/Sources/SeriousSam/GUI/Menus/MSplitStart.h +++ b/Sources/SeriousSam/GUI/Menus/MSplitStart.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MVar.cpp b/Sources/SeriousSam/GUI/Menus/MVar.cpp index 44490b5..5b0a820 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVar.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MVar.h b/Sources/SeriousSam/GUI/Menus/MVar.h index cc32d43..1613d9f 100644 --- a/Sources/SeriousSam/GUI/Menus/MVar.h +++ b/Sources/SeriousSam/GUI/Menus/MVar.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp index 7e003db..fbe22d8 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h index 4befd27..29db6be 100644 --- a/Sources/SeriousSam/GUI/Menus/MVideoOptions.h +++ b/Sources/SeriousSam/GUI/Menus/MVideoOptions.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/Menu.cpp b/Sources/SeriousSam/GUI/Menus/Menu.cpp index b4ea791..355a8c1 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.cpp +++ b/Sources/SeriousSam/GUI/Menus/Menu.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/Menu.h b/Sources/SeriousSam/GUI/Menus/Menu.h index 920a670..aba8393 100644 --- a/Sources/SeriousSam/GUI/Menus/Menu.h +++ b/Sources/SeriousSam/GUI/Menus/Menu.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp index b5c8ab9..f1398f8 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuActions.h b/Sources/SeriousSam/GUI/Menus/MenuActions.h index 0a82848..954b054 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuActions.h +++ b/Sources/SeriousSam/GUI/Menus/MenuActions.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.cpp b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp index 4cf434a..4e2e81e 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuManager.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuManager.h b/Sources/SeriousSam/GUI/Menus/MenuManager.h index 6ee755e..33820ac 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuManager.h +++ b/Sources/SeriousSam/GUI/Menus/MenuManager.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp index 4312a61..35921d9 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStarters.h b/Sources/SeriousSam/GUI/Menus/MenuStarters.h index 3ae8265..6139174 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStarters.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStarters.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp index bb951c3..b4b96a0 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h index 82f96af..bda67c8 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStartersAF.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp index 4866a6d..3964701 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.cpp @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the diff --git a/Sources/SeriousSam/GUI/Menus/MenuStuff.h b/Sources/SeriousSam/GUI/Menus/MenuStuff.h index a51d69c..80a127d 100644 --- a/Sources/SeriousSam/GUI/Menus/MenuStuff.h +++ b/Sources/SeriousSam/GUI/Menus/MenuStuff.h @@ -3,6 +3,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the