Modified some code to fix some compiler warnings
- const char* for inline text
- constructor initializer in the correct order
- constructor initializer correct variables
- removed dead code (useless break)
- clean up code to be more compact
- ComboBox remove simplified
- && || parenthesis to read it better
- some code unroll for readability
- overridable class (RenderPath_BindLua) need virtual destructor because it's deleted as a base class pointer
- nullptr
Fixes#414
The issue is caused by Linux (and possibly other platforms) implementing the hash function as an identify function for data smaller than 64bit (including `int`).
Fixing only the TerrainGenerator is possible, but the issue could be generated again elsewhere and it would be quite difficult to identify and debug.
Therefore the proposed solution is to replace the `wi::unordered_map` on Linux with another implementation which is still quite fast and does account for the issue of the identify hash function.
The library is https://github.com/martinus/robin-hood-hashing (MIT License)
robin_hood.h:768
```
// return mixed of that, to be safe against identity hash
```
* renderer and postprocess windows combined into graphics window
* graphics window layout resize
* camera resizelayout, replace unordered map in terraingenerator for linux
* material userdata
* graphics window update
* New Lua Scripting System
* Update Scripts
* Small fix on wiLua Globals
* Add One More Note To The New Demo
* -path fix
-renamed new_script_demo.lua to script_tracking.lua
-refactors
-version bump to 0.71.0
* removed GetScriptPath()
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
- editor: quicksave, multiple scenes support, gui changes, additional shortcuts
- physics: improvements for handling multiple scenes, and removal of physics objects
- scripting: ability to override global scene and camera with custom scene and camera from cpp side