Commit Graph

134 Commits (96c404c11cd74b15ccb55bfdbd8b389002499041)

Author SHA1 Message Date
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
Joeyrp 6afa6d8505 Freetype added to the project (need to test in linux) 4 years ago
Joey Pollack 78e15c546e fix errors that prevented building on linux systems 4 years ago
Joeyrp 1e40bacfb7 Real main file added
Game loop shell implemented
4 years ago
Joeyrp 2c6b8eaa4c OglGraphics mostly implemented but needs testing
Fonts and text rendering not yet implemented
4 years ago
Joeyrp a92e55ee01 Adds binary file buffer and the basics of the Window class 4 years ago
Joeyrp 6efe491453 Adds command line arguments processor 4 years ago
Joeyrp 28da7de122 Adds beginnings of the README
Adds Version class for working with symantic versioning. Also pulls the project version from the LunariumConfig.h file and makes it accessible from any point in the project.
4 years ago
Joeyrp 81ee7e848c Adds scripts for building and cleaning from the windows command line 4 years ago
Joeyrp 209ad6b3c0 Added glad2 4 years ago
Joeyrp 51c5bb7191 core file created
engine state loading/saving implemented
4 years ago
Joey Pollack 6c18832de4 Utility files adjusted to work on linux 4 years ago
Joeyrp fd424abd16 Added some utility files
Tested to be working although INIFile is currently a windows-only utility and so is currently removed from the project (but still in the repo as it may be re-written to be cross-platform)
4 years ago
Joeyrp c0c1a48e22 Base project setup
Testing 3rd party dependencies
4 years ago