ReleaseNotes:98.0: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
mNo edit summary
Abma (talk | contribs)
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:


=New features=
=New features=
==Major==
===Visual profiling and grapher that shows how Spring spends time====


[[File:Grapher.jpg|thumb|
==More languages supported!==
green are video frames
    red are simframes
    blue is swapBuffer (gpu/vsync)
    pink is lua gc]]


You see that `Frame Grapher` which displays the last half second and its time slices:
Thanks to utf8 being added to Spring, signs from more languages now display correctly:  
 
 
===UTF8-Support===
 
[[File:Before.jpg|thumb|spring 96.0 without utf8 support]]
[[File:After.jpg|thumb|spring 97.0 with utf8 support]]


UTF8-Support.
[[File:After.jpg|700px]]


==Visual profiling and grapher that shows how Spring spends time==


[[File:Grapher.jpg|700px]]


green are video frames
    red are simframes
    blue is swapBuffer (gpu/vsync)
    pink is lua gc


==Buildprocess==
You see that `Frame Grapher` which displays the last half second and its time slices
- fix freetype not found on windows / mingw
! add check for gcc >=4.6 at configure
- optional fontconfig support
! SDL2 dependency


==Misc==
==KeyChains hotkeys==
- improve debug draw (alt+[b])
New hotkey system that allows for chained key presses, by new developer MajBoredom.


==Rendering==
(idk what excactly this does but it seems worth mentioning, add details to description)
- `DebugGL` configtag works now (cause of SDL2 switch)


==LuaDefs==
==spring:// urls==
- the parser now checks the returned tables for NaNs & Infs and prints a warning if it finds some (they are sources of desyncs!)
http://springrts.com/phpbb/viewtopic.php?f=12&t=31846


==UnitDefs==
==ingame lobby ==
- add new "harvestStorage" unitdef tag, UnitHarvestStorageFull lua callin and Spring.GetUnitHarvestStorage(unitid) callout
(luasocket default enabled)
  it's for engine assisted starcraft/c&c like feature harvesting (atm only metal is supported)
http://springrts.com/phpbb/viewtopic.php?p=561799#p561799
  NOTE: the unload command still needs to be implemented in lua (much less work than the reclaiming one)


==Lua==
==support for SSMF Detail Normal Textures==
- LuaRules & LuaGaia are now splitted into their synced & unsynced parts, and each one got its own luaState
  - this way unsynced parts of gadgets now get `synced` callins like 'UnitCreated' etc. w/o SendToUnsynced from their synced part
  - LuaRules & LuaGaia are now ~equal (except a very minor subset of differences) and get the same callins esp. all AllowXYZ callins
  - LuaUI now has a GotChatMsg too (same as LuaRules always had), it's similar to the now deprecated LuaUI-only ConfigCommand callin, but is called more often
  - fixed a lot bugs in Spring's c-lua code
  - use lua's original math.random() code and only use streflop for it in synced luaStates
  - always make math.randomseed() available (synced & unsynced)
  - in future this will also allow multithreading of the different luaStates
- fix Spring.Restart on windows
! new TextInput(utf8char) callin, needed cause of changed unicode handling in SDL2
- added Spring.SetUnitHarvestStorage(unitid, metal) & Spring.GetUnitHarvestStorage(unitid)
! prevent triggering of ATi driver bugs
  ! gl.LineWidth & gl.PointSize throw an error when called with incorrect argument (<=0)
  ! gl.Scissor & gl.CreateTexture throw an error on incorrect sizes, too
! fix gl.Viewport
- add missing colvol tags to Unit-/FeatureDefs:
  - .collisionVolume.type = {"ellipsoid" | "cylinder" | "box"}
  - .collisionVolume.scale{X|Y|Z}
  - .collisionVolume.offset{X|Y|Z}
  - .collisionVolume.boundingRadius
  - .collisionVolume.defaultToSphere
  - .collisionVolume.defaultToFootPrint
  - .collisionVolume.defaultToPieceTree
- add optional 4th argument to Spring.GetUnitSeperation to calc the distance between the unitsphere surfaces instead of their midpos
! fix wrong coords & crash in Spring.RemoveGrass


==LUS==
when https://github.com/spring/spring/pull/131 get merged: http://beherith.eat-peet.net/stuff/baryay.jpg
- SetUnitValue now accepts booleans, too


==Installer==
[[Category:Releases]]
! disallow to install spring over existing installations / ask for uninstall first
- don't associate .sdf with spring.exe any more

Latest revision as of 04:38, 1 October 2014


New features

More languages supported!

Thanks to utf8 being added to Spring, signs from more languages now display correctly:

UTF8-Support.

Visual profiling and grapher that shows how Spring spends time

green are video frames
   red are simframes
   blue is swapBuffer (gpu/vsync)
   pink is lua gc

You see that `Frame Grapher` which displays the last half second and its time slices

KeyChains hotkeys

New hotkey system that allows for chained key presses, by new developer MajBoredom.

(idk what excactly this does but it seems worth mentioning, add details to description)

spring:// urls

http://springrts.com/phpbb/viewtopic.php?f=12&t=31846

ingame lobby

(luasocket default enabled) http://springrts.com/phpbb/viewtopic.php?p=561799#p561799

support for SSMF Detail Normal Textures

when https://github.com/spring/spring/pull/131 get merged: baryay.jpg