A lot of the global variables have been moved into classes, which get
reinitialized on launch. The rest of the global variables are reset
when the engine gets destroyed. Thus, this feature can be safely
enabled now.
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.