summaryrefslogtreecommitdiffstats
path: root/src/script
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * 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-1/+1
| |
| * Additional parameter for function aim(x, y).PaweX2013-02-131-4/+23
| |
* | Added Destroyer from Ceebot-Teen.krzys-h2013-02-131-0/+1
|/ | | | We need a new icon for it.
* * 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-174-7/+23
|
* 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-182-4/+4
|
* warnings fight in progress.Zaba9992012-09-183-10/+11
|
* changes needeto to cimpile on windows.Zaba9992012-09-172-18/+19
|
* Merge dev-common and various fixes to achieve compilationPiotr Dziwinski2012-09-155-41/+19
|\ | | | | | | | | | | | | | | - 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 branch 'dev-ui' into devMichał Konopacki2012-09-152-9/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/CMakeLists.txt src/common/misc.cpp src/common/misc.h src/object/robotmain.cpp src/object/robotmain.h src/script/cbottoken.cpp src/script/cbottoken.h src/ui/button.cpp src/ui/button.h src/ui/check.cpp src/ui/check.h src/ui/color.cpp src/ui/color.h src/ui/compass.cpp src/ui/compass.h src/ui/control.cpp src/ui/control.h src/ui/displayinfo.cpp src/ui/displayinfo.h src/ui/displaytext.cpp src/ui/displaytext.h src/ui/edit.cpp src/ui/edit.h src/ui/gauge.cpp src/ui/gauge.h src/ui/interface.cpp src/ui/interface.h src/ui/key.cpp src/ui/map.h src/ui/shortcut.h src/ui/slider.h src/ui/target.cpp src/ui/target.h src/ui/window.cpp src/ui/window.h
| * | * latest changeserihel2012-09-112-10/+10
| |/ | | | | | | | | * all files except studio, map and maindialog should compile * did some code cleanup
* / Merge with changes from Zaba999 fork.Zaba9992012-09-106-787/+840
|/