This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class H264Window extends Window { | |
var base; | |
var video; | |
function H264Window( width, height ) { | |
super.Window(); | |
setSize( width, height ); | |
setInnerSize( width, height ); | |
base = new Layer(this, null); | |
base.setSize(width,height); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
JavaScript 版 Tween.js をベースに TJS2 へ書き直したものです。 | |
開発途中です。 | |
補完する時間指定して動かすのも何とかしたいところ。 | |
オリジナルは MIT License です。 | |
The MIT License | |
Copyright (c) 2010-2012 Tween.js authors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class videoRecodeHandler | |
{ | |
var moving = false; // タイマーが始動しているかどうか | |
var lastTick; | |
var myLayer; | |
var frame; | |
function videoRecodeHandler() { | |
this.moving = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __BLEND_VARIATION_H__ | |
#define __BLEND_VARIATION_H__ | |
/** | |
* アルファの扱い方によって発生するバリエーションを作りやすくするためのファンクタ | |
* blend_func は、 | |
* tjs_uint32 operator()( tjs_uint32 d, tjs_uint32 s, tjs_uint32 a ) | |
* を持つファンクタ | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LayerOwnerLayer extends BitmapLayerTreeOwner { | |
var targetLayer; | |
function LayerOwnerLayer(lay) { | |
super.BitmapLayerTreeOwner(); | |
targetLayer = lay; | |
} | |
function onChangeLayerImage() { | |
targetLayer.copyFromBitmapToMainImage(bitmap); | |
targetLayer.setSizeToImageSize(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plugins.link("plugin/BinaryStream.dll"); | |
const bsRead = 0; | |
const bsWrite = 1; | |
const bsAppend = 2; | |
const bsUpdate = 3; | |
const bsSeekSet = 0; | |
const bsSeekCur = 1; | |
const bsSeekEnd = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------------------------------------------------------------- | |
tjs_int16 tTVPXP3Archive::ReadI16FromMem(const tjs_uint8 *mem) | |
{ | |
#if 0 | |
return (tjs_int16)mem[0] + ((tjs_int16)mem[1] << 8); | |
#else | |
tjs_uint16 ret = (tjs_uint16)mem[0] | ((tjs_uint16)mem[1] << 8); | |
return (tjs_int16)ret; | |
#endif | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use utf8; | |
use Encode; | |
my $output ="tmp_output_file.tmp"; | |
@ext = ("*.tjs", "*.ks"); | |
foreach( @ext ) { | |
foreach( glob($_) ) { | |
my $input = $_; | |
open (IN, "<:encoding(shift_jis)", $input) or die "$!"; | |
open (OUT, ">:utf8", $output) or die "$!"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
category:"システム全般", | |
options:[ | |
{ | |
caption:"データ保存場所", | |
description:"吉里吉里が様々なデータを保存する場所を指定します。\n\n指定する文字列中には以下の特殊な文字列を埋め込む事ができます。\n\n$(exepath) この文字列はSystem.exePathに置き換えられます。\n\n$(appdatapath) この文字列はSystem.appDataPathに置き換えられます。\n\n$(personalpath) この文字列はSystem.personalPathに置き換えれます。\n\n$(vistapath) この文字列は、OSがVista以降の場合には$(appdatapath)の内容に、Vista未満の場合は$(exepath)の内容に置き換えられます。\n\nこのオプションの値は、System.dataPath プロパティで取得することができます。", | |
name:"datapath", | |
type:"string(255)", | |
values:[ |