[epiar-commits] [knowknowledge/Epiar] b7a94a: Added some needed shield variables and ship now ta...

noreply at github.com noreply at github.com
Tue Aug 24 01:31:01 PDT 2010


Branch: refs/heads/master
Home:   http://github.com/knowknowledge/Epiar

Commit: b7a94a96327d99898c882a982fe062507907b0ff
    http://github.com/knowknowledge/Epiar/commit/b7a94a96327d99898c882a982fe062507907b0ff
Author: DuMuT6p <plural at abv.bg>
Date:   2010-08-21 (Sat, 21 Aug 2010)

Changed paths:
  M Resources/Definitions/models-default.xml
  M Source/Engine/models.cpp
  M Source/Engine/models.h
  M Source/Engine/outfit.cpp
  M Source/Sprites/ship.cpp
  M Source/Sprites/ship.h
  M Source/Utilities/lua.cpp

Log Message:
-----------
Added some needed shield variables and ship now takes damage if there are no shields, the values in models-default.xml will be balanced later[now they copy exactly the hullStrength]


Commit: 916253b1cf4874e4a1faf9e9fd983b872db97aaa
    http://github.com/knowknowledge/Epiar/commit/916253b1cf4874e4a1faf9e9fd983b872db97aaa
Author: Matt Zweig <thezweig at gmail.com>
Date:   2010-08-22 (Sun, 22 Aug 2010)

Changed paths:
  M Resources/Scripts/player.lua
  M Source/Engine/hud.cpp
  M Source/Engine/hud.h
  M Source/Engine/simulation.cpp

Log Message:
-----------
Change the way that StatusBars change values

Before, there was a function "UpdateHUD" that needed to be called every tick and would update each StatusBar.  Now each StatusBar has a "lua_updater" string that it uses to fetch it's new value on each update tick.

The lua_updater string is evaluated and the return value is used as the new name or ratio value.  The evaluation is implicitly returned, so the Lua script can use "7" or "foo()"rather than "return 7" or "return foo()".

This also moves the starfield, camera, and Hud Update calls outside of the pause check.  (This way the 'credits' StatusBar can update while the User is buying things.)


Commit: f1c095b381f54153469f1cbd3eab8cf5650dc820
    http://github.com/knowknowledge/Epiar/commit/f1c095b381f54153469f1cbd3eab8cf5650dc820
Author: Matt Zweig <thezweig at gmail.com>
Date:   2010-08-23 (Mon, 23 Aug 2010)

Changed paths:
  M Source/Sprites/planets.cpp
  M Source/Sprites/spritemanager.cpp

Log Message:
-----------
Fix STL sort usage

STL list sorting only works on adjacent elements, so the lists have to be sorted first.


Commit: 100ab4be19bae954c2f65c1420c6a5b9360f0408
    http://github.com/knowknowledge/Epiar/commit/100ab4be19bae954c2f65c1420c6a5b9360f0408
Author: Matt Zweig <thezweig at gmail.com>
Date:   2010-08-23 (Mon, 23 Aug 2010)

Changed paths:
  M Resources/Scripts/basics.lua

Log Message:
-----------
Fix broken Bully AI

When the Bully got too far from a planet, it would just keep trying to fly perpendicular to it ("Orbitting") rather than move towards it.


Commit: 5eef51ba4e40d6c515dab55c582ae5f879b3e041
    http://github.com/knowknowledge/Epiar/commit/5eef51ba4e40d6c515dab55c582ae5f879b3e041
Author: Matt Zweig <thezweig at gmail.com>
Date:   2010-08-24 (Tue, 24 Aug 2010)

Changed paths:
  M Resources/Scripts/player.lua
  M Source/AI/ai_lua.cpp
  M Source/AI/ai_lua.h
  M Source/Sprites/ship.cpp
  M Source/Sprites/ship.h

Log Message:
-----------
Adds Lua hooks for the Ship shields


Commit: 238c9f05033eb82104a49360ab12be7a068b58d4
    http://github.com/knowknowledge/Epiar/commit/238c9f05033eb82104a49360ab12be7a068b58d4
Author: Matt Zweig <thezweig at gmail.com>
Date:   2010-08-24 (Tue, 24 Aug 2010)

Changed paths:
  M Resources/Definitions/models-default.xml
  M Resources/Scripts/player.lua
  M Source/AI/ai_lua.cpp
  M Source/AI/ai_lua.h
  M Source/Engine/models.cpp
  M Source/Engine/models.h
  M Source/Engine/outfit.cpp
  M Source/Sprites/ship.cpp
  M Source/Sprites/ship.h
  M Source/Utilities/lua.cpp

Log Message:
-----------
Merge branch 'shields'

Conflicts:
	Resources/Scripts/player.lua




More information about the epiar-commits mailing list