You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44-17Lines changed: 44 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
<details><summary><b>Added</b></summary>
10
10
11
11
- Pathfinding and navigation overhaul, including jetpack/jump-aware pathfinding.
12
-
Actors will now intelligently choose their path depending on how high they can jump, instead of always taking the shortest flying path. This will reduce instances of the AI getting stuck while trying to take paths that are impossible for them.
12
+
Actors will now choose their path depending on how high they can jump, instead of always taking the shortest flying path. This will reduce instances of the AI getting stuck while trying to take paths that are impossible for them.
13
13
Improvements to both `ACrab` and `AHuman` navigation. `ACrab`s are now aware of how to pathfind and navigate using their jetpack, and will use it where applicable. Actors are better at using their jetpack, and will use automovers if their jetpack is not sufficient to reach a destination.
14
14
Actors are now more capable and responsive when digging. They will dig to their target if they cannot reach it with their jetpack (for example if there is a long vertical shaft in the route they cannot get up), and they preferentially avoid rocks, metal and other hard substances by digging around them. Actors also dig faster and spend less time idle.
15
15
In the `CalculatePath` and `CalculatePathAsync` functions, the parameter `movePathToGround` has been replaced with `jumpHeight`, which is the height in metres the pathfind can jump vertically.
@@ -26,6 +26,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
26
26
Added new `Actor` INI and Lua (R/W) property `CanRun` which denotes whether the Actor can run or not.
27
27
Added new `Actor` INI and Lua (R/W) property `CrouchWalkSpeedMultiplier` which is a walking speed multiplier when at max crouch amount.
28
28
29
+
- New hotkey system for `Actor` and `HeldDevice`.
30
+
Pressing a certain new hotkey will mark it as activated on `Actor` and `HeldDevice`, letting scripts make use of the new bindings easily.
Both `Actor` and `HeldDevice` have the following functions:
34
+
`HotkeyActionIsActivated(hotkeyType)` returns whether a certain hotkey action is being activated or not.
35
+
`ActivateHotkeyAction(hotkeyType)` activates a certain hotkey action.
36
+
`DeactivateHotkeyAction(hotkeyType)` deactivates a certain hotkey action.
37
+
38
+
- New hotkey bindings.
39
+
On Mouse+KB PC the defaults are: Weapon Primary Hotkey on V, Weapon Auxiliary Hotkey on H, Actor Primary Hotkey on X, Actor Auxiliary Hotkey on O.
40
+
Added new `Controller` states `WEAPON_PRIMARY_HOTKEYSTART`, `WEAPON_AUXILIARY_HOTKEYSTART`, `ACTOR_PRIMARY_HOTKEYSTART`, `ACTOR_AUXILIARY_HOTKEYSTART`, `WEAPON_PRIMARY_HOTKEY`, `WEAPON_AUXILIARY_HOTKEY`, `ACTOR_PRIMARY_HOTKEY`, `ACTOR_AUXILIARY_HOTKEY`
41
+
42
+
- Added multiseat support for multiple mice and keyboards on one computer.
43
+
44
+
- Added optional player argument to all `UInputMan:Key*` Lua Methods. (e.g. `KeyHeld(keycode, player)`) This allows checking individual player's keyboards, when multiple keyboards are available.
45
+
29
46
- New music system, including a dynamic horizontal sequencing system, under the new music manager `MusicMan`.
30
47
`PlayDynamicSong(string songName, string songSectionName, bool playImmediately, bool playTransition, bool smoothFade)` to play a new DynamicSong.
31
48
`SetNextDynamicSongSection(string songSectionName, bool playImmediately, bool playTransition, bool smoothFade)` to queue a new DynamicSongSection for the currently playing song.
@@ -51,19 +68,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
51
68
- New `AEmitter` and `PEmitter` INI and Lua (R/W) property `PlayBurstSound` which denotes whether the BurstSound should play when appropriate. This should not be confused for a trigger - it's just a enable/disable toggle to avoid having to remove and add BurstSound altogether.
52
69
53
70
- New `MOSprite` INI and Lua (R/W) integer property `ForcedHFlip` which forces a certain flippedness and disallows anything else from ever changing it without clearing the forced value first. 0 is forced not flipped, 1 forced flipped, and -1 is no force.
54
-
55
-
- New hotkey bindings.
56
-
On Mouse+KB PC the defaults are: Weapon Primary Hotkey on V, Weapon Auxiliary Hotkey on H, Actor Primary Hotkey on X, Actor Auxiliary Hotkey on O.
57
-
Added new `Controller` states `WEAPON_PRIMARY_HOTKEYSTART`, `WEAPON_AUXILIARY_HOTKEYSTART`, `ACTOR_PRIMARY_HOTKEYSTART`, `ACTOR_AUXILIARY_HOTKEYSTART`, `WEAPON_PRIMARY_HOTKEY`, `WEAPON_AUXILIARY_HOTKEY`, `ACTOR_PRIMARY_HOTKEY`, `ACTOR_AUXILIARY_HOTKEY`
58
-
59
-
- New hotkey system for `Actor` and `HeldDevice`.
60
-
Pressing a certain new hotkey will mark it as activated on `Actor` and `HeldDevice`, letting scripts make use of the new bindings easily.
Both `Actor` and `HeldDevice` have the following functions:
64
-
`HotkeyActionIsActivated(hotkeyType)` returns whether a certain hotkey action is being activated or not.
65
-
`ActivateHotkeyAction(hotkeyType)` activates a certain hotkey action.
66
-
`DeactivateHotkeyAction(hotkeyType)` deactivates a certain hotkey action.
67
71
68
72
- New `Controller` state `WEAPON_RELOADHELD`, which is true every frame reload input is held (as opposed to `WEAPON_RELOAD` which is only true once when pressed).
69
73
@@ -81,6 +85,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
81
85
82
86
- New `Attachable` INI and Lua (R/W) properties `InheritsVelWhenDetached` and `InheritsAngularVelWhenDetached`, which determine how much of these velocities an attachable inherits from its parent when detached. Defaults to 1.
83
87
88
+
- New Z Order for scene layers and primitives: Background layer sits at z=100, Terrain Background at z=50, Terrain color and MO color at z=0, GUIs sit at z=-100, allowed z range is [-200, +200], in the future this'll be expanded to MO draw as well.
84
89
- Added Lua-accessible bitmap manipulation functions to `MOSprite`s:
85
90
```
86
91
GetSpritePixelIndex(int x, int y, int whichFrame) - Returns the color index of the pixel at the given coordinate on the given frame of the sprite ((0, 0) is the upper left corner!)
@@ -103,6 +108,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
103
108
104
109
- New `SceneMan` function `CastAllMOsRay(startVector, rayVector, table ignoreMOIDs, ignoreTeam, ignoreMaterial, bool ignoreAllTerrain, int skip)` which returns an iterator with pointers to all the non-ignored MOs met along the ray.
105
110
111
+
- New parameter `depth` for all primitives sets draw depth of the drawn primitive. The default depth is -75.0 (lower numbers draw on top, higher numbers in the back).
-`TerrainBackground` = 50.0f (Draw Depth of Terrain Background layer)
118
+
-`Background` = 100.0f (Draw Depth of Background layer)
119
+
106
120
- Added scaling capability to Bitmap primitives.
107
121
New draw bindings with argument for scale are:
108
122
```
@@ -122,9 +136,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
122
136
```
123
137
Original bindings with no scale argument are untouched and can be called as they were.
124
138
125
-
- Added multiseat support for multiple mice and keyboards on one computer.
126
-
127
-
- Added optional player argument to all `UInputMan:Key*` Lua Methods. (e.g. `KeyHeld(keycode, player)`) This allows checking individual player's keyboards, when multiple keyboards are available.
139
+
- New option to mute audio when the game window loses focus.
128
140
129
141
</details>
130
142
@@ -136,9 +148,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
136
148
The Ronin Scrambler, the basic scanner, and `SceneMan:CastUnseenRay` have been changed to accomodate fog-of-war resolutions as fine as 1x1 and as coarse as 20x20.
137
149
The fog-of-war revealing code is now multithreaded to increase performance.
138
150
151
+
- Save files are now compressed and stored in a single file, instead of a directory.
152
+
Savefiles have the extension `.ccsave`, but their underlying format is really just a `.zip` file. This can be opened and modified as before with any zip file viewer.
153
+
These savefiles can be safely renamed and moved without breaking the savegame, unlike before.
154
+
155
+
- New GPU Renderer using now OpenGL + Raylib, dramatically improving draw performance. Draw now takes a negligible amount of time.
156
+
139
157
- All vanilla scenario activities have had their settings polished, respecting settings which make sense and disabling settings which don't.
140
158
You can now have fog of war in the test scene, and can no longer require path to orbit in Zero-G Diggers-Only One Man Army.
141
159
160
+
- The "Clear" Preset button in the Buy Menu now clears the currently selected loadout, instead of the last one in the list.
161
+
162
+
- Loadouts are now additive, and append their items into the cart instead of replacing the current cart item list.
163
+
142
164
- Conquest activities will once again fall-back to using base dropships and rockets if a random selection of the selected tech's craft can't find one capable of carrying passengers and/or cargo.
143
165
144
166
-`MovableMan:OpenAllDoors()`, when passed `NOTEAM`, will now open/close doors specifically for `NOTEAM` (instead of all doors).
@@ -168,6 +190,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
168
190
169
191
-`InheritsVel` and its ilk have been uncapped, allowing users to set them outside of 0-1.
170
192
193
+
- Lua renamed `SceneLayer`->`StaticSceneLayer` due to changed SLBackground base class.
194
+
171
195
-`Scene` Lua functions `AddNavigatableArea(areaName)` and `ClearNavigatableAreas()` have been renamed/corrected to `AddNavigableArea(areaName)` and `ClearNavigableAreas()`, respectively.
172
196
173
197
-`MOSRotating` Lua function `AddWound` now additionally accepts the format `MOSRotating:AddWound(AEmitter* woundToAdd, const Vector& parentOffsetToSet, bool checkGibWoundLimit, bool isEntryWound, bool isExitWound)`, allowing modders to specify added wounds as entry- or exit wounds, for the purpose of not playing multiple burst sounds on the same frame. These new arguments are optional.
@@ -204,6 +228,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
204
228
205
229
- Fixed an issue where internal Lua functions OriginalDoFile, OriginalLoadFile, and OriginalRequire were polluting the global namespace. They have now been made inaccessible.
206
230
231
+
- Fixed the palette being mangled to 6bit/color on load.
232
+
233
+
- Fixed allegro not loading alpha of image with alpha by using SDL_image instead.
207
234
- Fixed `MOSprite:UnRotateOffset()` giving the wrong results on HFLipped sprites.
208
235
209
236
- Various fixes and improvements to inventory management when dual-wielding or carrying a shield, to stop situations where the actor unexpectedly puts their items away.
0 commit comments