Dan Guzek eae5fcb3ba expose InsertCoin and InsertCredit to Lua
This commit exposes InsertCoin() and InsertCredit() to Lua under GAMESTATE.  It adds a check to ensure overall credits don't become negative when deducting and only plays sounds if credits are being added.

Themers are instructed to deduct credits by passing negative values to InsertCoin.
2014-09-01 19:00:00 -04:00
2011-09-07 17:42:29 -05:00
2013-07-18 17:41:10 -04:00
2012-07-20 12:08:54 -07:00
2011-07-16 15:14:08 -05:00
2014-03-12 08:17:53 -07:00
2014-08-31 21:59:00 -04:00
2014-02-04 01:50:59 -08:00

StepMania

Advanced cross-platform rhythm game for home and arcade use.

Build Status

Source is all MIT Licensed, songs are CC-NC, builds with MAD or GPL-licensed FFMPEG codecs are GPL.

S
Languages
C++ 85.7%
Lua 4.3%
C 4.3%
Rich Text Format 2.3%
CMake 1.1%
Other 2%