summaryrefslogtreecommitdiff
path: root/game/vehicles
Commit message (Collapse)AuthorAge
* Apply StdTypeDefs for TextureDan Goodliffe2024-08-10
|
* Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
| | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Remove the generic cache completelyDan Goodliffe2024-01-26
|
* We only need 3x3 matrix for model rotation specDan Goodliffe2024-01-13
|
* Remove Position3D from RailVehicleDan Goodliffe2024-01-07
|
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Helper to create a cubiod from dimensionsDan Goodliffe2024-01-06
|
* Simplified RailVehicle::intersectRayDan Goodliffe2024-01-06
|
* Remove more use of legacy types and unnecessary pointers from selectable ↵Dan Goodliffe2024-01-01
| | | | interface
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Render correct VAO for rail vehicle shadowsDan Goodliffe2023-12-03
|
* Model positions as integersDan Goodliffe2023-11-25
| | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
* Remove getTransformDan Goodliffe2023-11-25
|
* Switch to millimeters for spatial unitsDan Goodliffe2023-11-15
| | | | | | Mostly a case of changing far too many magic numbers, something else to fix I guess. I probably missed something. Also there's some hackery when loading 3D models, which are still assumed to be in metres.
* Send position and rotation matrix to GPU separatelyDan Goodliffe2023-11-13
|
* Refactor BufferedLocationT to use a callbackDan Goodliffe2023-11-11
| | | | Simplifies customisation in the face of multiple fields
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Templated BufferedLocation and single buffer storage for RVC locationsDan Goodliffe2023-05-06
|
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Draw rail vehicle classes and foliage with new mesh instance helperDan Goodliffe2023-04-26
|
* Pop and complete instanced shadow supportDan Goodliffe2023-04-26
|
* Handle rendering of RailVehicles through RailVehicleClass instancingDan Goodliffe2023-04-23
| | | | | | | Trains no longer need rendering as their parts are all RVC assets and that just works now. This commit creates some irritating duplication in RVC wrt body/2 bogies all of which are stored separately, but function in exactly the same way. This breaks RV shadows as we have no instancing shadow shaders yet.
* Remove the old .obj load, assets and supporting stuffDan Goodliffe2023-04-14
|
* Support creating a super texture from fragmentsDan Goodliffe2023-03-14
| | | | Currently makes wild assumptions about vertices and doesn't actually populate the texture, it's just grey
* Default RailVehicle bogie positions according to class wheelBaseDan Goodliffe2023-03-04
| | | | Useful for render tests so everything looks sane
* RailVehicleClass now renders bogie shadows as well as bodyDan Goodliffe2023-03-04
|
* Load length, wheelBase and maxSpeed RailVehicleClass properties from XMLDan Goodliffe2023-03-04
| | | | Adjusts bogie position to appear correct according to wheelBase
* RailVehicleClass texture might be nullDan Goodliffe2023-03-04
|
* Support and load factory asset directly into a RailVehicleClass instanceDan Goodliffe2023-03-04
|
* Initial commit of the shadow map generator and shadows render interfaceDan Goodliffe2022-12-03
| | | | | Lots of hard coding, buggy in places, far from great, but the basics work.
* Restructure how shaders are worked withDan Goodliffe2022-11-03
| | | | Needs a tidy-up
* Rename Shader to SceneShaderDan Goodliffe2022-11-03
|
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Rename shadowing variableDan Goodliffe2022-10-22
|
* Standard typedefs for MeshDan Goodliffe2022-10-13
|
* Standard typedefs for LinkDan Goodliffe2022-10-13
|
* We know the last param is distance nowDan Goodliffe2022-01-16
|
* Encapsulate RayDan Goodliffe2022-01-02
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* Refactor to start splitting out UI componentsDan Goodliffe2021-12-13
|
* Move TickDuration to its own filesDan Goodliffe2021-12-13
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Swap y,z axisDan Goodliffe2021-11-16
| | | | This was a pain... but all the coords make much more sense now and a lot of mystery negation has disappeared.
* Implement goto so nodeDan Goodliffe2021-03-16
| | | | Encompasses determining a route and a distance to travel
* Allow activities to be changed when doing themDan Goodliffe2021-03-16
|