I need your help!! how do i make a gobal switch variable for the game engine to act as the master game test switch? to switch from the different video modes i have created code: http://4ch.maidlab.jp/16bee.zip irc://irc.rizon.net/project16 irc://4ch.maidlab.jp/16
Again, you should specify what game engine do you use.
>>8077 The engine is built by a friend of mine who did not document it very well
Then, I guess, your friend must know it. Did you ask your friend?
>>8079 I cannot contact him and he is very very very very busy all the time
;_;
>>8081 Lol 410chan pretty slow, you don't hurry to hell
>>8082 i live in hell
I don't think someone can answer your question. You should've at least give a link to download the engine. But if it's fully in japanese, no one can read it anyways... And there's no guerantee that someone would bother to study the whole engine system just for answering your question. Also, are you sure the switch is possible at all?
eng_core.c line 108. bool Core::init(){ bool xz = 0; // error switch... std::cout << "VIDEO INITIATION" << std::endl; setvideo(0x13, 1); this looks like place, where video mode being switched. i think you should add some global variable to the eng_core.h file at the "protected" section, and add function like "setModeFlag(<your mode>)" to public. You should also reinit your engine with new video mode (it must be called every time when you call setModeFlag()). this is how it looks like at a first sight.
>>8085 ohh not that area of the engine the code at src/eng_comm.cpp the qing variable needs to be a global engine variable
>>8087 because that file is supposed to change the qing variable! not run the functions that use the qing variable. also the engine needs a global X,Y for the game level system and player position
>>8087 >eng_core.h you need to define all engine specific variable here, i suppose. at eng_common you just specify function within "engine" namespace (this means that you can acess functions and classes defined inside). You must rewrite your function, if you want it to acess data inside "engine" object. Or just define "global" static variable, but this is not that you want i bet.
>>8089 !!!!!! the DOS LIBRARY look in src/lib/ to see the dos library as you can see it's in C style and out side the engine name space this must be why the engine is so slow!! ok where do i start?
>>8088 >eng_core.cpp >void Core::input(){ this is a place where user input are served. you must modify this function. and also you should add quing variable to protected section of eng_core.h, this make it "engine global".
i add #include <list> #include "src\engine.h" to src/lib/lib_com.h ?
>>8091 the qing variable is a non static variable
>>8092 don't think this would work. you must work inside your engine object (if i got the idea this object is created when program starts, and after it just run in loop, calling functions sync(); input(); update(); if you try to use dos interruptions outside main program loop, this must look like program is 'lagging', but this is not correct, cause engine just run in loops at 100% of cpu.
sory m8t, mom just call me to help her. must go now.
>>8091 ok i am changing it into a CHAR
>>8095 aww
You should set up a GIT repo or something.
>>8119 i should.... wwww git on my home server or sourgeforge?
>>8121 You may use sourceforge, github, bitbucket, etc.
>>8122 ok sourge forge when i return to my compy4
i am having issues with uploading code to sourgeforge i can host the git respiratory
[20:05:50][/dos/z/16] [sparky4@compy4]$ git push origin master Password: error: src refspec master does not match any. error: failed to push some refs to 'ssh://sparky4q@git.code.sf.net/p/project16/code'
https://sourceforge.net/p/project16/code/ci/28e927f66582ce8d4437da3f0d5045f98a3ce9e3/tree/ http://4ch.maidlab.jp/gitweb/?p=16.git;a=summary ^^
ageru
>you play as a cute synthetic robotic loli whit a massive white tshirt on who just "woke up" Best thing ever!
>>8267 even cuter than koishi's adventure
the game took a dark turn now
this thread is old as fuck
разговор окончен
>>21311 Добра тебе, некродебиляша :3
- wahaba + wakaba 3.0.9 + futaba + futallaby -