1148 Commits
Author SHA1 Message Date
Andrew Mickelson 126b4894f7 [linux] fixed FontConfig library usage
- rewrote code for using the FontConfig library.
- Match fonts in the following order:
  - Match font fullname (FC_FULLNAME) and current language (FC_LANG)
  - Match font fullname only
  - Match font family name (FC_FAMILY) and current language (FC_LANG)
  - Match font family name only
- When we can't find a default font, fallback to the first TrueType font
  found by FontConfig, preferably that supports the current language
- Also renamed the files in config/language/ to match language identifiers
  used by FontConfig
2026-09-02 21:23:57 -07:00
Andrew Mickelson 814d48d8fc correct default value in LCDRefresh plugin 2026-05-02 22:15:53 -07:00
Andrew Mickelson ad408674e7 Add display width, height and refresh to romolist. Added LCDRefresh plugin 2026-05-02 22:07:35 -07:00
Andrew Mickelson 045358461a Added get_tag() and set_tag() script commands. Fixed "ChangedTag" transition 2026-05-02 21:53:03 -07:00
Andrew Mickelson ac39ce3746 Add "import_extra" .ini file support for every romlist field
- .ini files named after a valid romlist field are now supported for
  putting custom values into those fields.  So for example a file named
  "AltRomname.ini" can be used to provide custom "AltRomname" values
  in an imported romlist
2026-05-02 21:43:41 -07:00
Andrew Mickelson 05cb9e5cdd Trying to fix the ci workflow... 2026-02-03 20:18:27 -08:00
Andrew Mickelson a0cea403e7 Update how sfml is handled in the makefile 2026-02-03 19:49:28 -08:00
Andrew Mickelson ecc4310680 Fix for initial setup sometimes not running to completion 2026-02-03 19:38:15 -08:00
Andrew Mickelson bf2bfeda78 Updated MacOS dependencies in the workflow 2026-01-28 21:29:47 -08:00
Andrew Mickelson f892e8b39c Merge pull request #768 from tkoecker/master
fix build with newer ffmpeg versions
2026-01-28 21:12:51 -08:00
Andrew Mickelson a2c119dc42 Merge branch 'master' into master 2026-01-28 21:09:23 -08:00
Andrew Mickelson baff659a09 Merge pull request #767 from rockworm/freebsd-support
Add FreeBSD support
2026-01-28 21:07:49 -08:00
Andrew Mickelson fce15450ef Merge branch 'master' into freebsd-support 2026-01-28 21:02:47 -08:00
Andrew Mickelson beaeaa8d71 Merge pull request #722 from OzFalcon/UTF-8-Fix
UTF-8 fix
2026-01-28 20:57:17 -08:00
Thomas Köckerbauer 1dc53ef7ab fix build with newer ffmpeg versions 2026-01-23 17:03:04 +01:00
Jimmy Renner 7a7dfa653c Add conditional FreeBSD support
- Add FreeBSD detection and conditional compilation in Makefile
- Make GameSWF library changes conditional for FreeBSD compatibility
- Use portable shebang in changelog script
- All changes are conditional - no impact on Linux/macOS builds
2026-01-04 11:55:37 +01:00
Andrew Mickelson 4243393faf Don't run exit command with "Exit to Desktop" option 2025-04-21 18:00:45 -07:00
Andrew Mickelson d4c7c7bbb4 Update history.dat plugin to use the new history.xml format 2025-04-19 19:11:35 -07:00
Andrew Mickelson 2b5787e2f1 Reduce duplicates in controls field when scraping mame xml 2025-01-24 20:01:41 -08:00
Andrew Mickelson e01e063cb9 Scrape mame videos from archive.org 2025-01-24 19:59:14 -08:00
Andrew Mickelson 7313c4d220 Update UltraStik plugin to support .json and to use joystick controls
when multiple controls available
2025-01-24 19:52:09 -08:00
Andrew Mickelson bc03f2c9e4 Fix for flakey behaviour when configuring mouse movement controls 2025-01-22 18:25:00 -08:00
Andrew Mickelson fc0333d5a8 Merge pull request #758 from xgrind/master
translation into Brazilian Portuguese
2024-10-07 09:53:10 -07:00
Michael Martins eeabd99f02 translation into Brazilian Portuguese 2024-08-27 23:15:51 -03:00
Andrew Mickelson 6ed3a1e32a Merge pull request #757 from emilazy/push-vwxvknzoyxvx 2024-08-02 08:06:34 -07:00
Emily 8b2a16db26 Build Objective-C++ files with the C++ compiler 2024-08-02 00:26:10 +01:00
Andrew Mickelson 6ab07d2e23 Merge pull request #756 from eclipseo/fix_for_ffmpeg7
Add compatibility with FFMPEG 7.0
2024-06-20 18:24:18 -07:00
Robert-André Mauchin 20f5cf243a Add compatibility with FFMPEG 7.0
channel_layout has been replace with ch_layout
2024-05-12 13:23:07 +02:00
Andrew Mickelson bee423356a Merge pull request #748 from mbarnes/mouse-menu-navigation
Improve mouse navigation in overlay menus
2023-07-11 19:16:03 -07:00
Andrew Mickelson 504c755a41 Merge branch 'master' into mouse-menu-navigation 2023-07-11 19:15:20 -07:00
Matthew Barnes ed2fd91fc9 Improve mouse navigation in overlay menus
Two changes to FeOverlay::event_loop():

- In the event of a mouse move, reset the mouse position to the
  middle of the window if it strays outside the mouse capture area.

- Do not wrap around the selected menu item if the first or last
  menu item was reached by a mouse move event.

This makes overlay menus easier to navigate using a trackball or
rotary spinner that presents as a mouse device.
2023-06-25 14:06:23 -04:00
Andrew Mickelson 7ae57c7119 Merge pull request #744 from eclairevoyant/fix-missing-include 2023-06-11 10:02:32 -07:00
éclairevoyant 659b66c6dc fix missing include 2023-06-11 06:04:28 -04:00
Andrew Mickelson 85c9070593 Update to version 2.7.0 v2.7.0 2023-06-10 12:32:15 -07:00
Andrew Mickelson 6081bd86b1 [MacOS X] work on github action to build Mac package on release
- probably doesn't work still, but I've yet to find a reasonable
  way to test/debug
2023-06-10 12:27:32 -07:00
Andrew Mickelson 63f5c08baa Merge pull request #742 from mbarnes/exit-command-last 2023-05-23 12:36:25 -07:00
Matthew Barnes d55cccaa0d Run exit_command at end of main()
The exit command can cause Attract-Mode to be terminated by the
operating system before it can gracefully exit on its own, such
as when the exit command shuts down the system.  In particular,
feSettings.save_state() may get skipped or aborted with a half-
written attract.am.

Instead, run the exit command as the final act of main() after
exiting the main loop and cleaning up resources.  And pass the
command's exit code through as Attract-Mode's exit code.
2023-05-22 20:31:55 -04:00
Andrew Mickelson dc595384a5 Various fixes for font handling / font and language selection
- Fixed usage of fontconfig on linux/unix systems so that we
  get exact matches of the fonts that are asked for
- Various fixes related to the initial 'select language' dialog
- When user changes the language in config mode, and if they don't
  also set the default font at that time, we now override the
  default font to one we know will work with the newly selected
  language
2023-02-16 22:09:49 -08:00
Andrew Mickelson 981bb6302b Update extlibs/nowide to v.11.2.0 2023-02-13 21:02:09 -08:00
Andrew Mickelson 60a4a2805c Retired the Reflect and Particle Animation layouts from the main project
Layouts now located here: https://github.com/mickelson/attract-extra/layouts
2023-02-13 20:55:10 -08:00
Andrew Mickelson 0db029a820 Removed deprecated libavresample
https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/
2023-02-12 20:35:37 -08:00
Andrew Mickelson 41ded0730b Fix incorrect bounds check 2023-02-12 16:51:34 -08:00
Andrew Mickelson 6feddfadb8 Fixes for filters based on playcount, playtime, file availability
- correctly update filter list after playing a game if list is sorted
  on playcount or playtime, including by repositioning current selection
  if necessary
- switch statistics to be kept per game and emulator instead of per game
  and romlist
- added lazier loading of play stats, only load them if/when necessary
2023-02-12 16:48:03 -08:00
Andrew Mickelson 54ce6b9a1d Small fixes for attracman and orbit layouts 2023-02-12 16:42:35 -08:00
Andrew Mickelson c860d17696 Update stb_image to 2.28 2023-02-12 16:41:37 -08:00
Andrew Mickelson 9093619f90 Fix for github workflow 2023-02-12 16:40:46 -08:00
Andrew Mickelson 869e8ebbe1 Merge pull request #737 from spilinek/master
Support roms in subdirectories
2023-02-12 16:37:59 -08:00
spilinek f8596f3fec Support roms in subdirectories
Allows use of [name] in rompath. This is necessary when using subdirectories and multiple extensions are in use. For example:

rompath $HOME/roms/psx/[name]
romext               .cue;.m3u;.CUE;.M3U
2023-02-09 23:25:39 -06:00
Andrew Mickelson e1d159936b Update to expat 2.5.0 2023-02-01 20:20:51 -08:00
Andrew Mickelson 098d2f0e65 Fixed aspect ratio on filter grid and grid layouts 2023-02-01 20:13:45 -08:00