Code Monkey home page Code Monkey logo

oslibmodv2's Introduction

oslibmodv2's People

Contributors

dogo avatar pyroceper avatar seeseemelk avatar sharkwouter avatar xantares avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

oslibmodv2's Issues

Indexed PNG images (256 color) not loading palette

When you load an indexed PNG (256 color palette) the loaded image is black, because all palette colors are set to black.

Maybe this is a libpng related issue, because 16 color images are sometimes loaded with wrong colors (if the palette is not exactly 16 colors big and they don't have an alpha channel).

Commenting line 102 in oslLoadImageFilePng.c, seems to solve the issue, as long as the images have exactly 16 or 256 color palettes, or they have an alpha channel.

Line 102 in oslLoadImageFilePng.c:
png_set_PLTE(pPngStruct, pPngInfo, palette, num_palette);

Reverb uses too much CPU (mikmod md_reverb)

This is not really an issue, just a suggestion.

You should add a function to change mikmod reverb (md_reverb in MDRIVER.C), because actual value of 6, uses a lot of CPU. Even a 0 value is ok and uses way less CPU.

Thanks!.

"multiply" blending mode?

is a "multiply" blending mode possible at all? i'd like to use it to implement some psuedo 2D lighting (which I've done before in XNA) but the best I could get was additive which didn't look as good.

Fonts

Hi, when using pgf fonts, it makes the program freeze and crash a lot when it comes to reloading a font on another C file.

Organization?

It could be better to move this repo into its own organization, seeing how many contributors it has - having everything pushed onto/blamed on @dogo doesn't seem entirely fair. It'd also establish the repo more firmly as the "main" repo for oslibmodv2.

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.