Skip to content

Commit

Permalink
premake update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Aug 9, 2016
1 parent 825a979 commit c8991de
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 31 deletions.
44 changes: 15 additions & 29 deletions doc/III.VC.SA.LimitAdjuster.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ EntryInfoNode = unlimited
Peds = 140
PedIntelligence = 140
Vehicles = 110
Buildings = 15000
Objects = 3500
Dummys = 9500
Buildings = 100000
Objects = 10000
Dummys = 50000
ColModel = unlimited
Task = unlimited
Event = unlimited
Expand All @@ -24,7 +24,7 @@ OutsideWorldWaterBlocks = 500
AlphaEntityList = unlimited
VisibleEntityPtrs = unlimited
VisibleLodPtrs = unlimited
StreamingObjectInstancesList = 7500
StreamingObjectInstancesList = 30000
AtomicModels = unlimited
DamageAtomicModels = unlimited
TimeModels = unlimited
Expand All @@ -39,8 +39,6 @@ Coronas = 20000
ScriptSearchLights = 1024
FrameLimit = 30
MemoryAvailable = 30%
#MAINsegmentSize = 200000
#MissionSize = 69000

[VCLIMITS]
ExtraObjectsDir = 256
Expand All @@ -50,11 +48,11 @@ Peds = 140
Vehicles = 110
Buildings = 300000
Treadables = 1
Objects = 3500
Dummys = 9500
Objects = 10000
Dummys = 30000
AudioScriptObj = 192
ColModel = 10500
AlphaEntityList = 1250
ColModel = 15000
AlphaEntityList = 2000
VisibleEntityPtrs = unlimited
AtomicModels = 10000
TimeModels = unlimited
Expand All @@ -64,7 +62,7 @@ PedModels = unlimited
WeaponModels = unlimited
2dEffects = unlimited
OutsideWorldWaterBlocks = 40
Coronas = 2048
Coronas = 5000
FrameLimit = 30
MemoryAvailable = 30%

Expand All @@ -73,38 +71,26 @@ StreamingInfo = 6350
TxdStore = 850
ExtraObjectsDir = 128
PtrNode = 90000
EntryInfoNode = 25400
EntryInfoNode = 30000
Peds = 140
Vehicles = 110
Buildings = 35500
Buildings = 100000
Treadables = 1214
Objects = 9500
Dummys = 22802
Objects = 10000
Dummys = 30000
AudioScriptObj = 256
AlphaEntityList = 1250
AlphaEntityList = 2000
VisibleEntityPtrs = unlimited
TimeModels = unlimited
OutsideWorldWaterBlocks = 40
Coronas = 2048
Coronas = 5000
FrameLimit = 30
MemoryAvailable = 30%

[OPTIONS]
DebugTextKey = 0x74 ; F5 -- Use an VKEY (see http://msdn.microsoft.com/pt-br/library/windows/desktop/dd375731(v=vs.85).aspx)

;
; ### StreamingInfo
; Size of the streaming info array.
; Must be big enough to hold all streamed resources (http://www.gtamodding.com/wiki/Resource_Streaming)
; For III the size should be numModels + TxdStore size (numModels is currently fixed at 5500).
;
; ### ExtraObjectsDir
; Size of the extra objects directory.
; Number of streamed DFFs the game can store that have no IDE definition.
;
; ### TxdStore
; Size of the Txd Pool.
; Number of Txds the game can use, StreamingInfo must be increased too.
;
; ### Buildings
; Buildings on the building pool
Expand Down
Binary file modified premake5.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ solution "OpenLA"
flags {
"StaticRuntime",
"NoImportLib",
"NoRTTI",
rtti ("Off"),
"NoBufferSecurityCheck"
}

Expand Down
2 changes: 1 addition & 1 deletion src/limits/Coronas/Coronas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void CCoronas::RegisterCorona(unsigned int nID, CEntity* pAttachTo, unsigned cha
auto pNewEntry = FreeList.First();
if (!pNewEntry)
{
MessageBox(0, "ERROR: Not enough space for coronas!", "ERROR: Not enough space for coronas!", 0);
MessageBoxA(0, "ERROR: Not enough space for coronas!", "ERROR: Not enough space for coronas!", 0);
return;
}

Expand Down

0 comments on commit c8991de

Please sign in to comment.