Shariq Shah
aaa8c879d7
Made changes to how starting and ending rotation are calculated
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
Shariq Shah
66b72cca73
Implemented showing selected entity in editor with a specific colour
6 years ago
Shariq Shah
c0e6e0bde2
Fixed mouse button press/release behaviour by using event callbacks for editor mouse picking
7 years ago
Shariq Shah
23fae829fb
Migrated remaining event usage from platform to event subsystem.
7 years ago
Shariq Shah
4a7010d1c8
Began implementing event manager.
...
Updated SDL to latest version and added debug versions of sdl libraries in windows version.
Added commandline shortcuts to regenerate visual studio project and to launch visual studio with one command for windows.
7 years ago
Shariq Shah
a79189b18e
Removed game/library split, the game now compiles as one executable only.
7 years ago
Shariq Shah
eae1436cbb
Added .gitgnore and Updated todo.txt
7 years ago
Shariq Shah
6980186a4b
- Fixed console bug when toggled in editor mode and restored previous functionality
...
- Updated nuklear to version 4.00.2
- Fixed other formating mistakes
7 years ago
Shariq Shah
7339ad6834
Updated readme
7 years ago
Shariq Shah
370b58e978
- Removed unused old build system files
...
- Moved todo and completed items into separate todo.txt file
- Removed unncessary items from todo
- Updated README
7 years ago
Shariq Shah
ccb52b9cf8
Update to recent changes on linux
7 years ago
Shariq Shah
e7154b4435
Fixed crash on exit by resetting logging callbacks after game lib has
...
been unloaded
7 years ago
Shariq Shah
551edc78e5
Updated cmake build script to compile current state of the game on linux
7 years ago
Shariq Shah
e47b494d80
Fixed a bug with rendering and added rpath in linux build
7 years ago
Shariq Shah
c651847d43
Removed several warnings
7 years ago
Shariq Shah
785b762c7a
Moved genie and other tools to tools folder
7 years ago
Shariq Shah
b691df0e1b
Modifed ray intersection and Added misc windows related files
7 years ago
Shariq Shah
ad5b56b717
Fixed vec4 and mat4 multiplication, Implemented screen coord to ray and ray-sphere collision
7 years ago
Shariq Shah
ada2e0efe2
Implemented auto scrolling console to bottom on new command or console message and console toggle
7 years ago
Shariq Shah
c72089e77d
Implemented redirecting warning, error and command messages to in-game console and showing coloured console output
7 years ago