14 Commits (c5cefca10dfbac6a283c866f7eab853983e42503)

Author SHA1 Message Date
Nico de Poel a8defed5de Allow game and viewmodel layers to be specified at the level of each UniQuake instance. This will allow multiple instances of the game to run side-by-side with each their own rendering layers. 5 years ago
Nico de Poel 4adc71eca8 Added layer masks to separate game and view model, and added a secondary overlay camera to render the view model separately after the main pass. Fixes gun view model clipping into walls. 5 years ago
Nico de Poel c9271a7772 Cache brush surface texture numbers instead of re-marshaling them on each access. Fixes textures getting mixed up on brush model entities after map switch. 5 years ago
Nico de Poel fab7f6503f Allow entity skin number to be passed and apply the corresponding textures to the entity material 5 years ago
Nico de Poel 67980400ef Apply full bright textures to brush models. This is really starting to look a lot like Quake now! 5 years ago
Nico de Poel 2e35a148b8 Use visual style reference to set up world and entity renderers and textures. With this we can clear out a LOT of debug code that was kept around for reference. 5 years ago
Nico de Poel 5390483b0b Upload non-world brush models and allow them to be assigned to entities. It's not terribly pretty but it (mostly) works. There still seems to be an issue with texture assignment on subsequent map loads. 5 years ago
Nico de Poel 0dc5c1a14b Create world submodel game objects and link them to entities, allowing doors and buttons and such to work properly. Also don't bother linking the view entity to a model. 5 years ago
Nico de Poel 9345b0d15c Allow GameModule to directly access entities. Removes some pointless indirection and boilerplate code in GameState. 5 years ago
Nico de Poel 66c62001d0 Squashed a bunch of bugs in the alias model animation system and integrated transform/animation updates into the alias model lerping system. Entities are now correctly animated, yay! 5 years ago
Nico de Poel 1a1c219bf6 Removed frame number stuff from SetEntityModel since it's not producing the correct values. Correctly detect non-world brush models and sprites, although they're not implemented yet. 5 years ago
Nico de Poel e6fd7b83ae First bits of entity logic: assign alias models, update transform and animation, remove entity. Still lots of problems to solve, but it's starting to do something. 5 years ago
Nico de Poel 453664031c Moved creation of game objects for the world to GameState, which is where the bridge between Quake's game logic and Unity's game objects will happen. Also includes destruction of said game objects, so that the world is properly destroyed and recreated on map change. 5 years ago
Nico de Poel a886f3d993 First steps in reorganizing the project, so that assets and game state are managed separately from the interop modules. This will allow for a clearer picture of where gameplay-related interactions should take place, and how entities and such should be linked to their associated assets. 5 years ago