Commit Graph

6 Commits

Author SHA1 Message Date
dilgenfritz cbdea7bf3b updated library to be on its own page 2025-11-26 06:15:40 -06:00
dilgenfritz c40ed278e0 Major project reorganization: Move docs and scripts to dedicated directories
Documentation Organization:
- Move all documentation (except main README.md) to docs/ directory
- Create docs/README.md as navigation index for all documentation
- Update file structure references in main README.md

 Script Organization:
- Move all scripts to scripts/ directory (setup.bat, setup.sh, Start-webgame.bat, etc.)
- Update script references in documentation
- Update distribution scripts to use new paths

 Hypno Gallery Implementation:
- Implement recursive image directory scanning in main process
- Add readImageDirectoryRecursive IPC handler for proper Node.js fs access
- Clean up complex fallback code in hypno-gallery.html
- Create comprehensive HYPNO-GALLERY-README.md documentation

 File Structure Improvements:
- Clean root directory with only essential application files
- Organized subdirectories: src/, docs/, scripts/, images/, audio/, assets/
- Professional project structure for better maintainability

This reorganization improves project navigation, separates concerns properly,
and provides a solid foundation for future development.
2025-11-18 22:42:32 -06:00
dilgenfritz ec45cf69f8 updated distribution 2025-11-18 06:47:29 -06:00
dilgenfritz 77af6076e0 Fix Porn Cinema video loading bug and cleanup debug logs
CRITICAL BUG FIX: Porn Cinema Video Loading
- Fixed destructive data overwrite issue where DesktopFileManager was clearing unified video library
- Added data preservation logic to prevent overwriting existing videos when no directories are linked
- Enhanced VideoLibrary fallback mechanisms for reliable video access across components
- Resolved timing/synchronization issues between main game and Porn Cinema

 CLEANUP & OPTIMIZATION
- Removed excessive debug logging from porn-cinema.html initialization
- Cleaned up console output in desktop-file-manager.js and videoLibrary.js
- Preserved core functionality while improving user experience

 DOCUMENTATION
- Updated ROADMAP.md with completed video loading bug fix milestone
- Added detailed technical implementation notes

This resolves the issue where users had linked video directories in the main game
but videos weren't appearing in the Porn Cinema due to storage conflicts.
2025-10-31 15:01:31 -05:00
dilgenfritz f08bfbb5cc added video functionality and minor bug fixes. 2025-10-29 14:30:42 -05:00
dilgenfritz 3a57f1ce71 Refactor file structure with feature-based organization
New Structure:
- src/core/ - Core game engine (game.js, gameModeManager.js, main.js, preload.js)
- src/features/ - Feature modules organized by functionality:
  - webcam/ - Photography system (webcamManager.js)
  - tasks/ - Task management (interactiveTaskManager.js, aiTaskManager.js)
  - audio/ - Audio system (audioManager.js)
  - images/ - Image management (popupImageManager.js, image-discovery-fix.js)
  - ui/ - UI components (flashMessageManager.js)
- src/data/ - Game data and configuration (gameData.js)
- src/styles/ - CSS stylesheets (styles.css and variants)
- src/utils/ - Utility functions (desktop-file-manager.js)

 Benefits:
- Feature-based organization for better maintainability
- Clear separation of concerns
- Easier testing and debugging
- Scalable architecture for future development
- Self-contained feature modules

Updated package.json, index.html paths, and main.js for new structure.
Added comprehensive README.md documenting the architecture.
2025-10-27 14:46:30 -05:00