1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
4618577ae4 Implement .Legacy member for native entity types. 2022-07-23 22:09:30 +03:00
Sandu Liviu Catalin
5df55164ee Update Vehicle.cpp 2021-09-12 16:03:38 +03:00
Sandu Liviu Catalin
45570af13b Update Player.cpp 2021-09-12 16:03:31 +03:00
Sandu Liviu Catalin
949e5e61d0 Change the order of custom Pickup events to happen before performing the action. 2021-09-12 16:03:23 +03:00
Sandu Liviu Catalin
e4aa96a8c3 Change the order of custom Object events to happen before performing the action. 2021-09-12 16:03:17 +03:00
Sandu Liviu Catalin
e60e2958f0 Change the order of custom Checkpoint events to happen before performing the action. 2021-09-12 16:02:46 +03:00
Sandu Liviu Catalin
dfee411de5 Emulate embarking event when done from server-side.
Also change the order of other events to happen before performing the action.
2021-09-12 15:55:55 +03:00
Sandu Liviu Catalin
37383b9383 Emulate embarking event when done from server-side.
Also change the order of other events to happen before performing the action.
2021-09-12 15:49:29 +03:00
Sandu Liviu Catalin
e2e9d2c83f Fix a couple narrowing conversions in vehicle entity. 2021-07-23 17:29:32 +03:00
Sandu Liviu Catalin
47519cb3f4 Fix a couple narrowing conversions in player entity. 2021-07-23 17:29:23 +03:00
Sandu Liviu Catalin
8a29e812b1 Update Vehicle.cpp 2021-03-27 16:25:31 +02:00
Sandu Liviu Catalin
26cb65fcbc Return entity instance instead of object.
Implement helper entity iteration functions.
2021-03-20 11:51:40 +02:00
Sandu Liviu Catalin
c22e37622d Flatten tyres utility. 2021-03-15 07:01:26 +02:00
Sandu Liviu Catalin
505650837e Update Pickup.cpp 2021-02-15 09:42:18 +02:00
Sandu Liviu Catalin
0de21ae5a0 Move away from C format to cpp::fmt. 2021-02-03 17:50:39 +02:00
Sandu Liviu Catalin
6aa5b504dd Show more debuggable information. 2021-01-31 18:49:12 +02:00
Sandu Liviu Catalin
4a6bfc086c Major plugin refactor and cleanup.
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00
Sandu Liviu Catalin
95705e87c8 Initial preparations for CURL and Discord integration. 2021-01-27 07:27:48 +02:00
Sandu Liviu Catalin
efe0748d67 Fix SetPositionZ in entities. Z axis would be used as both X and Z instead of just Z. Probably resulting in weird behavior. 2020-12-21 12:20:30 +02:00
Sandu Liviu Catalin
4c1030c76e Implement simple distance tracking for player and vehicle entities.
Doesn't differentiate from in-air and on-ground.
Just sums up the distance from last position on each position update.
2020-05-04 11:58:30 +03:00
Sandu Liviu Catalin
e13d1a91e7 Replace GetObject with GetObj to avoid collisions on Windows.
ef you MS
2020-04-17 17:42:09 +03:00
Sandu Liviu Catalin
33f057ac15 More code cleanup. 2020-03-22 10:00:31 +02:00
Sandu Liviu Catalin
505a165d23 Use pragma once instead of macro guards. 2020-03-22 01:45:04 +02:00
Sandu Liviu Catalin
c0fd374404 Rename source to module. 2020-03-21 23:02:27 +02:00