mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-26 03:06:42 +00:00
# Add opt-in automatic feedback system.
Add GL implementation limits to hwdetect. Make the in-game manual support multiple text files. Remove unnecessary instruction on how to close the manual window. Make guitextobject.caption return the original value without stripping formatting tags. Remove unused non-VFS support from config system. Support writing config files back to their original path. Remove unnecessary user profile directory; use normal config directory. This was SVN commit r8925.
This commit is contained in:
@@ -176,14 +176,14 @@ public:
|
||||
* Optionally makes it {ReadOnly, DontDelete, DontEnum}.
|
||||
*/
|
||||
template<typename T>
|
||||
bool SetProperty(jsval obj, const char* name, const T& value, bool constant, bool enumerate = true);
|
||||
bool SetProperty(jsval obj, const char* name, const T& value, bool constant = false, bool enumerate = true);
|
||||
|
||||
/**
|
||||
* Set the integer-named property on the given object.
|
||||
* Optionally makes it {ReadOnly, DontDelete, DontEnum}.
|
||||
*/
|
||||
template<typename T>
|
||||
bool SetPropertyInt(jsval obj, int name, const T& value, bool constant, bool enumerate = true);
|
||||
bool SetPropertyInt(jsval obj, int name, const T& value, bool constant = false, bool enumerate = true);
|
||||
|
||||
template<typename T>
|
||||
bool GetProperty(jsval obj, const char* name, T& out);
|
||||
|
||||
Reference in New Issue
Block a user