Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
5021dcfc
Commit
5021dcfc
authored
Apr 08, 2020
by
lupoDharkael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete enums
parent
26ecd924
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
7 deletions
+0
-7
global_constants.cpp
core/global_constants.cpp
+0
-3
object.h
core/object.h
+0
-1
godot_nativescript.h
modules/gdnative/include/nativescript/godot_nativescript.h
+0
-3
No files found.
core/global_constants.cpp
View file @
5021dcfc
...
...
@@ -568,9 +568,6 @@ void register_global_constants() {
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_INTERNATIONALIZED
);
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_GROUP
);
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_CATEGORY
);
//deprecated, replaced by ClassDB function to check default value
//BIND_GLOBAL_ENUM_CONSTANT(PROPERTY_USAGE_STORE_IF_NONZERO);
//BIND_GLOBAL_ENUM_CONSTANT(PROPERTY_USAGE_STORE_IF_NONONE);
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_NO_INSTANCE_STATE
);
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_RESTART_IF_CHANGED
);
BIND_GLOBAL_ENUM_CONSTANT
(
PROPERTY_USAGE_SCRIPT_VARIABLE
);
...
...
core/object.h
View file @
5021dcfc
...
...
@@ -60,7 +60,6 @@ enum PropertyHint {
PROPERTY_HINT_ENUM
,
///< hint_text= "val1,val2,val3,etc"
PROPERTY_HINT_EXP_EASING
,
/// exponential easing function (Math::ease) use "attenuation" hint string to revert (flip h), "full" to also include in/out. (ie: "attenuation,inout")
PROPERTY_HINT_LENGTH
,
///< hint_text= "length" (as integer)
PROPERTY_HINT_SPRITE_FRAME
,
// FIXME: Obsolete: drop whenever we can break compat. Keeping now for GDNative compat.
PROPERTY_HINT_KEY_ACCEL
,
///< hint_text= "length" (as integer)
PROPERTY_HINT_FLAGS
,
///< hint_text= "flag1,flag2,etc" (as bit flags)
PROPERTY_HINT_LAYERS_2D_RENDER
,
...
...
modules/gdnative/include/nativescript/godot_nativescript.h
View file @
5021dcfc
...
...
@@ -54,7 +54,6 @@ typedef enum {
GODOT_PROPERTY_HINT_ENUM
,
///< hint_text= "val1,val2,val3,etc"
GODOT_PROPERTY_HINT_EXP_EASING
,
/// exponential easing function (Math::ease)
GODOT_PROPERTY_HINT_LENGTH
,
///< hint_text= "length" (as integer)
GODOT_PROPERTY_HINT_SPRITE_FRAME
,
// FIXME: Obsolete: drop whenever we can break compat
GODOT_PROPERTY_HINT_KEY_ACCEL
,
///< hint_text= "length" (as integer)
GODOT_PROPERTY_HINT_FLAGS
,
///< hint_text= "flag1,flag2,etc" (as bit flags)
GODOT_PROPERTY_HINT_LAYERS_2D_RENDER
,
...
...
@@ -96,8 +95,6 @@ typedef enum {
GODOT_PROPERTY_USAGE_INTERNATIONALIZED
=
64
,
//hint for internationalized strings
GODOT_PROPERTY_USAGE_GROUP
=
128
,
//used for grouping props in the editor
GODOT_PROPERTY_USAGE_CATEGORY
=
256
,
GODOT_PROPERTY_USAGE_STORE_IF_NONZERO
=
512
,
// FIXME: Obsolete: drop whenever we can break compat
GODOT_PROPERTY_USAGE_STORE_IF_NONONE
=
1024
,
// FIXME: Obsolete: drop whenever we can break compat
GODOT_PROPERTY_USAGE_NO_INSTANCE_STATE
=
2048
,
GODOT_PROPERTY_USAGE_RESTART_IF_CHANGED
=
4096
,
GODOT_PROPERTY_USAGE_SCRIPT_VARIABLE
=
8192
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment