Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.63 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.63 KB

nelua-sfml

CSFML 2.5.1 binding for the Nelua language. This uses Nelua's record methods, instead of the standard C calling conventions.

Note: This project is based on the existing CSFML library written in Nelua.

Differences

  • Record Methods and functions instead of vanilla functions taking pointers etc
  • Namespaced within sfml and other relevant namespaces
  • Methods/Functions use snake_case instead of camelCase
  • Removed prefix from enum values, since they are namespaced

Requirements

  • CSFML 2.5.1
  • Nelua - Currently tested with Nelua 0.2.0-dev

Note: If you're on windows, you will need to add the include and lib folders and link against the libraries.

Note 2: Since it binds everything, it will require all the libs and dlls. You can do this by passing cflags to nelua --cflags="-L lib -I include -static"

Documentation

Since it is a binding to CSFML, you can use: the SFML website or the CSFML github to learn more. There is an auto generated doc here.

Examples