Commit Graph

23 Commits

Author SHA1 Message Date
John McCardle a53ae29467 Python object models 2023-03-04 23:18:21 -05:00
John McCardle 257aa3c3d2 Fully python-driven scene. Lots of interaction needs testing but the broad strokes are there for mouse pan/zoom on multiple grids and any number of UIs 2023-03-04 23:04:16 -05:00
John McCardle a4b6c2c428 Pan, zoom, and mouse-to-gridsquare translation that I can be proud of. Cleanup required, though 2023-03-04 19:04:05 -05:00
John McCardle b0ef1d2303 Tweak point conversion to prevent off-grid (negative) points from registering as on the grid 2023-03-04 00:18:19 -05:00
John McCardle b3f946ecb2 API endpoints: Create and retrieve grid/gridpoint objects 2023-03-03 23:57:42 -05:00
John McCardle 6a4150ec05 Screen to Grid is working pretty reliably, even if switching to float coordinates did make zoom at high values a bit wobbly. 2023-03-03 22:26:38 -05:00
John McCardle e295bfb742 python callbacks, working on grid 2023-03-03 22:16:47 -05:00
John McCardle 2ec97dfb1c Full modification of UI items seems to be working 2023-03-02 22:07:23 -05:00
John McCardle f89896176c Modify UI objects by calling mcrfpy.modMenu(m) 2023-03-02 20:41:43 -05:00
John McCardle de753713d5 UI from Python now working fairly comprehensively 2023-03-02 18:57:09 -05:00
John McCardle c8124e84dc Updated UIMenu to a map on the C++ side, Python gets the title property so changes can be properly, jankily, looked up 2023-03-02 06:35:13 -05:00
John McCardle a1e9129923 Send Menu color to Python 2023-03-02 05:53:17 -05:00
John McCardle f23dfbe4ba Another checkpoint. Compiling/building/running - Python API tests from in-engine REPL are not passing, though 2023-03-01 21:37:42 -05:00
John McCardle 1e9fd77a13 JANK MODE: Messy / broken commit - in progress
Needed to make a checkpoint, gods forgive me for committing known broken code straight to master. The jam has in a sense already begun.

I tested a smaller solution in the xplat_concept repo earlier today.
In short, I'm going to build a janky method to add new + report existing UI elements. After that's done, the UI building should be done from python modules, hastening the UI design.

This is ugly and bad, I am truly sorry. We just need to get through 7DRL, so I can't make it pretty today.
2023-02-28 23:19:43 -05:00
John McCardle 2c1946c29b Grid - widget for holding multi-layer map data 2023-02-27 07:02:34 -05:00
John McCardle 6d05f8bc63 Return NONE properly from test API point 2023-02-27 07:01:46 -05:00
John McCardle a4d0efe334 To-do list progress updated 2023-02-26 10:53:58 -05:00
John McCardle 6a47bc1e28 Windows/msvc lockstep changes 2023-02-26 07:51:03 -08:00
John McCardle 6a2c3c6c36 McRogueFace Python API (McRFPy_API) demo class 2023-02-26 10:23:44 -05:00
John McCardle a6f59085eb Update MSVC project for Windows build 2023-02-25 03:17:05 -08:00
John McCardle d2499a67f8 Porting in old gamejam code. Removed SOME cruft, more likely remains. Sound + sprite test. 2023-02-24 23:46:34 -05:00
John McCardle 1784489dfb Windows / MSVC commit. Bring your own Python PCBuild directory, I don't want to upload it to git. 2023-02-23 19:38:41 -08:00
John McCardle d0d2eae762 Initial Commit / Linux Combined Proof of Concept example 2023-02-23 19:37:13 -05:00