SHA256
1
0
forked from pool/SDL_bgi
Jan Engelhardt 2015-05-12 11:27:48 +00:00 committed by Git OBS Bridge
parent 71cbeba925
commit a378f729ce
5 changed files with 11 additions and 43 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d8dc51d3fb42368f416a399389670f82ff08533a2a798f1b82d1dfd84f94e82
size 230625

3
SDL_bgi-2.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e1c84d2ddd2054696d091ea41146e0d49b07a68a262c2903f570f8e29c8d99d
size 231933

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 12 10:56:49 UTC 2015 - jengelh@inai.de
- Update to new upstream release 2.0.1
* Support line patterns
* Improvements to flood fills
-------------------------------------------------------------------
Thu May 7 11:24:57 UTC 2015 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: SDL_bgi
%define lname libSDL_bgi0
Version: 2.0.0
Version: 2.0.1
Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend
License: Zlib and GPL-2.0+

View File

@ -48,45 +48,6 @@ Index: SDL_bgi-2.0.0/src/Makefile.am
+libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS}
+pkgincludedir = ${includedir}/SDL2
+pkginclude_HEADERS = SDL_bgi.h
Index: SDL_bgi-2.0.0/src/SDL_bgi.c
===================================================================
--- SDL_bgi-2.0.0.orig/src/SDL_bgi.c
+++ SDL_bgi-2.0.0/src/SDL_bgi.c
@@ -2069,6 +2069,10 @@ void sdlbgifast (void)
{
bgi_fast_mode = 1;
} // sdlbgifast ()
+void bgifast (void)
+{
+ bgi_fast_mode = 1;
+} // sdlbgifast ()
// -----
@@ -2076,6 +2080,10 @@ void bgislow (void)
{
bgi_fast_mode = 0;
} // sdlbgislow ()
+void sdlbgislow (void)
+{
+ bgi_fast_mode = 0;
+} // sdlbgislow ()
// -----
Index: SDL_bgi-2.0.0/src/SDL_bgi.h
===================================================================
--- SDL_bgi-2.0.0.orig/src/SDL_bgi.h
+++ SDL_bgi-2.0.0/src/SDL_bgi.h
@@ -307,6 +307,8 @@ int registerbgifont (void *);
void restorecrtmode (void);
void sdlbgifast (void);
void sdlbgislow (void);
+void bgifast (void);
+void bgislow (void);
void sector (int, int, int, int, int, int);
void setactivepage (int);
void setallpalette (struct palettetype *);
Index: SDL_bgi-2.0.0/src/test/Makefile.am
===================================================================
--- /dev/null