MrBruz / FarCry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Far Cry

Source code of Far Cry 1 which was leaked 24 june 2023. https://archive.org/details/far-cry-1.34-complete

Fixed for building in VS 2022 (Win32 only)

Changes

  • Ported code to Visual Studio 2022, currently builds only Win32 Debug configuration
  • Replaced DXSDK to June 2010 version

Code changes:

  • Most stdafx.h files - Added _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
  • CryCommon - IScriptSystem.h: Moved some methods from WIN64 macro
  • CrySystem - MTSafeAllocator.h: replaced old std methods
  • CrySystem - HTTPDownloader.cpp: commented 309-310 lines
  • CryAnimation - disabled UNIQUE_VERT_BUFF_PER_INSTANCE becase of weird buffer descrution
  • CryAnimation - CryModel.cpp: 79 line commented becase of weird buffer descrution
  • CryNetwork - Disabled ubisoft nerwork code
  • CryGame - ScriptObjectGame.cpp: 2718 line commented save loading
  • XRenderD3D9 - Replaced DxErr9 with DxErr from lastest DXSDK
  • XRenderD3D9 - removed assert on invalid sector vertex buffer

TODO:

  • Replace nvDXT with nvtt
  • Remove nvidia cg
  • Fix bugs ...

TODO FUTURE:

  • Port engine to SDL
  • Port engine to Linux
  • Rewrite renderer to bgfx/Diligent Engine/NVRHI

About

License:The Unlicense


Languages

Language:C++ 70.1%Language:C 26.2%Language:HTML 1.9%Language:Makefile 1.2%Language:Python 0.4%Language:CSS 0.1%Language:CMake 0.1%Language:Assembly 0.1%Language:Module Management System 0.0%Language:Shell 0.0%Language:Perl 0.0%