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
2014-02-12 12:45:49 +01:00
android Allow control of Kitkat Immersive Mode from native code 2014-02-09 23:15:22 +01:00
audio Unicode prep 2013-08-26 18:59:08 +02:00
base Need to check the quit flag here too 2014-02-12 12:45:49 +01:00
data Unicode prep 2013-08-26 18:59:08 +02:00
ext Android: Allow apps to override the use of low profile. 2014-01-14 17:32:06 +01:00
file Fix bug where files with the same prefix as a directory would look like they were in that directory, but with their name chopped. 2014-02-12 11:03:31 +01:00
gfx Tabify 2014-01-17 14:32:56 +01:00
gfx_es2 Add a way to override the framebuffer bound with "unbind". 2014-02-12 10:21:28 +01:00
i18n Get rid of empty button from popup lists. Some deactivated logging in lang. 2013-11-29 11:33:51 +01:00
image Proper fix for libpng16 includes. 2013-12-10 02:13:19 +10:00
input Android: Send data about the device used in touch events. 2014-02-05 20:02:13 +01:00
json Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within) 2014-01-31 14:32:06 +01:00
math Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within) 2014-01-31 14:32:06 +01:00
midi Unicode prep 2013-08-26 18:59:08 +02:00
net Make it just a bit more drop-in compatible. 2014-02-09 21:56:34 -08:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
thread Warning fix, delete broken Wait function in prio work queue 2013-12-12 12:07:09 +01:00
tools Update the tools vcprojs 2014-02-05 20:03:28 +01:00
ui UIContext now keeps track of dimensions, allowing us to reduce use of display.h 2014-02-10 12:36:26 +01:00
util Fix dumb typo in surrogate pair check. 2014-01-21 08:03:57 -08:00
.gitignore define changes for mac from vit6969. 2013-05-06 23:30:34 +02:00
Android.mk Link backtrace.cpp on Android too for consistency. Use it in FLOG. 2014-01-23 14:31:56 +01:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Update project to MSVC 2013 tools. 2014-02-08 13:40:16 -08:00
native.vcxproj.filters Update project to MSVC 2013 tools. 2014-02-08 13:40:16 -08:00
README.md Switch out etcpack with the ZLIB licensed rg_etc1 library 2013-03-29 13:53:04 +01: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 save/load 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.
  • rg_etc1. ZLIB license.
  • 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ård