108 Commits (5ffa5942000bfbae873654c69c26b8c4b0b09117)

Author SHA1 Message Date
Shariq Shah 78992826d6 Implemented reading/writing entity's children to file when saving an entity archetype and fixed a bug where an entity would not be removed from its parent's children list 6 years ago
Shariq Shah 33c181e0cb Completed sound serialization to/from file and fixed issue with wav files not loading 6 years ago
Shariq Shah 7b84fbdc01 Fixed default config values 6 years ago
Shariq Shah 088dabdf7a Changes to build file for mac builds 6 years ago
Shariq Shah 4e90bf71b1 Fixed genie post build commands related to creating assets symlink not working on mac 6 years ago
Shariq Shah 051c6a97e7 Moved MAX_LIGHTS definition from shader to c code and implemented functionality to allow #defining from c code before shaders are compiled 6 years ago
Shariq Shah 3b5a8aecd3 Moved #version definition to c code and added config option for enabling/disabling vsync 6 years ago
Shariq Shah 6a2bb7e3c4 First mac build! Also fixed bug in shader link error logging. 6 years ago
Shariq Shah adcdab7aad Fixed several sound related bugs and added missing functionality 6 years ago
Shariq Shah c443e4d9ee Fixed editor camera right-click bug 6 years ago
Shariq Shah 24c3e5305a Added delete shortcut key to editor 6 years ago
Shariq Shah 06d1eced8c Re-implemented entity to file read/write and corresponding console command to save entity to file 6 years ago
Shariq Shah c0dc6a2c69 Refactored sound related api and implemented writing entity to particular file 6 years ago
Shariq Shah 1cb99c89c0 Disabled editor tools and camera when console is toggled and active 6 years ago
Shariq Shah b0a887ed87 Fixed ALT key behaviour in transalte tool 6 years ago
Shariq Shah bd90620bdf Fixed quat to yaw, pitch and roll functions and rotation arc not matching up to actual rotation 6 years ago
Shariq Shah 389f398d06 Implemented displaying a tooltip showing the currently hovered entity and tool status when an entity is selected and being transformed 6 years ago
Shariq Shah 938dc19142 Implemented highlighting entity under cursor 6 years ago
Shariq Shah bc75bff7af Implementing deselecting primary axes 6 years ago
Shariq Shah 9c5e96503e Implemented Scale Tool 6 years ago
Shariq Shah 3641a2f448 Implemented reverting back to previous axis when rotate tool is selected and not moving the camera anymore 6 years ago
Shariq Shah bccfb00921 Renamed editor mode to editor tool 6 years ago
Shariq Shah 7ecdbc95f0 Removed all usage of tool_mesh_position and replaced it with cursor_entity in editor instead 6 years ago
Shariq Shah 9ce41a0149 Fixed issue with picking not working when mouse cursor is inside rotation gizmo radius 6 years ago
Shariq Shah 1cd9b71ba7 Implemented drawing entity projection mesh which shows the effect of the curernt transformation on the entity 6 years ago
Shariq Shah 53f4d51790 Right clicking when rotation is active resets the tool 6 years ago
Shariq Shah 9ab4313db3 Rewrote rotate tool behaviour to only show one axis at a time and fixed a renderer bug where all cameras are always rendererd 6 years ago
Shariq Shah 18e8b59017 Added parameter to control rotation increment 6 years ago
Shariq Shah 65c9157910 Implemented functionality to handle arc drawing when arc size is greater than 360 or less than -360 6 years ago
Shariq Shah 3be1a71957 Implemnted filled circles and arcs and made arcs handle negative angle values better 6 years ago
Shariq Shah a8dd4b581c Implemented rotation tool logic 6 years ago
Shariq Shah 4a6a108d06 Implemented circle and arc drawing in immediate mode renderer and fixed bug with immediate renderer. Also changed all linmath functions to use degrees as parameters and change to radians inside the function 6 years ago
Shariq Shah c7c7d0f4ca Implmented consistent colors for axes and line drawing function for immediate mode renderer 6 years ago
Shariq Shah 9c4882ef8a Added drawing axes at origin and grid relative positioning toggle 6 years ago
Shariq Shah 1d89de065f Remove transformations based on current transformation space because they were adding needless complexity. Might revisit them later 6 years ago
Shariq Shah ff1c84ddf5 Implemented draw order for immediate mode rendering 6 years ago
Shariq Shah 2af0921af8 Implemented displaying camera status, axis, transformation space and transformation type in top bar 6 years ago
Shariq Shah 69461c050e Displaying camera position and transform tool transformation space in top bar 6 years ago
Shariq Shah df19ee5e70 Added status bar 6 years ago
Shariq Shah 817340c9bf Implement horizontal translation, axis cycling, better ways to deselect objects and keybindings for grid scale selction in editor 6 years ago
Shariq Shah 9d120e6428 Moved Plane and its initialization into linmath 6 years ago
Shariq Shah da1bf26b41 Implemented first version of translate tool for editor that translated selected object in the xz axis by default and added manual breakpoint trigger option on gl error 6 years ago
Shariq Shah f7a1223d98 Added Editor settings window and added grid configuration to editor settings 6 years ago
Shariq Shah 76509ec018 Added Grid to editor 6 years ago
Shariq Shah cba6a7e24a Changed potentially buggy usage of bools being implicitly converted to int* when used with nuklear 6 years ago
Shariq Shah 1d86626840 Changed how config files or cvars are used in the code 6 years ago
Shariq Shah 124b02e566 Changed top bar in editor and removed several editor related bugs. Learnt lesson about dangers of interchangeably using bool from stdbool and int in C 6 years ago
Shariq Shah e3e471e8bf Fixed bug with incorrect editor toggling and checking 6 years ago
Shariq Shah 330ec6c3fa Implemented checking if mouse cursor is hovering window before ray casting and moved out gui state to game state 6 years ago
Shariq Shah e45c143f52 Implemented deselecting entity in editor 6 years ago