Skip to content

Conversation

@robotboy655
Copy link
Contributor

Fixes #36

List of changes:

  • CSEnt inherits Entity
  • WEAPON inherits Weapon
  • Weapon inherits Entity
  • NETVERSIONSTR global
  • SENSORBONE, TEXFILTER enum globals
  • string empty default values are imported correctly

Some considerations:

  • Perhaps enum globals should be automatic somehow?
  • local Weapon = {} is duplicated in the output. Not sure how to handle this, given that, at least on Windows, you cannot have the same file with different capitalization (class.WEAPON.lua and class.Weapon.lua)

CSEnt  inherits Entity
WEAPON  inherits Weapon
Weapon inherits Entity
NETVERSIONSTR  global
SENSORBONE, TEXFILTER  enum globals
string empty default values are imported correctly
@luttje
Copy link
Owner

luttje commented Feb 15, 2024

Thanks for this additional PR. Much appreciated!

I'll create an issue based on your considerations.

@luttje luttje merged commit fc7d80e into luttje:main Feb 15, 2024
@robotboy655 robotboy655 deleted the diagnostics-improvements branch February 15, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSEnt should inherit from Entity

2 participants