Commit graph

1163 commits

Author SHA1 Message Date
jsalmon3
c039c42b17 Fixed enemy check in GetNumOpponents 2007-03-03 18:29:21 +00:00
jsalmon3
8a8bbc395c Updated for 2.2.2, updated copyright years 2007-03-01 05:29:54 +00:00
jsalmon3
8f1995cd93 Fixed bug where replays would use the wrong race 2007-01-14 18:51:33 +00:00
jsalmon3
f83db67913 Fixed bug #1603502: invisible units shouldn't auto attack 2007-01-09 04:43:57 +00:00
jsalmon3
1dcc5fcc1e Fixed bug where the computer could see a cloaked unit 2007-01-07 03:01:07 +00:00
jsalmon3
f7dafd1997 Added SaveReplay function, Fixed off by 1 causing units to not reach the bottom and right edges 2007-01-06 04:38:36 +00:00
jsalmon3
1554ed40ad Fixed bug when redefining a unit to use a different image 2007-01-05 06:15:33 +00:00
jsalmon3
562eccedc2 Prepare for 2.2.2 2007-01-05 05:02:49 +00:00
jsalmon3
797e550e30 Restore font colors after loading a game 2007-01-05 04:41:28 +00:00
jsalmon3
de156e1726 Fixed crash loading a game when a unit contains other units not defined yet 2006-12-22 06:37:06 +00:00
jsalmon3
aec8c8b0b2 s/frensh/french 2006-12-17 17:09:25 +00:00
jsalmon3
60be09dc39 Fixed crash when the ai builds a large, non-square building 2006-12-17 17:08:42 +00:00
jsalmon3
89a0e19efa Changed version number to 2.2.1 2006-12-17 17:04:14 +00:00
feber
ace9f268e3 Update changelog. 2006-12-16 15:29:39 +00:00
feber
8f4b58750e Updated french translation. 2006-12-16 15:27:05 +00:00
jsalmon3
0f97ff6239 Update to 2.2 2006-12-09 17:44:19 +00:00
feber
aacf5f8f08 Update stratagus version and completed the changelog. 2006-12-09 16:10:35 +00:00
nehalmistry
7007666f4d cleanups 2006-11-28 04:12:32 +00:00
feber
48fde5d1d8 Tell in the documentation that stratagus works with lua 5.0. 2006-11-20 21:32:09 +00:00
feber
59744295a8 Update the scripts documentation. 2006-11-17 21:58:44 +00:00
feber
db93e5551d Replaced the implementation for the OpenSet by a sorted array. This should speed up the astar pathfinder. 2006-11-12 01:16:16 +00:00
feber
9f0fb8054c Fix doc. 2006-11-05 20:59:47 +00:00
feber
7423962e64 Changelog for stratagus 2.2 alpha. 2006-11-02 20:17:25 +00:00
jsalmon3
8c85ef982e Updated copyright year 2006-10-28 17:11:38 +00:00
jsalmon3
a7e99260a8 Removed CclUnits 2006-10-28 17:03:49 +00:00
feber
2253c1092c Updated "How do I create a game using the engine?" faq entry. 2006-10-19 08:32:06 +00:00
jsalmon3
6a919ce5f8 Removed ProcessMenu 2006-09-24 00:04:10 +00:00
nehalmistry
c3ec778ec9 add FAQ question: How to create game 2006-07-29 21:00:22 +00:00
jsalmon3
d5b20e6dd9 Cleaned up the editor a bit, removed unused menu code 2006-07-09 20:26:33 +00:00
jsalmon3
d983313c42 Removed Credits and MenuMusic 2006-07-09 00:56:31 +00:00
jsalmon3
44662b84e6 Removed SetForestRegeneration 2006-06-11 20:34:11 +00:00
nehalmistry
e37cbba505 remove flac and mad mp3 support 2006-05-06 00:54:24 +00:00
nehalmistry
3fdd493f09 update macosx installation instructions 2006-05-05 23:41:47 +00:00
feber
d99e7dab24 Removed obsolete todo file from the docs. It moved into the wiki.
Added link to SDL copyright.
2006-04-23 13:26:58 +00:00
feber
ae45762476 Documentation update: stratagus 2.2, subversion, cleanup. 2006-04-23 12:35:31 +00:00
jsalmon3
ead565afa9 Removed DefinePlaySection 2006-04-20 01:22:33 +00:00
jsalmon3
2076c5ac67 Fixed missing /dl 2006-04-10 01:13:42 +00:00
jsalmon3
71fc501789 Converted scheme to lua 2006-04-10 01:10:46 +00:00
jsalmon3
cd3cce789d Updated copyright 2006-02-25 23:22:47 +00:00
feber
a7c3b5a1d1 Added support to create multiplayer games with the guichan menus. 2006-02-19 11:46:06 +00:00
feber
9687e6de3b Added ListFilesInDirectory and ListDirsInDirectory lua functions.
List contents of the stratagus data dir or of the stratagus user preferences directory.
2005-12-06 22:57:04 +00:00
jsalmon3
a644078a38 Removed SetFancyBuildings 2005-11-14 03:17:29 +00:00
jsalmon3
ffe4dca7ae Redesigned sound 2005-11-11 04:20:17 +00:00
nehalmistry
a0ceaa608f update copyright 2005-10-31 01:27:18 +00:00
nehalmistry
f1b73e6c05 FAQ updates 2005-10-31 01:26:41 +00:00
jsalmon3
bd2f72cf88 Changed SetTerrainEditable to use bool 2005-10-23 17:52:22 +00:00
jarod42
806d6fbd45 Add class CEditor.
Move some variables and functions into it.

Editor: Change Unit owner by pressing 0-9 key (0 for neutral).
2005-10-23 14:24:08 +00:00
jsalmon3
5c1e8304a5 Removed DefineFontColor 2005-10-16 02:15:18 +00:00
jarod42
147119dcfa Fixed orc-wall connection. (It connected with human-wall) 2005-10-13 15:54:35 +00:00
jsalmon3
52a8f0a346 Removed DefineFont 2005-10-10 23:00:38 +00:00
jsalmon3
a32bbca0f1 Removed DefineUpgrade 2005-10-09 14:58:09 +00:00
jsalmon3
74262b0655 Removed DefineIcon and icon.html 2005-10-09 14:56:48 +00:00
jsalmon3
6d28f3e8b7 Chagned stratagus.sf.net to stratagus.org 2005-09-10 11:39:29 +00:00
jarod42
032c4aa796 Fix bug #1243416 Upgrading unit type ignores animation unbreakable sections.
Add a critical order which is executed when unbreakable section finishes.
2005-09-08 12:56:43 +00:00
feber
0a898e873d Added fast/slow speed modifier for tiles 2005-07-31 13:52:28 +00:00
jsalmon3
cb797da82e Added support for playing a movie in a campaign 2005-07-24 13:19:20 +00:00
jsalmon3
ac91aa2613 Fixed bug #1236481: Auto-repair doesn't work in network games 2005-07-23 00:48:29 +00:00
feber
316c626736 Load the tileset immediatly at map creation time. Removed SelectTileset lua function. (Update your luas!) 2005-07-18 10:05:49 +00:00
feber
2df27a568d Added SetTerrainEditable lua function 2005-07-17 20:01:29 +00:00
jarod42
aee1454850 Applied patch #1218954 New capture spell action (from superdav42). 2005-07-13 14:39:34 +00:00
jarod42
4fdab910f9 Extend NumberDesc and StringDesc to lua function. 2005-07-10 17:34:47 +00:00
feber
f39a826596 Removed race-number in the race definitions. That number was used to map internal races to the pud race numbers.
Don't forget to remove the race number in DefineRaceNames in your luas.
2005-07-09 11:46:49 +00:00
nehalmistry
12854b5910 remove stratagus.org link 2005-07-06 16:14:04 +00:00
jsalmon3
8e43d8fd9f Use a table in DefineEditorUnitTypes 2005-07-04 17:43:51 +00:00
feber
e45fb8cdb7 Added lua function GetCurrentLuaPath. With this lua function, one can easily load things relative to the current lua script. 2005-07-02 14:54:40 +00:00
nehalmistry
50cb561e3c change PlayerShade to PlayerColorIndex 2005-06-17 05:26:02 +00:00
nehalmistry
f31f0852bf make player shades configurable via lua 2005-06-17 00:26:08 +00:00
jarod42
2b81e5e597 Fixed bug #1202958: Value out of range (Bad slot usage) in savegame
Regroup UnitAllocQueue with SlotUsage
UnitSlotFree didn't have the good value with some UnitAllocQueue.
2005-06-14 14:52:17 +00:00
jsalmon3
e2c8adc61d Removed tilesets from icons and constructions 2005-06-11 16:46:55 +00:00
jsalmon3
eb85306207 UnitType only has one image file now, changed DefineUnitType to Image = {file, f, size, {x, y}} 2005-06-11 13:17:56 +00:00
jarod42
f07e31daf9 Replace [GS]etUnit{Mana,UnholyArmor} by [GS]etUnitVariable in lua. 2005-06-08 20:02:16 +00:00
jsalmon3
fb57b5728e Fixed bug #1215552: Crash with mirror editing 2005-06-07 00:11:28 +00:00
jsalmon3
77291903a4 Fixed bug #1206083: crawsh when destroying a non-complete building 2005-06-05 20:42:52 +00:00
feber
fdc085e054 Update the documentation to the new map format. 2005-06-05 11:23:34 +00:00
feber
10267bfa08 Merge with the Development-pre-2_2-luamaps branch. 2005-06-04 19:33:29 +00:00
nehalmistry
bedc3b1986 minor cleanups/updates 2005-05-26 16:05:21 +00:00
jarod42
ef4a7205a3 Remove Spell "adjust-buffs". (use "adjust-variable" in lua instead) 2005-05-09 16:53:13 +00:00
jarod42
c34aaa2141 Modify scripting of spell action "adjust-variable" to have shorter lua. 2005-05-09 13:28:21 +00:00
jarod42
67b0bab68d Remove some specific spell conditions ({Min,Max}{HP,Mana}Percent, Max*Ticks)
There should be replaced by Variable {Min,Max}ValuePercent, MaxValue.
Add spell condition Variable.MaxValue.
Some lua changes are needed for spell.
2005-05-08 11:24:19 +00:00
jarod42
8817a67e3a Remove Level from predefined variable.
It must be managed by lua instead.
2005-05-07 15:43:29 +00:00
jsalmon3
30d2f36439 Removed DisplayPicture 2005-04-30 19:25:52 +00:00
jsalmon3
4ac5dde113 Removed color cycling 2005-04-30 19:18:30 +00:00
jarod42
7bed4fc424 Remove ShadowSprite() (shadow of flying units) 2005-04-29 15:27:55 +00:00
jarod42
f3bda19d7a Add sprite-name for "static-sprite" method of DefineDecorations()
Remove SpellSprite.
Update some Copyright year.
(Some lua changes needed)
2005-04-28 16:21:25 +00:00
jsalmon3
8f03526d06 Added creator to LISTGAMES 2005-04-25 16:20:16 +00:00
jarod42
b09f71a2b2 Bloodlust, Haste, Slow, Invisible, UnholyArmor are now considered like defined Variables. 2005-04-24 14:30:59 +00:00
jsalmon3
f337f57c4b Added password 2005-04-24 13:18:52 +00:00
jsalmon3
c5e81088db Added minimap animation for events 2005-04-23 12:58:30 +00:00
mr-russ
e6b89da869 Applied patch #1123499: Failed Save returns invalid path (from Andrzej Zaborowski) 2005-04-20 09:09:12 +00:00
jsalmon3
88e2a72191 Initial commit 2005-04-18 23:41:13 +00:00
feber
25d52b0128 Partial update of the AI documetation to the lua API. 2005-04-15 20:37:24 +00:00
feber
8b265ca8b0 Added AiAttackWithForce which disappeared accidently. 2005-04-15 20:18:36 +00:00
feber
7d02b8edd1 Extra small documentation fixes. 2005-04-15 19:22:05 +00:00
feber
e07f72dfe9 Small documentation fix of DefineUnitAllow. 2005-04-15 19:13:19 +00:00
mr-russ
dcb9df4394 Fixed bug #1182181: Ability to control enemy units.
Incorporates change to groups.  You can now only add units to groups that
are on your Team.  So you can't group enemy or neutral units. You also cannot
add buildings to a group unless the building is the only thing in the group.
Same goes for trying to add units to a group with a building in it.
2005-04-14 08:29:34 +00:00
nehalmistry
4e0c88dbb6 update install instructions for mingw 2005-04-13 18:06:30 +00:00
jarod42
7fc547861f Fixed bug #1163727: Problems with upgrade-to
upgrade-to is now correct with size-unit, demand
Add SaveSelection and RestoreSelection to not broke selection when upgrading-to
2005-04-11 19:06:51 +00:00
jarod42
16e4880933 Add Tips and Objectives text for StringDesc. 2005-04-04 16:21:39 +00:00
jsalmon3
3a18985c31 Updated menu docs for feb 2005-04-02 22:00:59 +00:00
jsalmon3
fd65e6da6b Added unit portraits 2005-03-27 19:48:40 +00:00
jsalmon3
948b520520 Added unit portraits 2005-03-27 19:42:00 +00:00
feber
7cbc73b0de Replaced IfUnitAt by GetNumUnitsAt 2005-03-26 10:18:27 +00:00
feber
9edfff4e27 Replaced IfTimer by GetTimer 2005-03-26 09:56:52 +00:00
feber
a730d9cf8a Removed IfUnit, use GetPlayerData(player, "TotalNumUnits") instead. 2005-03-26 09:49:02 +00:00
feber
f1a82276b0 Replaced IfOpponents by GetNumOpponents. 2005-03-25 22:32:35 +00:00
feber
a0d70e6228 Removed IfSwitch and ActionSetSwitch.
Removed IfScore, IfKills and IfResource. Use GetPlayerData instead.
Removed IfElapsed, use GameCycle instead.
2005-03-25 21:50:12 +00:00
jsalmon3
d40ca6770f Added DefinePlayerColors 2005-03-19 23:04:57 +00:00
jsalmon3
01bc987e9b Player colors are now configurable 2005-03-19 22:59:31 +00:00
jarod42
918524b107 Extend StringDesc with Line (substring line from StringDesc). 2005-03-18 16:47:31 +00:00
jsalmon3
182701a19b Center on group when key is double pressed 2005-03-12 20:44:20 +00:00
jsalmon3
511d47723c Updated animations 2005-03-12 14:09:29 +00:00
feber
04503f6044 Applied patch #1160159: Enable Metaserver Support (from Brian Haase). 2005-03-10 21:49:59 +00:00
nehalmistry
51b9f12870 add starcraft question 2005-03-07 03:31:22 +00:00
jsalmon3
cc02578d7f Rewrote animations, fixed bug #1114295: Game breaks with oversized resolution 2005-03-06 18:23:47 +00:00
nehalmistry
2b094ef3c0 add libtheora to dependancy list 2005-02-28 06:24:55 +00:00
jarod42
987ffad937 Remove Damage and ExtraDamage variable (use only in ui.lua)
Replace Stats.{Level,*Damage, Armor} with Variables[].Value
Perform getting variable of unit for lua.
2005-02-24 13:13:31 +00:00
jarod42
8f314cd0e7 Stat option of DefinePanelContents() shows upgrade evolution better. 2005-02-23 15:40:38 +00:00
jarod42
f1f5e966df Perform Panel Info configuration. 2005-02-14 19:34:46 +00:00
jarod42
0b42345e3e Fixed bug #1121384: [BigMapMode] Mouse selection error. 2005-02-13 21:48:19 +00:00
feber
84540bf35e Improved documentation of the sleep argument in animations. 2005-02-12 22:04:04 +00:00
jarod42
bd24ed9d26 Perform Panel Info configuration. 2005-02-10 23:23:30 +00:00
mr-russ
42ca7c4fe2 Fixed bug #1111374: No supply provided if supplier trained 2005-02-09 08:23:15 +00:00
feber
71b7d3a577 Added the list of allowed animation names. 2005-01-23 10:02:48 +00:00
mr-russ
9d38e1da39 Fixed bug #1072829: Radar working during construction 2004-12-28 01:04:32 +00:00
feber
a54ee6e645 Added support functions for the lua map api. With this version it's possible to load a map completely via the lua scripts and without any pud.
Activate the lua map api by defining LUA_MAP_API.
2004-12-27 09:17:00 +00:00
feber
172120c576 Allow sound paths outside of the sounds subdirectory.
Cleanup of LibraryFileName.
2004-12-19 11:05:05 +00:00
jarod42
414446bea9 Add auto repair mode 2004-12-16 19:16:29 +00:00
feber
1b7fa8c1e6 Allow graphics paths outside of the graphics subdirectory (from Russel Smith and Francois Beerten) 2004-12-15 14:15:58 +00:00
feber
d941c77141 Small lua documentation fixes. 2004-12-15 12:23:58 +00:00
feber
fab17a0502 Added lua function ListDirectory which lists the files in a directory. 2004-12-12 19:26:46 +00:00
jarod42
a3f9700537 Big unit can move. 2004-12-12 16:15:51 +00:00
jarod42
01a36d34f0 Update documentation for DefineUnitStats() 2004-12-04 17:12:42 +00:00
jarod42
f905744f71 Fixed bug #1077857 assertion failure while loading saved game 2004-12-03 21:56:04 +00:00
jarod42
9bdcbe4bf3 Fixed bug #936920 Walls change from human to orc in editor 2004-11-30 16:02:27 +00:00
jarod42
318e401781 Upgrade works now for defined variables 2004-11-23 19:52:33 +00:00
jarod42
7692aa7ab0 Add Radar{Jammer,}Range in DefineUnitType() 2004-11-22 14:13:18 +00:00
mr-russ
8f612a53db Add Items to changelog that should have been added when commits for radar and
patches were made
2004-11-22 07:45:46 +00:00
mr-russ
3f8ddf3290 Applied Patch #1061898: extension (bug fix?) for the unit offset 2 (From Gorm_) 2004-11-22 07:42:44 +00:00
nehalmistry
341c3b949d document DefinePlaySections 2004-11-21 17:37:20 +00:00
mr-russ
dc8b8d4b2c Added Radar and Radar Jamming support. 2004-11-20 12:56:15 +00:00
jarod42
d6b217798d Apply documentation patch #1068695 clarify animation frame numbers 2004-11-18 13:44:19 +00:00
feber
8f42e28f58 Fixed compile bugs: uninitialised variables (patch 1063696 from Frank Loeffler)
Cleanup.
2004-11-10 12:13:05 +00:00
feber
1ae03d867f Removed unused and useless DefineMissileTypeWcNames lua function. 2004-11-09 22:25:14 +00:00
jarod42
0afdb18e50 Allow user to define the formula to compute damage with SetDamageFormula 2004-11-09 22:12:33 +00:00
feber
9653085f96 Use CC environment variable at ./configure (patch 1061836 from Frank Loeffler). 2004-11-07 10:23:46 +00:00
feber
9a84625249 Added SetStartView lua api function. 2004-11-06 20:46:32 +00:00
mr-russ
f03ac12105 Added offset parameter to unittype 2004-11-04 11:32:00 +00:00
jarod42
14da5bb929 Tell mana calculation for action spell.
Fix warning
2004-11-03 05:56:51 +00:00
jarod42
89b08fe28f Unit with no movement can attack manualy 2004-11-03 03:03:33 +00:00
jarod42
80da1a5d25 Split Decoration Unittype flag into IsNotSelectable, Indestructible
and Decoration (act as tile).
2004-11-01 17:24:19 +00:00