sukibaby eb35a9b9af Switch from Float to Integer Time Values
- Use fast data types where possible so the compiler can optimize for speed based on platform
    - for example, 128 bits might be fastest on ARM
    - good future-proofing

- Refactor GetTimeSinceStart() to be a bit faster
    - multiplication is much faster than division

- Implement a RageTimer method to get the seconds value as a plain int, for the places which cast the seconds value to an int

- Changing from GetTimeSinceStartFast() to GetTimeSinceStart() where accuracy is important

- Changing from GetTimeSinceStart() to GetUsecsSinceStart() for timestamp diffs

- Adjust RageThreads to accomodate an unsigned timestamp value
   - a constant for the maximum value of `uint_fast64_t` replaces `-1` to accommodate the change from signed to unsigned for the `locked_at` variable
   - i have separate constants for `std::numeric_limits<std::uint_fast64_t>::max()` and `static_cast<std::uint_fast64_t>(-1)`, so the reader understands -1 represents an error code, though they evaluate to the same value, so i could remove one of the two

- Add two methods to calculate the MMSSMsMs / MMSSMsMsMs time value from usecs directly instead of inferring it from a seconds value, in RageUtil

- Use a similar counter/modulo based method for WheelNotifyIcon, similar to what i did for text_glow in NoteField in 2eeee03

- Make `g_iStartTime` static const for safety

Rename two timer functions:
GetUsecsSinceStart -> GetTimeSinceStartMicroseconds
GetMicrosecondsSinceStart -> GetSystemTimeAsMicroseconds

Remove std prefix from uint_fast64_t
2024-09-22 01:27:45 -07:00
2011-09-07 17:42:29 -05:00
2013-07-18 17:41:10 -04:00
2012-07-20 12:08:54 -07:00
2024-06-18 16:32:36 -04:00
2022-05-28 11:21:13 +02:00
2024-09-03 21:19:57 -07:00
2024-09-20 21:37:32 -07:00
2024-08-26 17:31:08 -07:00
2024-08-26 10:52:19 -07:00
2022-06-29 21:26:52 +02:00
2019-09-08 13:05:52 +02:00
2024-05-29 10:30:30 -07:00
2022-06-03 19:47:45 +02:00
2024-09-20 15:45:53 -07:00
2024-09-20 21:37:52 -07:00
2024-07-15 07:00:07 -07:00

ITGmania

ITGmania is a fork of StepMania 5.1, an advanced cross-platform rhythm game for home and arcade use.

Continuous integration

Changes to StepMania 5.1

  • Built-in network functionality
  • Fully 64-bit, optimized for modern OSes
  • Reload new songs from within the song select screen
  • The mine fix applied (courtesy of DinsFire64)
  • Held misses tracked in the engine for pad debugging
  • Fixed overlapping hold bug
  • Per-player visual delay
  • Per-player disabling of timing windows
  • New preference to control note render ordering
  • Increased the Stats.xml file size limit to 100MB
  • Changed the default binding for P2/back from hyphen to backslash

Installation

You can choose between using the installer or using the portable build. Using the installer is recommended, because it makes upgrading to new versions easier.

Windows

Windows 7 is the minimum supported version.

  • You will likely have to manually allow the installer to start.

macOS

macOS users need to have macOS 11 (Big Sur) or higher to run ITGmania.

  • Move ITGmania.app to the Applications folder, and then run the following command in Terminal:

    • xattr -dr com.apple.quarantine /Applications/ITGmania
  • You should then add ITGmania to the "Input Monitoring" section of System Preferences (under Security & Privacy)

Linux

Linux users should receive all they need from the package manager of their choice.

  • Debian-based:

    • sudo apt install libgdk-pixbuf-2.0-0 libgl1 libglvnd0 libgtk-3-0 libusb-0.1-4 libxinerama1 libxtst6
  • Fedora-based:

    • sudo yum install gdk-pixbuf2 gtk3 libusb-compat-0.1 libXinerama libXtst
  • Arch Linux:

    • sudo pacman -S mesa gtk3 libusb-compat libxinerama libxtst llvm-libs
  • OpenSUSE:

    • OpenSUSE comes with everything you need pre-installed.

Build From Source

ITGmania can be compiled using CMake. More information about using CMake to build ITGmania can be found in both the Build directory and CMake's documentation.

Resources

Licensing Terms

ITGmania, as well as the Simply Love theme, are both under the GPLv3 license, or at your option, any later version.

If ITGmania code is used in your project, we would also appreciate it if you link back to ITGmania as well as StepMania.

For specific information/legalese:

  • All of our source code is under the GPLv3 license.
  • Songs included within the 'StepMania 5' folder are under the CC-NC license.
  • Simply Love is licensed under the GPLv3, or, at your option, any later version.
  • The copyright for songs in the 'Club Fantastic' folders rests with the original authors. The content is explicitly NOT placed under a Creative Commons license (or similar license), but has been provided free of charge, for personal or public use, including online broadcasting, tournaments, and other purposes. Go to the Club Fantastic website for more information.
  • The MAD library and FFmpeg codecs when built with our code use the GPL license.

Credits

ITGmania Team

  • Martin Natano (natano)
  • teejusb

Contributors

S
Languages
C++ 85.7%
Lua 4.3%
C 4.3%
Rich Text Format 2.3%
CMake 1.1%
Other 2%