-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "feat: wonder model" #2396
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,8 @@ export const hyperstructureStageToModel: Record<StructureProgress, string> = { | |
[StructureProgress.STAGE_3]: HyperstructureTypesNames.STAGE_3, | ||
}; | ||
|
||
export const WONDER_REALM = "Wonder"; | ||
|
||
export const buildingModelPaths: Record< | ||
BuildingType | ResourceMiningTypes | RealmLevelNames | HyperstructureTypesNames | typeof WONDER_REALM, | ||
BuildingType | ResourceMiningTypes | RealmLevelNames | HyperstructureTypesNames, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Wonder-related code still present in multiple locations Several wonder-related code references still exist across the codebase that may need attention:
🔗 Analysis chainLGTM: Wonder type successfully removed from buildingModelPaths. The type definition has been correctly updated to remove the wonder-related type. Let's verify no other wonder-related constants remain in the codebase: 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for any remaining wonder-related constants
rg -i 'wonder' --type ts
Length of output: 6653 |
||
string | ||
> = { | ||
// placeholder for now | ||
|
@@ -72,7 +70,6 @@ export const buildingModelPaths: Record< | |
[HyperstructureTypesNames.STAGE_1]: "/models/buildings-opt/hyperstructure_init.glb", | ||
[HyperstructureTypesNames.STAGE_2]: "/models/buildings-opt/hyperstructure_half.glb", | ||
[HyperstructureTypesNames.STAGE_3]: "/models/buildings-opt/hyperstructure.glb", | ||
[WONDER_REALM]: "/models/buildings-opt/wonder.glb", | ||
}; | ||
|
||
const BASE_PATH = "/models/biomes-opt/"; | ||
|
@@ -105,7 +102,6 @@ export const StructureModelPaths: Record<StructureType, string[]> = { | |
"models/buildings-opt/castle1.glb", | ||
"models/buildings-opt/castle2.glb", | ||
"models/buildings-opt/castle3.glb", | ||
"models/buildings-opt/wonder2.glb", | ||
], | ||
// Order follows StructureProgress | ||
[StructureType.Hyperstructure]: [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Found remaining wonder-related code that needs attention
The search revealed several remaining wonder-related implementations that should be reviewed:
These findings suggest the wonder feature removal is incomplete. The changes should be consistent across the entire codebase.
🔗 Analysis chain
LGTM: Wonder type successfully removed from buildingModels Map.
The type definition has been correctly updated to remove the wonder-related type, consistent with changes in constants.ts.
Let's verify no wonder-related scene handling remains:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 144
Script:
Length of output: 224
Script:
Length of output: 3993