Comments (2)
Oops, looks like the parser does already cover this
bsp_tool/bsp_tool/branches/shared.py
Lines 76 to 83 in 0a75561
We still need to test for this case and make sure the list conversion behaviour is well documented
Not to mention reversing into string data
Updating the parser would still be nice to allow for using any object as a value (so long as it has an appropriate __repr__
method)
And we still need to explicitly test for this to make sure we don't assume it's a major bug!
from bsp_tool.
A rewrite would be quite costly and means we lose a lot of the benefits of using a dict (e.g. easy searches), an alternate Entity class more compatible with pySourceSDK would definitely be nice
the behaviour around lists and clear warnings about unexpected types should certainly be looked into, but for now the current entity system doesnโt need a huge overhaul
from bsp_tool.
Related Issues (20)
- [Test Maps] `genesis3d`
- Configure `pytest` to remove naming convention HOT 2
- Create a `utils` submodule to pull tools out of `branches` HOT 1
- (extensions.editor) `.save_as(filename: str)` method for all `MapFile` classes
- (extensions.editor) MetaPattern string conversion is an ugly mess
- [Apex Archive] Season19 removed pakfiles, where are the cubemaps? HOT 4
- Another wave of geometry refactors HOT 4
- (extensions.decompile) Include TriColl meshes when decompiling Titanfall Engine maps HOT 3
- Move `extensions.editor.generic` into `utils.editor`
- (extensions.decompile) Standardising decompile extraction & processing
- BitField order is backwards, should be the same as C/C++ HOT 3
- [Apex Archive] Identify origins of loose maps, then remove them HOT 1
- [Test Maps] `apex_legends50`
- `bsp.bsp_version` should just be `bsp.version` HOT 1
- Geometry performance could be better HOT 3
- `editor.Brush`-> `List[geometry.Mesh]` HOT 1
- (utils.geometry) remove iterations.batched
- (extensions.lightmaps) Select Faces lump for Source Engine `lightmap_faces`
- [Test Maps] `apex_legends52`
- BSPX Test Maps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsp_tool.