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

13 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
45570af13b Update Player.cpp 2021-09-12 16:03:31 +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
47519cb3f4 Fix a couple narrowing conversions in player entity. 2021-07-23 17:29:23 +03: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
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
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
c0fd374404 Rename source to module. 2020-03-21 23:02:27 +02:00