Commit Graph
6 Commits
Author SHA1 Message Date
nocode 9501bfa6f8 feat(announcement): add client-side announcement menu with simple and loader styles
Implement announcement display system with HUD integration supporting two visual styles:
- Simple: centered text announcement with logo
- Loader: announcement with progress bar showing remaining display time

Features:
- Server to client message handling via net.Receive
- Configurable display duration
- Persistent state across hot-reloads
- Integration with rndx drawing library for styled UI elements
2026-07-20 12:47:08 +02:00
nocode ed2157923b feat(admin_menu): add network receiver for opening announcement menu
Implement client-side network message handler that opens the announcement admin menu when receiving the 'bladWOpenAnnouncementMenu' network message from the server.
2026-07-20 12:46:55 +02:00
nocode 55ad3924f2 feat(announcement): remove client menu hud announcement display
Delete the HUD announcement menu implementation that was displaying announcements on the client screen using the rndx drawing library. This feature is no longer needed or has been replaced with an alternative implementation.
2026-07-20 12:46:41 +02:00
nocode 113d99c090 feat(admin_menu): add client-side admin menu for announcements
Add a new admin menu interface that allows admins to create and send announcements.

The menu features:
- Styled DFrame with logo and title
- Input fields for announcement title and message
- Send button that transmits announcement data to server via net message
- Close button and automatic closing when game UI is opened
- Consistent theming with announcement display (colors, rounded corners, blur effect)
- Prevents multiple menu instances from stacking
2026-07-20 12:46:23 +02:00
nocode 8cd35ada39 feat(announcement): add logo asset and update menu
- add materials/nocode/announcement/logo.png
- update cl_menu.lua and bladWinRpMenu_loader.lua
2026-07-03 03:23:08 +02:00
nocode 6cc464b145 feat(loader)!: implement glob pattern matching for module discovery
Replace simple prefix matching with full glob pattern support for discovering root folders.

Changes:
- Add EscapePattern() to escape Lua magic characters
- Add GlobToPattern() to convert glob patterns (e.g., "bladw_*") to Lua regex patterns
- Refactor FindRootFolders() to support:
  • Exact matches without wildcards (e.g., "bladw_announcement")
  • Glob patterns with * in prefix/suffix/middle positions
- Update default config root from "bladw_*" to "bladw_announcement"
- Improve documentation with usage examples
- Add new announcement module with client, server, and shared files
- Update rndx.lua library (formatting/whitespace changes)

BREAKING CHANGE: The root config now expects exact folder names or glob patterns instead of simple prefixes. Existing configs using "bladw_*" will still work but the matching behavior changes from prefix-only to glob-based pattern matching.
2026-07-01 16:00:44 +02:00