Giter Site home page Giter Site logo

raycast's Introduction

raycast

Haskell-based raycasting engine

##raycast/ raycast/ contains a Stack project to build the Haskell executable for the project

RaycastRuntime/

RaycastRuntime/ contains a MSVC project to build a helper C DLL that contains some rendering/window management.

Building

The project must be built in 2 parts:

  1. Runtime DLL

Build the RaycastRuntime project. It should automatically produce RaycastRuntime.dll, RaycastRuntime.Def, libRaycastRuntime.a and HaskellStructs.h in the raycast/ folder, which are all needed by ghc to link the Haskell project.

  1. raycast.exe

Build raycast from the raycast/ folder with stack install. (You could also stack build, but if you want to debug from Visual Studio, it needs a path to the exe to run, so I've set it up to debug from the installed exe that gets placed in %APPDATA%)

The project should be runnable now with any of stack exec raycast level_file, raycast level_file (if built with stack install) or by running from Visual Studio (must have used stack install, and will automatically run with level.txt)

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.