Code Monkey home page Code Monkey logo

xray-16's Introduction

Open for everyone

OpenXRay

OpenXRay is an improved version the X-Ray engine, used in world famous S.T.A.L.K.E.R. game series by GSC Game World.

Supported games

Call of Pripyat Clear Sky Shadow of Chernobyl
Yes Beta (see #382) Not yet (see #392)

Build status

Codacy Badge

Platform Compiler Configurations Status
Windows MSVC Debug / Mixed / Release (x64/x86) Build status
Linux GCC Debug / Release (x64/x86) Build Status

Documentation

How to
Build and setup On Windows On Linux
Install and play On Windows -

Changelist and more is available in wiki.

More details

This repository contains X-Ray Engine sources based on version 1.6.02. The original engine is used in S.T.A.L.K.E.R.: Call of Pripyat game released by GSC Game World.

It is a place to share ideas on what to implement, gather people that want to work on the engine, and work on the source code.

If you find a bug or have an enhancement request, file an Issue.

Pull requests appreciated! However, the following things should be taken into consideration:

  • We want to keep the game as close as possible to the vanilla game, so instead of introducing new gameplay features, consider adding non-gameplay features, fixing bugs, improving performance and code quality
  • Major changes should be discussed before implementation
  • Follow the procedures

Be advised that this project is not sanctioned by GSC Game World in any way โ€“ and they remain the copyright holders of all the original source code.

xray-16's People

Contributors

a1batross avatar abramcumner avatar andrew-boyarshin avatar avoitishin avatar awdavies avatar casualdev242 avatar crossvr avatar devnexen avatar drug007 avatar eagleivg avatar forserx avatar freezonemods avatar gunslingermod avatar intorr avatar invokr avatar justtails avatar kaffeine avatar neoanomaly avatar q4a avatar qweasdd136963 avatar rainbowzerg avatar revolucas avatar shokerstlk avatar skyloaderr avatar tamlin-mike avatar vamit611 avatar vincent-t avatar vturbine avatar xottab-duty avatar zegeri avatar

Watchers

 avatar

xray-16's Issues

Refactor ProblemSolver

  1. Remove problem_solver_inline.h
  2. Move all header files to top
  3. Remove inline qualifier
  4. Decompose this class - it is overloaded

Add BugTrap and cryptopp as a custom target to CMake tree

Project location: Externals/BugTrap

Feature requirements:

  • BugTrap include directories should be automatically delivered to the target similar to target_include_directories command (If some target is linked with BugTrap, inlude files are added to this target build process automatically)
  • BugTrap binaries should be exported as well: any target that links with BugTrap automatically links necessary libraries.
  • custom target is added only for windows builds

Suggestions:
The best way is to use add_custom_target command similar to this example:

add_custom_target(
    ${PROJECT_NAME} ALL
    COMMAND ${BUILD_SCRIPT}
    WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})

set_property(TARGET  ${PROJECT_NAME} PROPERTY IMPORTED_LOCATION "${BINDIR}/${LIB_NAME}")
target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_HEADERS})

Move to CMake

Now the project has two build systems:

  • CMake - works fine for Linux only
  • Visual Studio solutions and projects

As far as CMake can generate VS projects, the best way will be to use CMake only.

Now CMake on Windows can't even generate project files because of next errors:

CMake Error at CMakeLists.txt:46 (install):
  install called with unknown mode $<TARGET_FILE:luabind>
Call Stack (most recent call first):
  Externals/CMakeLists.txt:3 (xr_install_file)


CMake Error at CMakeLists.txt:52 (install):
  install called with unknown mode $<TARGET_FILE:luabind>
Call Stack (most recent call first):
  Externals/CMakeLists.txt:3 (xr_install_file)

Error occurs here:

install($<TARGET_FILE:${tgt}>
    CONFIGURATIONS Debug
    RUNTIME DESTINATION Debug/)

and here:

install($<TARGET_FILE:${tgt}>
    CONFIGURATIONS Release
    RUNTIME DESTINATION Release/)

I think the reason is that install command requires mode to be filled (source).
So, I need to research which mode is the best one. FILES works, but who knows what the impact is.

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.