EngineChangelogForContentDevs: Difference between revisions

From Spring
Jump to navigationJump to search
Knorke (talk | contribs)
startunit, since people from superold mods wonder about it..
Knorke (talk | contribs)
Line 8: Line 8:


* new folder structure: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044
* new folder structure: http://springrts.com/phpbb/viewtopic.php?f=12&t=30044
* the folder "mods" isn't supported any more: {{Sourcelinkhash|7d3830a01c7e81377c1fd3369658d95b82979612}}
* the folder "mods" isn't supported any more: {{Sourcelinkhash|7d3830a01c7e81377c1fd3369658d95b82979612}}
* change to weapon indexing in lua gadgets: {{Sourcelinkhash|ba9721b4e4a296f35efd9838a36c94ab7a9f476e}} (likely to cause index out of bounds errors in any gadgets using weapon related API calls)
 
* .moveData has been removed, use .moveDef instead {{Sourcelinkhash|4e58b8b0f7af04065878d34e5e17523246739b0c}}
'''Lua:'''
 
* change to weapon indexing in lua gadgets: {{Sourcelinkhash|ba9721b4e4a296f35efd9838a36c94ab7a9f476e}} (likely to cause index out of bounds errors in any gadgets using weapon related API calls) ALL weapon API functions are 1-based now!
 
* .moveData has been removed, use .moveDef instead {{Sourcelinkhash|4e58b8b0f7af04065878d34e5e17523246739b0c}} (detecting what type of unit a unit is, isCommander etc)
 
* Spring.GetUnitNearestEnemy doesn't return neutral units anymore
 
'''Misc:'''
* load only image formats which work on all platforms, current supported image formats are:
PNG, JPG, TGA, DDS, BMP  (note: no more .jp2)


==Spring 94.0 (or 93, or 92)==
==Spring 94.0 (or 93, or 92)==

Revision as of 02:46, 25 August 2013

About this page

This page holds informations about engine changes that are relevant to game/map makers. The idea is to replace the "make your game ready for next release"-threads with a wiki page because unlike a forumpost, everybody can edit this. So if you find a thread (or mantis post etc) that explains a fix, please add it here. Back-link to forum. Use for bumping.

Spring 95.0

  • the folder "mods" isn't supported any more: 7d3830a0

Lua:

  • change to weapon indexing in lua gadgets: ba9721b4 (likely to cause index out of bounds errors in any gadgets using weapon related API calls) ALL weapon API functions are 1-based now!
  • .moveData has been removed, use .moveDef instead 4e58b8b0 (detecting what type of unit a unit is, isCommander etc)
  • Spring.GetUnitNearestEnemy doesn't return neutral units anymore

Misc:

  • load only image formats which work on all platforms, current supported image formats are:
PNG, JPG, TGA, DDS, BMP  (note: no more .jp2)

Spring 94.0 (or 93, or 92)

  • gadget:UnitPreDamaged has a new projectileId argument inserted in the middle, so attackerID, attackerDefID, attackerTeam shifted position
  • Bomb weapons need a range, or they won't be fired
  • Spring.AddUnitDamage requires a weaponDefID (may be a bug, may be corrected for 95) http://springrts.com/mantis/view.php?id=3841
  • QueryNanoPiece is called much less often

Spring 86.0, 87.0


mantis 3019
fixed in next release.


  • builders stop reclaiming sometimes.

fixed for next engine release: http://springrts.com/mantis/view.php?id=3012
want it to work right now: use a gadget as workaround

Spring 0.83, 84.0, 85.0

Spring 0.82