Commit Graph

41 Commits

Author SHA1 Message Date
0b6e30c01b - [NEW] funció dir() per a obtindre els arxius del directori "data" 2023-09-11 15:06:05 +02:00
663a4af6cb - [NEW] tolocal(x,y) converteix coordenades de pantalla en coordenades de camera 2023-09-11 11:39:14 +02:00
d16f0fef07 - Reactivat relleno de patró (fillp)
- [New] bcolor() per a especificar el color de fons del patró, si no es transparent.
- [New] subpal() per a fer intercanvis de color de la paleta
2023-08-04 16:26:57 +02:00
040697fcbd -Secció "files" del game.ini obsoleta. Ara sempre obri "main.lua". Els demes arxius s'inclouen amb "require()" 2023-08-04 14:06:10 +02:00
4fd9a443f2 - require() implementat 2023-08-04 13:52:11 +02:00
9b99aa23cf MINI v.0.9.64d:
- [NEW] origin(x,y) sets the origin of the coordinate system.
- [FIX] false extern declaration removed.
- MINI_VERSION has its own header file.
2023-07-05 07:58:31 +02:00
dab7a96ec2 Merge branch 'master' of https://gitea.sustancia.synology.me/JailDoctor/mini 2023-07-04 23:12:00 +02:00
584b65041c - [NEW] view(x,y,w,h) Creates a clipped viewport that also translates origin.
-[NEW] view() Resets the viewport to all the window.
2023-07-04 23:03:19 +02:00
58f4845746 - [FIX] clip(x,y,w,h) works as expected.
- [NEW] clip() with no arguments resets clipping region.
- [FIX] cls() respects clipping region (but now it's slower)
- [FIX] pset's and pget now respect clipping region correctly
2023-07-04 19:50:13 +02:00
724592ec67 - Added turbo option, to allow waiting for events and use less CPU 2023-06-23 11:22:12 +02:00
38e209fa76 - [NEW] Function "configfolder()" 2023-02-01 19:15:18 +01:00
0e1e74a000 - [NEW] beat() function 2023-01-30 15:51:45 +01:00
c335edee57 - [NEW] mbtnp() added 2023-01-27 19:50:49 +01:00
3675f887a6 - Fixed problem with SDL constants on linux (outdated SDL version, anyways) 2023-01-21 14:45:06 +01:00
b96e80ab1d - [NEW] Gamepad support (not tested)
- [NEW] pad(), padp(), gamepad constants
2023-01-18 18:43:27 +01:00
e53befb700 - [NEW] configuration file working.
- [NEW] zoom(), fullscreen(), cursor(), getconf(), setconf().
- [CHG] now zoom and fullscreen are controlled by the game, not by mini.
- [FIX] quit() now actually quits.
- [NEW] btnp() without parameters returns key pressed.
- [NEW] zoom, fullscreen and cursor are saved to config automatically.
2023-01-18 17:41:57 +01:00
5075c65f7e - on "playmusic" remove volume parameter, add loop parameter 2023-01-13 13:19:14 +01:00
9c24d33782 - Música i só amb SDL_mixer 2023-01-12 19:02:17 +01:00
c7dcf8bb8e - Implementada polifonia en Chirping
- Arreglats un montó de warnings per lo mon
2023-01-09 17:02:04 +01:00
97902594ad - chirp_stop() implemented
- chirps stop playing when ESC or F5
2022-12-28 16:09:11 +01:00
40c2b009a9 - [FEAT] A song can lock the audio until finished 2022-12-28 14:07:41 +01:00
af4ead870b - Removed jail_audio, included chirps 2022-12-27 14:10:00 +01:00
6cfc6b0438 - v0.9.01
- [NEW] version numbers
- debug() is now an alias of printf
2022-11-02 13:48:53 +01:00
1a732d7c71 - new debug system 2022-10-28 13:49:08 +02:00
5ebd02ae66 - strlen handles utf8 strings correctly 2022-10-26 16:28:18 +02:00
0b989de55f - [FIX] overflow in setpal 2022-10-22 18:22:00 +02:00
4ff4e6fa78 -Added lua aux libs, changed some function names. To check. 2022-10-20 19:01:01 +02:00
f1c87e4d25 - [NEW] exit()
- [NEW] anykey()
- [NEW] ismusicplaying()
2022-10-13 18:40:41 +02:00
b282bd05d5 - File operations work on "data/" folder or ".jrf" file
- [NEW] fopenres() works on .jrf resources, fopen on normal files
2022-10-11 17:58:03 +02:00
a74ca5033c - playmusic() now accepts bool loop as second param 2022-10-07 18:17:11 +02:00
ee3c4325bc [NEW] Audio support:
- playmusic(filename)
- pausemusic()
- resumemusic()
- stopmusic()
2022-10-07 17:46:51 +02:00
035d82c1ec -loadpal now loads a palette from disk and returns it in a table.
-setpal sets a palette from a table as the current palette.
2022-10-05 18:51:26 +02:00
8415841c5c -setpal & getpal renamed to setcolor & getcolor
-setcolor & getcolor now use r, g & b instead of uint32
2022-10-05 17:47:58 +02:00
c361eef2ff [NEW] feof(), freadw(), fwritew() 2022-10-03 18:52:44 +02:00
aad3ba639a [NEW] Multiple lua files 2022-09-19 17:28:43 +02:00
664710d59a [FIX] fwriteln not working from LUA 2022-09-13 17:43:05 +02:00
2063485240 [NEW] File handling functions 2022-09-13 17:18:13 +02:00
1f5acd2bfa [NEW] extended palette functions
[DEL] old palette functions
[MODIF] mouse function names
[MODIF] map function params now are ints
[NEW] ascii function
[NEW] strlen function
2022-09-11 22:50:44 +02:00
50090e8a17 Changes applied to support generic virtual screens 2021-11-24 19:00:46 +01:00
160da08c3d Commit before the BIG changes... 2021-11-24 15:21:40 +01:00
5f4b111d06 first commit 2021-09-25 19:13:55 +02:00