Commit Graph

  • eac20bbbe0 VERSIÓ 1.3.15 - [NEW] mouse.dblclick() - [FIX] de vegades no pillava be la rodeta del ratolí - [NEW] sys.dir() torna el contingut del directori primer les carpetes, i tot ordenat alfabèticament - [WIP] Treballant en ferramentes master Raimon Zamora 2025-12-04 17:46:22 +01:00
  • 7fac42c9fe - [NEW] sys.dir() ara torna un array de entrades amb nom i si es directori Raimon Zamora 2025-12-04 14:47:25 +01:00
  • 4858d94378 VERSIÓ 1.3.14 - [NEW] draw.pattern() sense paràmetres restableix el patró de relleno - [FIX] Llevat el std::vector que estava donant pel cul. No, si ja sabia jo... - [NEW] Gestió del cas en que es supere el nombre màxim de textures (en compte d'explotar, tira un error bonico) Raimon Zamora 2025-12-04 11:35:34 +01:00
  • 3e524fd32d VERSIÓ 1.3.13 - [NEW] Executant la versió de debug amb el paràmeter "--new" crea un projecte nou en eixe directori. - [NEW] Nou sistema de log - [FIX] Amb el tema de usar std::vector no s'estava inicialitzant la surface de pantalla correctament. - [FIX] Proteccions per a que no pete quan s'intenta usar funcions que els fa falta una surface de oritge, pero no hi ha ninguna seleccionada. - [NEW] file_createFolder() (ATENCIÓ: No funcionarà en Windows encara) Raimon Zamora 2025-12-03 14:05:52 +01:00
  • ace4a0f9f0 - [NEW] Ara les textures usen un std::vector i ja no hi ha limit. Espere no arrepentir-me - [WIP] Treballant en les custom fonts Raimon Zamora 2025-11-27 22:18:46 +01:00
  • 839c1e82eb VERSIÓ 1.3.12 - [FIX] La paleta per defecte era tota transparent - [NEW] draw.rrect() i draw.rrectf() Raimon Zamora 2025-11-27 17:18:07 +01:00
  • 33d7cc3b6d VERSIÓ 1.3.11 - [NEW] surf.loadex() Raimon Zamora 2025-11-27 11:22:52 +01:00
  • a7cbdea4c5 - [FIX] uncompress() cleanup Raimon Zamora 2025-11-24 14:30:11 +01:00
  • 3383b415cd - [FIX] Arreglat el guardat de GIFs Raimon Zamora 2025-11-14 17:31:09 +01:00
  • 02dc0a4953 - Treballant en que els GIFs no donen pel cul Raimon Zamora 2025-11-13 17:45:30 +01:00
  • 091c2617a4 VERSIÓ 1.3.10 - [NEW] sys.delta() Raimon Zamora 2025-11-10 09:06:13 +01:00
  • c7559f0d29 VERSIÓ 1.3.9 - [FIX] el mapa sempre pintava TOTS els tiles, es veren o no. Ara te en compte el oritge i la regió de clipping. Raimon Zamora 2025-11-05 13:08:56 +01:00
  • 327453b02c VERSIÓ 1.3.8 - [FIX] Al pintar el mapa usava uint8_t i per tant els mapes de mes de 255 tiles en alguna dimensió no funcionaven be Raimon Zamora 2025-11-05 09:55:38 +01:00
  • 62ac5ae92d VERSIÓ 1.3.7 - [NEW] music.enable() i sound.enable() Raimon Zamora 2025-10-30 16:27:40 +01:00
  • 4172c6af3d - Ajustat el nombre de versió - Retocades dos funcions de la llibreria de vscode Raimon Zamora 2025-10-30 12:35:13 +01:00
  • 7bff57c6fa - [NEW] mouse.discard() Raimon Zamora 2025-06-20 13:49:59 +02:00
  • f154e1a36b - [NEW] Ara mouse.pos() torna les coordenades relatives al origen, no a la finestra. Raimon Zamora 2025-06-20 12:07:30 +02:00
  • 0471bcbdda - [FIX] No guardava be els GIFs sense paleta Raimon Zamora 2025-06-19 17:48:56 +02:00
  • 76e2925791 - [ONGOING] A meitat de arreglar el bug del guardat de GIFs Raimon Zamora 2025-06-19 13:56:44 +02:00
  • 34a56fedcf - [FIX] mouse.pos() donava coordenades reals de finestra, en compte de tindre en compte el zoom. Raimon Zamora 2025-06-19 12:44:51 +02:00
  • 9cd991cb44 - [FIX] draw.text() també soporta que li pases un numero pa escriure-lo Raimon Zamora 2025-06-18 19:52:24 +02:00
  • e1d5eb051c VERSIÓ 1.3 - [NEW] shader.init(), shader.enable i shader.disable - [NEW] Deixe els shaders de Lynx i GBC de exemple. - [NEW] file_getfilebuffer() ara soporta un tercer paràmetre opcional, per a 'zeroterminar' el buffer per si es un arxiu de text. Raimon Zamora 2025-06-18 19:29:17 +02:00
  • 79781bbed1 VERSIÓ 1.2.5 - [NEW] Soport bàsic per a shaders. Raimon Zamora 2025-06-18 13:49:35 +02:00
  • 0cb1296ad3 VERSIÓ 1.2 - [NEW] Convertit a SDL3 Raimon Zamora 2025-06-18 12:47:24 +02:00
  • 16be589a72 - VERSIÓ 1.1 - [NEW] map.surf() per a obtindre i fixar la surface que usa el tilemap - [NEW] Llevats map.new, map.load i map.save. Es fa des de les surfaces. Raimon Zamora 2025-06-17 13:53:45 +02:00
  • 2a4195c839 VERSIÓ 1.0.1 - [FIX] view.clip() calculaba mal el ample i el alt de la zona clipada. - [FIX] view.origin() funcionava al reves. Raimon Zamora 2025-06-17 11:34:30 +02:00
  • 5e24117266 - [CHG] Renombrat "stb_vorbis.c" a "stb_vorbis.h" - [NEW] Afegit lagueirtofile Raimon Zamora 2025-06-16 13:45:54 +02:00
  • 88609465cb - [CHG] Renombrat "gif.c" a "gif.h" - [FIX] El codi de exemple petava Raimon Zamora 2025-06-16 13:39:50 +02:00
  • 8f8009e8af - [FIX] Updated 'library.lua' with sys.fps() and sys.clipboard(). Raimon Zamora 2025-06-04 13:14:59 +02:00
  • 150cb9f4ff VERSIÓ 1.0 RC4 - [NEW] sys.clipboard() per a llegir i escriure al portapapers. Raimon Zamora 2025-06-04 11:56:51 +02:00
  • 4bda9cbd39 VERSIÓ 1.0 RC3 - [FIX] Funció "view.local()" canviada a "view.tolocal()", per a evitar problemes. - [FIX] Si una surface no s'ha creat, no hi ha res que alliberar. - [NEW] Afegit log de creació i destrucció de surfaces. Raimon Zamora 2025-06-03 13:26:11 +02:00
  • adcc44ddab - [NEW] Augmentat el màxim de textures a 100. - [NEW] Camp "name" per a les textures. - [NEW] Si s'intenta carregar un gif que ja està en memòria, se torna el que està en memòria. Raimon Zamora 2025-06-02 12:30:58 +02:00
  • 8e855fa2c1 - [FIX] No permetia carregar GIFs de mes de 256 pixels de ample o alt - [FIX] No tornava be la ruta al arxiu de configuració - [NEW] Ara guarda en "~/.config/jailgames/loquesiga/" - [FIX] El mapa de tiles ha de pillar els tiles de la surface source - [NEW] Actualitzada la llibreria de autocompletar per a vscode Raimon Zamora 2025-05-31 14:28:20 +02:00
  • 8f98d52385 VERSIÓ 1.0 RC2 - Nova i, espere, definitiva API Raimon Zamora 2025-05-30 20:16:02 +02:00
  • b6e5dca277 - [NEW] system.fps() Raimon Zamora 2025-05-30 17:43:43 +02:00
  • 3d14c33971 - [NEW] Proposta de API inclosa al repositori Raimon Zamora 2025-05-30 13:53:30 +02:00
  • 61b02fdeef - [FIX] bug en draw.rect i draw.rectFill Raimon Zamora 2025-02-19 13:44:25 +01:00
  • 7abc8648a1 - [FIX] cls() no pillava el color de la subpaleta - [FIX] cosa rara al modificar noms de variables Raimon Zamora 2025-02-19 13:38:19 +01:00
  • 2f0817d20c - [CHG] draw.rect i draw.rectFill ara pillen (x,y,w,h), com les persones normals, no (x1,y1,x2,y2) com el subnormal de pico-8 Raimon Zamora 2025-02-19 13:34:55 +01:00
  • ecb493f9c8 - [CHG] surface.cls(color) ompli del color especificat tota la surface Raimon Zamora 2025-02-19 12:45:13 +01:00
  • 9c3baebc1e - [FIX] Les surfaces creades ara s'inicialitzen a tot ceros Raimon Zamora 2025-02-19 12:01:49 +01:00
  • 173654e0bd - [FIX] map.draw no agafava be el tamany de la surface Raimon Zamora 2025-02-19 11:26:07 +01:00
  • ba1daf810d - [FIX] Hi ha que proveïr de una surface amb tiles al tilemap Raimon Zamora 2025-02-19 11:19:34 +01:00
  • 45d31579d2 - [NEW] tilemap.new(x,y) - [CHG] tilemap.new i tilemap.load alliberen la surface anterior (si hi havia) del mapa Raimon Zamora 2025-02-19 10:40:14 +01:00
  • 5306e82897 - Adaptat exemple a la nova API - [NEW] viewport.resetClipping() Raimon Zamora 2025-02-19 06:49:56 +01:00
  • 6c9221cd20 - WIP Raimon Zamora 2025-02-18 14:00:42 +01:00
  • 99a29cf2e0 - Saving progress... Raimon Zamora 2025-02-18 06:50:37 +01:00
  • 88e406dae0 - Seguim treballant en polir bugs i deixar guapeta la API Raimon Zamora 2025-02-17 14:01:34 +01:00
  • 29a90f4b46 - Esta tot fet una marranà, en mig de la conversió Raimon Zamora 2025-02-16 21:48:07 +01:00
  • 40e98737ce - Tota la API canviada. Fent la documentació. - v1.0 RC1 Raimon Zamora 2025-02-14 14:14:26 +01:00
  • b56a0c0f71 - [NEW] surfsize(surface) torna el tamany de la surface que se li pasa Raimon Zamora 2024-11-29 14:33:21 +01:00
  • e36caf566c - [DEPRECATED] camera() - [DEPRECATED] view() - [FIX] la regió de clip ara es calcula sempre ajustada a la surface de destí, siga la que siga encara que es canvie Raimon Zamora 2024-11-28 17:04:04 +01:00
  • c07e09cebd - [FIX] Aplicat un fix de JailAudio Raimon Zamora 2024-11-27 13:33:52 +01:00
  • 802f32f1b8 v0.9.97d - Ara mini usa Respak2 Raimon Zamora 2024-11-26 16:15:31 +01:00
  • 377f0a238b v0.9.96d - [NEW] Ara mini ja no requereix SDL_mixer, usa JailAudio Raimon Zamora 2024-11-26 14:40:49 +01:00
  • 916a24230e - Treballant en el canvi a JailAudio Raimon Zamora 2024-11-25 14:20:51 +01:00
  • cddd79f05e - [NEW] res() without arguments returns width and height of window. - [NEW] camera() without arguments returns 'x' and 'y' of camera. - [NEW] palcolor() to set or get a color from the palette (replaces setcolor() & getcolor() ). - [NEW] paltrans() to set or get which color index is transparent (replaces settrans() & gettrans() ). - [RENAME] sspr() to blit(), spr_r() to blit_r() - [NEW] mouse() returns both x and y mouse coordinates. - [DEPRECATED] setcolor(), getcolor(), settrans(), gettrans(), spr(), sspr(), spr_r(), mousex(), mousey(), abs(), ceil(), flr(), sgn(), sin(), cos(), atan2(), sqrt(), max(), mid(), min(), tostr(), ascii(), strlen(), fopen(), fopenres(), fclose(), feof(), fwritei(), fwrited(), fwrites(), fwritew(), fwriteb(), fwriteln(), freadi(), freadd(), freads(), freadw(), freadb() - [FIX] Now the background on resizable windows is filled with black instead of garbage. - [FIX] Compiling on Linux uses POSIX functions. Raimon Zamora 2024-02-15 13:54:17 +01:00
  • 4b6a9d8188 - [NEW] stopmusic() accepta com a paràmetre els milisegons que tardarà en fadechar out (per defecte 1000ms). - [NEW] musicpos() per a obtindre o especificar la posició de la música. Raimon Zamora 2024-02-14 14:11:45 +01:00
  • 9e08a693c7 - [FIX] Ara les coordinades del ratolí son lo que toca respecte al joc, no al tamany real de la finestra Raimon Zamora 2024-02-13 13:20:07 +01:00
  • 8618e922c8 - [NEW] spr_r per a rotar sprites (retalla cantos) - [NEW] sspr admet un nou paràmetre "invert", per a invertir la x i la y. Raimon Zamora 2024-02-07 14:20:12 +01:00
  • 63eaaa857e - Es pot canviar la resolució des del programa abm res(w,h) - La finestra es resizable - Es permet arrancar des d'un arxiu .lua passat com a paràmetre. Raimon Zamora 2023-11-28 19:03:13 +01:00
  • 7569c24d04 Updatat nombre versió Raimon Zamora 2023-10-09 11:48:14 +02:00
  • b29c6c873d - La tecla de parar passa a ser F12 (en compte de F1). - [FIX] Ja no intentem recuperar la posició de la finestra. Ara reapareix centrada. - [NEW] Si s'intenta ficar un zoom menor de 1, es corregeix a 1. - [NEW] Si s'intenta ficar un zoom major que el tamany de la pantalla, redueix el zoom fins a un correcte. Raimon Zamora 2023-10-09 11:29:17 +02:00
  • 1fe151ee1e - La tecla de parar passa a ser F12 (en compte de F1). - [FIX] Ja no intentem recuperar la posició de la finestra. Ara reapareix centrada. - [NEW] Si s'intenta ficar un zoom menor de 1, es corregeix a 1. - [NEW] Si s'intenta ficar un zoom major que el tamany de la pantalla, redueix el zoom fins a un correcte. Raimon Zamora 2023-10-09 11:29:17 +02:00
  • 0b6e30c01b - [NEW] funció dir() per a obtindre els arxius del directori "data" JailDoctor 2023-09-11 15:06:05 +02:00
  • 663a4af6cb - [NEW] tolocal(x,y) converteix coordenades de pantalla en coordenades de camera Raimon Zamora 2023-09-11 11:39:14 +02:00
  • d1f13a0036 - [NEW] Afegit missatge descriptiu si no es troba un require Raimon Zamora 2023-08-31 23:40:36 +02:00
  • 135db2c5e0 -[FIX] Arreglat el bug que feia petar el Cacaus Raimon Zamora 2023-08-31 23:30:22 +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 Raimon Zamora 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()" Raimon Zamora 2023-08-04 14:04:26 +02:00
  • 4fd9a443f2 - require() implementat Raimon Zamora 2023-08-04 13:52:11 +02:00
  • 88237804f7 - [FIX] Non-turbo mode was buggy JailDoctor 2023-07-28 09:47: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. Raimon Zamora 2023-07-05 07:58:31 +02:00
  • dab7a96ec2 Merge branch 'master' of https://gitea.sustancia.synology.me/JailDoctor/mini Raimon Zamora 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. Raimon Zamora 2023-07-04 23:03:19 +02:00
  • 0a92e29aa3 -[NEW] Window refreshes at the position it was -[FIX] Window slightly moved after refresh. Probably only fixed on MY Linux. Raimon Zamora 2023-07-04 22:53:34 +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 Raimon Zamora 2023-07-04 19:50:13 +02:00
  • 724592ec67 - Added turbo option, to allow waiting for events and use less CPU Raimon Zamora 2023-06-23 11:22:12 +02:00
  • 38e209fa76 - [NEW] Function "configfolder()" Raimon Zamora 2023-02-01 19:15:18 +01:00
  • f457075c49 - btnp() i padp() consumeixen la tecla polsada si es la que arriba com a paràmetre - anykey() tambe mira si s'ha pulsat algun botó del pad - anykey() consumeix qualsevol tecla o botó del pad pulsats. JailDoctor 2023-01-31 19:47:52 +01:00
  • 0e1e74a000 - [NEW] beat() function JailDoctor 2023-01-30 15:51:45 +01:00
  • c335edee57 - [NEW] mbtnp() added JailDoctor 2023-01-27 19:50:49 +01:00
  • 5e4f0559c4 - [FIX] Crash if map() used without map surface assigned - [FIX] Crash on restart, system surfaces not finalized properly (Cacaus crash maybe solved?) Raimon Zamora 2023-01-27 17:15:03 +01:00
  • 3675f887a6 - Fixed problem with SDL constants on linux (outdated SDL version, anyways) Raimon Zamora 2023-01-21 14:45:06 +01:00
  • a03053b717 - Minor changes for macos build Raimon Zamora 2023-01-21 14:08:24 +01:00
  • 3565c02636 - c++11 mode for macos compilation Raimon Zamora 2023-01-21 14:07:47 +01:00
  • ff1ca6279d - Icon added to Windows compilation Raimon Zamora 2023-01-20 19:13:55 +01:00
  • 3ac16958b9 - [FIX] Removed unused variable, minor readjustment of code to avoid errors. Raimon Zamora 2023-01-19 18:24:01 +01:00
  • 618cc83c8e - Removed stray 'stb_vorbis.c'. Raimon Zamora 2023-01-18 18:46:29 +01:00
  • b96e80ab1d - [NEW] Gamepad support (not tested) - [NEW] pad(), padp(), gamepad constants Raimon Zamora 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. Raimon Zamora 2023-01-18 17:41:57 +01:00
  • 4c0cf979d3 - [WIP] Config files JailDoctor 2023-01-17 20:04:01 +01:00
  • 4cf3987dc3 - MacOS Bundle compilation included Raimon Zamora 2023-01-13 17:50:29 +01:00
  • a42641653f - Remove last remnants of JailAudio Raimon Zamora 2023-01-13 15:51:00 +01:00
  • 2f106bb943 - Allow to change display zoom and fullscreen Raimon Zamora 2023-01-13 15:50:34 +01:00
  • 5075c65f7e - on "playmusic" remove volume parameter, add loop parameter JailDoctor 2023-01-13 13:19:14 +01:00
  • bcb58d49a0 - Release version should not show console JailDoctor 2023-01-13 12:42:56 +01:00
  • ffdc05b061 - Cartelet de boot llevat si no estem en debug - La musica fa fadeout JailDoctor 2023-01-12 19:39:20 +01:00
  • 9c24d33782 - Música i só amb SDL_mixer Raimon Zamora 2023-01-12 19:02:17 +01:00
  • 7ecd11a169 - [WIP] Migrating to jail_audio Raimon Zamora 2023-01-11 18:58:15 +01:00