fix: revert // to / in deck.gd (GDScript 4 does not support // operator)
The INTEGER_DIVISION warning in deck.gd:19 is a false positive - both operands are int, so / performs integer division correctly in GDScript 4. Using // caused a parse error (Expected expression after '/' operator), which cascaded to GameController/TrainingController resolution failure.
This commit is contained in:
129
.godot/global_script_class_cache.cfg
Normal file
129
.godot/global_script_class_cache.cfg
Normal file
@@ -0,0 +1,129 @@
|
||||
list=[{
|
||||
"base": &"RefCounted",
|
||||
"class": &"Actions",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/actions.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"BaseAI",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/ai/base_ai.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"Card",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/card.gd"
|
||||
}, {
|
||||
"base": &"Control",
|
||||
"class": &"CardNode",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/ui/components/card_node.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"Deck",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/deck.gd"
|
||||
}, {
|
||||
"base": &"Node",
|
||||
"class": &"GameController",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/game/game_controller.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"GameState",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/game_state.gd"
|
||||
}, {
|
||||
"base": &"HBoxContainer",
|
||||
"class": &"HandArea",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/ui/components/hand_area.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"HandEvaluator",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/hand_evaluator.gd"
|
||||
}, {
|
||||
"base": &"BaseAI",
|
||||
"class": &"L1BasicAI",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/ai/l1_basic_ai.gd"
|
||||
}, {
|
||||
"base": &"BaseAI",
|
||||
"class": &"L2RuleAI",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/ai/l2_rule_ai.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"MoveGenerator",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/move_generator.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"Round",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/round.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"RuleConfig",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/rule_config.gd"
|
||||
}, {
|
||||
"base": &"RefCounted",
|
||||
"class": &"RuleEngine",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/core/rule_engine.gd"
|
||||
}, {
|
||||
"base": &"GameController",
|
||||
"class": &"TrainingController",
|
||||
"icon": "",
|
||||
"is_abstract": false,
|
||||
"is_tool": false,
|
||||
"language": &"GDScript",
|
||||
"path": "res://src/game/training_controller.gd"
|
||||
}]
|
||||
Reference in New Issue
Block a user