Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Whirlwind

Winutil.c for Land1 and DX8 Uploaded

This topic is 6479 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I chucked the file in UserUploads/Code at the PR ftp server. Just copy the file to your PRBeta1/winexe/util directory after backing up your original winutil.c. Just remember, that there is no warranty that this thing will work, not eat your computer, nor do other horrible things to your proprty. I just know land1 compiles with it and everything seems peachy.

Share this post


Link to post
Share on other sites
Advertisement
Nice job getting it up to DI8 too. Do you know which library these are in?

Linking...
Load.obj : error LNK2001: unresolved external symbol _CharacterIsAvailable
Load.obj : error LNK2001: unresolved external symbol _DrawAllStaticShadows
Load.obj : error LNK2001: unresolved external symbol _InitializeAllEntities
Load.obj : error LNK2001: unresolved external symbol _CHR_AllocateCharacterTypes
Load.obj : error LNK2001: unresolved external symbol _PR_TerrainDetailScale
Load.obj : error LNK2001: unresolved external symbol _PR_TerrainStages
Load.obj : error LNK2001: unresolved external symbol _InitializeShadows
Load.obj : error LNK2001: unresolved external symbol _NumTerrainPages
Load.obj : error LNK2001: unresolved external symbol _PR_LoadTerrain
Load.obj : error LNK2001: unresolved external symbol _terrain_MaxUV
Load.obj : error LNK2001: unresolved external symbol _terrain_MinUV
Load.obj : error LNK2001: unresolved external symbol _PR_AllocateTerrain
Load.obj : error LNK2001: unresolved external symbol _CHR_PositionEntity
Load.obj : error LNK2001: unresolved external symbol _CHR_GetEntityPosition
Load.obj : error LNK2001: unresolved external symbol _GAME_GetTerrainHeight

BTW this is offtopic but what did MS do to directdraw? I don''t see it in Direct3D anymore.

Share this post


Link to post
Share on other sites
DX8 no longer does DirectDraw so all of you DD programmers can just go cry in the corner as far as MS is concerned...

Here is the library list I use:

terrain.lib prchar.lib sound3d.lib ddraw.lib dsound.lib dinput.lib dxguid.lib pr.lib prgui.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib dinput8.lib

Just cun-n-paste. Half the stuff is probably MFC related.

Share this post


Link to post
Share on other sites
That''s a bad idea to take it out. Some games are better in 2D; others better in 3D. Look at Diablo II. Also, if you need high FPS and a big resolution 2D is better. Besides I''m just about to give up and go 2D with my game just so I can get it working.

I still get these linker errors. Are you using these functions from land 1? Are you using version 4 of the beta? I''m including these header files explicitly:

devdlg.h
land.h
lslib.h

Too many external dependencies to list.

Load.obj : error LNK2001: unresolved external symbol _CharacterIsAvailable
Load.obj : error LNK2001: unresolved external symbol _DrawAllStaticShadows
Load.obj : error LNK2001: unresolved external symbol _InitializeAllEntities
Load.obj : error LNK2001: unresolved external symbol _InitializeShadows
Load.obj : error LNK2001: unresolved external symbol _NumTerrainPages
Load.obj : error LNK2001: unresolved external symbol _GAME_GetTerrainHeight

Share this post


Link to post
Share on other sites
Are you sure that you have the pr4 libraries under your ''Directories/Libraries'' list? It is also a good idea to have the DX directory first in the list as it will go through the includes/libraries in order. VC won''t cough up a ''library not found'' message when it can''t find a listed library.

I am using PR4 Beta1 land1. I am also using a ''large'' terrain file (due to scaling) with the water height reset to 1200 or something.

MS'' response to no DirectDraw is use Direct3D.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!