Adopt generator based interface by mapgen tests #7059
No reviewers
Labels
No Label
Closed
Duplicate
Closed
Fixed
Closed
Invalid
Closed
Needs info
Closed
Won't fix
Closed
Works for me
Difficulty
Hard
Difficulty
Medium
Difficulty
Simple
Needed for Beta
Needs Design Input
Needs Info
Pathfinding
Priority
1: Release Blocker
Priority
2: Must Have
Priority
3: Should Have
Priority
4: Nice To Have
Priority
5: If Time Permits
Regression
Theme
AI
Theme
Art & Animation
Theme
Atlas editor
Theme
Build & Packages
Theme
Core engine
Theme
Documentation
Theme
Internationalization & Localization
Theme
Maps
Theme
Multiplayer Lobby
Theme
Music & Sound FX
Theme
Network
Theme
Non-game systems
Theme
Simulation
Theme
UI & Simulation
Theme
UI β Game setup
Theme
UI β In-game
Theme
UI β Miscellaneous
Theme
Website & Forum
Type
Defect
Type
Enhancement
Type
Task
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: 0ad/0ad#7059
Loadingβ¦
Reference in New Issue
Block a user
No description provided.
Delete Branch "phosit/0ad:map_generator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This put the tests more in line with actual mapgen scripts.
Continuation of https://code.wildfiregames.com/D5320
Yes i noticed. That's the same error we had at D5320.
Here is the stack trace:
9fb9d26dcc
to737a4549fd
737a4549fd
to201d215f29
@ -63,4 +44,0 @@
{
var g_MapSettings = { "Size": 320, "CircularMap": true };
var g_Map = new RandomMap(0, "blackness");
Might be nice to run eslint locally to see if it yells.
To run it you need node. See https://github.com/0ad/0ad/blob/master/build/jenkins/dockerfiles/lint.Dockerfile
Then you need to install the deps
Then lint a file:
If it stills complains about the missing plugin you can run
I had no chance making it work with the latest eslint 9+ version last time i checked.
There are only
prefer-const
warnings, which are unrelated and should be fixed in an other commit.Thanks a lot. Also for the time at the weekend when you searched which change introduced the build failure.