1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-20 00:54:47 +00:00

Move shell functions to separate file

This commit is contained in:
Matthew Kilgore 2024-02-13 01:20:21 -05:00
parent 7a430dfe9d
commit 657d0b4140
6 changed files with 1534 additions and 1500 deletions

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,6 @@
#include "cmem.h"
#include "qbs.h"
void sub_shell4(qbs *, int32); //_DONTWAIT & _HIDE
int32 func__source();
int32 func_pos(int32 ignore);
void sub__printimage(int32 i);

View file

@ -13,6 +13,7 @@ libqb-objs-y += $(PATH_LIBQB)/src/qblist.o
libqb-objs-y += $(PATH_LIBQB)/src/mem.o
libqb-objs-y += $(PATH_LIBQB)/src/math.o
libqb-objs-y += $(PATH_LIBQB)/src/rounding.o
libqb-objs-y += $(PATH_LIBQB)/src/shell.o
libqb-objs-y += $(PATH_LIBQB)/src/qbs.o
libqb-objs-y += $(PATH_LIBQB)/src/qbs_str.o
libqb-objs-y += $(PATH_LIBQB)/src/qbs_cmem.o

View file

@ -0,0 +1,13 @@
#pragma once
#include <stdint.h>
#include "qbs.h"
extern int32_t shell_call_in_progress;
int64_t func_shell(qbs *str);
int64_t func__shellhide(qbs *str);
void sub_shell(qbs *str, int32_t passed);
void sub_shell2(qbs *str, int32_t passed);
void sub_shell3(qbs *str, int32_t passed);
void sub_shell4(qbs *str, int32_t passed);

File diff suppressed because it is too large Load diff

View file

@ -15,6 +15,7 @@
#include "qbmath.h"
#include "qbs.h"
#include "qbs-mk-cv.h"
#include "shell.h"
#include "error_handle.h"
#include "mem.h"
#include "rounding.h"
@ -129,11 +130,6 @@ extern int64 GetTicks();
extern mem_block func__memimage(int32, int32);
extern int64 func__shellhide(qbs *str);
extern int64 func_shell(qbs *str);
extern void sub_shell(qbs *str, int32 passed);
extern void sub_shell2(qbs *str, int32 passed);
extern void sub_shell3(qbs *str, int32 passed);
extern void sub__consoletitle(qbs *);
extern void sub__screenshow();
extern void sub__screenhide();