summaryrefslogtreecommitdiffstats
path: root/src/script/script.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #295 - continueOleg Kosmakov2014-03-211-1/+1
| | | | Renamed the method, fixed typo in comments
* Fixes #295Oleg Kosmakov2014-03-211-0/+3
| | | | When cannon cannot turn at specified angle, it will still reach the edge angle, but return the error code
* Added camerafocus() for changing camerakrzys-h2013-12-311-0/+2
|
* CPauseManagerkrzys-h2013-12-311-0/+3
|
* .takeoff() for SpaceShip (#265)krzys-h2013-12-261-0/+1
|
* Changed char[] to std::string in restextPiotr Dziwinski2013-12-041-1/+1
| | | | Experimental changes
* Some Ui refactoringerihel2013-06-241-2/+0
|
* Fixed code formattingPiotr Dziwinski2013-05-271-3/+2
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Added object.research(type)krzys-h2013-05-191-0/+2
|
* Added progfunc( funcname );krzys-h2013-05-191-0/+2
| | | | | | | | | | | | | | | | 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-2/+2
|
* Added object.destroy()krzys-h2013-05-181-0/+2
|
* Renamed destroy() -> delete()krzys-h2013-05-181-2/+2
|
* Added object.busy()krzys-h2013-05-181-0/+3
|
* Added object.factory(cat)krzys-h2013-05-181-1/+5
|
* Backwards combatibility for retobject() (#209)krzys-h2013-05-121-0/+1
|
* Added [set/get][build/research[done/enable]] ( ); function fo CBotkrzys-h2013-05-051-1/+6
| | | | | | | | | * setbuild ( ); * setresearchdone ( ); * setresearchenable ( ); * getbuild ( ); * getresearchdone ( ); * getresearchenable ( );
* Functions playmusic(filename, repeat) and stopmusic()krzys-h2013-05-011-0/+3
| | | | | for MissionController Parameter repeat can be 0 or 1
* Added function endmission()krzys-h2013-04-301-0/+2
| | | | | | | | | | | 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 =)
* Added functions "canbuild(category)" and "buildinfo(category)"XienDev2013-04-281-1/+4
| | | | Also fixed issue with undefined behaviour of build(category) function
* Added buildXienDev2013-04-271-1/+2
| | | | Third patch
* Added function destroy(rank)krzys-h2013-03-301-0/+2
|
* CInstanceManager refactoringPiotr DziwiƄski2013-02-171-3/+2
| | | | | | | | | * 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
* Added cAim(CBotVar* &var, void* user)PaweX2013-02-131-0/+1
|
* Doxygen/comment fixes and some #include refactoringPiotr Dziwinski2012-10-171-3/+7
|
* Warnings cleaned, left only those connected to commented out code.Zaba9992012-09-181-2/+2
|
* Merge dev-common and various fixes to achieve compilationPiotr Dziwinski2012-09-151-2/+2
|\ | | | | | | | | | | | | | | - merged changes from dev-common - fixed many compilation errors (CBrain, UI, ...) - temporarily commented out some problematic code (e.g. input bindings) - (partially) fixed #include styling - everything compiles except for CRobotMain, CMainDialog and CStudio
* | Merge with changes from Zaba999 fork.Zaba9992012-09-101-43/+131
|/
* Whitespace and language changePiotr Dziwinski2012-06-261-118/+118
| | | | | | | - changed tabs to spaces and DOS line endings to Unix (except in CBot and metafile) - changed language to English - fixed #include <d3d.h> in d3dengine.h
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-131-0/+2
| | | | | | | | | - changed FPOINT to Math::Point and some functions from math module to the new implementation - moved old function and FPOINT struct declarations to math3d.cpp - removed some unused functions in math module - fixed some #include dependencies - moved #define STRICT and #define D3D_OVERLOADS to compile options
* BOOL -> bool; additional fixes in constructors/destructorsPiotr Dziwinski2012-06-101-23/+23
|
* Fixed include paths and CMakeLists.txtPiotr Dziwinski2012-06-101-4/+2
| | | | Additionally, changed #ifndef to #pragma once everywhere
* Source files split into modulesPiotr Dziwinski2012-04-281-0/+118