Michael Sundqvist and Martin Natano
0cba3579de
Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
...
Fix whitespace changes
2022-07-31 22:14:38 +02:00
Martin Natano
d54bc6857f
Prevent access to /Save/Preferences.ini from lua
...
Directly writing to the file would circumvent preference protections,
compromising security.
2022-05-07 23:53:58 +02:00
Martin Natano and teejusb
1036d20e11
Implement FILEMAN:Copy(string fromPath, string toPath)
...
Copies a file from `fromPath` to `toPath`. Returns `true` if the file
was copied successfully.
2022-03-13 12:37:11 -07:00
Martin Natano and teejusb
67d1c78450
Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)
...
Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
2022-03-13 11:46:28 -07:00
Martin Natano
168877f6a8
Mount directories read-only where possible
2022-03-12 22:30:54 +01:00
Colin Wallace
473974e52f
Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace)
2015-03-27 05:22:55 +00:00
Kyzentun
e22e99251e
Added functions to ActorUtil for converting the extension to a file type and changed various places that had lists of extensions to use ActorUtil instead of duplicating the list of extensions. Added webm and wmv to list of video types.
2014-11-09 00:04:47 -07:00
Jason Felds
bfe6e0076d
Port ResolvePath from OpenITG.
...
Also, forgot to [sqlite] this earlier.
2011-06-15 22:36:58 -04:00
Jason Felds
3d155c9970
NOW I start moving prototypes to headers?
...
I need to be more consistent...gah, hungry.
2011-06-12 19:35:24 -04:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
1a1ff7d701
Give @briefs to all namespaces.
...
This will force recompilation of all files.
2011-02-19 12:09:03 -05:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00