mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- backend update from GZDoom.
The main bulk of this is the new start screen code. To make this work in Raze some more work on the startup procedure is needed. What this does provide is support for the DOS end-of-game text screens in Duke and SW on non-Windows systems.
This commit is contained in:
parent
47aa110441
commit
84173ee09b
95 changed files with 4001 additions and 3209 deletions
|
@ -277,7 +277,7 @@ void MarkArray(DObject **obj, size_t count)
|
|||
|
||||
static size_t CalcStepSize()
|
||||
{
|
||||
int time_passed = CheckTime - LastCollectTime;
|
||||
int time_passed = int(CheckTime - LastCollectTime);
|
||||
auto alloc = min(LastCollectAlloc, Estimate);
|
||||
size_t bytes_gained = AllocBytes > alloc ? AllocBytes - alloc : 0;
|
||||
return (StepMul > 0 && time_passed > 0)
|
||||
|
@ -390,7 +390,7 @@ static size_t SingleStep()
|
|||
case GCS_Finalize:
|
||||
State = GCS_Pause; // end collection
|
||||
LastCollectAlloc = AllocBytes;
|
||||
LastCollectTime = CheckTime;
|
||||
LastCollectTime = (int)CheckTime;
|
||||
return 0;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue