sun-alf and GitHub
bb73a458ee
Merge pull request #224 from 1dot13/master_1dot13
...
Master 1dot13
2023-09-10 10:21:03 +02:00
sun-alf
f8637e5972
[~] Performance optimizations around Attachment[] and Launchable[] arrays
...
AIMNAS with its ~50K elements in Attachment[] suffered of performance drop when MOLLE stuff is in the visible inventory. To resolve it the following is done:
* Introduce gMAXATTACHMENTS_READ with actual number of elements in Attachment[]; according refactoring.
* Introduce gMAXLAUNCHABLES_READ with actual number of elements in Launchable[]; according refactoring.
* Introduce std::multimap AttachmentBackmap for quick access to attachments using itemId as a key.
* Sort Attachment[] by attachmentIndex right after loading from XML. According order in XML is not needed anymore.
* Introduce FindAttachmentRange() for quick access to attachments using attachmentId as a key (binary search in Attachment[]).
In a few words, GetHelpTextForItemInLaptop(), ValidAttachment(), SetAttachmentSlotsFlag() were heavily optimized.
2023-09-08 21:58:14 +03:00
sun-alf
4c861e441a
[Fix] Revive FPS drawing overlay
...
To enable built-in FPS, change gbFPSDisplay to SHOW_FULL_FPS (1) in debugger (or change it in src code and rebuild).
2023-09-08 21:58:13 +03:00
Asdow and GitHub
fc5573f73d
Correct check for stance ( #222 )
...
Same issue as in commit 23ceb0f
2023-09-05 18:57:40 +03:00
Asdow and GitHub
23ceb0fa4c
Fix bug in OCTH prone CTH calculation (by Seven) ( #221 )
...
GetToHitBonus() expects BOOLEAN for fProneStance argument, with no comparison to ANIM_PRONE, the ubEndHeight ends up adding bipod bonuses to *all* stances
2023-09-05 17:33:42 +03:00
rftrdev and GitHub
28aa73a859
Clamp coolness to valid values when generating ARC ammo cache ( #220 )
...
Fixes #217
2023-09-02 23:01:17 -07:00
Kitty and GitHub
cd186a2b1c
Merge pull request #218 from andrzejfalkowski/loading-screens-multi-res
...
Loadscreen - Multiple resolutions and stretch modes
2023-09-02 16:13:52 +02:00
Andrzej Fałkowski
019b9c4907
Merge branch 'master' into loading-screens-multi-res
2023-08-31 23:29:21 +02:00
Kitty and GitHub
5740a0af08
Merge pull request #214 from andrzejfalkowski/face-gear-offset-fix
...
Face gear offset fix
2023-08-30 19:42:55 +02:00
Kitty and GitHub
9a46abe394
Merge pull request #215 from kitty624/Backgrounds
...
Fix character check for backgrounds during IMP creation
2023-08-30 19:40:31 +02:00
kitty624
7910be0ab7
Fix personality check for backgrounds during IMP creation
2023-08-30 19:34:30 +02:00
Andrzej Fałkowski
ee3d2472e7
Removed unnecessary offset for face gear
2023-08-29 21:25:14 +02:00
Andrzej Fałkowski and GitHub
7edecd6849
Fixed vehicle body not properly removed when destroyed during ramming ( #210 )
2023-08-28 16:26:46 +03:00
Andrzej Fałkowski and GitHub
d56288e313
Fixed incorrect vehicle group id after reloading the game and vehicle movement plot issues. ( #207 )
2023-08-28 16:26:34 +03:00
Andrzej Fałkowski and GitHub
3ddacf1a44
Fix vehicles consuming fuel after instant movement cancel ( #213 )
2023-08-28 16:26:02 +03:00
rftrdev and GitHub
8ec02b2d40
Add version info to main menu ( #209 )
2023-08-23 01:21:22 -07:00
rftrdev and GitHub
6bae48658e
Fix personality check for backgrounds during IMP creation ( #208 )
2023-08-23 00:34:54 -07:00
Kitty and GitHub
28a5c76775
Merge pull request #206 from kitty624/ExtraItems
...
Update XML.h
- added path to sub-directory for Extra Items
- to avoid cluttering up the parent directory when using this feature
- it allows to place extra items in sector via xml and based on difficulty level
- the new directory "ExtraItems" will contain more details on how-to-use
2023-08-22 00:36:01 +02:00
kitty624
1289c399ce
Update XML.h
...
- added path to sub-directory for Extra Items
- to avoid cluttering up the parent directory when using this feature
- it allows to place extra items in sector via xml and based on difficulty level
- the new directory "ExtraItems" will contain more details on how-to-use
2023-08-22 00:22:20 +02:00
Andrzej Fałkowski and GitHub
1e1d456fd2
Prevent deadlocks due to self-healing interactive spots and self-attacking ( #205 )
2023-08-21 19:44:02 +03:00
Andrzej Fałkowski and GitHub
2060022e94
Battle Panel Multi Resolution ( #203 )
...
* Battle panel interface with support for multiple resolutions and scrollable list
* Support for localized versions of battle panel
* Removed commented out code
* Fixed wrong copypasta in German version
2023-08-20 20:52:34 +03:00
Andrzej Fałkowski
8f08eb15d2
Merge branch 'master' into loading-screens-multi-res
2023-08-19 23:02:54 +02:00
Andrzej Fałkowski
5400fb019d
Loading screen multiple resolutions support and stretch modes, loading bar fixes
2023-08-19 22:30:57 +02:00
rftrdev and GitHub
b91871b518
Move grenade bonuses from Demolitions to Throwing ( #202 )
...
* Copy grenade settings from demolitions to throwing
* Fix setting strings
* Add throwing bonuses to the same spots as demolitions
* Delete grenade bonuses from Demolitions
* Update text
* Reapply throwing check
2023-08-11 11:27:29 -07:00
rftrdev and GitHub
aaeea9aac8
Replace evolution with growth rates ( #201 )
2023-08-09 18:36:44 -07:00
Asdow and GitHub
43c6943399
Don't modify gMAXITEM_READ when reading localized file ( #198 )
2023-08-04 14:25:35 +03:00
Asdow and GitHub
52ccc7cc3c
Fix widescreen UI militia popup box y-coordinate ( #196 )
2023-08-04 13:45:54 +03:00
CptMoore and GitHub
200ac73f7a
Merge pull request #195 from 1dot13/another-try-to-fix-latest-1
...
Update build.yml
2023-07-31 00:28:50 +02:00
CptMoore and GitHub
1bb8a214c9
Update build.yml
2023-07-31 00:28:42 +02:00
CptMoore and GitHub
f78d91f3a3
Merge pull request #194 from 1dot13/another-try-to-fix-latest
...
Update build.yml
2023-07-30 23:34:09 +02:00
CptMoore and GitHub
32e49784a0
Update build.yml
2023-07-30 23:33:28 +02:00
CptMoore and GitHub
8824d32da9
Merge pull request #193 from 1dot13/correct-working-dir
...
Update build.yml
2023-07-30 19:23:13 +02:00
CptMoore and GitHub
2345dd0ae6
Update build.yml
2023-07-30 19:22:23 +02:00
CptMoore and GitHub
cc6adb70f6
Merge pull request #191 from 1dot13/create-latest-tag-explicitly
...
Create latest tag explicitly
2023-07-30 09:53:06 +02:00
CptMoore and GitHub
f16f137f2b
Create latest tag explicitly
...
Apparently the github API does too much magic, lets hope removing a step will make it behave
2023-07-30 09:48:11 +02:00
majcosta and GitHub
c8c7066969
Refactor merc backpack checking in FindBestPath ( #162 )
...
* remove unused fNonFenceJumper from AstarPathfinder::GetPath
* Extract backpack check into function and flip logic
Avoiding double negatives is nice
v1
2023-07-28 12:07:25 -03:00
majcosta and GitHub
a0ac81aa65
Add support for AddressSanitizer instrumentation ( #189 )
...
To use, just set `ADDRESS_SANITIZER` to `ON` on the command-line or your
CMakeUserPresets.json file
2023-07-27 18:15:53 +03:00
Asdow and GitHub
d14c92e2a9
Add /lib/ folder to gitignore ( #188 )
2023-07-27 12:07:35 +03:00
rftrdev and GitHub
7868ddf1c9
Pablo speech fix ( #187 )
...
Courtesy of Seven
Fixes #181
2023-07-26 23:44:25 -07:00
Asdow and GitHub
0decb14856
Prevent endless clock ( #186 )
...
Stop AI from attempting to steal a weapon that has a sling attachment, which prevents stealing. (by Seven)
2023-07-26 10:18:13 +03:00
Asdow and GitHub
2163a66169
Prevent writing past array capacity ( #185 )
...
Game would crash with stack-based buffer overrun when a MOLLE item had enough attachments and their texts were written past attachString capacity
2023-07-25 14:19:30 +03:00
rftrdev and GitHub
06d4b53d3e
New option: Reduced stat growth at high levels ( #183 )
...
Add optional stat growth reduction at 80+ and 90+
This makes mercs with high base stats more valuable as it is harder to grow to their levels
2023-07-21 22:53:40 -07:00
Asdow and GitHub
c036160959
fix radarmap drawing in tactical inventory view ( #177 )
...
720p resolution with 10 man squads had radarscreen rendered in a wrong location
2023-07-14 07:56:27 +03:00
rftrdev and GitHub
1150fb5352
Update simultaneous combat check for group arrivals ( #176 )
...
The previous check didn't take group team into account, so it was possible for a simultaneous battle to be triggered by an enemy group moving into a friendly sector
2023-07-11 22:26:31 -07:00
Shad000w and GitHub
0e4d0a9bfb
fix for issue #105 , turned out that the issue happened due to the vanilla code that was using gTacticalStatus.uiFlags & GODMODE despite it was never actually implemented by SirTech. I changed it to only work gainst player mercs so militia and npcs can damage each other again. ( #174 )
2023-07-07 01:40:33 -07:00
rftrdev and GitHub
66ba2c8fbc
Fix forged group not actually spawning ( #173 )
2023-07-04 23:18:34 -07:00
rftrdev and GitHub
fb03cba2fa
New feature: transport groups ( #172 )
...
https://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=365395
2023-07-04 20:58:56 -07:00
rftrdev and GitHub
8d3e6fce40
Change initial militia orders from STATIONARY to ONGUARD ( #171 )
2023-06-26 02:22:40 -07:00
Asdow and GitHub
82aa1a6f7d
Fix bug that prevented arms dealer inventory from restocking ( #169 )
...
if (numTotalItems.count(usItemIndex) == 1 ) would prevent dealers to reorder items if their current stock was zero
2023-06-22 15:59:27 +03:00
Asdow and GitHub
2571979f8a
Fix message box text drawing in 720p when map inventory is up ( #168 )
...
Old 720p resolution had character inventory drawn over the message box so messages were hidden when inventory is up. New widescreen UI is similar to all the other higher resolutions where this is not the case anymore.
2023-06-12 14:47:24 +03:00