Skip to content

Fixed build with C++17 (dropped std::bind1st and std::mem_fun)#19

Merged
paroj merged 1 commit intoOGRECave:masterfrom
ohlidalp:StdCpp17
Sep 16, 2025
Merged

Fixed build with C++17 (dropped std::bind1st and std::mem_fun)#19
paroj merged 1 commit intoOGRECave:masterfrom
ohlidalp:StdCpp17

Conversation

@ohlidalp
Copy link
Copy Markdown
Contributor

Both got removed from the standard.

ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Sep 15, 2025
…er-pixel lighting is always on, cleaned up old settings

conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Sep 15, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
updated media for Ogre 13.6 and enabled RTSS Terrain lights and shadows
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Sep 15, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
updated media for Ogre 13.6 and enabled RTSS Terrain lights and shadows

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Sep 15, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
updated media for Ogre 13.6 and enabled RTSS Terrain lights and shadows

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
@paroj
Copy link
Copy Markdown
Member

paroj commented Sep 16, 2025

uh.. that code was seriously over-engineered before

@paroj paroj merged commit 3d0f4ed into OGRECave:master Sep 16, 2025
1 check passed
@ohlidalp ohlidalp deleted the StdCpp17 branch October 5, 2025 21:00
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Oct 13, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Oct 20, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Oct 30, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Nov 3, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Nov 6, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12
Disabled `OGRE_NODELESS_POSITIONING` (no longer needed)

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
ohlidalp added a commit to ohlidalp/rigs-of-rods that referenced this pull request Nov 22, 2025
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12
Disabled `OGRE_NODELESS_POSITIONING` (no longer needed)

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
Zentro pushed a commit to Zentro/rigs-of-rods that referenced this pull request Mar 21, 2026
Joint effort by @ohlidalp, @tritonas00, @CuriousMike56 and @AnotherFoxGuy (Edgar)

NOTE: under Dx11 be sure to have 'diag_warning_texture=Yes' otherwise you get crash at startup.

conanfile.py: updated dependencies
OgreAngelscript.cpp: fixed build error - with OGRE_FAST_MATH defined functions `isNAN()` aren't present.
TerrainGeometryManager.cpp: OTC file format: made normalheight texture optional.
ShadowManager->RTSSManager, PSSM shadows is now a separate setting, per-pixel lighting is always on, cleaned up old settings
conanfile.py: temporarily commented out "ogre3d-caelum" until C++17 is supported, see OGRECave/ogre-caelum#19
Synced OGRE media (v14.1.2) and enabled RTSS Terrain lights and shadows
Update dependency fmt to v12
Disabled `OGRE_NODELESS_POSITIONING` (no longer needed)

Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
Co-authored-by: tritonas00 <tritonas00@gmail.com>
Co-authored-by: CuriousMike56 <46073351+CuriousMike56@users.noreply.github.com>
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.

2 participants