Update libs cmm.

git-svn-id: svn://kolibrios.org@5676 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pavelyakov 2015-08-04 15:48:36 +00:00
parent 29f8ebcf5d
commit 90e6abd011
28 changed files with 37 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#endif #endif
//libraries //libraries
#define MEMSIZE 0xD0000 #define MEMSIZE 500000
#include "..\lib\clipboard.h" #include "..\lib\clipboard.h"
#include "..\lib\strings.h" #include "..\lib\strings.h"
#include "..\lib\mem.h" #include "..\lib\mem.h"

View File

@ -6,7 +6,6 @@ void main()
{ {
int id, key, i; int id, key, i;
dword file; dword file;
io.dir.load(0,DIR_ONLYREAL); io.dir.load(0,DIR_ONLYREAL);
loop() loop()
{ {

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_CLIPBOARD_H #ifndef INCLUDE_CLIPBOARD_H
#define INCLUDE_CLIPBOARD_H #define INCLUDE_CLIPBOARD_H
#print "[include <clipboard.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//copyf - copy file or folder with content //copyf - copy file or folder with content
#ifndef INCLUDE_COPYF_H #ifndef INCLUDE_COPYF_H
#define INCLUDE_COPYF_H #define INCLUDE_COPYF_H
#print "[include <copyf.h>]\n"
#ifndef INCLUDE_FILESYSTEM_H #ifndef INCLUDE_FILESYSTEM_H
#include "../lib/file_system.h" #include "../lib/file_system.h"

View File

@ -1,6 +1,7 @@
// cursor file should be 32x32 in default MS Windows .cur format // cursor file should be 32x32 in default MS Windows .cur format
#ifndef INCLUDE_CURSOR_H #ifndef INCLUDE_CURSOR_H
#define INCLUDE_CURSOR_H #define INCLUDE_CURSOR_H
#print "[include <cursor.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//IO library //IO library
#ifndef INCLUDE_DATE_H #ifndef INCLUDE_DATE_H
#define INCLUDE_DATE_H #define INCLUDE_DATE_H
#print "[include <date.h>]\n"
#ifndef INCLUDE_STRING_H #ifndef INCLUDE_STRING_H
#include "../lib/strings.h" #include "../lib/strings.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_DLL_H #ifndef INCLUDE_DLL_H
#define INCLUDE_DLL_H #define INCLUDE_DLL_H
#print "[include <dll.h>]\n"
#ifndef INCLUDE_FILESYSTEM_H #ifndef INCLUDE_FILESYSTEM_H
#include "../lib/file_system.h" #include "../lib/file_system.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_DRAW_BUF_H #ifndef INCLUDE_DRAW_BUF_H
#define INCLUDE_DRAW_BUF_H #define INCLUDE_DRAW_BUF_H
#print "[include <draw_buf.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_ENCODING_H #ifndef INCLUDE_ENCODING_H
#define INCLUDE_ENCODING_H #define INCLUDE_ENCODING_H
#print "[include <encoding.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_FILESYSTEM_H #ifndef INCLUDE_FILESYSTEM_H
#define INCLUDE_FILESYSTEM_H #define INCLUDE_FILESYSTEM_H
#print "[include <file_system.h>]\n"
#ifndef INCLUDE_DATE_H #ifndef INCLUDE_DATE_H
#include "../lib/date.h" #include "../lib/date.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_GUI_H #ifndef INCLUDE_GUI_H
#define INCLUDE_GUI_H #define INCLUDE_GUI_H
#print "[include <gui.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -22,6 +22,7 @@
#ifndef INCLUDE_IO_H #ifndef INCLUDE_IO_H
#define INCLUDE_IO_H #define INCLUDE_IO_H
#print "[include <io.h>]\n"
#ifndef INCLUDE_DATE_H #ifndef INCLUDE_DATE_H
#include "../lib/date.h" #include "../lib/date.h"

View File

@ -1,9 +1,19 @@
//CODED by Veliant, Leency, Nable. GNU GPL licence. //CODED by Veliant, Leency, Nable. GNU GPL licence.
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#define INCLUDE_KOLIBRI_H #define INCLUDE_KOLIBRI_H
#print "[include <kolibri.h>]\n"
#pragma option OST
#pragma option ON
#pragma option cri-
#pragma option -CPA
#initallvar 0
#jumptomain FALSE
#startaddress 0 #startaddress 0
#code32 TRUE #code32 TRUE
char os_name[8] = {'M','E','N','U','E','T','0','1'}; char os_name[8] = {'M','E','N','U','E','T','0','1'};
dword os_version = 0x00000001; dword os_version = 0x00000001;
dword start_addr = #______INIT______; dword start_addr = #______INIT______;
@ -21,6 +31,7 @@ char program_path[4096];
#define false 0 #define false 0
//Events //Events
#define evReDraw 1 #define evReDraw 1
#define evKey 2 #define evKey 2
#define evButton 3 #define evButton 3

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_LEXER_H #ifndef INCLUDE_LEXER_H
#define INCLUDE_LEXER_H #define INCLUDE_LEXER_H
#print "[include <lexer.h>]\n"
#ifndef INCLUDE_STRING_H #ifndef INCLUDE_STRING_H
#include "../lib/strings.h" #include "../lib/strings.h"

View File

@ -1,6 +1,7 @@
//list_box //list_box
#ifndef INCLUDE_LIST_BOX_H #ifndef INCLUDE_LIST_BOX_H
#define INCLUDE_LIST_BOX_H #define INCLUDE_LIST_BOX_H
#print "[include <list_box.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//IO library //IO library
#ifndef INCLUDE_MATH_H #ifndef INCLUDE_MATH_H
#define INCLUDE_MATH_H #define INCLUDE_MATH_H
#print "[include <math.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_MEM_H #ifndef INCLUDE_MEM_H
#define INCLUDE_MEM_H #define INCLUDE_MEM_H
#print "[include <mem.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_MOUSE_H #ifndef INCLUDE_MOUSE_H
#define INCLUDE_MOUSE_H #define INCLUDE_MOUSE_H
#print "[include <mouse.h>]\n"
//Button MOUSE //Button MOUSE
#define MOUSE_LEFT 001b #define MOUSE_LEFT 001b

View File

@ -1,6 +1,7 @@
//BOX_LIB - Asper //BOX_LIB - Asper
#ifndef INCLUDE_BOX_LIB_H #ifndef INCLUDE_BOX_LIB_H
#define INCLUDE_BOX_LIB_H #define INCLUDE_BOX_LIB_H
#print "[include <obj/box_lib.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//HTTP library //HTTP library
#ifndef INCLUDE_LIBHTTP_H #ifndef INCLUDE_LIBHTTP_H
#define INCLUDE_LIBHTTP_H #define INCLUDE_LIBHTTP_H
#print "[include <obj/http.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//convert text characters //convert text characters
#ifndef INCLUDE_LIBICONV_H #ifndef INCLUDE_LIBICONV_H
#define INCLUDE_LIBICONV_H #define INCLUDE_LIBICONV_H
#print "[include <obj/iconv.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//Asper //Asper
#ifndef INCLUDE_LIBIMG_H #ifndef INCLUDE_LIBIMG_H
#define INCLUDE_LIBIMG_H #define INCLUDE_LIBIMG_H
#print "[include <obj/libimg_lib.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_LIBINI_H #ifndef INCLUDE_LIBINI_H
#define INCLUDE_LIBINI_H #define INCLUDE_LIBINI_H
#print "[include <obj/libini.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,6 +1,7 @@
//Asper //Asper
#ifndef INCLUDE_LIBIO_H #ifndef INCLUDE_LIBIO_H
#define INCLUDE_LIBIO_H #define INCLUDE_LIBIO_H
#print "[include <obj/libio_lib.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_RANDOM_H #ifndef INCLUDE_RANDOM_H
#define INCLUDE_RANDOM_H #define INCLUDE_RANDOM_H
#print "[include <random.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_SOCKET_H #ifndef INCLUDE_SOCKET_H
#define INCLUDE_SOCKET_H #define INCLUDE_SOCKET_H
#print "[include <socket.h>]\n"
#ifndef INCLUDE_KOLIBRI_H #ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h" #include "../lib/kolibri.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_STRING_H #ifndef INCLUDE_STRING_H
#define INCLUDE_STRING_H #define INCLUDE_STRING_H
#print "[include <strings.h>]\n"
#ifndef INCLUDE_MEM_H #ifndef INCLUDE_MEM_H
#include "../lib/mem.h" #include "../lib/mem.h"

View File

@ -1,5 +1,6 @@
#ifndef INCLUDE_SYSTEM_H #ifndef INCLUDE_SYSTEM_H
#define INCLUDE_SYSTEM_H #define INCLUDE_SYSTEM_H
#print "[include <system.h>]\n"
:struct COLORS :struct COLORS
{ {