StarfallEx icon indicating copy to clipboard operation
StarfallEx copied to clipboard

Change quota* functions to cpu*

Open thegrb93 opened this issue 3 years ago • 10 comments

thegrb93 avatar Jul 27 '22 22:07 thegrb93

Are you gonna keep backwards compatibility by aliasing the old functions?

adamnejm avatar Jul 27 '22 22:07 adamnejm

Also, sorta related, how about changing holograms to hologram, it drives me nuts that it's plural while all other libraries are not.

adamnejm avatar Jul 27 '22 22:07 adamnejm

trace.trace and trace.traceHull 😅

also sql.SQLstr a lot of redundant name.name<suffix>

vurvdev avatar Jul 29 '22 05:07 vurvdev

trace.trace and trace.traceHull 😅

trace.ray / trace.line / trace.cast ?

I like where this thread is going...

adamnejm avatar Jul 29 '22 05:07 adamnejm

I think trace.line would fit better alongside trace.hull

vurvdev avatar Jul 29 '22 05:07 vurvdev

Also, sounds is plural as well (even going against glua's sound) 🤔

vurvdev avatar Jul 29 '22 05:07 vurvdev

I'm also going to move all the aliases to a single area.

thegrb93 avatar Jul 29 '22 06:07 thegrb93

Material.setTextureRenderTarget render.setRenderTargetTexture

adamnejm avatar Jul 31 '22 03:07 adamnejm

https://github.com/thegrb93/StarfallEx/blob/4d9701daee2f771f47b59f2b743cc1669f1ea08d/lua/starfall/libs_sh/entities.lua#L356-L357

adamnejm avatar Aug 05 '22 16:08 adamnejm

yeah they can all be found by searching "=.+_methods" "=.+_library" in files

thegrb93 avatar Aug 05 '22 21:08 thegrb93