Skip to content

Instantly share code, notes, and snippets.

@KapLex
KapLex / fontloader.h
Created August 9, 2012 00:49
fontloader head
#ifndef __FONTLOADER__
#define __FONTLOADER__
// SDK includes
#include <psptypes.h>
// Freetype includes
#include <ft2build.h>
#include FT_FREETYPE_H
@KapLex
KapLex / fontloader.c
Created August 9, 2012 00:53
fontloader src
#include <pspdebug.h>
#include "fontloader.h"
Font* Font_Load(const char* filename) {
FT_Error initError;
initError = FT_Init_FreeType( &ft_library );
if(initError)
return 0;
@KapLex
KapLex / fontstash.h
Created August 10, 2012 14:07
fontstash head
//
// Copyright (c) 2011 Andreas Krinke [email protected]
// Copyright (c) 2009 Mikko Mononen [email protected]
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
@KapLex
KapLex / fontstash.c
Created August 10, 2012 14:09
fontstash src
//
// Copyright (c) 2011 Andreas Krinke [email protected]
// Copyright (c) 2009 Mikko Mononen [email protected]
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
@KapLex
KapLex / fontstash_glib2d.cpp
Created August 30, 2012 17:38
fontstash_glib2d.cpp
//
// Copyright (c) 2011 Andreas Krinke [email protected]
// Copyright (c) 2009 Mikko Mononen [email protected]
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
@KapLex
KapLex / SDL_render_psp.c
Created October 9, 2012 06:40
psp render framework
/*
Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga <[email protected]>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
#include <pspkernel.h>
#include <pspdisplay.h>
#include <pspgu.h>
#include <pspgum.h>
#include <psprtc.h>
#include <stdio.h>
#include <string.h>
//#define TRI_DDLIST
----------------------------------------------------------
-----------金庸群侠传复刻之Lua版----------------------------
--版权所无,敬请复制
--您可以随意使用代码
---本代码由游泳的鱼编写
--本模块是lua主模块,由C主程序JYLua.exe调用。C程序主要提供游戏需要的视频、音乐、键盘等API函数,供lua调用。
@KapLex
KapLex / miui_error.txt
Last active December 25, 2015 13:29
Error log
--------- beginning of /dev/log/main
E/MODEMD ( 81): modemd start!!
E/MODEMD ( 81): gv_debug_level : 0
E/DataRouter( 85): Main entered
E/DataRouter( 85): switchUser
--------- beginning of /dev/log/main
W/logwrapper( 64): Unable to background process (No such file or directory)
I//system/bin/e2fsck( 1): e2fsck 1.41.11 (14-Mar-2010)
I//system/bin/e2fsck( 1): /dev/block/mmcblk0p12: clean, 15504/102960 files, 249363/411387 blocks
W/logwrapper( 67): Unable to background process (No such file or directory)