Christopher Lees
Christopher Lees
Definitely hiding the issue. You'll see what I mean if you drop this tree with a replacement PNG texture in: [trees2-snow.zip](https://github.com/leezer3/OpenBVE/files/5307839/trees2-snow.zip)
See what you think of this, it's a hack based on https://www.alecjacobson.com/weblog/?p=2750 ```C# if (Interface.CurrentOptions.TransparencyMode == TransparencyMode.Performance) { SetBlendFunc(); SetAlphaFunc(AlphaFunction.Greater, 0.0f); GL.DepthMask(false); foreach (FaceState face in VisibleObjects.AlphaFaces) { face.Draw(); }...
RailIndex is certainly doable for TFO objects & anything attached to trains. My immediate thought is that we actually want *two* here though- RailIndex (Returning the index of the rail...
Secondary thought: All current animated functions (IIRC) assume that in terms of cars, the train is travelling forwards on the route, as per direction of travel & cars are numbered...
Pause added between repetitions. Note that the user must ensure that their sound ends at amplitude 0 (e.g. totally silent) , as otherwise this will cause a slight pop. This...
It's nothing special or unique at all, just standard relative file paths. https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats Only at all interesting difference is that we accept both the forward slash (UNIX) and backslash (Windows)...
Don't know. I don't think anyone else is consuming the packages API at the minute, but thats something I stand to be corrected on.....
In general, the API is at the minute highly simplistic. It provides methods to compress, extract, find dependency lists etc. but they're non-blocking and avoid throwing exceptions. The database itself...
You're over-complicating it, or at least looking for things the current API simply doesn't do. Version handling is simple: * The GUID uniquely identifies the package, nothing more. * A...
More likely to be related to this: https://github.com/leezer3/OpenBVE/issues/797 I would suspect that holding the key down is blocking something, same way the mouse move is blocking something. It's suspicious that...