Commit Graph

98 Commits

Author SHA1 Message Date
e129921bc0 Take the doll parameter 2024-04-04 23:34:35 +02:00
923384eb37 Fix test labels 2024-04-04 23:17:00 +02:00
9befd927a8 fix 2024-04-04 22:58:41 +02:00
e9ec437d1c Eliminate more uses of eval 2024-04-04 22:55:15 +02:00
1e8f1ebfb8 Use a dict to store the dolls
the existing variable was a set, all the existing use cases still work (contains tests, iteration, turning into lists...)
2024-04-04 22:50:01 +02:00
878cec8c76 Simplify some 2024-04-04 22:37:33 +02:00
34547cb0ad Use an instance storage dict
to avoid main store pollution and evals
2024-04-04 22:34:27 +02:00
ea59c387d2 Turn unnecessary class into namespace
(cherry picked from commit 34165c7b2b)
2024-03-30 18:02:08 +00:00
a7a9fe2d9e A bunch more f-strings
I'm not done

(cherry picked from commit be88d0ed7e)
2024-03-30 17:55:26 +00:00
5659c4e4f4 Fix kwarg calls
(cherry picked from commit 489f43cd0b)
2024-03-30 17:52:59 +00:00
3505429498 Luna Inspect CG - First implementation, Bug fixes, Version bump
* Fixed multiple default parameters inside image definition (Thanks guv! :))
* Fixed missing module import causing linting to not work correctly for certain tasks.
* Bumped game version to 1.46
* Added and implemented images for Luna Inspection events.
2024-01-22 20:06:43 +00:00
f5ef31c88b Merge branch 'current' into dev 2023-10-18 12:57:55 +01:00
6fbf369d3e Bug fix
* Fixed sorting of numbered doll layers starting with double digits
2023-10-18 12:48:35 +01:00
7e768adddf Bug fix
Fixed flipped parameters in Bodyparts class init code, causing issues with mods
2023-09-08 20:40:46 +01:00
22ce846d81 Expand matrixes support for body layers 2023-07-27 01:02:32 +01:00
a343610eb3 Bug fixes
* Fixed layering issue when more than one layer contains a zorder modifier
2023-07-26 18:54:30 +01:00
4658a97b4a Bug fixes and improvements
* Improved skipping performance by delaying the call to render functions until after skipping ends
* Fixed skipping not refreshing the doll image
* Fixed skipping callback handler being affected by rollback
* Refactored doll show method
2023-07-25 17:54:34 +01:00
148d2fcac5 Bug fixes
* Fixed updater logo issues
* Fixed modpath getting 'mods' subpath appended to it recursively with each clone
2023-07-25 17:54:34 +01:00
ebc865b798 Bug fix
* Fixed stale images being displayed when threading is enabled and no image was called in a while
2023-07-25 17:54:33 +01:00
cd8b94e40c Bug fixes and improvements
* Improved skipping performance by delaying the call to render functions until after skipping ends
* Fixed skipping not refreshing the doll image
* Fixed skipping callback handler being affected by rollback
* Refactored doll show method
2023-07-23 17:40:03 +01:00
ac39490836 Bug fixes
* Fixed updater logo issues
* Fixed modpath getting 'mods' subpath appended to it recursively with each clone
2023-07-20 22:11:17 +01:00
5a0f55cc08 Bug fix
* Fixed stale images being displayed when threading is enabled and no image was called in a while
2023-07-18 16:17:35 +01:00
3c34d60745 Bug fix
* Rebuild image on init to avoid displaying nulls
2023-07-16 17:58:39 +01:00
ece2690030 Bug fix
* Fixed clothing blacklists affecting all multislots instead of the specified multislot
2023-07-15 18:14:02 +01:00
88a6b8941b Bug fix
* Fixed TypeError in cum layer constructor
2023-07-15 00:42:17 +01:00
03db672299 Bug fix
* Fixed Dynamic Clothes icon size
2023-07-14 23:58:17 +01:00
fc794f969a Android Bug fixes
* Added a UI lock mechanism to avoid render stalls
* Fixed initialization issue due to python init offset for android devices
* Fixed a hang caused by joining threads on android devices
* Fixed a race condition when forcefully stopping threads
2023-07-14 23:52:27 +01:00
b6c77b1992 Multi-threading preference
* Implemented multi-threading preference option
* Adjusted code to make asynchronous calls optional
* Fixed initialization order for certain tasks
2023-07-14 02:33:58 +01:00
4b1b01eb09 Doll performance and bug fixes
* Implemented threading and lazyloading for the main doll
* Added global rebuild method for the dolls
* Updated save compatibility patch
* Fixed wardrobe categories showing locked items
2023-07-14 00:59:26 +01:00
6538e7ebea Bug fixes
* Fixed Cho's suspenders invalid image
* Fixed rebuild_wardrobe_icons referencing a global instead of a local
* Fixed get_equipped_wardrobe_item nulls
* Added debug info for debugging threaded icons
2023-07-12 23:25:53 +01:00
4c98cbe669 Wardrobe performance improvements and bug fixes
* Implemented new DollThread method with thread-safe locking mechanism and pickling support for thread event queues
* Added memoization for wardrobe elements
* Added threading for various wardrobe-related methods
* Added lazyloading (to avoid render stalls)
* Added button generation for DollCloth and DollOutfit instances
* Significantly reduced code repetition inside the wardrobe loop
* Added new methods for the Doll, and improved others.
* Fixed viewport adjustment values resetting on interaction
* Fixed character chit-chats performance issues
* Updated saves compatibility patch
2023-07-11 22:57:49 +01:00
79e25c27e9 Bug fixes
* Improved efficiency of RoomObject image creation
* Fixed a crash during one of the Tonks' hangout events
* Fixed DollMakeup object lacking clone method, causing issues with saved outfits
* Fixed DollMakeup non-uniform parameter order
* Fixed doll strip method affecting types like pubic hair, piercings, and tattoos
* Fixed ATL flicker on room objects due to inefficient creation of the images for room objects
2023-07-05 21:56:53 +01:00
ce435cb69c Bug fixes
* Disabled DollChibi place method default pause (unintended)
* Load audio before fades during retrospection
* Simplify achievements if block
2023-07-04 15:55:19 +01:00
85e47dacef Bug fixes
* Fixed Tonks 'open wide tongue' expressions zorder to make it work with clothes
* Fixed a crash inside facial constructor when assigning a zorder to a file
2023-07-02 00:14:17 +01:00
f94b96104c Bug fixes
* Fixed transitions for chibis
* Fixed lack of floor division in col calculations for chibis
* Fixed maxsize change incompatibility with chibis
* Disabled chibi-related debug printing for the public build
2023-06-18 23:18:50 +01:00
012084ca10 Modders QoL and improvements for clothes
* Added an automatic scalar method for undersized/oversized textures
* Added the ability to dye clothes without having to convert them into greyscale
* Added scalar ratio support for whitespace generation
* Improved whitespace generation for objects with nested children displayables
2023-06-08 17:41:06 +01:00
babbc11cf0 Bug fixes and improvements
* Implemented sort method for DollCloth types
* Fixed opacity matrix multiplications
* Fixed wardrobe outfit hash mismatch due to inserted body layers in compare objects
2023-05-14 17:31:31 +01:00
3d73d8c00d Bug fixes
* Fixed regression in sprites positioning method
* Fixed missing paperwork unlock when using quick start
* Removed redundant align attribute from doll class
2023-05-02 21:14:38 +01:00
f99f37c7bc Refactoring Tonks dynamic hair
* Converted hair parameter assignment to temporary attribute
* Fixed Tonks' hair remaining stuck in a temporary colour
* Unified character parameters
2023-04-26 01:52:58 +01:00
2ee9d0fb16 Temporary expression assignment support
* Added temporary expression assignment functionality
* Fixed get_face returning a live dict object instead of a dict copy
* Improved and simplified character speaker functions
* Removed obsolete face dicts
2023-04-26 00:18:17 +01:00
aa29c72e84 Optimisations, SlottedObjects, and bug fixes
* Implemented SlottedObject with rollback support,
* Fixed poses not rolling back correctly (see above)
* Fixed character re-showing during cg scenes
2023-04-20 19:59:55 +01:00
a2e53fd8ee Bug fixes
* Fixed Hermione 'suck it' repeat fail variant on tier 4 not working.
* Fixed character emotes
2023-04-19 22:17:01 +01:00
d3d2f6c8aa Modding support
* Resolved CHARACTERS constant to allow adding custom characters without having to rely on monkey patching.
2023-04-11 20:36:25 +01:00
b28a3e250d Refactor variables - Part 1
* Added get_character_scheduling function
* Removed update_interface_color calls (Redundant)
* Redesigned variable naming convention to simplify assignment and lookup
* Removed counter_class (Superseded)
* Removed DynamicDisplayable CG implementation (Superseded)
2023-03-31 23:41:48 +01:00
48874a546a Reduce memory
* Reduced memory footprint by excluding DollCloth and DollOutfit instances from directly participating in rollback unless reachable through renpy scope
2023-03-24 17:07:36 +00:00
8d1a8b4ffa Refactor
* Removed nonfunctional transform from gui_fade
* Removed unused asyncio import
* Unified the use of interface fade
* Replaced function call with a Renpythonic text display in confirm context
2023-03-24 16:23:23 +00:00
fab4da6f76 Bug fixes
* Fixed import initialization offset
* Fixed and converted hooch chibi images into spritesheets
* Fixed hooch chibi calls
* Fixed new chibi format file dirs
* Fixed inner thought overlay displaying above side images
* Added default audio fadeout value of 1.0
* Removed rebuild method calls (superseded)
* Removed incompatible updater code
* Converted cho new chibi into spritesheets (Placeholder)
* Commented out dev code to avoid issues
2023-03-21 00:38:33 +00:00
c0da6f3731 Bug fixes
* Added a hint regarding the 'brutes' section of Cho's quidditch quest
* Fixed face and cum submodule processors referencing a wrong vars
* Fixed face and cum submodules custom zorder modifiers
* Fixed cum submodule zorder assignments and simplified the code
2023-03-19 19:22:05 +00:00
3762ba8fb1 Bug fixes
* Fixed 'decorator' achievement being unreachable
* Fixed character face initialization in the case character image was never called before with facial values
* Fixed saybox disappearing for anonymous narrator calls
* Fixed inner thought fade not working with text tags
2023-03-15 22:27:08 +00:00
ac6313863f Bug fixes
* Fixed Cho's quidditch outfit being supplied list of colours even when not needed.
* Fixed Hermione hair cum layers
* Added sanity check for missing directories for cum layers relying on clothing states.
* Added sanity check for apply_color function, and added hints how to fix the errors.
2023-03-13 21:18:40 +00:00