A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
Go to file
2013-01-13 14:55:19 +01:00
android Fix Down on Xperia Play 2013-01-04 00:24:21 +01:00
audio Reindent (->tabs) 2012-10-30 13:20:55 +01:00
base Add names to the magic numbers of left joystick input (Qt/Blackberry). 2013-01-13 02:29:37 +10:00
data Listable, json tweaks 2012-06-03 17:24:33 +02:00
ext make stbi_png_partial static 2013-01-03 12:01:51 +01:00
file Build fix 2012-12-13 16:43:08 +10:00
gfx Many platforms don't have GLchar defined, just check if it is instead. 2013-01-13 03:09:22 +10:00
gfx_es2 Add state caching for stencil test. 2013-01-12 17:19:01 +01:00
image Add decoding png function for Save Dialog 2012-12-14 23:35:09 +01:00
input Add names to the magic numbers of left joystick input (Qt/Blackberry). 2013-01-13 02:29:37 +10:00
json Reindent (->tabs) 2012-10-30 13:20:55 +01:00
math armv6support 2012-12-02 20:47:51 +01:00
midi warnin fixin 2012-07-09 01:11:18 +02:00
net Symbian support for project. 2012-12-13 14:39:44 +10:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
tools Fix vcxproj files so things build again. 2012-11-24 09:16:46 -08:00
ui Zero nextScreen_ on screenmanager shutdown. 2013-01-13 14:55:19 +01:00
util Initial UTF-8 support 2013-01-02 20:56:09 +01:00
.gitignore Add ant build 2012-11-18 23:58:16 +01:00
Android.mk Initial UTF-8 support 2013-01-02 20:56:09 +01:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Initial UTF-8 support 2013-01-02 20:56:09 +01:00
native.vcxproj.filters Initial UTF-8 support 2013-01-02 20:56:09 +01:00
README.md Add MIDI Input support (Windows only). 2012-04-12 12:52:55 +02:00

native

This is my library of stuff that I use when writing C++ programs, mostly for Android but it's all written to enable easy portability between Android, Linux, Windows and MacOSX. The code is part ugly, part inconsistent but quite useful.

Features

  • JSON read/write (two libraries that should be made more similar)
  • basic OpenGL utility code, like compressed texture loading
  • 2D texture atlases and drawing code
  • ETC1 texture loading support
  • basic logging
  • Really simple audio mixer with OGG sample support
  • RIFF file read/write
  • MIDI Input (only on Windows)

Notes

  • The associated tools to create ZIM texture files and atlases do not yet live here but I might move them here eventually.
  • This library is not really meant to be a public library but I see no reason not to set it free.
  • Note that the included VS project is probably not very useful for you and you're likely better off making your own.
  • Don't complain about inconsistent naming etc - this consists of code that has been cobbled together from a variety of my projects through the years. Fashions come and go.

Licenses

This library, for my convenience, incorporates code from a variety of public domain or similarly-licensed code. This is the list:

  • glew (GL extension wrangler), MIT license. TODO: should just use a submodule.
  • etcpack by Ericsson, in a cleaned up form. Has strange license but not very limiting - you can only use the code for making textures for hardware supporting ETC1, or something like that. Don't think it affects the rest of the code in any way.
  • sha1, public domain implementation by Dominik Reichl
  • vjson in a heavily modified form, originally by Ivan Vashchaev (TODO: break out into its own repo?)
  • libzip with attribution "Copyright (C) 1999-2007 Dieter Baron and Thomas Klausner"
  • stb_vorbis, public domain by Sean Barrett of RAD Tools

If you're not okay with the licenses above, don't use this code.

I hereby release all code here not under the licenses above under the MIT license.

Contact

If you find this useful for your own projects, drop me a line at hrydgard@gmail.com .

Henrik Rydg<64>rd