Commit Graph

29 Commits (4cd7a7a03111c365eba2f9d5cb460986a0165f80)

Author SHA1 Message Date
Grunaka 573e1152e3 Moving CBOT enumerated in a separate file called CBotEnum.h 2015-12-01 23:25:34 +01:00
Grunaka b42c1376e5 Move CBotToken class in its own header and source files. 2015-12-01 23:25:25 +01:00
krzys-h 8a160961fc Removed STARTDEBUGDD 2015-11-21 17:33:48 +01:00
Piotr Dziwinski 13f0159705 Fix ambiguous overload resolution
One operator+ for CBotString is enough
2015-11-02 22:17:53 +00:00
Piotr Dziwinski eeea31408b Fix operator+ semantics in CBotString 2015-11-02 22:11:02 +00:00
Grunaka 6a396e1522 Add unit tests for class CBotString.
Add comments in class CBotString.
Change existing comments in class CBotString to be compliant with doxygen.
Add function "const char* CBotString::CStr() const".
Add null pointer check in function "const CBotString& CBotString::operator+=(const CBotString& str)"
Remove functions "CBotString CBotString::Mid(int nFirst, int nCount) const" and "CBotString CBotString::Mid(int nFirst) const" because they were doublons of function "CBotString CBotString::Mid(int nFirst, int lg) const"
2015-11-01 17:03:30 +01:00
Piotr Dziwinski d11ebc891c Bring to zero some types of issues reported by colobot-lint 2015-10-04 00:09:10 +02:00
Piotr Dziwinski c3d4d46583 Fix missing empty line after license header 2015-08-22 17:52:07 +02:00
Piotr Dziwinski b93f610930 Fix license header in all files 2015-08-22 16:40:02 +02:00
krzys-h 303dd17d58 Improved documentation of new object interface; removed unused Get/SetSoluceName 2015-08-17 00:43:32 +02:00
Piotr Dziwinski 2289d69735 Replace NULL -> nullptr 2015-08-16 12:43:42 +02:00
krzys-h 0e66104829 Hacked CBot engine to get pointers to CObject* in calls to class members 2015-07-13 18:40:13 +02:00
dreamer.dead 958ef43c1e Address review remarks, fix names and errors in code. 2015-07-06 22:00:33 +03:00
dreamer.dead b3c2d2c450 Set CBotVar::m_binit type to specific enum instead of plain int. 2015-07-05 23:39:55 +03:00
krzys-h 9fd6cf5449 Changed all occurences of PPC in the code to TerranovaTeam 2014-10-14 15:26:18 +02:00
Piotr Dziwinski 8765d58b02 Fixed code formatting
* moved braces to new lines
 * fixed some function/variable names
 * fixed whitespace issues
2013-05-27 10:19:16 +02:00
Piotr Dziwiński 001d37b257 CInstanceManager refactoring
* removed classes managed by CInstanceManager
   except for CObject, CPyro, CBrain and CPhysics
   because of dependencies
 * refactored instance searching to use existing singleton instances of
   CApplication, CEngine and CRobotMain and calling their getter
   functions
2013-02-17 12:11:56 +01:00
Michał Konopacki e154e654f1 Reduced amount of warnings in CBot library
Changed most of C-style casting to C++ casting
Commented unused variables
2012-08-13 01:45:35 +02:00
Michał Konopacki a9186d1960 Changed GivAttrName() to GetAttrName() 2012-08-11 20:59:35 +02:00
Michał Konopacki 0919796df7 Transation of comments complete 2012-08-08 02:01:06 +02:00
Michał Konopacki a1c83c7d0a CBot library comments further translations 2012-08-07 12:46:19 +02:00
Zaba999 26f9149947 Further translations and doxygen comments. 2012-07-20 23:13:02 +02:00
Zaba999 1910219518 Dependency on WINAPI completely removed. 2012-07-10 22:58:52 +02:00
Zaba999 dbd62c96aa Fixed code compilation without fpermissive flag.
Removed Winapi, but now library don't work - work in progress.
Some translations.
2012-07-04 22:14:28 +02:00
Piotr Dziwinski 011d86ed66 Pulled changes from test mingw branch
* include fixes
* syntax fixes for MinGW
* fixed encoding of restext.cpp
* temporary fix for MinGW in joystick.cpp

Successfully compiles under MinGW :)
2012-04-15 00:50:13 +02:00
Krzysztof H f7d892cf4e Last coding fix ;) 2012-03-19 12:44:39 +01:00
Krzysztof H 5649419a46 FIX: "If not, see ." was replaced with: "If not, see http://www.gnu.org/licenses/." 2012-03-11 20:49:33 +01:00
Krzysztof H 84d1f79fdf Added license info using a small program SrcHead. 2012-03-09 17:08:05 +01:00
adiblol a4c804b49e Initial commit, Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch 2012-03-08 19:32:05 +01:00