Commit Graph

48 Commits (921c266311fa1c24c0178829f3123ad31258a355)

Author SHA1 Message Date
krzys-h 921c266311 Some random refactoring 2015-12-24 14:52:17 +01:00
krzys-h ae544c71ae Made CBotExternalCallList not static 2015-12-24 12:36:09 +01:00
krzys-h 8e01a208c1 More extensible external call interface 2015-12-24 11:57:34 +01:00
krzys-h 3170395576 CBotCall refactoring 2015-12-24 00:41:44 +01:00
krzys-h 8437a9bdd2 CBot testing framework; fixed a few bugs 2015-12-23 20:39:56 +01:00
krzys-h d577e7f41b Tests for CBotToken 2015-12-23 18:44:14 +01:00
krzys-h 6482001b9b CBotToken docs 2015-12-23 17:28:21 +01:00
krzys-h 6ef14617a0 More random CBotToken refactoring, removed CBotToken::Delete 2015-12-23 16:46:41 +01:00
krzys-h fbdc071659 Some random CBotProgram and CBotToken refactoring 2015-12-23 16:11:03 +01:00
krzys-h eedf8dacea Documentation for CBotProgram; some CBotError refactoring 2015-12-21 21:35:20 +01:00
krzys-h 76c04e10d5 Removed some unused CBot code 2015-12-21 16:46:44 +01:00
krzys-h 5db1254dd8 Unified CBot error naming 2015-12-20 19:01:03 +01:00
krzys-h 51644369cb Moved standard math and file functions into CBot library 2015-12-20 18:36:20 +01:00
krzys-h 9ec61d93e5 Refactored CBotString and const char* to std::string in CBot engine
A lot of changes, so it needs lots of testing
2015-12-20 16:19:10 +01:00
krzys-h 87a34ba1ff Refactor CBotString::LoadString 2015-12-20 15:06:35 +01:00
krzys-h 3eeab0f9b7 Removed CBotStringArray 2015-12-20 14:49:30 +01:00
Grunaka de5a57f793 Change CBot default include directory. Make all include directive absolute. 2015-12-01 23:25:36 +01:00
Grunaka 575ff47c82 Cleaning the CBot.h file. 2015-12-01 23:25:36 +01:00
Grunaka 751999064b Moving global files function from CBotProgram.cpp to CBotFileUtils.cpp. 2015-12-01 23:25:36 +01:00
Grunaka 889c0fbe8e Split file StringFunctions.cpp into two files StringFunctions.h and StringFunctions.cpp. 2015-12-01 23:25:36 +01:00
Grunaka 013be673ce Moving CBotCStack class in its own header and source files. 2015-12-01 23:25:36 +01:00
Grunaka 44021e91f7 Moving CBotVarFloat class in its own header and source files. 2015-12-01 23:25:36 +01:00
Grunaka 1b3b2ea5a1 Moving CBotVarString class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka ade4aefb0e Moving CBotVarBoolean class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka 143eecd791 Moving CBotCallMethode class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka 4712e0ef6a Moving CBotFunction class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka 70dc6785f2 Moving CBotProgram class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka 77d738634c Moving CBotClass class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka 394a49f5aa Moving CBotCall class in its own header and source files. 2015-12-01 23:25:35 +01:00
Grunaka e54d8f1ebc Moving CBotStack class in its own header and source files. 2015-12-01 23:25:35 +01:00
krzys-h 8a160961fc Removed STARTDEBUGDD 2015-11-21 17:33:48 +01:00
krzys-h 0c21631c9c Updated constants for "catch"
* removed compile-time errors since they cannot be caught anyway
* added missing runtime errors
2015-11-21 17:26:56 +01:00
krzys-h 7b96ae65cd Removed unused CBot files
Don't even ask what they were doing here. Just don't. :P
2015-11-21 14:52:56 +01:00
Piotr Dziwinski b93f610930 Fix license header in all files 2015-08-22 16:40:02 +02:00
Piotr Dziwinski 2289d69735 Replace NULL -> nullptr 2015-08-16 12:43:42 +02:00
krzys-h 7e18757d29 CScript user pointer cleanup; moved some functions from COldObjectInterface to main CObject
* moved (Get|Set)Clip [renamed to (Get|Set)Collisions], (Get|Set)Team, (Get|Set)Proxy(Activate|Distance) and GetBotVar to main CObject class
* refactored scripting to pass CScript* as the user pointer, removing the need for GetRunScript()
* changed accessing of "object" class in CBot to use ->GetUserPtr()
* refactored object limits to remove (Start|Stop)ShowLimit from COldObject
* added notes on possible interfaces for most of the other COldObjectInterface functions
2015-08-11 17:51:39 +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
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
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
Piotr Dziwinski bc24b9f9e5 Whitespace fix 2012-08-08 22:35:17 +02:00
Michał Konopacki bf3f9e1860 Commentary translation 2012-08-03 00:50:25 +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
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