Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for check and verification of the Changes #1

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/demo

/include

/lib

/doc

/vc6
/publish

Binary file added 7z.dll
Binary file not shown.
Binary file added 7z.exe
Binary file not shown.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
misakamm <[email protected]> misakamm starts the EGE project and complete all the source codes of ege-13.04
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Cui Yidong <[email protected]> Rearrange the build structure (13.04.02)
Zhou Sida <[email protected]> contribute 5 dialog input functions (13.04.01)
1 change: 1 addition & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
To Be Determined
15 changes: 15 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
2015-03-29 [version 13.04.02 released]
* Fix: Dev-C++ compiler complaints: the GCC __attribute__ should follow 'struct'
* Misc: add ChangeLog, AUTHORS, COPYING, README

2015-02-09 [version 13.04.01 released]
* Feature: add 5 functions to enhance input which is needed by newbies of C/C++
* Fix: add VC++2013 support
* Fix: remove VC++6.0 support
* Fix: support mingw-4.7.2 / mingw-4.8.1 / mingw64-3.3.0(gcc 4.9.2)
* Misc: reorgnize the batch scripts of building ege lib

~2015 [version 13.04]
* Author: misakamm[at gmail com]
* Blog: http://misakamm.com
* Homepage: http://misakamm.github.com/xege/
52 changes: 52 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
** Filename: README
** Version: 13.04.02-20150329
*/

/*
* EGE (Easy Graphics Engine)
* HomePage1 http://misakamm.github.com/xege/
* HomePage2 https://misakamm.bitbucket.org/index.htm
* HomePage3 http://tcgraphics.sourceforge.net
* HomePage4 http://tcgraphics.svn.sourceforge.net/viewvc/tcgraphics/index.htm
* mailing list https://lists.sourceforge.net/lists/listinfo/tcgraphics-faqs
* teiba1 http://tieba.baidu.com/f?kw=ege
* teiba2 http://tieba.baidu.com/f?kw=ege%C4%EF
* resource http://code.google.com/p/misaka/downloads/list
* Blog: http://misakamm.com
* E-Mail: mailto:misakamm[at gmail com]
* ��ϸ�����ĵ�����ѹ�������manĿ¼�£����������index.htm�Ϳ��Կ�����
*/

EGEͼ�ο�

����EGE��Easy Graphics Engine������windows�µļ��׻�ͼ�⣬��һ������BGI(graphics.h)������C/C++�������ֵ�ͼ�ο⣬����Ŀ��Ҳ��Ϊ�����TC��BGI������ڡ�����ʹ�÷�����TC�е�graphics.h�൱�ӽ�����������˵���򵥣��Ѻã��������֣���ѿ�Դ��������Ϊ�ӿ�����ֱ�ۣ���ʹ��֮ǰ��ȫû�нӴ���ͼ�α�̵ģ�Ҳ��Ѹ��ѧ������Ļ�ͼ�� Ŀǰ��EGEͼ�ο��Ѿ�����֧��VC6, VC2008, VC2010, C-Free, DevCpp, Code::Blocks, CodeLite, Dev-C++, Eclipse for C/C++��IDE����֧��ʹ��MinGWΪ���뻷����IDE���������Ҫ��VC��ʹ��graphics.h����ôege�����Ǻܺõ����Ʒ��

ΪʲôҪд����⣿
��������ѧ��̵Ķ��Ǵ� C ���Կ�ʼ���ŵģ���Ŀǰ����״�ǣ�
����1. ��ЩѧУ�� Turbo C Ϊ������ C ���ԣ�ֻ�� Turbo C �Ļ���ʵ��̫���ˣ�����ճ�����ܲ����㡣����dos���������ڵIJ���ϵͳ֧�ֺ����ޣ�����dos�¿�����ɫ��̫�١�
����2. ��ЩѧУֱ���� VC ���� C ���ԣ���Ϊ VC �ı༭�͵��Ի����������㣬���� VC ���ʺϽ�ѧ����Ѱ汾����ϧ��ѧ���� VC ��һ��ֻ����һЩ�����Ե���ϰ�⣬�뻭��ֱ�߻���Բ�����ѣ���Ҫע�ᴰ���ࡢ����Ϣѭ���ȵȣ���ѧ�߻������ش���ģ������г�ѧ����ΪCֻ���ڡ��ڿ���ʹ�á�
����3. ���м����ͼ��ѧ�����ſγ̵��ص��ǻ�ͼ�㷨�������� Windows ��̡����ԣ�������ʦ���ò��� TC ��ѧ����Ϊ Windows ��ͼ̫�����ˣ���ƫ���ѧ���ص㡣�µ�ͼ��ѧ�����в������õ� OpenGL�������ż���Ȼ�ܸߡ�
����������տ�ʼѧ C ���ԣ���������һλ��C���Ե���ʦ���ٻ������ڽ̼����ͼ��ѧ����ô�����һ���������˷ܵġ�����egeͼ�ο⣬����������VC�Ļ����з���Ĵ���������ͼ������������������Ϸ��

egeͼ�ο���ŵ�
������Ч�ʽϺá��ر��ڴ���������ͼģʽ�£�640*480�İ�͸����ϣ�����ֱ��ʹ�� getpixel / putpixel ��ɣ������Ż�������ڴ�Լ1.5G CPŲʽ�����ϴﵽ60fps ��60֡/�룩
�����������ǿ����ͼ����ֱ�����һ��PIMAGE�����߻��ڿؼ��ϣ�����ֻ�ܻ�����Ļ��
�����﹦�ܸ��ࡡ֧��������ͼ��֧��ͼƬ��ת��֧��͸����͸����ͼ��֧��ͼ��ģ���˾������������öԻ���������ͼ�λ������룬���Է���ض�֡�ʽ���׼ȷ�Ŀ��ƣ����Զ�ȡ���������е�ͼƬ��ʽ��bmp/jpg/png�������Ա���ͼƬΪbmp��png��ʽ��
��������ѿ�Դ����ͼ�ο�Ϊ��ѿ�Դ��ͼ�ο⣬�㲻�����Ի�ȡ��ͼ�ο��ȫ��Դ���룬��Ҳ���Բ��뵽��ͼ�ο�Ŀ�������������ϵ����misakamm

ege��Ҫʹ��˵��
����Ŀǰģ���˾������ BGI �Ļ�ͼ������ʹ���ϣ������Ļ�ͼ������ TC / BC û̫�����𡣿�һ����Բ�����Ӱɣ�
#include "graphics.h" // ������Ҫ�������ͼ�ο�
int main()
{
initgraph(640, 480); // ��ʼ������ʾһ�����ڣ������ TC ��������
circle(200, 200, 100); // ��Բ��Բ��(200, 200)���뾶 100
getch(); // ��ͣһ�µȴ��û�����
closegraph(); // �ر�ͼ�ν���
return 0;
}
�����Ǻǣ��ܼ򵥰ɡ�����ϸ�������ege�ĵ���

ege�Ľ���
����Ŀǰege��Ŀ֮�£�����һ����ĿXege��x����x-window����Ϊ��Խ֧��x-window��ƽ̨����ҪΪlinuxϵͳ����Xege����չΪһ��ǿ��ģ���Դ�ģ���ƽ̨�ģ�ͬʱҲͬ���������ֵ�ͼ�ο⡣ĿǰXege�ڿ����С�
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13.04.02
15 changes: 0 additions & 15 deletions copyvc6.bat

This file was deleted.

12 changes: 0 additions & 12 deletions copyziplib.bat

This file was deleted.

11 changes: 0 additions & 11 deletions copyzipman.bat

This file was deleted.

16 changes: 0 additions & 16 deletions copyzipsrc.bat

This file was deleted.

62 changes: 62 additions & 0 deletions demo/MandelbrotSetBase.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[Project]
FileName=MandelbrotSetBase.dev
Name=MandelbrotSetBase
Type=1
Ver=2
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=-lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows_@@_
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
LogOutput=
LogOutputEnabled=0
OverrideOutput=0
OverrideOutputName=MandelbrotSetBase.exe
HostApplication=
UseCustomMakefile=0
CustomMakefile=
CommandLine=
Folders=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=1
CompilerSettings=000000e000000000001000100
UnitCount=1

[VersionInfo]
Major=1
Minor=0
Release=0
Build=0
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=1.0.0.0
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
AutoIncBuildNr=0
SyncProduct=1

[Unit1]
FileName=src\MandelbrotSetBase.cpp
CompileCpp=1
Folder=MandelbrotSetBase
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

62 changes: 62 additions & 0 deletions demo/ege5star.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[Project]
FileName=ege5star.dev
Name=ege5star
Type=1
Ver=2
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=-lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows_@@_
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
LogOutput=
LogOutputEnabled=0
OverrideOutput=0
OverrideOutputName=ege5star.exe
HostApplication=
UseCustomMakefile=0
CustomMakefile=
CommandLine=
Folders=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=1
CompilerSettings=000000e000000000001000100
UnitCount=1

[VersionInfo]
Major=1
Minor=0
Release=0
Build=0
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=1.0.0.0
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
AutoIncBuildNr=0
SyncProduct=1

[Unit1]
FileName=src\ege5star.cpp
CompileCpp=1
Folder=ege5star
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

62 changes: 62 additions & 0 deletions demo/egearrow.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[Project]
FileName=egearrow.dev
Name=egearrow
Type=1
Ver=2
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=-lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows_@@_
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
LogOutput=
LogOutputEnabled=0
OverrideOutput=0
OverrideOutputName=egearrow.exe
HostApplication=
UseCustomMakefile=0
CustomMakefile=
CommandLine=
Folders=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=1
CompilerSettings=000000e000000000001000100
UnitCount=1

[VersionInfo]
Major=1
Minor=0
Release=0
Build=0
LanguageID=1033
CharsetID=1252
CompanyName=
FileVersion=1.0.0.0
FileDescription=Developed using the Dev-C++ IDE
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
AutoIncBuildNr=0
SyncProduct=1

[Unit1]
FileName=src\egearrow.cpp
CompileCpp=1
Folder=egearrow
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

Loading