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

Split up refEntity_t? #182

Open
zturtleman opened this issue Mar 2, 2014 · 0 comments
Open

Split up refEntity_t? #182

zturtleman opened this issue Mar 2, 2014 · 0 comments

Comments

@zturtleman
Copy link
Member

Most of refEntity_t is only used by models. Currently sprite radius/rotation is in it, but only used in cgame.

Maybe let cgame have it's own generic refresh entity and have Renderer API can be more specific, though initially it will just be converted into a refent in renderer.

There is quite a bit of duplicated vars needed for shader system (for both model and poly refents), making storing the data in renderer a bit more complicated?

model entity struct and syscall
poly entity struct and syscall

syscall for adding portal sufaces (doesn't need to be a refent, API-wise or usage in cgame)
@zturtleman zturtleman added this to the Spearmint 1.0 milestone Mar 2, 2014
@zturtleman zturtleman modified the milestones: Spearmint 1.1, Spearmint 1.0 Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant