Giter Site home page Giter Site logo

ptitseb / eldritch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sobkas/eldritch

3.0 3.0 2.0 8.4 MB

Eldritch port to the OpenPandora (meaning Arm / GLES2 / OpenAL): Status Working (with latest data file from Steam)

Home Page: https://boards.openpandora.org/topic/18323-eldritch/

License: Other

CMake 0.51% C 52.66% C++ 46.39% Objective-C++ 0.01% Python 0.31% Objective-C 0.11% Batchfile 0.01%

eldritch's Introduction

Thanks for downloading this distribution of Eldritch's source code!

Please note that this is an unsupported, unmaintained release;
documentation is limited to this readme file and I will not be
integrating changes. Questions and bug reports are welcome at
[email protected], but I cannot promise I will be able to
respond.

This release has been updated from the 2014 release to include
the new audio engine (a modified version of SoLoud) as well as
the content for the Steam version of the game, without any
dependencies on Steam's libraries.

It will be necessary for OS X and Linux users to download GL and
GLEW or GLES. For Windows users, the library files included
here should suffice.

IDE project files are provided for Visual Studio 2015, Code::Blocks,
and Xcode, but it may be more desirable to rebuild your own project
file.

This distribution does not include most of the game's content, but
configuration, script, and room files are included and are licensed
the same as the source code. (All game content not included here is
not covered by these license terms and may not be redistributed.)

For Windows users, precompiled Release binaries have been
provided for immediate access to the game's debug tools and level
editor. To access the editor, press Tab during gameplay.

The game's .cpk files (not included here; you must purchase a copy
of Eldritch to get them) can be unpacked with the FilePacker.exe tool.
Deleting, renaming, or moving the .cpk files will force the game to
load from loose files instead.

Configuration/script files (.config extension) are used to define
most aspects of the game: procedural generation parameters, entity
composition, AI behaviors, etc. They can be parsed at runtime or
precompiled with ConfigCompiler.exe.

The source code for the tools is included, but they have not been
ported to OS X or Linux.

Happy coding!
David

eldritch's People

Contributors

cwharris avatar olafurw avatar ptitseb avatar rajdakin avatar rohit-n avatar sobkas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

emileb rajdakin

eldritch's Issues

AmigaOS4: crash when save preferences file

If we go to the preferences in the main screen, go through them, and tried to exit to the main menu screen, it then tries to save to the "./prefs.cfg" and crashes in the EldritchFramework WritePrefsConfig. For AmigaOS4 we need to put that file to the "PROGDIR:" (without ./ at the beginning), or to PROGDIR:.eldritch.

AmigaOS4 (or general): when build with VBO support (by disabling NO_VBO) the person in the Mirror didn't moves

So far was able to reuse glMapBufferOES and glUnmapBufferOES Daniel add a year ago, and so VBO work (make the game be faster 2 times probably, which sometimes a bit slow still, but that another story), but find out that the person in the mirror didn't rotate. Maybe some other big-endian swaps need to be done when we use VBO ? When I go NO_VBO (i.e. our default path for now), the person in the mirror rotates well.

Building for GNU/Linux with GLES and no X11, possible?

Hi @ptitSeb

Is it possible to build this for GNU/Linux with GLES only?
I saw that, when building for Pandora (-DPANDORA=ON) libglew is still needed, which I understand is desktop-GL only.

I also tried -DGLES=ON, but got linking errors:

[ 65%] Linking CXX executable Eldritch
cd /home/manuel/src/Eldritch/Code/b4/Projects/Eldritch && /usr/bin/cmake -E cmake_link_script CMakeFiles/Eldritch.dir/link.txt --verbose=1
/usr/bin/c++    -rdynamic CMakeFiles/Eldritch.dir/src/Actions/wbactioneldaddblock.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldbanktransaction.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldbindinput.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldcheckcone.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldcheckline.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldchecksphere.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactionelddamageworld.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldgiveitem.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldgotolevel.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldlaunchwebsite.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldplayanim.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldplayhandanim.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldremoveblock.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldsetlight.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldsetpersistentvar.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldshowbook.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldspawnentity.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldstopmotion.cpp.o CMakeFiles/Eldritch.dir/src/Actions/wbactioneldtweetrip.cpp.o CMakeFiles/Eldritch.dir/src/AnimEvents/animeventeldexecuteaction.cpp.o CMakeFiles/Eldritch.dir/src/AnimEvents/animeventeldsendevent.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldlookat.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldmoveto.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldplayanim.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldplaybark.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldstopmoving.cpp.o CMakeFiles/Eldritch.dir/src/BTNodes/rodinbtnodeeldturntoward.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldaimotion.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldammobag.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldanchor.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldcamera.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldcharacter.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldclimbable.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldcollision.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompelddamager.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompelddoor.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompelddropshadow.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldendgamecounter.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldfaction.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldfootsteps.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldfrobbable.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldfrobber.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldhands.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldhard.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldhardlistener.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldheadtracker.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldhealth.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldhudmarker.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldicicles.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldinventory.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompelditem.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldkeyring.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldlight.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldlock.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldmapmarker.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldmarkup.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldmesh.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldminimap.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldparticles.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldpickup.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldplayer.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldpowerteleport.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldrespawner.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldrope.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensor.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensordamage.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensorhearing.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensormarkup.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensorpoll.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensortheft.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsensorvision.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsleeper.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldsound.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldspikes.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldthinker.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldthinkerhearwormtarget.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldthinkerpatrol.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldthinkertarget.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldtransform.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldtrapbolt.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldusable.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldvisible.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldwallet.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldwatson.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbcompeldweapon.cpp.o CMakeFiles/Eldritch.dir/src/Components/wbeldritchcomponent.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeelddistance.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetcharactervo.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetfaction.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetitem.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetlocation.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetpersistentvar.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetslot.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldgetvelocity.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldhardscalar.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldhardswitch.cpp.o CMakeFiles/Eldritch.dir/src/PEs/wbpeeldplayer.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpelddropshadow.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpeldhud.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpeldhudcalibration.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpeldlit.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpeldpost.cpp.o CMakeFiles/Eldritch.dir/src/SDPs/sdpeldworld.cpp.o CMakeFiles/Eldritch.dir/src/Screens/uiscreen-eldbindinputs.cpp.o CMakeFiles/Eldritch.dir/src/Screens/uiscreen-eldcredits.cpp.o CMakeFiles/Eldritch.dir/src/Screens/uiscreen-eldmirror.cpp.o CMakeFiles/Eldritch.dir/src/Screens/uiscreen-eldsetres.cpp.o CMakeFiles/Eldritch.dir/src/eldritchbank.cpp.o CMakeFiles/Eldritch.dir/src/eldritchfactions.cpp.o CMakeFiles/Eldritch.dir/src/eldritchframework.cpp.o CMakeFiles/Eldritch.dir/src/eldritchgame.cpp.o CMakeFiles/Eldritch.dir/src/eldritchirradiance.cpp.o CMakeFiles/Eldritch.dir/src/eldritchmesh.cpp.o CMakeFiles/Eldritch.dir/src/eldritchmusic.cpp.o CMakeFiles/Eldritch.dir/src/eldritchnav.cpp.o CMakeFiles/Eldritch.dir/src/eldritchparticles.cpp.o CMakeFiles/Eldritch.dir/src/eldritchpersistence.cpp.o CMakeFiles/Eldritch.dir/src/eldritchroom.cpp.o CMakeFiles/Eldritch.dir/src/eldritchsaveload.cpp.o CMakeFiles/Eldritch.dir/src/eldritchsound3dlistener.cpp.o CMakeFiles/Eldritch.dir/src/eldritchtargetmanager.cpp.o CMakeFiles/Eldritch.dir/src/eldritchtools.cpp.o CMakeFiles/Eldritch.dir/src/eldritchwbscenehelpers.cpp.o CMakeFiles/Eldritch.dir/src/eldritchworld.cpp.o CMakeFiles/Eldritch.dir/src/eldritchworldgen.cpp.o CMakeFiles/Eldritch.dir/src/main.cpp.o CMakeFiles/Eldritch.dir/src/uiinputmapeldritch.cpp.o  -o Eldritch   -L/home/manuel/src/Eldritch/Code/Libraries/Audio  -L/home/manuel/src/Eldritch/Code/Libraries/Audio/lib  -L/home/manuel/src/Eldritch/Code/Libraries/Math  -L/home/manuel/src/Eldritch/Code/Libraries/Framework  -L/home/manuel/src/Eldritch/Code/Libraries/UI  -L/home/manuel/src/Eldritch/Code/Libraries/2D  -L/home/manuel/src/Eldritch/Code/Libraries/3D  -L/home/manuel/src/Eldritch/Code/Libraries/Core  -L/home/manuel/src/Eldritch/Code/Libraries/Rodin  -L/home/manuel/src/Eldritch/Code/Libraries/Workbench  -L/usr/local/lib  -Wl,-rpath,/home/manuel/src/Eldritch/Code/Libraries/Audio:/home/manuel/src/Eldritch/Code/Libraries/Audio/lib:/home/manuel/src/Eldritch/Code/Libraries/Math:/home/manuel/src/Eldritch/Code/Libraries/Framework:/home/manuel/src/Eldritch/Code/Libraries/UI:/home/manuel/src/Eldritch/Code/Libraries/2D:/home/manuel/src/Eldritch/Code/Libraries/3D:/home/manuel/src/Eldritch/Code/Libraries/Core:/home/manuel/src/Eldritch/Code/Libraries/Rodin:/home/manuel/src/Eldritch/Code/Libraries/Workbench:/usr/local/lib ../../Libraries/Core/libCore.a ../../Libraries/Math/libMath.a ../../Libraries/2D/lib2D.a ../../Libraries/3D/lib3D.a ../../Libraries/Audio/libAudio.a ../../Libraries/Workbench/libWorkbench.a ../../Libraries/Rodin/libRodin.a ../../Libraries/UI/libUI.a ../../Libraries/Framework/libFramework.a -lSDL2 -lGLESv2 -lopenal -lalut -lvorbisfile ../../Libraries/2D/lib2D.a ../../Libraries/3D/lib3D.a ../../Libraries/Core/libCore.a -lz ../../Libraries/Math/libMath.a ../../Libraries/UI/libUI.a -lopenal 
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::Initialize()':
gl2renderer.cpp:(.text+0x2a1): undefined reference to `glFrontFace'
/usr/bin/ld: gl2renderer.cpp:(.text+0x2b8): undefined reference to `glGetIntegerv'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::RenderBucket(Bucket*, ViewportPass const*)':
gl2renderer.cpp:(.text+0xc31): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xc76): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xc97): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xcdc): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xcfd): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xd42): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xd68): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xdad): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xdd3): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xe18): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xe3b): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xe80): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xea6): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xeeb): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xf11): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xf56): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xf77): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0xfbc): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0xfdd): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1022): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1043): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1088): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0x10a9): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0x10ee): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1111): undefined reference to `glEnableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1156): undefined reference to `glVertexAttribPointer'
/usr/bin/ld: gl2renderer.cpp:(.text+0x118b): undefined reference to `glDisableVertexAttribArray'
/usr/bin/ld: gl2renderer.cpp:(.text+0x124a): undefined reference to `glDrawElements'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::Clear(unsigned int, unsigned int, float, unsigned int)':
gl2renderer.cpp:(.text+0x1359): undefined reference to `glClearColor'
/usr/bin/ld: gl2renderer.cpp:(.text+0x137a): undefined reference to `glClearDepthf'
/usr/bin/ld: gl2renderer.cpp:(.text+0x13a8): undefined reference to `glClearStencil'
/usr/bin/ld: gl2renderer.cpp:(.text+0x13b8): undefined reference to `glDepthMask'
/usr/bin/ld: gl2renderer.cpp:(.text+0x13c2): undefined reference to `glClear'
/usr/bin/ld: gl2renderer.cpp:(.text+0x13d2): undefined reference to `glDepthMask'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetRenderTarget(IRenderTarget*)':
gl2renderer.cpp:(.text+0x18c0): undefined reference to `glBindFramebuffer'
/usr/bin/ld: gl2renderer.cpp:(.text+0x19c3): undefined reference to `glViewport'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetShaderProgram(IShaderProgram*)':
gl2renderer.cpp:(.text+0x1a94): undefined reference to `glUseProgram'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::glSetEnabled(unsigned int, bool)':
gl2renderer.cpp:(.text+0x1af0): undefined reference to `glEnable'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1afc): undefined reference to `glDisable'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetCullMode(ECullMode)':
gl2renderer.cpp:(.text+0x1b3f): undefined reference to `glDisable'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1b4b): undefined reference to `glEnable'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1b69): undefined reference to `glCullFace'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetZWriteEnable(EZWriteEnable)':
gl2renderer.cpp:(.text+0x1c06): undefined reference to `glDepthMask'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetBlend(EBlend, EBlend)':
gl2renderer.cpp:(.text+0x1ce1): undefined reference to `glBlendFunc'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetTexture(unsigned int, ITexture*)':
gl2renderer.cpp:(.text+0x1d0c): undefined reference to `glActiveTexture'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1d68): undefined reference to `glBindTexture'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetAddressing(unsigned int, ETextureAddress, ETextureAddress)':
gl2renderer.cpp:(.text+0x1e0f): undefined reference to `glTexParameteri'
/usr/bin/ld: gl2renderer.cpp:(.text+0x1e37): undefined reference to `glTexParameteri'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetMinMipFilters(unsigned int, ETextureFilter, ETextureFilter)':
gl2renderer.cpp:(.text+0x1ef7): undefined reference to `glTexParameteri'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetMagFilter(unsigned int, ETextureFilter)':
gl2renderer.cpp:(.text+0x1f8a): undefined reference to `glTexParameteri'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetPixelShaderFloat4(HashedString const&, float const*, unsigned int)':
gl2renderer.cpp:(.text+0x213c): undefined reference to `glUniform4fv'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2renderer.cpp.o): in function `GL2Renderer::SetPixelShaderMatrix(HashedString const&, float const*, unsigned int)':
gl2renderer.cpp:(.text+0x2328): undefined reference to `glUniformMatrix4fv'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2rendertarget.cpp.o): in function `GL2RenderTarget::~GL2RenderTarget()':
gl2rendertarget.cpp:(.text+0x1d5): undefined reference to `glDeleteRenderbuffers'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x1f5): undefined reference to `glDeleteRenderbuffers'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x215): undefined reference to `glDeleteFramebuffers'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2rendertarget.cpp.o): in function `GL2RenderTarget::Initialize(SRenderTargetParams const&)':
gl2rendertarget.cpp:(.text+0x317): undefined reference to `glGenFramebuffers'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x3a6): undefined reference to `glGenTextures'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x423): undefined reference to `glBindTexture'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x462): undefined reference to `glTexImage2D'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x47a): undefined reference to `glTexParameteri'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x48e): undefined reference to `glTexParameteri'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x4a2): undefined reference to `glTexParameteri'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x4b6): undefined reference to `glTexParameteri'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x4eb): undefined reference to `glBindTexture'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x510): undefined reference to `glGenRenderbuffers'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x58d): undefined reference to `glBindRenderbuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x5b0): undefined reference to `glRenderbufferStorage'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x5c5): undefined reference to `glGenRenderbuffers'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x5d8): undefined reference to `glBindRenderbuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x5fb): undefined reference to `glRenderbufferStorage'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x60a): undefined reference to `glBindRenderbuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x61d): undefined reference to `glBindFramebuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x640): undefined reference to `glFramebufferTexture2D'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x65d): undefined reference to `glFramebufferRenderbuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x67a): undefined reference to `glFramebufferRenderbuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x684): undefined reference to `glCheckFramebufferStatus'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x6fe): undefined reference to `glBindFramebuffer'
/usr/bin/ld: gl2rendertarget.cpp:(.text+0x711): undefined reference to `glBindFramebuffer'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o): in function `GL2ShaderProgram::~GL2ShaderProgram()':
gl2shaderprogram.cpp:(.text+0x225): undefined reference to `glDetachShader'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x2c1): undefined reference to `glDetachShader'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x2cf): undefined reference to `glDeleteProgram'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o): in function `GL2ShaderProgram::Initialize(IVertexShader*, IPixelShader*, IVertexDeclaration*)':
gl2shaderprogram.cpp:(.text+0x4c6): undefined reference to `glCreateProgram'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x5e2): undefined reference to `glAttachShader'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x687): undefined reference to `glAttachShader'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x6b1): undefined reference to `glLinkProgram'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x6cb): undefined reference to `glGetProgramiv'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x6f1): undefined reference to `glGetProgramiv'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x740): undefined reference to `glGetProgramInfoLog'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o): in function `GL2ShaderProgram::BindAttributes(IVertexDeclaration*) const':
gl2shaderprogram.cpp:(.text+0x8bd): undefined reference to `glBindAttribLocation'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x8e5): undefined reference to `glBindAttribLocation'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x90d): undefined reference to `glBindAttribLocation'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x93a): undefined reference to `glBindAttribLocation'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0x967): undefined reference to `glBindAttribLocation'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o):gl2shaderprogram.cpp:(.text+0x991): more undefined references to `glBindAttribLocation' follow
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o): in function `GL2ShaderProgram::BuildUniformTable()':
gl2shaderprogram.cpp:(.text+0xaff): undefined reference to `glGetProgramiv'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0xb79): undefined reference to `glGetActiveUniform'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0xb98): undefined reference to `glGetUniformLocation'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2shaderprogram.cpp.o): in function `GL2ShaderProgram::SetSamplerUniforms()':
gl2shaderprogram.cpp:(.text+0xd60): undefined reference to `glUseProgram'
/usr/bin/ld: gl2shaderprogram.cpp:(.text+0xdd5): undefined reference to `glUniform1i'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2texture.cpp.o): in function `GL2Texture::~GL2Texture()':
gl2texture.cpp:(.text+0xcc): undefined reference to `glDeleteTextures'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2texture.cpp.o): in function `GL2Texture::CreateTexture(unsigned char*)':
gl2texture.cpp:(.text+0x1ff): undefined reference to `glGenTextures'
/usr/bin/ld: gl2texture.cpp:(.text+0x27c): undefined reference to `glBindTexture'
/usr/bin/ld: gl2texture.cpp:(.text+0x382): undefined reference to `glTexImage2D'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2texture.cpp.o): in function `GL2Texture::CreateTextureFromDDS(IDataStream const&)':
gl2texture.cpp:(.text+0x87b): undefined reference to `glGenTextures'
/usr/bin/ld: gl2texture.cpp:(.text+0x907): undefined reference to `glBindTexture'
/usr/bin/ld: gl2texture.cpp:(.text+0xacd): undefined reference to `glTexImage2D'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2vertexshader.cpp.o): in function `GL2VertexShader::~GL2VertexShader()':
gl2vertexshader.cpp:(.text+0x4db): undefined reference to `glDeleteShader'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2vertexshader.cpp.o): in function `GL2VertexShader::Initialize(IDataStream const&)':
gl2vertexshader.cpp:(.text+0x605): undefined reference to `glCreateShader'
/usr/bin/ld: gl2vertexshader.cpp:(.text+0x6af): undefined reference to `glShaderSource'
/usr/bin/ld: gl2vertexshader.cpp:(.text+0x6c0): undefined reference to `glCompileShader'
/usr/bin/ld: gl2vertexshader.cpp:(.text+0x6da): undefined reference to `glGetShaderiv'
/usr/bin/ld: gl2vertexshader.cpp:(.text+0x700): undefined reference to `glGetShaderiv'
/usr/bin/ld: gl2vertexshader.cpp:(.text+0x74f): undefined reference to `glGetShaderInfoLog'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2pixelshader.cpp.o): in function `GL2PixelShader::~GL2PixelShader()':
gl2pixelshader.cpp:(.text+0x6b): undefined reference to `glDeleteShader'
/usr/bin/ld: ../../Libraries/3D/lib3D.a(gl2pixelshader.cpp.o): in function `GL2PixelShader::Initialize(IDataStream const&)':
gl2pixelshader.cpp:(.text+0x14c): undefined reference to `glCreateShader'
/usr/bin/ld: gl2pixelshader.cpp:(.text+0x23f): undefined reference to `glShaderSource'
/usr/bin/ld: gl2pixelshader.cpp:(.text+0x250): undefined reference to `glCompileShader'
/usr/bin/ld: gl2pixelshader.cpp:(.text+0x26a): undefined reference to `glGetShaderiv'
/usr/bin/ld: gl2pixelshader.cpp:(.text+0x290): undefined reference to `glGetShaderiv'
/usr/bin/ld: gl2pixelshader.cpp:(.text+0x2df): undefined reference to `glGetShaderInfoLog'
collect2: error: ld returned 1 exit status
make[2]: *** [Projects/Eldritch/CMakeFiles/Eldritch.dir/build.make:1988: Projects/Eldritch/Eldritch] Error 1
make[2]: Leaving directory '/home/manuel/src/Eldritch/Code/b4'
make[1]: *** [CMakeFiles/Makefile2:623: Projects/Eldritch/CMakeFiles/Eldritch.dir/all] Error 2
make[1]: Leaving directory '/home/manuel/src/Eldritch/Code/b4'
make: *** [Makefile:84: all] Error 2

AmigaOS4 (or general): "Ressurect in Asylum" didn't work

Find out (At least on AmigaOS4), that if we go for example left/left in the first level to the table with a pumpkin head, and press "f" there so go to a new level and then die there, we have a question: resurrect or resurrect in Asylum. If I choose pure resurrect, then all fine, the game starts from the beginning, if we choose to resurrect in Asylum, then nothing changes. In console I have :

"Warn failed: "false" ()
in unknown fucntion in code/Projects/Eldritch/src/eldritchgame.cpp at line 275.

AmigaOS4 : Crash when exit from game, or restart, or when switch a level

When I exit from a game we crash all the time because it tries to save ./main.eldritchmastersave" and says Couldn't open file ./main.eldritchmastersave, and then crashes with stack tracepoint out to the EldritchSaveLoad_SaveMaster. The same happens when we trying to restart a level, or when we go to the next world. For AmigaOS4 we need to put that file to the "PROGDIR:" (without ./ at the beginning), or to PROGDIR:.eldritch.

amigaos4 build

And there is another one :)

So i start to compile objects, they give me some warnings: quite a bit, but one is repeaded pretty offten about core/src/Color.h:

http://kas1e.mikendezign.com/aos4/gl4es/games/Eldricht/warnings1.txt

Then, im doing some other os4 fixes (that for later) till the moment when trying to compile 3D/src/GL2/gl2pixelshader.cpp, it bring that error:

/amiga/Eldritch-master/code/Libraries/3D/src/GL2/gl2pixelshader.cpp:33:19: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
Length = strlen(pBuffer);

The same kind of errors (but more) are in 3D/src/GL2/gl2vertexshader.cpp, there is:
http://kas1e.mikendezign.com/aos4/gl4es/games/Eldricht/vertexerrors.txt

At this point it says it already compile about 22% of files, so chances that there will be lots of other errors are low (i hope)

AmigaOS4: crash on exit when free shader's resources and when close audio devices

So there 2 crashes one coming after another when we about to shut down the game and exit from.

First one come from freeing shader resources: ShaderManagerFreeShaders->ShaderProgram->crash in ogles2.library

The second crash comes when we about to free resources of openal/alut, with output in console:

AL lib: (EE) alc_cleanup: 1 device not closed.

And have a warning window with "parent process has tried to exit before all children have". Error process "alsoft-mixer".

And stack tracepoint out on "ALCplaybackAHI_mixerProc"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.