summaryrefslogtreecommitdiffstats
path: root/src/script
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'dev' into dev-physfskrzys-h2014-10-147-105/+126
|\ | | | | | | | | Conflicts: data
| * Changed all occurences of PPC in the code to TerranovaTeamkrzys-h2014-10-147-105/+126
| |
* | New level parserkrzys-h2014-09-242-1/+2
| | | | | | | | | | | | Known issues: * TerrainLevel for some reason doesn't work * %lvl% is not yet implemented everywhere because of hardcoded directories in functions
* | Merge branch 'dev' into dev-physfskrzys-h2014-07-111-10/+12
|\| | | | | | | | | | | | | | | | | Conflicts: data src/app/gamedata.cpp src/ui/control.cpp src/ui/edit.cpp src/ui/maindialog.cpp
| * Fixed negative parameter in fire() (issue #305)krzys-h2014-06-261-10/+12
| | | | | | | | Also fixed checking parameter count and type for ants, spiders and shooters
* | More work on levelsKrzysztof Dermont2014-06-221-12/+12
| |
* | Big part of PhysFS supportKrzysztof Dermont2014-06-201-27/+4
|/ | | | | | | | | | | * removed -mod argument * removed -datadir argument * removed -lang argument * removed some dead ui code * added resource manager and file loaders (stream and SDL) * changed interface textures location to match new directory structure * removed CGameData for mod support * added PhysFS support
* Better datadir mod supportkrzys-h2014-05-181-3/+4
|
* WhitespaceOleg Kosmakov2014-03-211-3/+3
|
* Issue #295 - continueOleg Kosmakov2014-03-212-4/+4
| | | | Renamed the method, fixed typo in comments
* Fixes #295Oleg Kosmakov2014-03-212-2/+24
| | | | When cannon cannot turn at specified angle, it will still reach the edge angle, but return the error code
* Added special mode in scene for bots to build more buildings than they ↵krzys-h2014-03-031-7/+10
| | | | | | usualy can Will be used in "Leaving Earth" missions for making decorative bots building base
* Fixed warnings about unknown commands in scene filesPiotr Dziwinski2014-01-182-0/+11
|
* Removed some unused objectskrzys-h2014-01-111-72/+0
|
* Fixed a bug from 59935b470674ae26342fd4145f9cba85a1cd9443krzys-h2014-01-111-41/+48
| | | | Cmd() now checks if length of token we're looking for is equal to token we've found
* Changed comments in ObjectType to be object categories; removed unused SEAWEEDkrzys-h2014-01-011-10/+10
|
* 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-313-1/+49
|
* 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