Commit Graph

163 Commits (82dc6b000a2f39aa0e5d20f44ef5c6c96f2870c6)

Author SHA1 Message Date
Joey Pollack 4a84ca0bcd adds trash folder and functionality to the project, content_manager and EditorAsset classes to use the trash folder. When assets get removed they are moved to trash instead of deleted. 4 years ago
Joey Pollack 2f27fcf8bc New Popup panel system working 4 years ago
Joey Pollack 578bd98b40 ImGui::Begin call moved to the Panel class
Adds PreBegin in case code needs to be run just before ImGui::Begin is called
4 years ago
Joey Pollack 09953c0e7d Removed the gui namespace
Moved panel_manager out of editor and into the core
4 years ago
Joey Pollack 0fb6e94a2f Added new folder icon
New entities can be added to the world root
4 years ago
Joey Pollack 72894c35fa Asset Browser tool bar improved
Asset Browser directory tree behavior improved
4 years ago
Joey Pollack ce1ce8ef49 Asset drag/drop to move file working 4 years ago
Joey Pollack a80d98d0c0 Asset browser updated - drag and drop concept implemented, double clicking on folder in content window will open the folder 4 years ago
Joey Pollack c3df5775d0 Asset Browser now has references to the actual EditorAsset objects and can detect single click selection and double click open actions 4 years ago
Joey Pollack 9dede57b96 First ECS test in the editor working (Tag component editable using a temp-testing entity in the editor) 4 years ago
Joey Pollack e237d0dcb5 Added UUIDs to entities
Added component add/remove/check/get methods for Entity
4 years ago
Joey Pollack d9f7a136e5 Start of ECS - files added
NFD wrapped up behind utils FileSystem functions
4 years ago
Joey Pollack 36c67d57d7 ImGui file browser completely removed 4 years ago
Joey Pollack 016809cc3f Adds nfd
fixes project creation and loading
fixes asset importing
4 years ago
Joey Pollack 6f00e84229 XML changed to JSON 4 years ago
Joey Pollack de0bc576ee state file saving with json 4 years ago
Joey Pollack df18d77a72 json state files loading 4 years ago
Joey Pollack c0a74d7903 Errors from merge fixed 4 years ago
Joey Pollack 564f3e8efe Final refactor touches 4 years ago
Joey Pollack eeb33c06ff assets and gui moved back into the lunarium project
dearimgui moved into external
4 years ago
Joey Pollack 25efe7411d Moves internal_font functionality into the data_manager 4 years ago
Joey Pollack b42b0c69a0 Adds beginnings of the style guide
Refactors file and folder names to conform to the style guide
4 years ago
Joey Pollack c7928af683 Logger updated with static functions for each log level
Platform terminal class implemented - allows changing terminal colors (test on linux)
CoreLogListener implemented to use the terminal colors
4 years ago
Joey Pollack 46083c836c Log system over-hauled 4 years ago
Joey Pollack 6c43f17c27 utils moved back into the core (no longer a lib) 4 years ago
Joey Pollack 326ef05084 Adds TODO tasks related to the major refactoring of the core
Renames iRunMode.h/.pp to run_mode.h/.cpp
4 years ago
Joey Pollack 88199d1194 Refactored the docs directory
Adds 3rd party tools list
Refactored tester lib into testbed
Adds colored build result message to build.bat script
4 years ago
Joey Pollack 289c1de828 player run mode name changed back to game
Added region selecting outline to map canvas tool bar
4 years ago
Joey Pollack 8e07cec621 Panel and PanelManager refactored. Panel IDs are now handed out when added to the PanelManager. The IDs are no longer tied to the gui subsystem through enum values. 4 years ago
Joey Pollack 03b7e7ccf1 Bugfix: Map canvas now paints correctly when scrolled 4 years ago
Joeyrp 24f756da75 Zooming and middle mouse scrolling implemented on the tile map canvas 4 years ago
Joeyrp 8360eceabf Tile maps can now be painted to correctly 4 years ago
Joeyrp 60bb47f25e Editor Assets are included when a project is saved and loaded 4 years ago
Joeyrp 6d85356368 Editor asset importing seems to work - tested on tile sets. 4 years ago
Joeyrp 6aef59c7e3 editor assets refactored to fit the new project content system design 4 years ago
Joeyrp 894580c325 Added space in the Tile Set View for tools for selecting tile sets 4 years ago
Joeyrp 38b231d42c Can now select tiles from tile set 4 years ago
Joeyrp 3377dda894 Tile set rendering working 4 years ago
Joeyrp 22fee91f15 MapEditor design fleshed out but render code not yet tested 4 years ago
Joeyrp f4e5de912d Separates out the tile map into it's own class
Refactors some file names and locations (igraphics.h -> graphics.h, types.h/cpp moved to core)
4 years ago
Joeyrp 7e6f2907f2 Adds STIL_WAITING to the file browser results 4 years ago
Joeyrp 72fb87e667 Adds LogIfFailed to the OpRes class 4 years ago
Joeyrp 4c48c455b1 PanelManager refactored into a reusable, generic class.
Each editor tool can now use it's own panel manager.
4 years ago
Joeyrp 8ac5ef51d5 Editor manages window class IDs so tool windows cannot be docked with other tools or with the main editor window 4 years ago
Joey Pollack 145dd7095c Fixed crash in editor mode (log listener not being removed because destructors not being called. Base class destructors MUST be virtual!) 4 years ago
Joeyrp fed77546dc Console behavior split into it's own base class (so that the Core and Editor can have different looking console panels). 4 years ago
Joeyrp 6e2f676f11 gui code refactored and moved into its own library
the LuaConsole and LogGui have been merged into a single Console panel. The appearance looks good and the lua console part works. Still need to add the log history and log filter options.
4 years ago
Joeyrp e05f3bb20a Adds INFO_DEBUG as a default log Level
TODO files updated
4 years ago
Joeyrp 307892cb51 Panel names, and dock zones are now retrievable from any panel
Panel Manager uses a map to store the dock zone ids
4 years ago
Joeyrp ed030afcea Refactored MainPanel into the PanelManager instead (they both were basically doing the same job)
Menu and status bar code refactored into Editor (This could become quite large may need another class to handle the menus)
Build script now accepts the g option to delete the imgui.ini file on build for testing.
4 years ago
Joeyrp 6b24ac4bc5 Programmatic docking proof-of-concept working 4 years ago
Joeyrp 6a6c6d42ab Panel management code moved from Editor class into the PanelManager class
WorldView panel does not currently show up because the dockspace is not fully set up yet.
4 years ago
Joeyrp 8444e45fb0 Program window now remembers it's last position on restart 4 years ago
Joey Pollack 99e07fb6e6 frame buffers now cleaned up on shutdown 4 years ago
Joey Pollack 10c773fce1 Framebuffer update linux build working 4 years ago
Joeyrp 7039b1e26b Renderer now supports multiple arbitrarily sized frame buffers 4 years ago
Joeyrp ca9d25073e Map editor started
Rendering transparancy to an image working
Saving randered images working
4 years ago
Joeyrp 3f7ae8aaa1 Main editor panel classes created, docked in default positions 4 years ago
Joeyrp 35dc183111 Editor moved into it's own namespace within lunarium 4 years ago
Joeyrp bd63502601 Added world size (the number of regions in a world)
The gird's 0, 0 index is now the center of the grid (so a 10, 10 grid goes from 4, 4 to -4, -4)
4 years ago
Joeyrp fff5c18842 Grid container added
World system started
4 years ago
Joeyrp bc8f6d253f Merge branch 'master' of ssh://guruofreason.com:21098/media/share1/root/repos/lunarium 4 years ago
Joeyrp 212545c67c Non-filled box drawing method added to graphics system
World system design started
4 years ago
Joey Pollack d4e294789d Fixed errors preventing a build on linux 4 years ago
Joeyrp 8ad6eb2880 File browser now using the internal data manager for all ui images 4 years ago
Joeyrp bd07e17b12 Internal data manager working 4 years ago
Joeyrp fda2264251 New project generation working 4 years ago
Joeyrp 9e6a15d08f File Browser basic functionality working 4 years ago
Joeyrp 18ce0d4375 Updated the editor UI font 4 years ago
Joeyrp 97db356d66 Basic about window added, status bar added, docking seems to work correctly 4 years ago
Joeyrp 7c0eb5a77a Main editor panel now sits on-top of the application window again. But this time the it uses the application window title-bar. 4 years ago
Joeyrp 4be5aa04b2 Main Editor window improved: No longer hiding the application window behind the imgui window. App window is now actually hidden (so no trailing when moving the editor panel). 4 years ago
Joeyrp cd4f23b732 Main editor window working 4 years ago
Joeyrp 90afa2d908 Image rotation is working 4 years ago
Joeyrp 08adeb6b9d Renderer code refactored to implement rotation in a cleaner way.
Rectangle type refactored to only store the center point and the half width and half height.
Test code refactored to reflect these changes.
4 years ago
Joeyrp f7c3663e18 Box rotation works correctly now. Code still pretty messy. 4 years ago
Joeyrp 00cd8a2b62 Box2D "hello world" example implemented. Graphics system does not support rotation yet. 4 years ago
Joeyrp a42dc3c71a Refactored the tester to use scene classes to for different testing functions 4 years ago
Joeyrp a0584b652c Reorganized source files 4 years ago
Joeyrp 7ca93ababf Separated out assets and utils into their own libraries 4 years ago
Joeyrp 03fb715622 Asset Index loader implemented (can not test yet)
Beginnings of asset pipeline designed
4 years ago
Joeyrp 5bd27e5f15 Fixed the "with editor" build setting in cmconfig.bat
Debug GUI windows can no longer be collapsed
4 years ago
Joeyrp 5f56810e00 Recalling commands in the Lua Console now works without pressing escape. 4 years ago
Joeyrp 7628794d10 LuaConsole now retains input focus after pressing enter. But must press escape to use command recall. 4 years ago
Joeyrp 6a03409ae3 Fixed bug: LogGUI was being initialized twice causing it to hear log messages twice. 4 years ago
Joeyrp f5aea4216f LUA code can be executed through the LUA console GUI window.
API methods added: SetWindowSize, Log.
4 years ago
Joeyrp 1ee5fe5b1f beginnings of scriptManager added.
Sol appears to be working.
4 years ago
Joeyrp ba5a7f6064 Adds a setting to allow LUA console and Debug Log windows to to be unstuck from the window (probably useful for Editor run mode). 4 years ago
Joeyrp 4486eb8890 Debug log and LUA console gui windows implemented 4 years ago
Joeyrp cc811b2a7e Beginnings of the Tester Run Mode implemented
Changed font loading to use binary buffers
4 years ago
Joeyrp ffecb901d6 Flipped y axis of texture coord when drawing images
added run mode system
beginning of Tester Run Mode class
4 years ago
Joeyrp e0adc0dc28 Render to texture implemented - need to flip the resulting image vertically 4 years ago
Joeyrp 54982faa24 Fixed Input System 4 years ago
Joeyrp b0142f3348 Added basic debug log window 4 years ago
Joey Pollack 84cb646512 ImGui Demo Window working. Build working on Linux. 4 years ago
Joeyrp f61c3c7c47 basic gui class setup but the demo window does not render 4 years ago
Joeyrp 8f3524ae4e Reorganized some files to avoid directly including glad/gl and glfw
CreateImage method implemented
4 years ago
Joeyrp 9ad0276d3c Moved some files around
Input manager is ported and just needs to be used by the core
4 years ago
Joeyrp f8d2df5007 Filled out the todo list a bit 4 years ago
Joeyrp 7919f34d01 Addsd the text renderer and internal font (Open-Sans.ttf)
Some graphics testing code added to the core game loop
4 years ago