Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide documentation on Limits of SA Mobile and Remastered #2

Open
OrionSR opened this issue Feb 16, 2020 · 3 comments
Open

Provide documentation on Limits of SA Mobile and Remastered #2

OrionSR opened this issue Feb 16, 2020 · 3 comments
Labels
new documentation Improvements or additions to documentation

Comments

@OrionSR
Copy link

OrionSR commented Feb 16, 2020

In particular, I just fielded a PM on global variable limits for mobile.

There are a few other differences in limits, I should be able to collect the required info but don't want to lose track of the issue in the meantime.

Is it worth the trouble to document that PS2 only supports 400 cargens?

@x87
Copy link
Contributor

x87 commented Feb 19, 2020

Any documentation can be useful at some point. In particular information on limits. At some point we can integrate extra checks in the compiler (or in third-party tools) to run analysis and give a warning if the number of entities is close to the limit.

@OrionSR
Copy link
Author

OrionSR commented Feb 19, 2020

These are the limits I can establish or confirm using save file and main.scm reference.

SA_Mobile Limits
main size 200000
mission size 69000
running threads 96
local variables 40 + 2 timers
gosub levels 8
radar blips 250
pickups 620
last opcode 0a8d, Remastered 0a90
save garages 16..18,24..32,39..45

Other useful info from original reference:
For garages (including pns, 8ball, mission garages, car crusher etc):
GTA3 - 32
GTAVC - 32
GTASA - 50 (although in ipls there are 52)
The unnamed garages don't seem to exist in game.

@x87 x87 transferred this issue from sannybuilder/help-system Jul 5, 2020
@x87 x87 added the new documentation Improvements or additions to documentation label Jul 5, 2020
@x87
Copy link
Contributor

x87 commented Jul 22, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants