mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 04:16:46 +00:00
[Quest API] Use Floating Point for CameraEffect Intensity (#2337)
This was implemented in a very odd way. The intensity is just a float. This is a breaking api change but low-impact (intensity will be different). To convert old values to new values with same intensity: 0: 0.03125 1: 0.05625 2: 0.1 3: 0.175 4: 0.3 5: 0.5 6: 0.9 7: 1.6 8: 2.8 9: 4.8 10: 8.0
This commit is contained in:
@@ -2204,7 +2204,7 @@ struct CashReward_Struct
|
||||
struct Camera_Struct
|
||||
{
|
||||
uint32 duration; // Duration in ms
|
||||
uint32 intensity; // Between 1023410176 and 1090519040
|
||||
float intensity;
|
||||
};
|
||||
|
||||
struct ZonePoint_Entry {
|
||||
|
||||
+1
-1
@@ -1284,7 +1284,7 @@ struct ServerLeaderboardRequest_Struct
|
||||
struct ServerCameraShake_Struct
|
||||
{
|
||||
uint32 duration; // milliseconds
|
||||
uint32 intensity; // number from 1-10
|
||||
float intensity;
|
||||
};
|
||||
|
||||
struct ServerMailMessageHeader_Struct {
|
||||
|
||||
Reference in New Issue
Block a user