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
Henrik Rydgard ecc62f65b6 Revert "Fix a redeclaration warning."
This reverts commit 1e262d1699.
2013-11-17 23:20:38 +01:00
android Didn't mean to upgrade the project yet. 2013-11-13 17:09:52 +01:00
audio Unicode prep 2013-08-26 18:59:08 +02:00
base Atomics: These do not need platform-specific ifdef's as the gcc inbuilts should work fine. 2013-11-13 00:25:58 +10:00
data Unicode prep 2013-08-26 18:59:08 +02:00
ext Update to v1.4 of rg_etc1 to fix 64-bit compile bug with gcc. 2013-11-17 15:40:39 +10:00
file Only append a slash to the directory if there isn't one on the end. 2013-10-14 13:15:32 -04:00
gfx apple buildfix 2013-10-23 12:29:09 +02:00
gfx_es2 Revert "Fix a redeclaration warning." 2013-11-17 23:20:38 +01:00
i18n Workaround some obscure crashes reported through Android crash reporting 2013-09-11 22:16:07 +02:00
image Warning fixes, add deleteDir() 2013-06-08 17:43:27 +02:00
input Make sure MAX_POINTERS is only defined once. 2013-11-04 15:31:53 +01:00
json Reindent (->tabs) 2012-10-30 13:20:55 +01:00
math Add really basic float support to expr parser. 2013-11-17 01:33:24 -08:00
midi Unicode prep 2013-08-26 18:59:08 +02:00
net Fix some initialization order warnings. 2013-10-19 14:56:05 -07:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
thread Avoid a mutex lock on a small parallel loop. 2013-11-06 07:47:05 -08:00
tools Support ETC1 compression in atlastool. 2013-11-17 15:40:39 +10:00
ui Qt: Use native TTF draw instead of font atlas. 2013-11-18 01:57:29 +10:00
util Fixed compiler warnings 2013-09-29 18:39:12 +02:00
.gitignore define changes for mac from vit6969. 2013-05-06 23:30:34 +02:00
Android.mk Add the armv6 flag to armeabi builds 2013-10-28 16:42:50 +01:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Fix the vcxproj 2013-10-25 12:44:03 +02:00
native.vcxproj.filters Fix the vcxproj 2013-10-25 12:44:03 +02: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