summaryrefslogtreecommitdiffstats
path: root/src/script/script.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed two bugs in dc81cda4b1f27af6fe8abcd566ffac03255f2642krzys-h2014-01-011-0/+1
| | | | | * win/end scene animations * produce() was producing empty cells
* Added camerafocus() for changing camerakrzys-h2013-12-311-1/+44
|
* CPauseManagerkrzys-h2013-12-311-5/+6
|
* Added nullptr shecks to object.factory()krzys-h2013-12-291-1/+14
| | | | Trying to fix #275
* Cleaned up creating objectskrzys-h2013-12-291-158/+7
|
* .takeoff() for SpaceShip (#265)krzys-h2013-12-261-0/+49
|
* Fixed bug #240 - CAuto in produce()krzys-h2013-12-251-1/+8
|
* Changed char[] to std::string in restextPiotr Dziwinski2013-12-041-13/+16
| | | | 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-241-5/+4
|
* Fixed code formattingPiotr Dziwinski2013-05-271-91/+111
| | | | | | * 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-191-2/+90
|
* Translated <erreur> and <sans nom>krzys-h2013-05-191-2/+2
|
* Added progfunc( funcname );krzys-h2013-05-191-0/+36
| | | | | | | | | | | | | | | | 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-191-12/+51
|
* 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-181-0/+50
|
* Renamed destroy() -> delete()krzys-h2013-05-181-5/+5
|
* Added object.busy()krzys-h2013-05-181-0/+39
|
* Added object.factory(cat)krzys-h2013-05-181-0/+165
|
* Backwards combatibility for retobject() (#209)krzys-h2013-05-121-1/+23
|
* 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-051-34/+95
| | | | | | | | | * setbuild ( ); * setresearchdone ( ); * setresearchenable ( ); * getbuild ( ); * getresearchdone ( ); * getresearchenable ( );
* Functions playmusic(filename, repeat) and stopmusic()krzys-h2013-05-011-2/+48
| | | | | 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-301-0/+31
| | | | | | | | | | | 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-291-1/+1
|
* Added functions "canbuild(category)" and "buildinfo(category)"XienDev2013-04-281-40/+95
| | | | Also fixed issue with undefined behaviour of build(category) function
* Added buildXienDev2013-04-271-0/+85
| | | | Third patch
* * Patch for issue #167erihel2013-04-271-1/+4
|
* Removed find() & repeat() functionskrzys-h2013-04-121-142/+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-301-0/+38
|
* 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-171-43/+50
| | | | | | | | | * 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
|
* Update src/script/script.cppPaweX2013-02-131-1/+1
|
* Function aim(x, y) - "Giv" to "Get"PaweX2013-02-131-4/+4
|