Skip to content

Add TotalPhysicalMemory to dxGetStatus#2265

Merged
botder merged 2 commits into
multitheftauto:masterfrom
Pirulax:feature/dx-totalmemory
Aug 3, 2021
Merged

Add TotalPhysicalMemory to dxGetStatus#2265
botder merged 2 commits into
multitheftauto:masterfrom
Pirulax:feature/dx-totalmemory

Conversation

@Pirulax

@Pirulax Pirulax commented Jun 18, 2021

Copy link
Copy Markdown
Contributor

Allow scripters to get access info about available total physical memory. There's a very slight difference between the actual physicals memory and this (since there's some memory reserved for the hardware (exact value can be seen in task manager))

@Dutchman101

Copy link
Copy Markdown
Member

If PR #2267 gets accepted, it should probably supersede this (there'd be no need for also getting RAM in dxGetStatus).

But if for some reason that PR can't pass, this PR (adding it to dxGetStatus) will be the minimum feature required to implement PR #1677 (Allow load custom IMG containers).

@Pirulax

Pirulax commented Jun 18, 2021

Copy link
Copy Markdown
Contributor Author

Im going to leave this one here, just in case. But the other one should be more than enough.

@StrixG StrixG added the enhancement New feature or request label Jun 19, 2021
Comment thread Client/mods/deathmatch/logic/luadefs/CLuaDrawingDefs.cpp Outdated
Co-authored-by: Marek Kulik <me@botder.com>
@botder botder merged commit 4279648 into multitheftauto:master Aug 3, 2021
@StrixG StrixG added this to the Next Release (1.5.9) milestone Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants