Petr Ohlídal

Results 340 comments of Petr Ohlídal

It's all drawn by the script! [terrain_editor-alpha2.as.zip](https://github.com/RigsOfRods/rigs-of-rods/files/9330640/terrain_editor-alpha2.as.zip) ![obrazek](https://user-images.githubusercontent.com/491088/184465374-ade59a17-8ec3-403f-8800-66d5741d35d3.png)

`free-nonheap-object`? I didn't intend that, must double check. Might be a false alarm, tho: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54202 I didn't expect a problem with calling conventions... But apparently linux x64 is more complicated:...

The work is almost done. The `RefCountingObject` system works, except there's a breaking nuissance AngelScript side - you can't do `game.getPlayerTruck().getTruckName()` because you'll get error 'BeamClassPtr has no functon getTruckName()'....

**Purpose:** To do AngelScript right - currently the object refcounting is dummy and prone to crash. **Estimate:** 8 man days. This is hard work but it's an once-and-for-all fix which...

I'm closing this because it got stale and it was too invasive to begin with. I'll start a new PR with less code and more added value.

Related workarounds and rants: https://github.com/RigsOfRods/rigs-of-rods/pull/1752/files/080ed5e49774c03337b63c59303be150b520773f#diff-11319c6cae8caeca2be4dde205bd243b

Good observation, I'll keep this open as note-to-self.

Agreed, but be more specific please. We already use the tooltip API where clarification is necessary, i.e. for the EXPL flag in Controls UI: https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/gui/panels/GUI_GameControls.cpp#L78-L91. Another good example is the...

@WillyB1337 Yes, right now we use DirectX9 / OpenGL2. And yes, it's possible to upgrade But right now it's not a priority. RoR is based on OGRE engine version 1.9...

@AnotherFoxGuy AFAIK OGRE.11 has stable DX11 rendersystem, and I'm not aware of any resource incompatibility between DX9 and DX11, thus adopting OGRE.11 should be all we need to do.