and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6078 $ (Revision of last commit) $Date: 2014-08-02 22:55:34 +0200 (Sat, 02 Aug 2014) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: ModInfo.cpp 6078 2014-08-02 20:55:34Z grayman $"); #include "ModInfo.h" #include "ModInfoDecl.h" #include <boost/filesystem.hpp> namespace fs = boost::filesystem; std::size_t CModInfo::GetModFolderSize() { if (_modFolderSizeComputed) { return _modFolderSize; } _modFolderSizeComputed = true;
or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5993 $ (Revision of last commit) $Date: 2014-05-13 04:23:48 +0200 (Tue, 13 May 2014) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop #pragma warning(disable : 4533 4800) static bool versioned = RegisterVersionedFile("$Id: Inventory.cpp 5993 2014-05-13 02:23:48Z grayman $"); #include "Inventory.h" #include "WeaponItem.h" #include "../Game_local.h" #include "../Objectives/MissionData.h" #include "../Shop/Shop.h" // grayman (#2376) static idStr sLootTypeName[LOOT_COUNT] = { "loot_none", "loot_jewels", "loot_gold", "loot_goods"
The Dark Mod Source Code 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 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5668 $ (Revision of last commit) $Date: 2013-01-01 18:43:51 +0200 (Tue, 01 Jan 2013) $ (Date of last commit) $Author: tels $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: ResponseEffect.cpp 5668 2013-01-01 16:43:51Z tels $"); #include "ResponseEffect.h" /********************************************************************/ /* CResponseEffect */ /********************************************************************/ CResponseEffect::CResponseEffect( const function_t* scriptFunction, const idStr& effectPostfix, const idStr& scriptName , bool localScript) : _scriptFunction(scriptFunction), _scriptName(scriptName), _effectPostfix(effectPostfix),
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5185 $ (Revision of last commit) $Date: 2012-01-08 07:59:48 +0200 (Sun, 08 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: PlayerIcon.cpp 5185 2012-01-08 05:59:48Z greebo $"); #include "Game_local.h" #include "PlayerIcon.h" static const char * iconKeys[ ICON_NONE ] = { "mtr_icon_lag", "mtr_icon_chat" }; /* =============== idPlayerIcon::idPlayerIcon =============== */ idPlayerIcon::idPlayerIcon() {
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5219 $ (Revision of last commit) $Date: 2012-01-17 21:13:07 +0200 (Tue, 17 Jan 2012) $ (Date of last commit) $Author: serpentine $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: win_input.cpp 5219 2012-01-17 19:13:07Z serpentine $"); #include "win_local.h" #define DINPUT_BUFFERSIZE 256 #define CHAR_FIRSTREPEAT 200 #define CHAR_REPEAT 100 typedef struct MYDATA { LONG lX; // X axis goes here LONG lY; // Y axis goes here LONG lZ; // Z axis goes here BYTE bButtonA; // One button goes here BYTE bButtonB; // Another button goes here
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: DRAG.CPP 5171 2012-01-07 08:08:06Z greebo $"); #include "qe3.h" #include "splines.h" /* drag either multiple brushes, or select plane points from a single brush. */ bool g_moveOnly = false; bool drag_ok; idVec3 drag_xvec; idVec3 drag_yvec; static int buttonstate; int pressx, pressy; static idVec3 pressdelta; static idVec3 vPressStart; static int buttonx, buttony;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6106 $ (Revision of last commit) $Date: 2014-09-18 21:50:00 +0200 (Thu, 18 Sep 2014) $ (Date of last commit) $Author: stevel $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: MeleeWeapon.cpp 6106 2014-09-18 19:50:00Z stevel $"); #include "Game_local.h" #include "Grabber.h" #include "DarkModGlobals.h" #include "MeleeWeapon.h" CLASS_DECLARATION( idMoveable, CMeleeWeapon ) END_CLASS const int CONTENTS_MELEE_WORLDCOLLIDE = MASK_SHOT_RENDERMODEL | CONTENTS_MELEEWEAP | CONTENTS_CORPSE; const int CONTENTS_MELEE_ACTCOLLIDE = CONTENTS_MELEEWEAP | CONTENTS_BODY; // parries/held items, AI CMeleeWeapon::CMeleeWeapon( void ) { m_Owner = NULL;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: SimpleWindow.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "DeviceContext.h" #include "Window.h" #include "UserInterfaceLocal.h" #include "SimpleWindow.h" idSimpleWindow::idSimpleWindow(idWindow *win) { gui = win->GetGui(); dc = win->dc; drawRect = win->drawRect; clientRect = win->clientRect; textRect = win->textRect; origin = win->origin; fontNum = win->fontNum;
The Dark Mod Source Code 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 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: draw_nv10.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "tr_local.h" /* ================== RB_RenderInteraction backEnd.vLight backEnd.lightScale backEnd.depthFunc must be equal for alpha tested surfaces to work right, it is set to lessThan for blended transparent surfaces
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6010 $ (Revision of last commit) $Date: 2014-05-22 13:49:10 +0200 (Thu, 22 May 2014) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: CombatState.cpp 6010 2014-05-22 11:49:10Z grayman $"); #include "CombatState.h" #include "../Memory.h" #include "../../AIComm_Message.h" //#include "../Tasks/RandomHeadturnTask.h" #include "../Tasks/ChaseEnemyTask.h" #include "../Tasks/SingleBarkTask.h" #include "../Tasks/MeleeCombatTask.h" #include "../Tasks/RangedCombatTask.h" #include "../Tasks/ChaseEnemyRangedTask.h" #include "LostTrackOfEnemyState.h" #include "AgitatedSearchingState.h" #include "FleeState.h" #include "../Library.h"
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6343 $ (Revision of last commit) $Date: 2014-12-06 15:25:26 +0200 (Sat, 06 Dec 2014) $ (Date of last commit) $Author: stevel $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: PlayerView.cpp 6343 2014-12-06 13:25:26Z stevel $"); #include "Game_local.h" #include <boost/bind.hpp> static int MakePowerOfTwo( int num ) { int pot; for (pot = 1 ; pot < num ; pot<<=1) {} return pot; } const int IMPULSE_DELAY = 150;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6439 $ (Revision of last commit) $Date: 2015-01-01 17:19:10 +0200 (Thu, 01 Jan 2015) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: AgitatedSearchingState.cpp 6439 2015-01-01 15:19:10Z grayman $"); #include "AgitatedSearchingState.h" #include "../Memory.h" #include "../Tasks/InvestigateSpotTask.h" #include "../Tasks/SingleBarkTask.h" #include "../Tasks/RepeatedBarkTask.h" #include "../Tasks/WaitTask.h" #include "../Tasks/IdleAnimationTask.h" // grayman #3857 #include "CombatState.h" #include "../Library.h" #include "../../AbsenceMarker.h" #include "../../AIComm_Message.h" namespace ai {
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: DialogSoundGroup.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "../../sys/win32/rc/SoundEditor_resource.h" #include "DialogSoundGroup.h" ///////////////////////////////////////////////////////////////////////////// // CDialogSoundGroup dialog CDialogSoundGroup::CDialogSoundGroup(CWnd* pParent /*=NULL*/) : CDialog(CDialogSoundGroup::IDD, pParent) { //{{AFX_DATA_INIT(CDialogSoundGroup) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT
The Dark Mod Source Code 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 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: Model_md3.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "tr_local.h" #include "Model_local.h" #include "Model_md3.h" /*********************************************************************** idMD3Mesh ***********************************************************************/ #define LL(x) x=LittleLong(x) /* =================
******************************************************************************/ // Copyright (C) 2004 Id Software, Inc. // /* Base class for all C++ objects. Provides fast run-time type checking and run-time instancing of objects. */ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: Class.cpp 5679 2013-01-12 12:27:27Z tels $"); #include "../Game_local.h" #include "../Grabber.h" #include "TypeInfo.h" /*********************************************************************** idTypeInfo ***********************************************************************/ // this is the head of a singly linked list of all the idTypes static idTypeInfo *typelist = NULL;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5729 $ (Revision of last commit) $Date: 2013-03-29 04:37:09 +0200 (Fri, 29 Mar 2013) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: MoveToCoverTask.cpp 5729 2013-03-29 02:37:09Z grayman $"); #include "../Memory.h" #include "MoveToCoverTask.h" #include "../Library.h" namespace ai { // Get the name of this task const idStr& MoveToCoverTask::GetName() const { static idStr _name(TASK_MOVE_TO_COVER); return _name; }
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5901 $ (Revision of last commit) $Date: 2013-11-04 21:52:47 +0200 (Mon, 04 Nov 2013) $ (Date of last commit) $Author: taaaki $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: CmdSystem.cpp 5901 2013-11-04 19:52:47Z taaaki $"); /* =============================================================================== idCmdSystemLocal =============================================================================== */ typedef struct commandDef_s { struct commandDef_s * next; char * name; cmdFunction_t function; argCompletion_t argCompletion; int flags;
The Dark Mod Source Code 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 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: ConsoleView.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "ConsoleView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif #define EDIT_HEIGHT 25 IMPLEMENT_DYNCREATE(ConsoleView, CFormView) BEGIN_MESSAGE_MAP(ConsoleView, CFormView) ON_WM_SIZE() END_MESSAGE_MAP()
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: AASCluster.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "AASFile.h" #include "AASFile_local.h" #include "AASCluster.h" /* ================ idAASCluster::UpdatePortal ================ */ bool idAASCluster::UpdatePortal( int areaNum, int clusterNum ) { int portalNum; aasPortal_t *portal;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 6464 $ (Revision of last commit) $Date: 2015-01-24 14:18:48 +0200 (Sat, 24 Jan 2015) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: BrittleFracture.cpp 6464 2015-01-24 12:18:48Z grayman $"); #include "Game_local.h" #include "SndProp.h" #include "Objectives/MissionData.h" #include "StimResponse/StimResponseCollection.h" const idEventDef EV_UpdateSoundLoss( "_updateSoundLoss", EventArgs(), EV_RETURNS_VOID, "internal" ); const idEventDef EV_DampenSound( "dampenSound", EventArgs('d', "dampen", "1 = dampened, 0 = not dampened"), EV_RETURNS_VOID, "Toggle whether the shattering sound is dampened on the window,\n" \ "e.g., when covered by moss." ); CLASS_DECLARATION( idEntity, idBrittleFracture ) EVENT( EV_Activate, idBrittleFracture::Event_Activate ) EVENT( EV_Touch, idBrittleFracture::Event_Touch ) EVENT( EV_UpdateSoundLoss, idBrittleFracture::UpdateSoundLoss )
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5292 $ (Revision of last commit) $Date: 2012-02-23 18:17:34 +0200 (Thu, 23 Feb 2012) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: Push.cpp 5292 2012-02-23 16:17:34Z grayman $"); #include "../Game_local.h" /* ============ idPush::InitSavingPushedEntityPositions ============ */ void idPush::InitSavingPushedEntityPositions( void ) { numPushed = 0; } /* ============
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5185 $ (Revision of last commit) $Date: 2012-01-08 07:59:48 +0200 (Sun, 08 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: HidingSpotSearchCollection.cpp 5185 2012-01-08 05:59:48Z greebo $"); #include "./HidingSpotSearchCollection.h" //-------------------------------------------------------------------- // Constructor CHidingSpotSearchCollection::CHidingSpotSearchCollection() : highestSearchId(0) {} //-------------------------------------------------------------------- CHidingSpotSearchCollection& CHidingSpotSearchCollection::Instance() {
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: GEOptionsDlg.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "../../sys/win32/rc/guied_resource.h" #include "../common/ColorButton.h" #include "GEApp.h" /* ================ GEOptionsDlg_GeneralProc Dialog procedure for the general options tab ================ */ static INT_PTR CALLBACK GEOptionsDlg_GeneralProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ) {
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5292 $ (Revision of last commit) $Date: 2012-02-23 18:17:34 +0200 (Thu, 23 Feb 2012) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: MultiStateMoverPosition.cpp 5292 2012-02-23 16:17:34Z grayman $"); #include "MultiStateMoverPosition.h" #include "MultiStateMoverButton.h" #include "MultiStateMover.h" CLASS_DECLARATION( idEntity, CMultiStateMoverPosition ) EVENT( EV_PostSpawn, CMultiStateMoverPosition::Event_PostSpawn ) END_CLASS void CMultiStateMoverPosition::Spawn() { PostEventMS(&EV_PostSpawn, 4); } void CMultiStateMoverPosition::Event_PostSpawn()
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5171 $ (Revision of last commit) $Date: 2012-01-07 10:08:06 +0200 (Sat, 07 Jan 2012) $ (Date of last commit) $Author: greebo $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: facebsp.cpp 5171 2012-01-07 08:08:06Z greebo $"); #include "dmap.h" int c_faceLeafs; extern int c_nodes; void RemovePortalFromNode( uPortal_t *portal, node_t *l ); node_t *NodeForPoint( node_t *node, idVec3 origin ) { float d; while( node->planenum != PLANENUM_LEAF ) { idPlane &plane = dmapGlobals.mapPlanes[node->planenum];
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5466 $ (Revision of last commit) $Date: 2012-05-31 06:50:30 +0200 (Thu, 31 May 2012) $ (Date of last commit) $Author: serpentine $ (Author of last commit) ******************************************************************************/ #include "precompiled_engine.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: Model_prt.cpp 5466 2012-05-31 04:50:30Z serpentine $"); #include "tr_local.h" #include "Model_local.h" static const char *parametricParticle_SnapshotName = "_ParametricParticle_Snapshot_"; /* ==================== idRenderModelPrt::idRenderModelPrt ==================== */ idRenderModelPrt::idRenderModelPrt() { particleSystem = NULL; }
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5943 $ (Revision of last commit) $Date: 2014-03-18 23:39:30 +0200 (Tue, 18 Mar 2014) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: Intersection.cpp 5943 2014-03-18 21:39:30Z grayman $"); // #include "math.h" #include "DarkModGlobals.h" #include "Intersection.h" // grayman #3584 - use this version for illumination purposes EIntersection IntersectLinesegmentLightEllipsoid(const idVec3 Segment[LSG_COUNT], const idVec3 Ellipsoid[ELL_COUNT], idVec3 Contained[2], bool bInside[LSG_COUNT]) { EIntersection rc = INTERSECT_COUNT; float fRoot; float fInvA; float afT[2] = { 0.0, 0.0 }; // OrbWeaver: "may be used uninitialised" warning float riQuantity;
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5363 $ (Revision of last commit) $Date: 2012-04-01 14:08:35 -0400 (Sun, 01 Apr 2012) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile("$Id: PocketPickedState.cpp 5363 2012-04-01 18:08:35Z grayman $"); #include "../Tasks/SingleBarkTask.h" #include "PocketPickedState.h" #include "ConversationState.h" // grayman #3559 namespace ai { PocketPickedState::PocketPickedState() {} // Get the name of this state const idStr& PocketPickedState::GetName() const { static idStr _name(STATE_POCKET_PICKED);
and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision$ (Revision of last commit) $Date$ (Date of last commit) $Author$ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop static bool versioned = RegisterVersionedFile( "$Id$" ); #include "CommWaitTask.h" #include "../Memory.h" #include "../Library.h" namespace ai { CommWaitTask::CommWaitTask() : CommunicationTask( "" ), _duration( 0 ), _endTime( -1 ) { } CommWaitTask::CommWaitTask( int duration, int priority ) : CommunicationTask( "" ), _duration( duration ),
or (at your option) any later version. For details, see LICENSE.TXT. Project: The Dark Mod (http://www.thedarkmod.com/) $Revision: 5994 $ (Revision of last commit) $Date: 2014-05-13 17:07:43 +0200 (Tue, 13 May 2014) $ (Date of last commit) $Author: grayman $ (Author of last commit) ******************************************************************************/ #include "precompiled_game.h" #pragma hdrstop #pragma warning(disable : 4533 4800) static bool versioned = RegisterVersionedFile("$Id: InventoryItem.cpp 5994 2014-05-13 15:07:43Z grayman $"); #include "InventoryItem.h" #include "Inventory.h" #include <algorithm> CInventoryItem::CInventoryItem(idEntity *owner) { m_Owner = owner; m_Item = NULL; m_Category = NULL; m_Type = IT_ITEM; m_LootType = LOOT_NONE; m_Value = 0; m_Stackable = false; m_Count = 1;