mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Removed 'release mode' and love.releaseerrhand, and added love.filesystem.isFused (resolves issue #579).
Games which are fused (either via appending the .love to the executable or with --fused) automatically have the changes which previously only applied to fused games in release mode.
This commit is contained in:
@@ -93,8 +93,8 @@ public:
|
||||
|
||||
void init(const char *arg0);
|
||||
|
||||
void setRelease(bool release);
|
||||
bool isRelease() const;
|
||||
void setFused(bool fused);
|
||||
bool isFused() const;
|
||||
|
||||
/**
|
||||
* This sets up the save directory. If the
|
||||
@@ -280,12 +280,6 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
// Counts open files.
|
||||
int open_count;
|
||||
|
||||
// Pointer used for file reads.
|
||||
char *buffer;
|
||||
|
||||
// Contains the current working directory (UTF8).
|
||||
std::string cwd;
|
||||
|
||||
@@ -309,8 +303,8 @@ private:
|
||||
|
||||
// Allow saving outside of the LOVE_APPDATA_FOLDER
|
||||
// for release 'builds'
|
||||
bool release;
|
||||
bool releaseSet;
|
||||
bool fused;
|
||||
bool fusedSet;
|
||||
|
||||
static StringMap<SearchOrder, SEARCH_ORDER_MAX_ENUM>::Entry orderEntries[];
|
||||
static StringMap<SearchOrder, SEARCH_ORDER_MAX_ENUM> orders;
|
||||
|
||||
Reference in New Issue
Block a user