John McCardle john
  • Site admin.

  • Joined on 2020-09-17
john pushed to standardize_font_handling at john/McRogueFace 2024-04-01 01:41:57 +00:00
159658521c Font mostly working, just a few weird bugs with the types of the default items added to the module
john closed issue john/McRogueFace#13 2024-03-31 22:00:55 +00:00
Standardize Vector Handling
john pushed to master at john/McRogueFace 2024-03-31 22:00:55 +00:00
fbf263a038 Squashed commit of the following: [standardize_vector_handling]
john commented on issue john/McRogueFace#13 2024-03-31 21:59:02 +00:00
Standardize Vector Handling

Coding sporadically over the morning & afternoon; made some commits before errands.

This issue will now be closed. Here's the salient portion:

    static PyObject* PyUICaption_get_vec
john pushed to standardize_vector_handling at john/McRogueFace 2024-03-31 18:21:12 +00:00
5edebdd643 PyVector init should be pretty reliable now
c13e185289 PyColor fix - Init corrections
Compare 2 commits »
john pushed to standardize_vector_handling at john/McRogueFace 2024-03-31 02:51:58 +00:00
8871f6be6e Parse arguments: no args & Vector object args work, tuples and bare numerics still do not
john commented on issue john/McRogueFace#13 2024-03-31 02:33:27 +00:00
Standardize Vector Handling

1c12e8719c1ed8002c80ee744178f8278e2c7e8c Gotta go fast - got it to build, got an example position from a UIDrawable.

Can't figure out why my init func isn't working, which means the mcrfpy.Colo…

john created branch standardize_vector_handling in john/McRogueFace 2024-03-31 02:32:36 +00:00
john pushed to standardize_vector_handling at john/McRogueFace 2024-03-31 02:32:36 +00:00
1c12e8719c Not bad for a quick first salvo, but I cannot figure out why init isn't cooperating.
john commented on issue john/McRogueFace#13 2024-03-31 01:32:53 +00:00
Standardize Vector Handling

Goal: Speed. Copy PyColor for the structure of this object.

john commented on issue john/McRogueFace#60 2024-03-31 01:32:10 +00:00
Standardize Font Handling

Goal: Speed. Copy PyTexture for the structure of this object.

john pushed to master at john/McRogueFace 2024-03-31 01:27:00 +00:00
f82508b753 Squashed commit of the following: [standardize_color_handling]
john closed issue john/McRogueFace#11 2024-03-31 01:27:00 +00:00
Standardize Color Handling
john commented on issue john/McRogueFace#11 2024-03-31 01:25:14 +00:00
Standardize Color Handling

OK, we made it!

Ultimately, I have decided to abandon PyLinkedColor for now. After reflecting on the use cases, and looking ahead to doing the same thing to the Vector class, I did not have…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-31 01:18:29 +00:00
572aa52605 More color table updates
john pushed to standardize_color_handling at john/McRogueFace 2024-03-31 01:16:42 +00:00
01706bd59d Color wrapup... Cutting PyLinkedColor to simplify my cursedly mortal, finite existence
john commented on issue john/McRogueFace#11 2024-03-29 03:52:11 +00:00
Standardize Color Handling
  • PyLinkedColor properties: r, g, b, a, color
  • PyLinkedColor set(c) method
  • PyColor - just fix it entirely

3991ac13d6471e491cbccf2ddb8d36bad528b2f7

All three of these have had…

john pushed to standardize_color_handling at john/McRogueFace 2024-03-29 03:50:55 +00:00
3991ac13d6 Still having segfaults with LinkedColor and captions (specifically outline color, but that might not be the actual cause). PyColor shaping back up in simplified form.
john pushed to standardize_color_handling at john/McRogueFace 2024-03-29 00:57:40 +00:00
06e24a1b27 LinkedColor now reflecting changes to the linked color value. Needs set method + RGBA / color properties
john commented on issue john/McRogueFace#11 2024-03-29 00:57:30 +00:00
Standardize Color Handling

Let's talk about 06e24a1b27c2f1ec520537f3a5b9b08d68d07829

so I did not do what I said I would do last night. Instead of building a workaround for function pointers, I dusted off the technique I…