izawartka
7cf7aae376
Add MouseModule dependency to ModMenuModule
...
- Added MouseModule as a dependency of ModMenuModule
- Added MouseModule initialization in dllmain
2026-02-24 17:23:30 +01:00
izawartka
9ba915d305
Add NormalizedMousePosition
...
- Added MouseModule::NormalizedMousePosition
- Added MouseModule::MouseManager::ToNormalizedPosition static method
- Added MouseModule::MouseManager::ToPixelPosition static method
- Added MouseModule::MouseManager::GetClientAreaSize private static method
2026-02-24 17:21:33 +01:00
izawartka
368a034b41
Fix EventManager init deinit on dispatch
...
- Fixed Core::EventManager initializing and deinitializing an event if it is dispatched without listeners
2026-02-24 17:15:10 +01:00
izawartka
85fe926372
Add MouseModule
...
- Added MouseModule
2026-02-24 17:14:58 +01:00
izawartka
776e8de895
Add WndProcEvent
...
- Added WndProcEvent
2026-02-24 17:14:13 +01:00
izawartka
e1e6f1053a
Add GetGameWindow function
...
- Added Game::Memory::GetGameWindow function
2026-02-24 17:13:13 +01:00
izawartka
a8a3675d85
1.2.1 Release tweaks
...
- Updated README.md
- Bumped up version number to 1.2.1
2026-02-09 23:09:28 +01:00
izawartka
4e1e565bcd
Add SpawnSavedVehicleSegment validation
...
- Added a text "No saved vehicles found" in ModMenuModule::SpawnSavedVehicleSegment when attached with no saved cars in ModMenuModule::SavedCarsCheat
- Added ModMenuModule::SpawnSavedVehicleSegment validation checking if any car is selected and if it exists in ModMenuModule::SavedCarsCheat
2026-02-08 15:39:49 +01:00
izawartka
244182e155
Fix -1 ammo not working in GetWeaponMenu
...
- Fixed entering a value of -1 in ModMenuModule::GetWeaponMenu ammo field not giving the player a weapon with unlimited ammo (K.F.)
2026-02-08 15:24:30 +01:00
izawartka
4fddc92220
Add ammo and position clamping
...
- Added proper clamping to:
- ModMenuModule::GetWeaponsMenu ammo field
- ModMenuModule::WeaponsMenu ammo field
- ModMenuModule::PositionRotationSegment
- ModMenuModule::PositionSegment
2026-02-08 15:23:20 +01:00
izawartka
c999b8cf7c
Add SCR_f validation and clamping functions
...
- Added Game::Utils functions:
- IsCoordSafe
- IsZCoordSafe
- IsPositionSafe
- ClampCoordToSafe
- ClampZCoordToSafe
- ClampPositionToSafe
2026-02-08 15:21:19 +01:00
izawartka
c39cec4bb5
Add editable clamp callback
...
- Added UiModule::Editable::SetClampCallback method
- Added UiModule::VarTextEditable::SetClampCallback method
2026-02-08 15:19:48 +01:00
izawartka
2b94bc67e3
Add key binds reset toast messages
...
- Added key binds reset toast messages
2026-02-07 00:21:30 +01:00
izawartka
6a40cdbb20
Add more error/warning toasts
...
- Added toast messages:
- Warning when user tries to get vehicle weapon while not being in a vehicle
- Warning when user tries to turn off vehicle engine when it is already off
- Error when player teleport fails
- Error when spawn saved vehicle fails
- Error when spawn vehicle fails
- Error when spawn object fails
2026-02-07 00:07:12 +01:00
izawartka
6fdc138ff8
Fix & improve CopValueCheat
...
- Fixed game crashes related to CopValueChangeEvent
- Improved CopValueChangeEvent coverage
- Fixed ModMenuModule::CopValueCheat also locking other peds' cop values
2026-02-04 15:33:10 +01:00
izawartka
9b04aeae2a
Update player menu to use GetAvailableCopValues
...
- Updated ModMenuModule::PlayerMenu to use Game::Utils::GetAvailableCopValues function instead of hard-coded values
2026-02-04 15:31:46 +01:00
izawartka
04b471d021
Add cop value related game utils
...
- Added Game::Utils::CopValueToStars function
- Added Game::Utils::StarsToCopValue function
- Added Game::Utils::GetAvailableCopValues function
2026-02-04 15:31:15 +01:00
izawartka
6a16ca6911
Add game version 9.6 support
...
- Added game version 9.6.0.0 to supported versions in src\game-version-check.cpp
2026-02-03 23:25:10 +01:00
izawartka
f1c5d0df0a
1.2.0 Release tweaks
...
- Bumped up version to 1.2.0
- Updated README.md
2026-01-21 15:28:08 +01:00
izawartka
36cbf0599b
Add VertexUtils arrows scale option
...
- Added ModMenuModule::Utils::Vertex::CameraTransform::arrowsScale field
- Added an option to change arrows scale in ModMenuModule::CameraAdvancedMenu
2026-01-21 14:09:12 +01:00
izawartka
9587405d8a
Fix arrows in 3D mode
...
- Fixed arrows disappearing below the map in 3D camera mode
2026-01-21 14:07:42 +01:00
izawartka
e864fb36fa
Change "Insane speed" cheat category
...
- Changed "Insane speed" cheat category in ModMenuModule::NativeCheatsKeeperCheat to UnstableOrUnused as it causes the game to soft lock until persistence data is cleared
2026-01-20 17:52:27 +01:00
izawartka
132831bb9a
Add DisableAntialiasingCheat toggle
...
- Added ModMenuModule::DisableAntialiasingCheat toggle in ModMenuModule::CameraRenderingMenu
2026-01-20 17:50:46 +01:00
izawartka
e6ad603e91
Add CameraRenderingMenu
...
- Added ModMenuModule::CameraRenderingMenu and moved all rendering cheat toggles from ModMenuModule::CameraAdvancedMenu there
2026-01-20 17:50:06 +01:00
izawartka
8483347fe0
Add DisableAntialiasingCheat
...
- Added ModMenuModule::DisableAntialiasingCheat
2026-01-20 17:45:54 +01:00
izawartka
8522b9d87d
Add RendererAntialiasingCheckEvent
...
- Added RendererAntialiasingCheckEvent
- Added Game::Memory::GetRendererBase function
2026-01-20 17:44:28 +01:00
izawartka
d041ed505d
Fix CameraCheat bug
...
- Fixed ModMenuModule::CameraCheat operating on invalid data on first frame draw after level restart
2026-01-19 15:35:34 +01:00
izawartka
d11e6081d9
Secure hooks with pushad
...
- Added pushad before and popad after dispatching event operations to secure game hooks
2026-01-19 15:34:44 +01:00
izawartka
2986515f51
Update CameraPosCheat OnGameEnd
...
- Updated ModMenuModule::CameraPosCheat to disable if GameEndEvent occured after snap and disable had been requested
2026-01-17 02:10:13 +01:00
izawartka
922f4958e1
Refactor WatchManager
...
- Refactored Core::WatchManager
- Replaced m_idToEventType vector with an unordered_map to improve performance
- Fixed event listener not being added on queued watch
- Fixed rare undefined behavior on queued unwatch
- Cleaned up code
2026-01-17 01:39:47 +01:00
izawartka
9aa48e6e76
Add CameraFollowUpdateEvent
...
- Added CameraFollowUpdateEvent
2026-01-16 10:27:07 +01:00
izawartka
28ed4ec7b5
Add ASI build mode
...
- Updated Dinput8 proxy code and VS configurations to allow for building .asi files (compatible with ThirteenAG's ASI loader
2026-01-14 21:43:58 +01:00
izawartka
23599a2960
Remove atlstr includes
...
- Removed atlstr.h includes
- Removed redundant defines in src/game/common.h
2026-01-14 21:42:08 +01:00
izawartka
0812ff2d8a
Fix persistence file writing
...
- Fixed PersistenceModule persistence file sometimes being written to wrong location
2026-01-14 21:41:21 +01:00
izawartka
2bf5c4d842
Add GetPowerupAction
...
- Added ModMenuModule::GetPowerupAction
2026-01-12 21:56:23 +01:00
izawartka
1056656cc1
Add an option to give power-ups to player
...
- Added ModMenuModule::Utils::GivePlayerPowerup function
- Added ModMenuModule::Segments::GetPowerupSegment
- Added ModMenuModule::Menus::GetPowerupMenu
2026-01-12 21:56:23 +01:00
izawartka
7aa54a565a
Add PowerupConverter
...
- Added PowerupConverter class
2026-01-12 19:45:29 +01:00
izawartka
93c8b9da12
Add ModMenuModule events header
...
- Added src/modmenu/events/event.h header
2026-01-12 19:45:04 +01:00
izawartka
31fa7cb42e
Add power-up related game functions
...
- Added Game::Functions::GivePowerUp function
- Added Game::Utils::GetAvailablePowerupTypes function
2026-01-12 19:44:14 +01:00
izawartka
e01aa689f1
1.1.0 Release tweaks
...
- Updated README.md
- Bumped up version to 1.1.0
2026-01-11 20:04:18 +01:00
izawartka
056c73de6e
Update version menu
...
- Updated items in ModMenuModule::VersionMenu to not be selectable
- Added "Build type" (configuration name) text in ModMenuModule::VersionMenu
- Renamed "Version info" button in ModMenuModule::MiscMenu to "Version details"
2026-01-09 20:20:57 +01:00
izawartka
1a77b453ea
Improve version info
...
- Added configuration name macros in src/version.h
- Added version resource file
2026-01-09 20:18:23 +01:00
izawartka
818ea0e31d
Add an option to reset player ped appearance
...
- Added ModMenuModule::PlayerAppearanceCheat methods:
- ResetRemap
- ResetGraphicType
- ResetAndDisable
- Added an option in ModMenuModule::PlayerAppearanceMenu to reset player ped's appearance
2026-01-09 18:46:34 +01:00
izawartka
51403f591c
Fix minor ModMenuModule bugs
...
- Removed leftover debug print in ModMenuModule::PlayerAppearanceMenu
- Fixed button text and toast types in ModMenuModule::LastVehicleSaveMenu
2026-01-09 02:04:08 +01:00
izawartka
bf09de3880
Update UiModule to use KeyDownRepeatEvent
...
- Updated UiModule controllers to use KeyDownRepeatEvent where appilable
- Fixed UiModule::VarTextSelect and UiModule::Select not being able to stop editing if option list is empty
2026-01-09 02:04:08 +01:00
izawartka
1388eb5e68
Add KeyDownRepeatEvent
...
- Added UiModule::KeyDownRepeatEvent
2026-01-09 02:04:08 +01:00
izawartka
a7e587af3a
Extract UiModule event includes
...
- Extracted UiModule event includes to src/modules/ui/events/events.h
2026-01-09 01:37:18 +01:00
izawartka
7302d35435
Add event deinitializing support
...
- Added support for static void EventT::Deinit methods (a way to deinitialize events after they are no longer in use)
2026-01-08 23:33:35 +01:00
izawartka
36ad13aa23
Add KeyboardEvent base class
...
- Added KeyboardEvent class (KeyDownEvent and KeyUpEvent inherit from it)
- Replaced KeyBindingModule::Key::FromKeyDownEvent and FromKeyUpEvent with FromKeyboardEvent
2026-01-08 23:31:14 +01:00
izawartka
83ac23e311
Add Saved cars sorting
...
- Refactored ModMenuModule::SavedCarsCheat to use const references where possible
- Updated ModMenuModule::SavedCarsCheat::GetSavedCarsList to return entries sorted by name
2026-01-08 15:11:02 +01:00