FellippeHeitor
ac268c740b
Simplifies usage of zlib across platforms.
2020-01-18 18:48:10 -03:00
Fellippe Heitor
44c80201f2
Gets _DEFLATE$ and _INFLATE$ to work on macOS.
2020-01-18 17:50:24 -03:00
FellippeHeitor
51710ddcd3
Renames zlib's folder so it can be updated without the hassle later on.
2020-01-02 23:00:51 -03:00
FellippeHeitor
114bd7b5a8
Adds stubs for _INFLATE$ and DEFLATE$ for OSes other than Windows.
...
These will return the unchanged text$ passed for now.
2020-01-02 17:35:02 -03:00
Luke Ceddia
ae379cb29c
Fix issue #81
2020-01-03 00:09:21 +11:00
Luke Ceddia
1c365c2bb8
Manually apply PR #93 chmod +x .command files
2020-01-02 14:13:56 +11:00
SteveMcNeill
449bdecacd
Adding ZLIB into the QB64 parts system for windows.
...
Two new keywords added:
FUNCTION _INFLATE$ (text$)
FUNCTION _DEFLATE$ (text$)
Use of these commands can compress and decompress strings using the ZLIB library.
2019-08-27 18:22:07 -04:00
FellippeHeitor
31a855d642
Removes dead Android references.
2019-04-14 15:33:19 -03:00
FellippeHeitor
53d3341ec3
Undoes commit d9b3d7ed69
...
Fixes #68
2018-09-30 10:42:30 -03:00
Fellippe Heitor
d9b3d7ed69
Fixes sound issue in Linux 64bit distros
2018-09-23 02:50:31 -03:00
FellippeHeitor
9a1b8450aa
Enables the IDE to accept files via drag/drop (Windows-only).
2018-07-31 21:59:31 -03:00
FellippeHeitor
c83b15eb95
Implements Drag/Drop of files onto a program's window (Windows-only).
...
New statement:
_ACCEPTFILEDROP [{ON|OFF}]
Enables a program to accept files being dropped from a folder.
New functions:
_TOTALDROPPEDFILES
Returns the number of files that have been received via drag/drop.
_DROPPEDFILE$
Returns the list of files that have been dropped. The function sequentially returns the file list and decreases _TOTALDROPPEDFILES with every read.
2018-07-31 00:23:36 -03:00
FellippeHeitor
bf99e30c30
Fix detection of title bar height globally.
...
_SCREENY would return wrong values after the recent commits.
2018-06-27 11:03:33 -03:00
FellippeHeitor
2c81a6d74b
Properly calculates window area.
2018-06-26 20:14:48 -03:00
Fellippe Heitor
15958ca4a5
Fixes #24
...
Disables maximize box when $RESIZE isn't enabled. Windows only.
2018-06-26 16:57:40 -03:00
Fellippe Heitor
68c765db75
Merge pull request #43 from ebourg/development
...
Update NanoJPEG to the version 1.3.5
2018-06-17 22:11:06 -03:00
AshishKingdom
820d6736f7
Added multisample support (MSAA x4)
2018-06-15 22:27:30 +05:30
Emmanuel Bourg
6be33c0935
Update NanoJPEG to the version 1.3.5
2018-05-22 21:31:49 +02:00
Luke Ceddia
61cb34f635
Remove some SDL stuff that was dead weight
2018-01-16 20:56:45 +11:00
Luke Ceddia
a1a0536d69
Tidy up parts/core/src.c
2018-01-09 22:38:07 +11:00
Luke Ceddia
7dc0054fa8
Include unistd.h for freeglut
2018-01-02 17:26:16 +11:00
Luke Ceddia
e2bdbc01ad
Correctly set speex's output buffer size
2017-10-23 00:51:17 +11:00
FellippeHeitor
6dfbeb2419
Disables 256-color image loading again, until a better solution is found.
...
Returns -1 if there's an attempt to load an image in 256-color mode.
2017-10-17 03:08:33 -02:00
Luke Ceddia
86a6646bdb
Change freeglut to only look for ctrl/alt/shift down events when window
...
has focus.
Previously this functionality was in libqb.
2017-10-10 13:47:10 +11:00
Luke Ceddia
bdc3250b89
Resolved the issue of user mods not working for $console:only programs
2017-09-25 21:56:24 +10:00
SteveMcNeill
4f23fd9b7b
Add function _AUTODISPLAY so user can get display/autodisplay staus
2017-09-24 18:41:00 -04:00
SteveMcNeill
b89ade1c5c
Patch to previous patch for Linux/Mac compatability
2017-09-23 20:33:58 -04:00
SteveMcNeill
e264458841
Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS
...
Change so that modifer keypresses will only register when the window has
focus in Windows. This corrects the issue with SLEEP, KEYHIT, and
INP(&H60) registering SHIFT, CTRL, and ALT keypresses even when the
program is not in focus or is running as a background app.
Also changed _SCREENEXISTS (and a few other window user commands) so
that they require windows to have actually registered a windows handle
for the function to return -1, and not just for glut to have finished
initializing the screen itself.
2017-09-23 20:24:19 -04:00
FellippeHeitor
13fa2ca4d5
Unnecessary repeated inline functions removed from _loadimage.
2017-09-22 00:29:41 -03:00
FellippeHeitor
5368b9d5d7
Initial attempt to restore _LOADIMAGE's ability to load in 8bit mode.
...
- When mode = 256, _LOADIMAGE will return an 8bit image with the loaded file's colors matching the default palette.
- Slower for bigger images, because of the call to matchcol();
2017-09-21 23:55:01 -03:00
FellippeHeitor
7d3f1f9833
Temporary hack to reenable _SNDRAWLEN.
...
_SNDRAWLEN currently gets stuck at .3715192763764172; this reenables it by returning zero when < .375.
2017-09-09 13:17:03 -03:00
Luke Ceddia
a7a4783650
Remove teapot from setup build files
2017-08-18 21:52:23 +10:00
Luke Ceddia
995f563d0c
Remove teapot, decrease executable by 18K
2017-08-18 20:20:42 +10:00
Luke Ceddia
8238feba75
Squash annoying message from openal on quit
2017-08-11 21:47:05 +10:00
Luke Ceddia
8c9390173e
Reenable _SNDRAW and _SNDPLAYFILE
2017-08-11 21:19:52 +10:00
Luke Ceddia
237f42799b
Fix initial positioning of sound
2017-08-10 22:06:20 +10:00
Luke Ceddia
2089a95b8b
Separate left/right audio channels for stereo audio files.
...
No _SNDRAW or PLAY yet. Also removed need for sound capability strings.
2017-08-10 22:05:16 +10:00
Luke Ceddia
79ffcc50b3
Cosmetic changes to audio source files
2017-08-06 15:06:26 +10:00
Luke Ceddia
9f7a7a9e79
Tweak image loading code to handle more image types
2016-10-10 23:07:31 +11:00
Galleondragon
0ea631d375
Implements the _DIR$("desktop") function which returns OS specific paths.
...
Implements changes to allow programs to run on ARMBI-v7 Android devices which also provides a massive performance boost to but runtime and startup time.
Implements changes to allow programs to run on x86-based Android devices.
Fix to ensure variables allocated in the "stack" are aligned on appropriate boundaries which would have otherwise crashed on Android.
Fix to _DEVICES to ensure variables are aligned on appropriate boundaries which would have otherwise crashed on Android (includes some refactoring).
Added permissions to allow reading from/writing to external storage. Use the _DIR$(...) function to help locate appropriate paths.
2016-03-20 18:56:10 +11:00
FellippeHeitor
e26f63f8c1
Fix to PNG import CRC-check returning False failure results sometimes.
...
Fix by Steve McNeill.
2016-03-04 00:17:02 -03:00
Luke Ceddia
976f757c2f
Fix memory leak in _PRINTSTRING
...
FontRenderTextUTF32 now frees the 'render' array, which is allocated for multi-character strings.
2016-01-28 13:58:08 +11:00
Luke Ceddia
b0edf45d47
Fix _EXIT race condition that prevents exit; make _EXIT work on Linux.
2016-01-21 00:37:27 +11:00
Galleondragon
accdaf1ce0
Added support for Android & Virtual Keyboards
2015-10-30 23:18:44 +11:00
Luke Ceddia
a25cb9a846
Temporaraily commented out Linux version of _SCREENICON function due to compile errors
2015-08-09 21:33:22 +10:00
SMcNeill
7fb1db97f6
Added function _SCREENICON to tell us if the window has been minimized to the taskbar (Iconified)
2015-08-08 12:50:45 -04:00
SMcNeill
f9bb83066b
Added "&B" support to VAL function.
...
Added extended math functionality into user mods. (COT, SEC, COT, and their deritives.)
Cleaned up old config setting from config.txt file.
2015-08-08 02:23:15 -04:00
Galleon
91e7ace500
(Automated push) Update internal/source/* from qb64.bas
2015-08-02 05:12:44 -07:00