Changed: Typo fixes and French comments translated to English (Thanks to DuDraig!)
This commit is contained in:
parent
25a222876b
commit
28b160bcb8
89 changed files with 175 additions and 178 deletions
|
@ -209,7 +209,7 @@ CAnimatedSceneObject::CAnimatedSceneObject( const CEntityId& Id, const list < st
|
|||
current.identity ();
|
||||
current.setRot (_Rotation);
|
||||
|
||||
// Rotation 90°
|
||||
// Rotation 90 degrees
|
||||
CMatrix rot90;
|
||||
rot90.identity ();
|
||||
rot90.rotateZ (-(float)Pi/2);
|
||||
|
@ -322,7 +322,7 @@ void CAnimatedSceneObject::resetInitialPos( void )
|
|||
current.identity ();
|
||||
current.setRot (_Rotation);
|
||||
|
||||
// Rotation 90°
|
||||
// Rotation 90 degrees
|
||||
CMatrix rot90;
|
||||
rot90.identity ();
|
||||
rot90.rotateZ (-(float)Pi/2);
|
||||
|
@ -741,7 +741,7 @@ void CAnimatedSceneObject::removeOffsetAnimation ()
|
|||
// Remove the first frame animation
|
||||
current *= firstFrame;
|
||||
|
||||
// Rotation 90°
|
||||
// Rotation 90 degrees
|
||||
CMatrix rot90;
|
||||
rot90.identity ();
|
||||
rot90.rotateZ (-(float)Pi/2);
|
||||
|
|
|
@ -98,7 +98,7 @@ public:
|
|||
// Process logic and displacement and setup visual animation
|
||||
void applyObjectAnimationTimeslice( double time );
|
||||
|
||||
// manage animation start, if they are many animation, we choose one randomly (TODO: add contrôle to animation launched and manage some mode (loop, repeat number, sequences..)
|
||||
// manage animation start, if they are many animation, we choose one randomly (TODO: add control to animation launched and manage some mode (loop, repeat number, sequences..)
|
||||
void manageObjectAnimation( double Time, NLMISC::CVector userPos );
|
||||
|
||||
// update (add to end list) Animation sequence with sequence
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJ60Lib.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJCaption.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
//
|
||||
// DevStudio Style Resizable Docking Control Bar.
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -29,7 +29,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJDockBar.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJDockContext.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJExplorerBar.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFlatButton.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFlatComboBox.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJHeaderCtrl.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFrameWnd.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJListCtrl.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJListView.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJMDIFrameWnd.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJMiniDockFrameWnd.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJOutlookBar.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJPagerCtrl.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJCJSearchEdit.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJSizeDockBar.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
// mailto:dirk_clemens@hotmail.com
|
||||
// http://www.codeguru.com/docking/sizing_tabctrl_bar.shtml
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -34,7 +34,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJToolBar.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// SHFileInfo.h : header file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJ60Lib.cpp : Defines the initialization routines for the DLL.
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
@ -127,7 +127,7 @@ bool GetVerComCtl32()
|
|||
if (iVerComCtl32 < 471)
|
||||
{
|
||||
CString str;
|
||||
str.Format(_T("Copyright © 1998-99 Kirk Stowell\nmailto:kstowell@codejockeys.com - http://www.codejockeys.com/kstowell/\n\nCode Jockey's CJ60 extension library requires ComCtl32.dll, version 4.71 or later. The curent version found on this system is %d.%d.%d. To get the latest version of ComCtl32.dll visit Microsoft's site at:\n\nhttp://www.microsoft.com/msdn/downloads/files/40comupd.htm"), dvi.dwMajorVersion, dvi.dwMinorVersion, dvi.dwBuildNumber);
|
||||
str.Format(_T("Copyright (c) 1998-99 Kirk Stowell\nmailto:kstowell@codejockeys.com - http://www.codejockeys.com/kstowell/\n\nCode Jockey's CJ60 extension library requires ComCtl32.dll, version 4.71 or later. The curent version found on this system is %d.%d.%d. To get the latest version of ComCtl32.dll visit Microsoft's site at:\n\nhttp://www.microsoft.com/msdn/downloads/files/40comupd.htm"), dvi.dwMajorVersion, dvi.dwMinorVersion, dvi.dwBuildNumber);
|
||||
AfxMessageBox(str, MB_ICONSTOP);
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJCaption.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
//
|
||||
// DevStudio Style Resizable Docking Control Bar.
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -29,7 +29,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJDockBar.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJDockContext.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJExplorerBar.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFlatButton.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFlatComboBox.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFlatHeaderCtrl.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJFrameWnd.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJListCtrl.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJListView.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJMDIFrameWnd.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJMiniDockFrameWnd.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJOutlookBar.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJPagerCtrl.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJSearchEdit.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJSizeDockBar.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
// mailto:dirk_clemens@hotmail.com
|
||||
// http://www.codeguru.com/docking/sizing_tabctrl_bar.shtml
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -34,7 +34,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// CJToolBar.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
// SHFileInfo.cpp : implementation file
|
||||
//
|
||||
// Copyright © 1998-99 Kirk Stowell
|
||||
// Copyright (c) 1998-99 Kirk Stowell
|
||||
// mailto:kstowell@codejockeys.com
|
||||
// http://www.codejockeys.com/kstowell/
|
||||
//
|
||||
|
@ -27,7 +27,7 @@
|
|||
// notices remain intact. If the source code is used in any commercial
|
||||
// applications then a statement along the lines of:
|
||||
//
|
||||
// "Portions Copyright © 1998-99 Kirk Stowell" must be included in the
|
||||
// "Portions Copyright (c) 1998-99 Kirk Stowell" must be included in the
|
||||
// startup banner, "About" box or printed documentation. An email letting
|
||||
// me know that you are using it would be nice as well. That's not much to ask
|
||||
// considering the amount of work that went into this.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// Copyright (C) 1997, 1998 Chris Maunder
|
||||
// All rights reserved. May not be sold for profit.
|
||||
//
|
||||
// Thanks to Pål K. Tønder for auto-size and window caption changes.
|
||||
// Thanks to Pal K. Tonder for auto-size and window caption changes.
|
||||
//
|
||||
// "GotoURL" function by Stuart Patterson
|
||||
// As seen in the August, 1997 Windows Developer's Journal.
|
||||
|
@ -297,7 +297,7 @@ BOOL CHyperLink::GetAutoSize() const
|
|||
// then the window is merely shrunk, but if it is centred or right
|
||||
// justified then the window will have to be moved as well.
|
||||
//
|
||||
// Suggested by Pål K. Tønder
|
||||
// Suggested by Pal K. Tonder
|
||||
|
||||
void CHyperLink::PositionWindow()
|
||||
{
|
||||
|
|
|
@ -1604,7 +1604,7 @@ void CSceneParser::updateParticlesActor(float difTime, CParticle &particle, UAni
|
|||
return;
|
||||
}
|
||||
|
||||
// Matrix 90°
|
||||
// Matrix 90 degrees
|
||||
CMatrix m90;
|
||||
m90.identity();
|
||||
m90.rotateZ((float)(Pi/2.0));
|
||||
|
|
|
@ -278,7 +278,7 @@ void CStageSet::serial(class NLMISC::IStream &f) throw(NLMISC::EStream)
|
|||
|
||||
//-----------------------------------------------
|
||||
// removePosWithNoMode :
|
||||
// Remove ¨Positions except for those with a mode.
|
||||
// Remove Positions except for those with a mode.
|
||||
//-----------------------------------------------
|
||||
void CStageSet::removePosWithNoMode()
|
||||
{
|
||||
|
|
|
@ -146,7 +146,7 @@ public:
|
|||
|
||||
/// Serialize entities.
|
||||
virtual void serial(class NLMISC::IStream &f) throw(NLMISC::EStream);
|
||||
/// Remove ¨Positions except for those with a mode.
|
||||
/// Remove Positions except for those with a mode.
|
||||
void removePosWithNoMode();
|
||||
};
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ std::string CAliasTreeOwner::getAliasFullName() const
|
|||
if (_AliasTree)
|
||||
return _AliasTree->fullName();
|
||||
|
||||
return getName(); // à upgrader ..
|
||||
return getName(); // to upgrade...
|
||||
}
|
||||
|
||||
inline
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "stdpch.h"
|
||||
#if 0
|
||||
#error "Dêprecated"
|
||||
#error "Deprecated"
|
||||
//#include "bot_chat_interface.h"
|
||||
#include "game_share/synchronised_message.h"
|
||||
#include "game_share/bot_chat_types.h"
|
||||
|
|
|
@ -2420,7 +2420,7 @@ bool pathFind(const CNpcZone *const start, const CNpcZone *const end, const CPro
|
|||
|
||||
if (it == openList.end())
|
||||
{
|
||||
//If it isn’t on the open list, add it to the open list.
|
||||
// If it isn't on the open list, add it to the open list.
|
||||
// Make the current square the parent of this square.
|
||||
// Record the F, G, and H costs of the square.
|
||||
|
||||
|
|
|
@ -506,9 +506,9 @@ void CFamilyBehavior::update(uint32 nbTicks)
|
|||
|
||||
const EGSPD::CSeason::TSeason season=CTimeInterface::season();
|
||||
|
||||
if ( season<EGSPD::CSeason::Invalid // et si on est à une saison valide ..
|
||||
if ( season<EGSPD::CSeason::Invalid // if valid season
|
||||
&& gd->isValidForSeason(season) )
|
||||
break; // pas de raison de despawner.
|
||||
break; // no reason to despawn
|
||||
|
||||
if (!alreadyDespawned)
|
||||
grp->getSpawnObj()->despawnBots(false); // not ok, despawn this group ..
|
||||
|
|
|
@ -77,7 +77,7 @@ void CKnapsackSolver::optimize(float wMax, Algorithm algorithm)
|
|||
}
|
||||
|
||||
/// Algorithm is taken from http://eleves.ensmp.fr/P00/00rouaul/sacados/sacados_swp.html
|
||||
/// This algorithm complexity is O(N²)
|
||||
/// This algorithm complexity is O(N^2)
|
||||
void CKnapsackSolver::optimizeOptimal()
|
||||
{
|
||||
H_AUTO(CKnapsackSolver_optimizeOptimal);
|
||||
|
@ -187,7 +187,7 @@ void CKnapsackSolver::optimizeFastAddCheck()
|
|||
}
|
||||
|
||||
/// First try FullAddCheck, then try to replace the already taken elements with not taken ones.
|
||||
/// This algorithm complexity is Theta(N²)
|
||||
/// This algorithm complexity is Theta(N^2)
|
||||
void CKnapsackSolver::optimizeFullSingleReplace()
|
||||
{
|
||||
optimizeFullAddCheck();
|
||||
|
@ -231,7 +231,7 @@ void CKnapsackSolver::optimizeFullSingleReplace()
|
|||
/// First try FastAddCheck, and if it fails optimizing try to replace a not
|
||||
/// taken one with an already taken element (the worst one) until a
|
||||
/// replacement occurs.
|
||||
/// This algorithm complexity is Theta(N²) and O(N²) for CTargetable
|
||||
/// This algorithm complexity is Theta(N^2) and O(N^2) for CTargetable
|
||||
void CKnapsackSolver::optimizeSingleReplace()
|
||||
{
|
||||
float vBest = _VBest;
|
||||
|
@ -278,7 +278,7 @@ void CKnapsackSolver::optimizeSingleReplace()
|
|||
|
||||
/// First try FastAddCheck, and if it fails optimizing try to replace the
|
||||
/// first not taken element with an already taken element (the worst one).
|
||||
/// This algorithm complexity is O(N²) and Theta(N) for CTargetable
|
||||
/// This algorithm complexity is O(N^2) and Theta(N) for CTargetable
|
||||
void CKnapsackSolver::optimizeFastSingleReplace()
|
||||
{
|
||||
float vBest = _VBest;
|
||||
|
@ -326,7 +326,7 @@ void CKnapsackSolver::optimizeFastSingleReplace()
|
|||
/// First try FastAddCheck, and if it fails optimizing try to replace the
|
||||
/// first not taken element with an already taken one (the first worst that
|
||||
/// the not taken one).
|
||||
/// This algorithm complexity is O(N²) and O(N) for CTargetable
|
||||
/// This algorithm complexity is O(N^2) and O(N) for CTargetable
|
||||
void CKnapsackSolver::optimizeVeryFastSingleReplace()
|
||||
{
|
||||
float vBest = _VBest;
|
||||
|
|
|
@ -981,7 +981,7 @@ Arguments: s(phraseName),s(phraseContent) ->
|
|||
@param[in] phraseContent is the text associated with the phrase
|
||||
|
||||
@code
|
||||
()setSimplePhrase("HELLO", "Salut, ca va ?"); // équivalent à "HELLO(){[Salut, ca va ?]}"
|
||||
()setSimplePhrase("HELLO", "Hi, how are you?"); // equivalent to "HELLO(){[Hi, how are you?]}"
|
||||
@endcode
|
||||
|
||||
*/
|
||||
|
|
|
@ -419,7 +419,7 @@ reStartFollowTopo:
|
|||
|
||||
bool idealIsValid = true;
|
||||
|
||||
if (absDeltaIdealAngle>(32768*67.5/180)) // /*97*/ si un peu plus de 95 degrés de difference.
|
||||
if (absDeltaIdealAngle>(32768*67.5/180)) // /*97*/ if a difference of slightly more than 95 degrees.
|
||||
{
|
||||
idealIsValid = false;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ using namespace NLMISC;
|
|||
//////////////////////////////////////////////////////////////////////////
|
||||
// A Small Custom Compiler For AI.
|
||||
// (Token and Grammar are Upgradable, Error returns have to be upgraded).
|
||||
// Ask to Stéphane Le Dorze for Explanations.
|
||||
// Ask to Stephane Le Dorze for Explanations.
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
namespace AICOMP
|
||||
|
|
|
@ -93,7 +93,7 @@ print("Ma position est ", x, ":", y);
|
|||
You can dynamically define function on the group.
|
||||
|
||||
This function are called <em>script function</em> or <em>user function</em>
|
||||
(as opposed to the hard coded ‘native function’).
|
||||
(as opposed to the hard coded "native function").
|
||||
|
||||
User functions don't have parameters.
|
||||
|
||||
|
@ -120,7 +120,7 @@ E.g.:
|
|||
mavar =(5*mavar+1)/3;
|
||||
@endcode
|
||||
Note that the negative operator should be used with caution, YOU MUST add a
|
||||
space after the ‘-‘ symbol.
|
||||
space after the "-" symbol.
|
||||
|
||||
You can do comparison with variables and or numbers (can be used for if and
|
||||
while statements). Note that you can't do mathematical computation inside the
|
||||
|
|
|
@ -1052,7 +1052,7 @@ void CScriptVM::interpretCode(
|
|||
}
|
||||
continue;
|
||||
}
|
||||
nlassert(false); // must use continue !! Non implementé.
|
||||
nlassert(false); // must use continue !! Not implemented.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ CSlot const& CSlot::operator ++()
|
|||
* \date 2003
|
||||
*/
|
||||
class CCellLinkage
|
||||
// passer les paramètres de CCellLinkage en références. (quand meme) et enlever les tests de validité. (grosse mise à jour en perspective).
|
||||
// pass CCellLinkage parameters by references. (anyway) and remove validation checks. (big update to come).
|
||||
{
|
||||
public:
|
||||
enum
|
||||
|
|
|
@ -2415,7 +2415,7 @@ void cbClientWho( NLNET::CMessage& msgin, const std::string &serviceName, NLNET:
|
|||
msgin.serial( id,opt );
|
||||
const std::vector<CEntityId> * gms = NULL;
|
||||
|
||||
// Make sure opt is not like "A(c)" for "é"
|
||||
// Make sure opt is not like "A(c)" for e acute
|
||||
ucstring ucopt;
|
||||
ucopt.fromUtf8(opt);
|
||||
opt = ucopt.toString();
|
||||
|
|
|
@ -318,7 +318,7 @@ void CStaticBrick::readStaticBrick( const NLGEORGES::UFormElm &root, const NLMIS
|
|||
isAIBrick = true;
|
||||
}
|
||||
|
||||
/// TODO : converti les strings de paramètres en minuscules à la lecture
|
||||
/// TODO : convert parameters strings in lowercase when reading
|
||||
|
||||
// FamilyId
|
||||
//if( root.getValueByName (value, "Basics.FamilyId") )
|
||||
|
|
|
@ -776,7 +776,7 @@ public:
|
|||
/**
|
||||
* remove an effect on this entity. The effect is not deleted.
|
||||
* \param effect the effect to remove
|
||||
* \param activateSpleepîngEffect activate or not sleeping effects of the same family, default = true, only false when clearing all effects
|
||||
* \param activateSpleepingEffect activate or not sleeping effects of the same family, default = true, only false when clearing all effects
|
||||
* \return true if no other effect of this family is active, false otherwise
|
||||
*/
|
||||
virtual bool removeSabrinaEffect( CSEffect *effect, bool activateSleepingEffect = true );
|
||||
|
|
|
@ -250,8 +250,8 @@ void CMissionStepQueueEnd::onActivation(CMission* inst,uint32 stepIndex, std::li
|
|||
inst->setCriticalPartEndDate(0);
|
||||
}
|
||||
|
||||
// dès que ce step est actif il doit etre validé et on passe a la suite
|
||||
//->genere un event qui valide ce step
|
||||
// as soon as this step is activated, it must be validated and we go to the next
|
||||
//->generate an event that validates this step
|
||||
CMissionEventQueueExit *event = new CMissionEventQueueExit();
|
||||
if (event != NULL)
|
||||
eventList.push_back(event);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* \author Nicolas Brigand
|
||||
* \author Olivier Cado
|
||||
* \author Sebastien Guignot
|
||||
* \author Jérôme Vuarand
|
||||
* \author Jerome Vuarand
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* \author Nicolas Brigand
|
||||
* \author Olivier Cado
|
||||
* \author Sebastien Guignot
|
||||
* \author Jérôme Vuarand
|
||||
* \author Jerome Vuarand
|
||||
* \author Nevrax France
|
||||
* \date 2005
|
||||
*/
|
||||
|
|
|
@ -736,7 +736,7 @@ uint CFgProspectionPhrase::generateSources( CCharacter *player )
|
|||
pos.z = 0; // to keep consistency with deposit maps
|
||||
bool fromNeighbourhood;
|
||||
fromNeighbourhood = (_ForageRange < 3.0f);
|
||||
if ( (_ForageRange < 3.0f) && (_ForageAngle < 0.35) ) // <21°
|
||||
if ( (_ForageRange < 3.0f) && (_ForageAngle < 0.35) ) // <21 degrees
|
||||
_NbAttempts = 1;
|
||||
|
||||
// Get weather
|
||||
|
|
|
@ -621,10 +621,10 @@ void CMagicActionBasicDamage::launch(
|
|||
H_AUTO(CMagicActionBasicDamage_launch);
|
||||
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
if ( successFactor <= 0.0f )
|
||||
|
|
|
@ -86,10 +86,10 @@ protected:
|
|||
{
|
||||
NL_ALLOC_CONTEXT(MADSAPY);
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
/// test resistance
|
||||
|
|
|
@ -176,10 +176,10 @@ protected:
|
|||
return;
|
||||
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
if ( successFactor <= 0.0f )
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
/**
|
||||
* Database Node which contains a set of properties
|
||||
* \author Stéphane Coutelas, Olivier Cado
|
||||
* \author Stephane Coutelas, Olivier Cado
|
||||
* \author Nevrax France
|
||||
* \date 2002, 2003
|
||||
*/
|
||||
|
|
|
@ -858,13 +858,13 @@ void CDistancePrioritizer::arbitrateForageSourceDiscreetProperties(const CPrope
|
|||
inline void CDistancePrioritizer::arbitrateCommonPosAndMode(const CPropertyHistory::CEntityEntry& entry)
|
||||
{
|
||||
// Position if changed enough (if not carried by mode)
|
||||
// Orientation if changed > 60° (it's head angle only) or in first block (useful for static entities such as bot objects)
|
||||
// Orientation if changed > 60 degrees (it's head angle only) or in first block (useful for static entities such as bot objects)
|
||||
bool modeIsChanging = GET_VP_NODE(MODE)->BranchHasPayload;
|
||||
bool sheetIsChanging = GET_VP_NODE(SHEET)->BranchHasPayload;
|
||||
bool posIsReady = TVPNodeServer::PrioContext.Sentity->positionIsInitialized();
|
||||
|
||||
GET_VP_NODE(POSITION)->BranchHasPayload = (!modeIsChanging) && posIsReady && positionHasChangedEnough();
|
||||
GET_VP_NODE(ORIENTATION)->BranchHasPayload = (sheetIsChanging && posIsReady) || orientationHasChangedEnough( entry.Properties[PROPERTY_ORIENTATION], 36.0f ); // 5°
|
||||
GET_VP_NODE(ORIENTATION)->BranchHasPayload = (sheetIsChanging && posIsReady) || orientationHasChangedEnough( entry.Properties[PROPERTY_ORIENTATION], 36.0f ); // 5 degrees
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -729,7 +729,7 @@ void CStringManager::broadcastSystemMessage(NLNET::CMessage &message, bool debug
|
|||
// {
|
||||
// // In ring shard, it is possible that the client autologin and
|
||||
// // autochoose the character rapidly, and if a string need to be resolved
|
||||
// // to dîsplay the char summary, it is possible client receive the
|
||||
// // to display the char summary, it is possible client receive the
|
||||
// // dynamic string from IOS after the EGS has passed the frontend in
|
||||
// // entityId mode.
|
||||
// // So, the IOS receive a stringId request with a Eid not registered yet.
|
||||
|
|
|
@ -1707,7 +1707,7 @@ endQuery:
|
|||
li.setTimeStamp(CTime::getSecondsSince1970()-20);
|
||||
li.getParams().push_back(TParamValue(CEntityId(0, 0x1234)));
|
||||
li.getParams().push_back(TParamValue(CEntityId(0, 0x5678)));
|
||||
li.getParams().push_back(TParamValue(string("Hô mon bateau")));
|
||||
li.getParams().push_back(TParamValue(string("Ho mon bateau")));
|
||||
|
||||
reportLog(NULL, vector<TLogInfo>(&li, &li+1));
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ NLMISC_COMMAND(UseWeaponDamageFactorModifier,"toggle the use of the item damage
|
|||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------В
|
||||
//--------------------------------------------------------------
|
||||
// CCombatWeapon constructor
|
||||
//--------------------------------------------------------------
|
||||
CCombatWeapon::CCombatWeapon(CGameItemPtr itemPtr)
|
||||
|
|
|
@ -85,10 +85,10 @@ protected:
|
|||
virtual void apply( CMagicPhrase * phrase, float successFactor,MBEHAV::CBehaviour & behav , bool isMad )
|
||||
{
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
CEntityBase* actor = CEntityBaseManager::getEntityBasePtr( phrase->getActor() );
|
||||
|
|
|
@ -80,10 +80,10 @@ protected:
|
|||
virtual void apply( CMagicPhrase * phrase, float successFactor,MBEHAV::CBehaviour & behav )
|
||||
{
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
/// test resistance
|
||||
|
|
|
@ -100,10 +100,10 @@ protected:
|
|||
return;
|
||||
|
||||
///\todo nico:
|
||||
// - localisation
|
||||
// - armure + bouclier
|
||||
// - degâts sur perso + sur armure
|
||||
// - behaviour + messages de chat
|
||||
// - location
|
||||
// - armor + shield
|
||||
// - player damages + on armor
|
||||
// - behaviour + chat messages
|
||||
// - aggro
|
||||
|
||||
if ( successFactor <= 0.0f )
|
||||
|
|
|
@ -331,7 +331,7 @@ void CTestingTool::startTest()
|
|||
CUnifiedNetwork::getInstance()->send( "EGS", msgout );
|
||||
_ActorsDeathFlags.set(i,false);
|
||||
}
|
||||
string s = string("\n*********** Starting test iteration N°") + toString( _CurrentIteration ) + string("\n");
|
||||
string s = string("\n*********** Starting test iteration ") + toString( _CurrentIteration ) + string("\n");
|
||||
fputs( s.c_str(), _TestSessionReport );
|
||||
nlinfo( s.c_str() );
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ namespace NLOLDGEORGES
|
|||
|
||||
class CFormBodyElt;
|
||||
|
||||
// La classe CForm représente une fiche.
|
||||
// Elle comprend Head et Body.
|
||||
// Elle comporte des opérateurs qui permettent de l'additionner ou de la soustraire dans le cadre des historiques.
|
||||
// CForm class represents a sheet.
|
||||
// It has a Head and a Body.
|
||||
// It has operators that allows to add or subtract from history.
|
||||
class CForm
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -25,8 +25,8 @@ namespace NLOLDGEORGES
|
|||
{
|
||||
|
||||
|
||||
// La classe CFormBodyEltAtom représente l'élément terminal de l'arbre.
|
||||
// Il est composé de deux string: sxname et sxvalue
|
||||
// CFormBodyEltAtom class represents terminal item from the tree.
|
||||
// It's composited from two strings: sxname and sxvalue
|
||||
class CFormBodyEltAtom : public CFormBodyElt
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -25,8 +25,8 @@ namespace NLOLDGEORGES
|
|||
{
|
||||
|
||||
|
||||
// La classe CFormBodyEltList permet d'obtenir un ensemble de CFormBodyElt sous forme de liste.
|
||||
// Dans l'opérateur +=, l'ensemble des anciens éléments sont éliminés. Les nouveaux les remplacent.
|
||||
// CFormBodyEltList provides a set of CFormBodyElt in a list form.
|
||||
// In operator +=, set of old items are removed. New ones replace them.
|
||||
class CFormBodyEltList : public CFormBodyElt
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -26,8 +26,8 @@ namespace NLOLDGEORGES
|
|||
#define SXCOMMENT "Comment"
|
||||
#define SXPARENTS "Parents"
|
||||
|
||||
// La classe CFormBodyEltStruct permet d'obtenir un ensemble de CFormBodyElt.
|
||||
// Dans l'opérateur +=, les nouveaux élément remplacent les anciens, les anciens non-écrasés restent
|
||||
// CFormBodyEltStruct provides a set of CFormBodyElt.
|
||||
// In operator +=, new items replace old ones, not overrided old ones are kept.
|
||||
class CFormBodyEltStruct : public CFormBodyElt
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -300,7 +300,7 @@ void CSoundPlugin::updateDisplay()
|
|||
}
|
||||
else
|
||||
{
|
||||
setMinMaxDistances(1, _Sound->getMaxDistance()); // 1m ŕ max dist.
|
||||
setMinMaxDistances(1, _Sound->getMaxDistance()); // 1m to max dist.
|
||||
}
|
||||
_Dialog.setAngles(uint32(180 * _Sound->getConeInnerAngle() / Pi), uint32(180 * _Sound->getConeOuterAngle() / Pi));
|
||||
}
|
||||
|
@ -433,7 +433,7 @@ void CSoundPlugin::setActiveDocument(IEditDocument *pdoc)
|
|||
}
|
||||
else
|
||||
{
|
||||
setMinMaxDistances(1, _Sound->getMaxDistance()); // 1m ŕ max dist.
|
||||
setMinMaxDistances(1, _Sound->getMaxDistance()); // 1m to max dist.
|
||||
}
|
||||
_Dialog.setAngles(uint32(180 * _Sound->getConeInnerAngle() / Pi), uint32(180 * _Sound->getConeOuterAngle() / Pi));
|
||||
if (!_InvalidSound)
|
||||
|
|
|
@ -223,7 +223,7 @@ GenderExtractor::GenderExtractor(const std::string & literal, const std::string&
|
|||
{
|
||||
std::string goodMarkup = isMale ? std::string("") +"<" + h + "></" + h + ">" : std::string("")+"<"+f+"></"+f+">";
|
||||
std::string badMarkup = isFemale ? std::string("") +"<" + h + "></" + h + ">" : std::string("")+"<"+f+"></"+f+">";
|
||||
std::string exceptionText = std::string("La phrase ") + identifier + " qui contient une balise " + goodMarkup + " nécessite aussi les balises " + badMarkup + " même vide.";
|
||||
std::string exceptionText = std::string("Expression ") + identifier + " that contains a tag " + goodMarkup + " needs also tags " + badMarkup + " even empty.";
|
||||
throw EParseException(0, exceptionText.c_str());
|
||||
}
|
||||
|
||||
|
|
|
@ -44,16 +44,14 @@ enum
|
|||
// You'll have to look deeper into code
|
||||
};
|
||||
|
||||
// Contient la description d'une Craft Part
|
||||
// ainsi que les différentes caracteristiques
|
||||
// qu'elle concerne
|
||||
// Contains Craft Part description and different stats related
|
||||
struct CraftPart
|
||||
{
|
||||
CSString Desc;
|
||||
bool Carac[NumMPStats];
|
||||
};
|
||||
|
||||
// Caractéristiques d'une MP relatives au craft
|
||||
// Raw mats stats for craft
|
||||
struct MPCraftStats
|
||||
{
|
||||
CSString Craft;
|
||||
|
@ -72,7 +70,7 @@ struct MPCraftStats
|
|||
}
|
||||
};
|
||||
|
||||
// Permet de trier des chaines de caractères
|
||||
// Allows to sort strings
|
||||
struct ItemSort : public std::less<NLMISC::CSString>
|
||||
{
|
||||
bool operator()( const NLMISC::CSString& x, const NLMISC::CSString& y ) const
|
||||
|
@ -82,8 +80,7 @@ struct ItemSort : public std::less<NLMISC::CSString>
|
|||
};
|
||||
typedef set<CSString, ItemSort> CSortedStringSet;
|
||||
|
||||
// Decrit un des items générés
|
||||
// pour une MP de créature
|
||||
// Describe a item generated for a creature raw mat
|
||||
struct CreatureMPItem
|
||||
{
|
||||
char eco;
|
||||
|
|
|
@ -1694,7 +1694,7 @@ void CExport::transformZone (CZone &zeZone, sint32 nPosX, sint32 nPosY, uint8 nR
|
|||
//=============================
|
||||
|
||||
// Rotate all tile elements in CW (because zones are turned in CCW)
|
||||
// If zone flipped rotate tile elements by 180°
|
||||
// If zone flipped rotate tile elements by 180 degrees
|
||||
set<string> allnames; // Debug
|
||||
for (i = 0; i < PatchInfos.size(); ++i)
|
||||
{
|
||||
|
|
|
@ -17,16 +17,16 @@
|
|||
/*
|
||||
Petite documentation sur le fonctionnement du plugin
|
||||
|
||||
1) Le WorldEditor se connecte au plugin (config dans WorldEditorPlugin.cfg)
|
||||
1) WorldEditor connects to plugin (config in WorldEditorPlugin.cfg)
|
||||
|
||||
2) Le plugin se connecte au World_Editor_Service
|
||||
2) Plugin connects to World_Editor_Service
|
||||
|
||||
3) Le World_Editor_Service (config dans WorldEditorService.cfg) envoie des paquets contenant au maximum 100 joueurs.
|
||||
Ces joueurs sont soit nouveaux, soit leurs coordonnées ont changé.
|
||||
3) World_Editor_Service (config in WorldEditorService.cfg) sends packets containing up to 100 players.
|
||||
These players are new or their coordinates changed.
|
||||
|
||||
4) Les informations des joueurs sont envoyées (voir onIdle) sous forme de primitives "player":
|
||||
4) Players information are sent (see onIdle) as "player" primitives:
|
||||
|
||||
Voici la définition de la primitive "player", dans WORLD_EDITOR_SCRIPT.XML
|
||||
See "player" primitive definition in WORLD_EDITOR_SCRIPT.XML
|
||||
|
||||
<PRIMITIVE CLASS_NAME="root" TYPE="node" AUTO_INIT="true" DELETABLE="true">
|
||||
<DYNAMIC_CHILD CLASS_NAME="player"/>
|
||||
|
|
|
@ -3865,7 +3865,7 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
|
||||
|
||||
// Impossible to insert game_share/protection_type.h into project because of #@&$£ precompiled headers
|
||||
// Impossible to insert game_share/protection_type.h into project because of precompiled headers
|
||||
namespace PROTECTION_TYPE
|
||||
{
|
||||
NL_BEGIN_STRING_CONVERSION_TABLE (TProtectionType)
|
||||
|
|
|
@ -639,7 +639,7 @@ void CFaberCharacteristics::calcQualitativeValues()
|
|||
if ( ActualEnergy > 1.0f )
|
||||
ActualEnergy = 1.0f;
|
||||
|
||||
// Calculate the standard deviation (SQRT(SUM((Ai-Aavg)²)/N))
|
||||
// Calculate the standard deviation (SQRT(SUM((Ai-Aavg)^2)/N))
|
||||
float varianceSum = 0.0f;
|
||||
for ( uint r=0; r!=NbCharacs; ++r )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue