Removed dataPathOrg/App config options, changed example config
This commit is contained in:
		
							parent
							
								
									5118df09f4
								
							
						
					
					
						commit
						eee13befa7
					
				
					 3 changed files with 0 additions and 33 deletions
				
			
		| 
						 | 
					@ -25,12 +25,6 @@
 | 
				
			||||||
# printFPS=false
 | 
					# printFPS=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Game window is resizable
 | 
					 | 
				
			||||||
# (default: enabled)
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# winResizable=true
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Start game in fullscreen (this can
 | 
					# Start game in fullscreen (this can
 | 
				
			||||||
# always be toggled with Alt-Enter at runtime)
 | 
					# always be toggled with Alt-Enter at runtime)
 | 
				
			||||||
# (default: disabled)
 | 
					# (default: disabled)
 | 
				
			||||||
| 
						 | 
					@ -127,31 +121,12 @@
 | 
				
			||||||
# anyAltToggleFS=false
 | 
					# anyAltToggleFS=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enable F12 game reset
 | 
					 | 
				
			||||||
# (default: disabled)
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# enableReset=false
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Allow symlinks for game assets to be followed
 | 
					# Allow symlinks for game assets to be followed
 | 
				
			||||||
# (default: disabled)
 | 
					# (default: disabled)
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# allowSymlinks=false
 | 
					# allowSymlinks=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Organisation / company and application / game
 | 
					 | 
				
			||||||
# name to build the directory path where mkxp
 | 
					 | 
				
			||||||
# will store game specific data (eg. key bindings).
 | 
					 | 
				
			||||||
# If not specified, mkxp will save to a common
 | 
					 | 
				
			||||||
# directory shared by all games. Note that these
 | 
					 | 
				
			||||||
# are TWO individual config entries, and both need
 | 
					 | 
				
			||||||
# to be defined for this to take effect.
 | 
					 | 
				
			||||||
# (default: none)
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# dataPathOrg=mycompany
 | 
					 | 
				
			||||||
# dataPathApp=mygame
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Set the game window icon to 'path/to/icon.png'
 | 
					# Set the game window icon to 'path/to/icon.png'
 | 
				
			||||||
# (default: none)
 | 
					# (default: none)
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -153,8 +153,6 @@ void Config::read(int argc, char *argv[])
 | 
				
			||||||
	PO_DESC(gameFolder, std::string, ".") \
 | 
						PO_DESC(gameFolder, std::string, ".") \
 | 
				
			||||||
	PO_DESC(anyAltToggleFS, bool, false) \
 | 
						PO_DESC(anyAltToggleFS, bool, false) \
 | 
				
			||||||
	PO_DESC(allowSymlinks, bool, false) \
 | 
						PO_DESC(allowSymlinks, bool, false) \
 | 
				
			||||||
	PO_DESC(dataPathOrg, std::string, "") \
 | 
					 | 
				
			||||||
	PO_DESC(dataPathApp, std::string, "") \
 | 
					 | 
				
			||||||
	PO_DESC(iconPath, std::string, "") \
 | 
						PO_DESC(iconPath, std::string, "") \
 | 
				
			||||||
	PO_DESC(execName, std::string, "Game") \
 | 
						PO_DESC(execName, std::string, "Game") \
 | 
				
			||||||
	PO_DESC(midi.soundFont, std::string, "") \
 | 
						PO_DESC(midi.soundFont, std::string, "") \
 | 
				
			||||||
| 
						 | 
					@ -227,9 +225,6 @@ void Config::read(int argc, char *argv[])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	SE.sourceCount = clamp(SE.sourceCount, 1, 64);
 | 
						SE.sourceCount = clamp(SE.sourceCount, 1, 64);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!dataPathOrg.empty() && !dataPathApp.empty())
 | 
					 | 
				
			||||||
		customDataPath = prefPath(dataPathOrg.c_str(), dataPathApp.c_str());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	commonDataPath = prefPath(".", "Oneshot");
 | 
						commonDataPath = prefPath(".", "Oneshot");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	//Hardcode some ini/version settings
 | 
						//Hardcode some ini/version settings
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -53,9 +53,6 @@ struct Config
 | 
				
			||||||
	bool allowSymlinks;
 | 
						bool allowSymlinks;
 | 
				
			||||||
	bool pathCache;
 | 
						bool pathCache;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	std::string dataPathOrg;
 | 
					 | 
				
			||||||
	std::string dataPathApp;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	std::string iconPath;
 | 
						std::string iconPath;
 | 
				
			||||||
	std::string execName;
 | 
						std::string execName;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue