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 7aa8aabc3d Focus fixes.
2013-07-15 17:53:12 +02:00
android Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI. 2013-07-15 17:37:16 +02:00
audio Warning fixes, add deleteDir() 2013-06-08 17:43:27 +02:00
base Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI. 2013-07-15 17:37:16 +02:00
data Add missing return true; 2013-06-05 21:23:33 +02:00
ext Simple PNG screenshot support 2013-07-07 14:32:03 -04:00
file Comment out annoying logging 2013-07-11 14:08:58 +02:00
gfx another FBO_ARB/FBO_EXT issue 2013-04-20 14:48:13 +08:00
gfx_es2 Detect EXT_swap_control_tear on Windows 2013-07-07 10:53:28 +02:00
i18n Add "\n" parsing to i18n code. Move some code from Common. 2013-06-09 13:39:16 +02:00
image Warning fixes, add deleteDir() 2013-06-08 17:43:27 +02:00
input Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI. 2013-07-15 17:37:16 +02:00
json Reindent (->tabs) 2012-10-30 13:20:55 +01:00
math Added [x,y] operator to expression parser 2013-07-05 20:23:33 +02:00
midi warnin fixin 2012-07-09 01:11:18 +02:00
net Keep a reference to download objects for their lifetime. Should fix cancelling crashes. 2013-06-26 19:24:49 +02:00
profiler Tabs unification 2012-05-08 22:04:24 +02:00
thread Fix shared_ptr as well. 2013-06-02 22:58:55 +10:00
tools Add Symbol of some of the SJIS. 2013-05-05 06:25:00 +09:00
ui Focus fixes. 2013-07-15 17:53:12 +02:00
util Add SDL support for keycode pass through 2013-06-29 19:15:55 -07:00
.gitignore define changes for mac from vit6969. 2013-05-06 23:30:34 +02:00
Android.mk Add stb_image_write to Android.mk 2013-07-07 21:28:04 +02:00
LICENSE.TXT Update README and add LICENSE 2012-03-31 10:32:57 +02:00
native.vcxproj Make sure stb_image_write.c is "included in the project". 2013-07-07 23:36:55 +02:00
native.vcxproj.filters Make sure stb_image_write.c is "included in the project". 2013-07-07 23:36:55 +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