summaryrefslogtreecommitdiffstats
path: root/src/script/script.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* aim(x,y) - "Giv" to "Get"PaweX2013-02-131-3/+3
|
* Additional parameter for function aim(x, y).PaweX2013-02-131-4/+23
|
* * Fixes to ingame editorerihel2013-02-091-2/+1
| | | | * Fixes to editor window. It's now possible to resize, move and press buttons
* Merge branch 'dev' into dev-graphicsPiotr Dziwinski2013-01-041-27/+20
|\
| * Replaced malloc/free with new/deletePiotr Dziwinski2012-12-281-14/+19
| | | | | | | | | | | | - now new/delete used everywhere except for CBotStack, which has to be fixed in other way - some segfaults should be fixed with this
* | Engine optimization - rewritten model managementPiotr Dziwinski2012-12-261-7/+19
|/ | | | | | | | - new class CModelManager - rewritten engine object structure in CEngine - created shared model data instead of separate objects per each model instance - minor refactoring
* Doxygen/comment fixes and some #include refactoringPiotr Dziwinski2012-10-171-2/+7
|
* Merge branch 'dev' of https://github.com/colobot/colobot into devZaba9992012-10-111-0/+1
|\
| * Changing and saving input bindingsPiotr Dziwinski2012-10-071-0/+1
| |
* | Added saving user scripts on game save. Fixed bug in writing script to file.Zaba9992012-10-111-17/+13
|/
* Fixed not working message(...) CBot functionadiblol2012-09-301-0/+1
|
* Enabled CBot (experimental)Piotr Dziwinski2012-09-291-14/+17
|
* Work in progress on opening files, and listing dirsZaba9992012-09-261-2/+2
| | | | | Fixed includes profile changed from SimpleIni to boost::ptree -> not finished yet
* Warnings cleaned, left only those connected to commented out code.Zaba9992012-09-181-2/+2
|
* warnings fight in progress.Zaba9992012-09-181-0/+1
|
* Merge dev-common and various fixes to achieve compilationPiotr Dziwinski2012-09-151-22/+12
|\ | | | | | | | | | | | | | | - 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-610/+608
|/
* Removed trailing whitespacePiotr Dziwinski2012-06-261-5/+5
|
* Whitespace and language changePiotr Dziwinski2012-06-261-3776/+3776
| | | | | | | - 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
* Templates for new implementationPiotr Dziwinski2012-06-221-6/+6
| | | | | | - added template of classes/structs for new implementation - changed #include paths - updated README files
* Switched to new implementation of the rest of math modulePiotr Dziwinski2012-06-191-23/+23
| | | | | | | | - changed structs from D3DVECTOR to Math::Vector and from D3DMATRIX to Math::Matrix - changed functions to new Math namespace functions - moved mainmovie module from graphics to object - added Get and Set to Math::Matrix
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-131-34/+33
| | | | | | | | | - 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
* Changed #defined constants to consts; typedef struct -> structPiotr Dziwinski2012-06-111-3/+3
|