Code Monkey home page Code Monkey logo

skijump3-sdl's People

Contributors

akheron avatar akx avatar olafkryus avatar veikkos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

skijump3-sdl's Issues

Fix arithmetic/buffer overflows

Fix arithmetic/buffer overflows. These exist in original code and aren't visible for user in tested release builds, hence "improvement". Compile in debug mode to enable runtime checks.

Document changes in port

Document functional changes in ported version to README.

  • New features (window options)
  • Bugs fixed
  • ...?

Add SP version number

Add SP version number to UI where applicable. Do not break compatibility of anything which might be versioned (hills, records?).

The problem with launching the game.

Hello!

I have a problem with the game that has appeared since the first version that came out, SP1. The problem is that when I want to start the game via SJ3.exe, a white window appears for a split second and the game switches off after a while.

Out of curiosity I tried to fire the game via the command line. Here is what the error message showed up;
https://i.imgur.com/zOtuYkU.png

Is it possible to find out what may cause this error? I will point out that it is trying to start the game on Windows 10.

Greetings!

Add macOS release

I've managed to successfully build SJ3 for Mac, for both x8664 and arm64.

Requirements:

  • homebrew

Steps

# Install compiler and SDL2
$ brew install fpc sdl2

# Clone Pascal SDL2 headers
$ git clone https://github.com/ev1313/Pascal-SDL-2-Headers

# Compile
$ fpc -Mtp -k-L{path homebrew installed library to, depends on your setup} -k-lSDL2 -k-framework -kOpenGL -k-framework -kCocoa  -Fu./Pascal-SDL-2-Headers/ SJ3.PAS

Since all the tooling works already with Apple Sillicon (sdl2 for arm64 is already available in homebrew and fpc can be easily built)
it's also quite straightforward to build Apple Sillicon version.

I've bundled an universal app with SDL dylib included and here's the DMG available for download: https://www.dropbox.com/s/vfpdeu2m8a7tg8e/SJ3.dmg?dl=0.
You can add it as a Release if interested.

I don't have have an Apple Developer account so it's unsigned and not notarised so one have to go Settings -> Security&Privacy to accept Gatekeeper exception upon first launch. Except that, it just works :)

In case somebody would like to add hills or modify names files etc. you have to open an app bundle by clicking Show Package Contents in context menu (option-click on the app) and going into Contents/Resources.

Extra hill support

Port support for extra hills by searching files from game directory.

See procedure CheckExtraHills at SJ3UNIT.PAS and procedure FindCustoms at SJ3INFO.PAS.

Structure files

Structure files, both in repository and binary release.

Example of possible structure

  • SRC folder for Pascal files
  • IMG folder for PCX files
    • Also read PCX files from root as custom hills can be pasted there
  • REPLAYS folder for SJR files (optional)
    • Also read SJR files from root as external replays can be pasted there

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.