Commit Graph

16 Commits

Author SHA1 Message Date
Vas Crabb
fab84e8d2b Mostly revert "Create console history file in homepath (#8026)"
The change to make the console plugin work is preserved.

This reverts commit 25137717c9.
2021-05-07 02:14:05 +10:00
Szunti
25137717c9
Create console history file in homepath (#8026)
* Fix console history path, homepath is a core option

* Create missing directories recursively in lua plugins.

* Add lfs to global environment in a less magical way.

require normally doesn't bind the name globally just returns the
module, mame sets a preloader that does bind lfs globally, but
maybe it's less surprising to do it explicitly
2021-05-03 20:40:10 -04:00
Vas Crabb
9e36b6a6d9 More Lua interface cleanup - it's simpler with cleaner underlyng APIs.
Made the sound manager mute controls readable, and got rid of system
enable since it just controls system mute anyway.  This was causing
confusion: phantom2 was trying to use both independentlyt casuing the
mute bit to be ignored.

THe Lua interface changes are mostly changing methods to properties,
some renames to make things clearer, and some additional properties for
better control over snapshots.
2020-12-27 01:32:37 +11:00
AJR
e70d4ebb34 plugins: Replace environment variable substitution function with core version 2020-12-08 09:44:32 -05:00
cracyc
cf4c08014b plugins: gettextify localizable strings (nw) 2017-09-03 22:04:33 -05:00
Vas Crabb
7238415d1f srcclean (nw) 2016-11-27 09:56:49 +11:00
Miodrag Milanovic
b73126e85a added OPTION_HOMEPATH to point to read/write folder,for now used by LUA scripts (nw)
Copied all needed files so plugins could be started under UWP
2016-11-12 15:27:22 +01:00
Miodrag Milanovic
694657af7c stupid copy/paste (nw) 2016-11-08 10:58:59 +01:00
Miodrag Milanovic
99df581038 Made timer plugin use sqlite3 (nw) 2016-11-08 09:52:10 +01:00
Vas Crabb
f5356a62de srcclean on lua plugins, too 2016-08-30 15:53:27 +10:00
cracyc
2028ec2917 plugins/timer: don't fail if file is corrupt (nw) 2016-04-24 17:06:25 -05:00
cracyc
cf8c7fb206 luaengine: make flags explicit (nw) 2016-04-09 09:02:07 -05:00
cracyc
aee051e46d plugins/timer: add play count (nw) 2016-04-08 13:18:04 -05:00
cracyc
0e5c6cb8c1 plugins/timer: save to the correct file (nw) 2016-04-08 08:33:55 -05:00
cracyc
06e2aa26a2 oops++ (nw) 2016-04-07 21:42:42 -05:00
cracyc
a94eeb628f plugins/timer: add sample plugin for game time [Carl] 2016-04-07 21:29:40 -05:00