Make the doc generator use the lite version.

This commit is contained in:
Relintai 2024-01-07 10:56:15 +01:00
parent 0e94883ce4
commit 1a7201e938
6 changed files with 44835 additions and 181 deletions

View File

@ -1,11 +1,11 @@
cp -u ../merger/out/core/sfw.h sfw.h cp -u ../merger/out/sfwl_full/sfwl.h sfwl.h
cp -u ../merger/out/core/sfw.cpp sfw.cpp cp -u ../merger/out/sfwl_full/sfwl.cpp sfwl.cpp
ccache g++ -Wall -g -c sfw.cpp -o sfw.o ccache g++ -Wall -g -c sfwl.cpp -o sfwl.o
ccache g++ -Wall -g -c main.cpp -o main.o ccache g++ -Wall -g -c main.cpp -o main.o
#-static-libgcc -static-libstdc++ #-static-libgcc -static-libstdc++
ccache g++ -Wall -lm -ldl -lpthread -lX11 -g sfw.o main.o -o game ccache g++ -Wall -lm -ldl -lpthread -lX11 -g sfwl.o main.o -o game

View File

@ -1,5 +1,5 @@
#include "sfw.h" #include "sfwl.h"
void print_list(const List<String> &list) { void print_list(const List<String> &list) {
for (const List<String>::Element *E = list.front(); E; E = E->next()) { for (const List<String>::Element *E = list.front(); E; E = E->next()) {

26108
tools/doc/sfwl.cpp Normal file

File diff suppressed because it is too large Load Diff

18718
tools/doc/sfwl.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,180 +15,8 @@
#include <cstdint> #include <cstdint>
#include <memory.h> #include <memory.h>
#ifndef SFW_H #ifndef SFWL_H
#include "sfw.h" #include "sfwl.h"
#endif
#ifndef SFW_3RD_IMPL
#define SFW_3RD_IMPL
#if defined(__linux__)
//typedef XID Font;
#define Font The_Font_I_dont_care
#endif
#include "sfw_3rd.h"
#undef CursorShape
#if defined(__linux__)
#undef Font
#undef KEY_ESC
#undef KEY_TICK
#undef KEY_1
#undef KEY_2
#undef KEY_3
#undef KEY_4
#undef KEY_5
#undef KEY_6
#undef KEY_7
#undef KEY_8
#undef KEY_9
#undef KEY_0
#undef KEY_BS
#undef KEY_TAB
#undef KEY_Q
#undef KEY_W
#undef KEY_E
#undef KEY_R
#undef KEY_T
#undef KEY_Y
#undef KEY_U
#undef KEY_I
#undef KEY_O
#undef KEY_P
#undef KEY_CAPS
#undef KEY_A
#undef KEY_S
#undef KEY_D
#undef KEY_F
#undef KEY_G
#undef KEY_H
#undef KEY_J
#undef KEY_K
#undef KEY_L
#undef KEY_ENTER
#undef KEY_LSHIFT
#undef KEY_Z
#undef KEY_X
#undef KEY_C
#undef KEY_V
#undef KEY_B
#undef KEY_N
#undef KEY_M
#undef KEY_RSHIFT
#undef KEY_UP
#undef KEY_LCTRL
#undef KEY_LALT
#undef KEY_SPACE
#undef KEY_RALT
#undef KEY_RCTRL
#undef KEY_LEFT
#undef KEY_DOWN
#undef KEY_RIGHT
#undef KEY_INS
#undef KEY_HOME
#undef KEY_PGUP
#undef KEY_DEL
#undef KEY_END
#undef KEY_PGDN
#undef KEY_LMETA
#undef KEY_RMETA
#undef KEY_MENU
#undef KEY_PRINT
#undef KEY_PAUSE
#undef KEY_SCROLL
#undef KEY_NUMLOCK
#undef KEY_MINUS
#undef KEY_EQUAL
#undef KEY_LSQUARE
#undef KEY_RSQUARE
#undef KEY_SEMICOLON
#undef KEY_QUOTE
#undef KEY_HASH
#undef KEY_BAR
#undef KEY_COMMA
#undef KEY_DOT
#undef KEY_SLASH
#undef KEY_F1
#undef KEY_F2
#undef KEY_F3
#undef KEY_F4
#undef KEY_F5
#undef KEY_F6
#undef KEY_F7
#undef KEY_F8
#undef KEY_F9
#undef KEY_F10
#undef KEY_F11
#undef KEY_F12
#undef KEY_PAD1
#undef KEY_PAD2
#undef KEY_PAD3
#undef KEY_PAD4
#undef KEY_PAD5
#undef KEY_PAD6
#undef KEY_PAD7
#undef KEY_PAD8
#undef KEY_PAD9
#undef KEY_PAD0
#undef KEY_PADADD
#undef KEY_PADSUB
#undef KEY_PADMUL
#undef KEY_PADDIV
#undef KEY_PADDOT
#undef KEY_PADENTER
#undef MOUSE_L
#undef MOUSE_M
#undef MOUSE_R
#undef GAMEPAD_CONNECTED
#undef GAMEPAD_A
#undef GAMEPAD_B
#undef GAMEPAD_X
#undef GAMEPAD_Y
#undef GAMEPAD_UP
#undef GAMEPAD_DOWN
#undef GAMEPAD_LEFT
#undef GAMEPAD_RIGHT
#undef GAMEPAD_MENU
#undef GAMEPAD_START
#undef GAMEPAD_LB
#undef GAMEPAD_RB
#undef GAMEPAD_LTHUMB
#undef GAMEPAD_RTHUMB
#undef WINDOW_BLUR
#undef WINDOW_FOCUS
#undef WINDOW_CLOSE
#undef WINDOW_MINIMIZE
#undef WINDOW_MAXIMIZE
#undef WINDOW_FULLSCREEN
#undef WINDOW_WINDOWED
#undef GAMEPAD_LPAD
#undef GAMEPAD_LPAD
#undef GAMEPAD_LPADY
#undef GAMEPAD_RPAD
#undef GAMEPAD_RPAD
#undef GAMEPAD_RPADY
#undef GAMEPAD_LT
#undef GAMEPAD_RT
#undef GAMEPAD_BATTERY
#undef MOUSE
#undef MOUSE
#undef MOUSE_Y
#undef MOUSE_W
#undef TOUCH_X1
#undef TOUCH_Y1
#undef TOUCH_X2
#undef TOUCH_Y2
#undef WINDOW_RESIZE
#undef WINDOW_RESIZE
#undef WINDOW_RESIZEY
#undef WINDOW_ORIENTATION
#undef WINDOW_BATTERY
#undef GAMEPAD_GUID
#undef GAMEPAD_NAME
#endif
#endif #endif
//=================== CORE SECTION =================== //=================== CORE SECTION ===================

View File

@ -1,5 +1,5 @@
#ifndef SFW_H #ifndef SFWL_H
#define SFW_H #define SFWL_H
{{FILEINLINE:tools/merger/sfw_readme.inl.h}} {{FILEINLINE:tools/merger/sfw_readme.inl.h}}
{{FILEINLINE:tools/merger/sfw_linceses.inl.h}} {{FILEINLINE:tools/merger/sfw_linceses.inl.h}}