Commit Graph

74 Commits

Author SHA1 Message Date
Peter Slattery b94ccef48f Removed old universe view code 2020-02-05 20:34:50 -08:00
Peter Slattery d3467a2fd2 Consolidated platform code into one file. 2020-02-05 20:33:12 -08:00
Peter Slattery 05e6a191e8 Implemented a basic event log, and used it in various places around the codebase. Also removed foldhaus_memory as it isn't being used 2020-02-05 20:24:34 -08:00
Peter Slattery 305afc65cd Cleaned up assembly loading. Added a note to handle error logging in the future 2020-02-05 12:29:48 -08:00
Peter Slattery 75bb2ae86d Added some notes to various parts of the code base. Also simplified test patterns to ensure that we don't need to use leds_in_universe_range anywhere except in DMX buffer preparation 2020-02-05 12:20:03 -08:00
Peter Slattery 58ef0b460f Added memory errors for when files aren't found 2020-02-05 00:03:56 -08:00
Peter Slattery 759b5f6906 Handle releasing the mouse button outside the window when the button was pressed over top of the window. 2020-02-04 23:46:11 -08:00
Peter Slattery 43534ac86d Fixed a problem with how we were handling mouse button states. 2020-02-04 23:39:17 -08:00
Peter Slattery 3d9851fbe2 More platform layer functions cleanup 2020-02-04 23:35:21 -08:00
Peter Slattery 91612e48c7 Splitting out win32 sets of functions into groups to make them simpler to see and create platform layers for 2020-02-04 23:31:43 -08:00
Peter Slattery 460c08d169 Started making sure that the DLL is truly platform agnostic. Only thing left seems to be math.h for things like trig functions, and windows.h purely for interlockedincrement and interlockedadd 2020-02-04 23:16:41 -08:00
Peter Slattery 51955ba765 Fixed a Function Pointer address problem created by storing a pointer to the address of an animation procedure. When code is reloaded, that pointer becomes invalid, so we just store an index, and switch on the value 2020-02-04 22:50:12 -08:00
Peter Slattery 33338daab7 Working on Meta System Attempted to tag all panel related procedures 2020-02-01 19:15:04 -08:00
Peter Slattery d23a2a68d4 File Cleanup, removed unused files, and pulled gs_libs into the codebase so that its a standalone codebase 2020-01-20 22:56:36 -08:00
Peter Slattery af11a85e94 Compressing Type Info Generation 2020-01-20 21:11:07 -08:00
Peter Slattery 7cdb300388 Got the meta layer generating files, and incorporated it into the system. Replaced old node meta stuff with the new. 2020-01-19 04:03:07 -08:00
Peter Slattery 9d0e4149d9 Began parsing function pointer typedefs in the meta layer. Some of them are working now, but not all. 2020-01-18 22:51:15 -08:00
Peter Slattery b11d9da9e4 Lots of work on the meta system. Most changes in src are just due to me putting test data in place 2020-01-18 22:07:59 -08:00
Peter Slattery af68881e04 updated sculpture file parsing 2020-01-13 17:04:40 -08:00
Peter Slattery 0164fea691 added documentation to all files 2020-01-01 18:41:43 -08:00
Peter Slattery 2ab7ff1194 Stored visual connections in the visual node layout system. 2019-12-31 14:06:04 -08:00
Peter Slattery 744a1c6c92 Updated the meta parser, and ifdef'd out a bunch of old node related code. 2019-12-31 13:15:28 -08:00
Peter Slattery 7545e3bbd0 Got most of the way to introducing new connections into the node workspace. 2019-12-30 23:13:04 -08:00
Peter Slattery 2bfed22bc2 Stored node layout in the node graph panel's state memory. 2019-12-30 22:16:14 -08:00
Peter Slattery 2b6959f37a Implemented rudimentary workspaces for nodes 2019-12-30 22:05:57 -08:00
Peter Slattery 9973cf4ed9 Incorporated a new *shudders* c++ template based list implementation. Hopefully I can stop writing list implementations now 2019-12-30 20:26:28 -08:00
Peter Slattery c5404e3296 Began drawing nodes, laying them out, and am working on node interface functionality 2019-12-29 18:28:59 -08:00
Peter Slattery e0418bb2a3 ??) 2019-12-29 08:25:48 -08:00
Peter Slattery 6a080f3aed Implemented adding animation clips to the timeline 2019-12-28 16:01:34 -08:00
Peter Slattery 20636acdce Implemented removing panels by right clicking on the border. 2019-12-28 15:01:02 -08:00
Peter Slattery 19727da391 Made dragging the time slider an operation mode. 2019-12-28 14:14:00 -08:00
Peter Slattery a973054c17 Polished panel interactions. Dragging panel edges and mouse drag to split a panel are now operation modes, and both display a preview of where the new panel edges will be. 2019-12-28 14:00:09 -08:00
Peter Slattery 90b908ff98 Removed all reliance on external factors from the foldhaus_panel.h system 2019-12-28 13:02:19 -08:00
Peter Slattery 27ae65fb0c Implemented dragging the ends of animation clips 2019-12-28 11:41:00 -08:00
Peter Slattery e21da76a2b Implemented dragging animation clips 2019-12-28 11:31:21 -08:00
Peter Slattery d112b01e79 Lotta work on panels geting animation and sculpture view more up to scratch. Deleted a bunch of now obsolete files. 2019-12-28 10:51:47 -08:00
Peter Slattery 76d27e3b57 Fixed a bug where unloading assemblies caused a crash in the test patterns. Fixed another bug caused by not initializing dmx buffers linked lists to zero. 2019-12-26 18:40:14 -08:00
Peter Slattery 2c6adaeda2 Improved the visuals of the hierarchy panel and the timeline panel 2019-12-26 16:23:43 -08:00
Peter Slattery d9af0c6a36 Created a hierarchy view 2019-12-26 14:45:27 -08:00
Peter Slattery b83d718d37 Consolidated all panel code in one file, and removed all external dependencies. ITS A LIBRARY NOW (still needs refinement) 2019-12-26 13:14:00 -08:00
Peter Slattery 9b9fe2f5e1 Created a panel system and began moving everything over to it. 2019-12-26 12:42:55 -08:00
Peter Slattery f491988c90 Began experimenting with animation timelines. This is making it obvious that I need to revamp my interface system 2019-12-26 08:11:48 -08:00
Peter Slattery dbc3886e91 imported gs_memory_arena.h which is an improved rewrite of gs_memory.h. Integrated this new library in place of gs_memory.h 2019-12-22 17:47:26 -08:00
Peter Slattery 4d9f28dc6e Got SACN transmitting over the network and set it up for blumen lumen 2019-12-03 22:40:22 -08:00
Peter Slattery a77d97a31f Created an initial version of a standard array template and swapped it in for the assembly array structure. 2019-11-28 21:12:57 -08:00
Peter Slattery da76bb46f5 Removed nodes from the project 2019-11-23 03:05:25 -08:00
Peter Slattery 1fea9cdb91 Fixing a quick bug 2019-11-23 01:08:59 -08:00
Peter Slattery 4c78d8b594 Jobs are now set by assembly rather than in total. This ensures that no matter what, all leds will be drawn. 2019-11-23 00:15:40 -08:00
Peter Slattery 67b402b74f Got assemblies to unload again 2019-11-22 23:57:30 -08:00
Peter Slattery a5e774c8d1 created a mapping from leds to universes in assemly structures that doesn't rely on SACN 2019-11-22 23:33:48 -08:00