Giter Site home page Giter Site logo

eusdl2's Introduction

EuSDL2 - Wrapper of SDL2 for Euphoria Programming Language

  1. Written by: Andy P.
  2. SDL2 Version Wrapped: 2.26.3
  3. Euphoria Version: 4.1.0 Beta 2
  4. Date Started: 1/2/16
  5. Date Finished: 1/12/16

(c) EusDL2 2023

Contact/Paypal: g_andy at live.com

ABOUT:

This is a wrapper of the SDL2 multimedia library for the Euphoria programming language. All major and minor functions have been wrapped. You'll need a good understanding of the Euphoria programming lang- uage in order to fully use this wrapper. Demos have been provided to serve as examples. This wrap- per uses the 32 bit version of SDL2 as to provide for more compatibility between systems. Also, the 32-bit version of Euphoria 4.0.5 was used to also provide better compatbility between systems.

NOTE: The Beta of Euphoria 4.1.0 Beta 2 is being used as of now. 7/25/19

UPDATES:

This wrapper has been updated for SDL 2.0.20 and has included new functions.

  1. 9/27/17 - Fixed a couple of functions, all demos now working.
  2. 10/24/17 - Added new functions for 2.0.7
  3. 3-1-18 - Added new functions for 2.0.8
  4. 11-1-18 - Added new functions for 2.0.9
  5. 7-25-19 - Added new functions for 2.0.10
  6. 3-11-20 - Added new functions for 2.0.12
  7. 12-21-20 - Added new functions for 2.0.14
  8. 8-14-21 - Added new functions for 2.0.16
  9. 11-30-21 - Added new functions for 2.0.18
  10. 4-25-22 - Added new functions for 2.0.22

8-2-19 - Added EuSDL2 for TrueType Fonts. 4-19-20 - Added EuSDLGPU for Extra fraphics functions.

NOTE: All demos written by author of EuSDL2 unless otherwise noted.

Donations are kindly accepted if you find this software useful or would like to support the developer.

LICENSE:

This software is provided as-is. There is no warranty for this software. You may not blame the author or Euphoria community for any wrong-doing using this software. You use this software at your own risk. You may use this software to write Euphoria programs using the SDL2 wrapper. You may distribute the software you make using this wrapper as you please, whether gratis or for a fee. You may not claim you wrote the original EuSDL2 wrapper. While not required an aknowledgement of the original author would be nice.

Thank you for using EuSDL2!

Special thanks to openEuphoria community!

Links:

SDL

Euphoria

Paypal

eusdl2's People

Contributors

gandy50 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eusdl2's Issues

Failed to load routines in SDL2

Hello I ran my handy wrapper scanner from Euphoria Tools, and got this output:

It turns out some of these things are just not available on my platform and some of these may be implemented in the C headers as macros Even so this tool mentioned though can be a good for finding actual errors. There are only 48 here. I found four that were a problem due to spelling errors.

Could not load '+SDL_WinRTRunApp' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 84, column 43.
Could not load '+SDL_TriggerBreakpoint' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 352, column 49.
Could not load '+SDL_assert' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 353, column 38.
Could not load '+SDL_assert_paranoid' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 354, column 47.
Could not load '+SDL_assert_release' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 355, column 46.
Could not load '+SDL_RendercopyEx' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1087, column 44.
Could not load '+SDL_GetTextureSCaleMode' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1532, column 51.
Could not load '+SDL_GetRBA' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1555, column 39.
Could not load '+SDL_IntersectRectAndLinr' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1652, column 52.
Could not load '+SDL_PointInRect' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1653, column 43.
Could not load '+SDL_RectEmpty' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1654, column 41.
Could not load '+SDL_RectEquals' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1655, column 42.
Could not load '+SDL_writeLE32' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1731, column 41.
Could not load '+SDL_BlitScaled' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1927, column 54.
Could not load '+SDL_BlitSurface' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1928, column 43.
Could not load '+SDL_LoadBMP' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1942, column 39.
Could not load '+SDL_MUSTLOCK' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1947, column 40.
Could not load '+SDL_SaveBMP' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1948, column 39.
Could not load '+SDL_CreateRGBSurfaceWithFormatForm' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 1966, column 62.
Could not load '+SDL_GetEventState' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 2251, column 45.
Could not load '+SDL_QuitRequested' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 2263, column 45.
Could not load '+SDL_GameControllerAddMappingsFromFile' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 2971, column 65.
Could not load '+SDL_LoadWAV' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 3462, column 39.
Could not load '+SDL_AtomicDecRef' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 3966, column 44.
Could not load '+SDL_AtomicIncRef' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 3969, column 44.
Could not load '+SDL_CompilerBarrier' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 3975, column 47.
Could not load '+SDL_TICKS_PASSED' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4063, column 44.
Could not load '+SDL_Swap16' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4298, column 50.
Could not load '+SDL_Swap32' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4299, column 38.
Could not load '+SDL_Swap64' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4300, column 38.
Could not load '+SDL_SwapBE16' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4301, column 40.
Could not load '+SDL_SwapBE32' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4302, column 40.
Could not load '+SDL_SwapBE64' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4303, column 40.
Could not load '+SDL_SwapFloat' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4304, column 41.
Could not load '+SDL_SwapFloatBE' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4305, column 43.
Could not load '+SDL_SwapFloatLE' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4306, column 43.
Could not load '+SDL_SwapLE16' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4307, column 40.
Could not load '+SDL_SwapLE32' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4308, column 40.
Could not load '+SDL_SwapLE64' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4309, column 40.
Could not load '+SDL_MostSignificantBitIndex32' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4385, column 69.
Could not load '+SDL_AndroidGetActivity' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4405, column 62.
Could not load '+SDL_AndroidGetExternalStoragePath' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4406, column 61.
Could not load '+SDL_AndroidGetExternalStorageState' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4407, column 62.
Could not load '+SDL_AndroidGetInternalStoragePath' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4408, column 61.
Could not load '+SDL_AndroidGetJNIEnv' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4409, column 48.
Could not load '+SDL_WinRTGetFSPathUNICODE' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4414, column 53.
Could not load '+SDL_WinRTGetFSPathUTF8' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4415, column 50.
Could not load '+SDL_WinRTGetDeviceFamily' from 'SDL2.dll' in '../EuSDL2/EuSDL2.ew' line 4416, column 52.
There were 643 C-routines checked and 595 were successful.

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.