summaryrefslogtreecommitdiffstats
path: root/src/script
Commit message (Collapse)AuthorAgeFilesLines
* CPauseManagerkrzys-h2013-12-312-5/+9
|
* Added nullptr shecks to object.factory()krzys-h2013-12-291-1/+14
| | | | Trying to fix #275
* Added tool= i drive=krzys-h2013-12-292-3/+83
|
* Cleaned up creating objectskrzys-h2013-12-291-158/+7
|
* .takeoff() for SpaceShip (#265)krzys-h2013-12-263-3/+56
|
* Fixed bug #240 - CAuto in produce()krzys-h2013-12-251-1/+8
|
* Changed char[] to std::string in restextPiotr Dziwinski2013-12-042-14/+17
| | | | Experimental changes
* Fixed some CBot-related memory leaksPiotr Dziwinski2013-10-121-4/+6
| | | | | | * fixed leaks in CScript::CheckToken() * fixed leaks in CInterface * commented out unused function in robotmain.cpp
* Some Ui refactoringerihel2013-06-242-7/+4
|
* Fixed code formattingPiotr Dziwinski2013-05-276-97/+114
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Fixed some compilation warningsPiotr Dziwinski2013-05-271-4/+4
| | | | * fixed warnings about hiding virtual functions and several others
* Added object.research(type)krzys-h2013-05-193-2/+95
|
* Translated <erreur> and <sans nom>krzys-h2013-05-191-2/+2
|
* Added progfunc( funcname );krzys-h2013-05-193-0/+41
| | | | | | | | | | | | | | | | For simple creating of programs executing public functions :) Example: public void object::SecondBot() { message("It works!"); } extern void object::FirstBot() { object item = radar(BotFactory); item.factory(WheeledGrabber, progfunc("SecondBot")); }
* Running program in robots created using object.factory()krzys-h2013-05-193-15/+54
|
* Changed "Inappropariate bot"->"Inappropariate object" in newly added functionskrzys-h2013-05-181-3/+3
|
* Fix for build() not being able to build Detroyerkrzys-h2013-05-181-6/+8
|
* Added object.destroy()krzys-h2013-05-183-1/+56
|
* Renamed destroy() -> delete()krzys-h2013-05-182-7/+7
|
* Added object.busy()krzys-h2013-05-183-0/+45
|
* Added object.factory(cat)krzys-h2013-05-183-1/+173
|
* Backwards combatibility for retobject() (#209)krzys-h2013-05-123-2/+27
|
* Fixed bug with std::bad_alloc when using produce()krzys-h2013-05-121-2/+4
| | | | I'm not sure why it wasn't happening before, but it's fixed :)
* Added [set/get][build/research[done/enable]] ( ); function fo CBotkrzys-h2013-05-053-40/+112
| | | | | | | | | * setbuild ( ); * setresearchdone ( ); * setresearchenable ( ); * getbuild ( ); * getresearchdone ( ); * getresearchenable ( );
* Functions playmusic(filename, repeat) and stopmusic()krzys-h2013-05-012-2/+51
| | | | | for MissionController Parameter repeat can be 0 or 1
* Removed some warningskrzys-h2013-05-011-2/+4
| | | | + fix for previous commit
* Added function endmission()krzys-h2013-04-302-0/+33
| | | | | | | | | | | Works only with MissionFile version=3 Created for MissionController, but works on any bot - 1st parameter: * ResultWin - win mission * ResultLost - lost mission * ResultLostQuick - lost mission (Me died) - 2nd parameter: win/lost delay, like in mission file. Doesn't work for ResultLostQuick. Please don't use for cheating =)
* MissionController improvedkrzys-h2013-04-292-1/+3
|
* Added functions "canbuild(category)" and "buildinfo(category)"XienDev2013-04-283-43/+107
| | | | Also fixed issue with undefined behaviour of build(category) function
* Added buildXienDev2013-04-273-1/+90
| | | | Third patch
* * Patch for issue #167erihel2013-04-271-1/+4
|
* Removed find() & repeat() functionskrzys-h2013-04-122-147/+0
| | | | Issue #168
* More parameters to destroy()krzys-h2013-03-311-7/+29
| | | | Also, removed some warnings in script.cpp
* Added field "item" to class "object" in CBotkrzys-h2013-03-311-6/+3
|
* Added function destroy(rank)krzys-h2013-03-302-0/+40
|
* Added SatCom translationskrzys-h2013-03-292-199/+200
|
* Revert "Fix for #30"krzys-h2013-03-271-1/+0
| | | | | This reverts commit bfdd52ade09b4f8ee74e5c9c888a5c76fa60f4b8. That wasn't working. :(
* Fix for #30krzys-h2013-03-271-0/+1
|
* Changes to Scribbler interfacekrzys-h2013-03-271-0/+1
|
* * Changed file loading to fix issue #73erihel2013-03-171-1/+1
| | | | | | | * Moved few functions from misc.cpp to profile.cpp (used to set/get user dir) * Removed some warnings * More work to change const char* to std::string * Some work on file path to fix issue #60 with bad slashes on POSIX platform
* MORE improvements to produce()krzys-h2013-03-011-9/+13
|
* Fix for #135krzys-h2013-03-011-0/+2
| | | | jet() parameter > 1
* CInstanceManager refactoringPiotr DziwiƄski2013-02-172-46/+52
| | | | | | | | | * 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
* Another small fix.krzys-h2013-02-141-1/+1
| | | | I'm a noob. Sorry.
* Small fixkrzys-h2013-02-141-1/+1
|
* More fixes to produce()krzys-h2013-02-141-56/+89
| | | | Now every object can be created.
* Small fix in produce()krzys-h2013-02-141-0/+1
|
* produce() extendedkrzys-h2013-02-141-21/+144
|
* Merge pull request #125 from PaweX/devkrzys-h2013-02-133-5/+25
|\
| * Added cAim(CBotVar* &var, void* user)PaweX2013-02-131-0/+1
| |