Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: const-void/DOOM-fire-zig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2024
Choose a base ref
...
head repository: const-void/DOOM-fire-zig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2025
Choose a head ref
  • 7 commits
  • 3 files changed
  • 3 contributors

Commits on Nov 15, 2024

  1. Fix integer overflow panic on large display

    ```
    $ zig-out/bin/DOOM-fire
    Screen size: 375w x 89h
    
    Standard colors:
    ▏  0  ▏  1  ▏  2  ▏  3  ▏  4  ▏  5  ▏  6  ▏  7
    ▏  8  ▏  9  ▏ 10  ▏ 11  ▏ 12  ▏ 13  ▏ 14  ▏ 15
    
    216 colors:
     16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
     52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
     88 89 90 91 92 93 94 95 96 97 98 99100101102103104105106107108109110111112113114115116117118119120121122123
    124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
    160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
    196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
    
    Grayscale:
    ▏232 ▏233 ▏234 ▏235 ▏236 ▏237 ▏238 ▏239 ▏240 ▏241 ▏242 ▏243 ▏244 ▏245 ▏246 ▏247 ▏248 ▏249 ▏250 ▏251 ▏252 ▏253 ▏254 ▏255
    
      How much is the fish?
                 -- Scooter
    Press return to continue...
    thread 1068243 panic: integer overflow
    /Users/sylvain/tmp/DOOM-fire-zig/src/main.zig:553:33: 0x104e7ab83 in showDoomFire (DOOM-fire)
        const FIRE_SZ: u16 = FIRE_H * FIRE_W;
                                    ^
    /Users/sylvain/tmp/DOOM-fire-zig/src/main.zig:695:17: 0x104e78d3b in main (DOOM-fire)
        showDoomFire();
                    ^
    /opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/start.zig:524:37: 0x104e789d3 in main (DOOM-fire)
                const result = root.main() catch |err| {
                                        ^
    ???:?:?: 0x19b517153 in ??? (???)
    ???:?:?: 0xa04fffffffffffff in ??? (???)
    [1]    68669 abort      zig-out/bin/DOOM-fire
    ```
    
    Signed-off-by: Sylvain Rabot <[email protected]>
    sylr committed Nov 15, 2024
    1 Configuration menu
    Copy the full SHA
    342c47e View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2024

  1. Merge pull request #15 from sylr/fix-panic-large-screen

    Fix integer overflow panic on large display
    const-void authored Dec 15, 2024
    Configuration menu
    Copy the full SHA
    e95b6d4 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2025

  1. feat: GPL3, (C) 2025, OSX 15.2

    const-void
    const-void committed Jan 1, 2025
    Configuration menu
    Copy the full SHA
    048a80e View commit details
    Browse the repository at this point in the history
  2. feat: OSX15.2

    const-void
    const-void committed Jan 1, 2025
    Configuration menu
    Copy the full SHA
    6c9f32c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #20 from const-void/19-license

    19 license
    const-void authored Jan 1, 2025
    Configuration menu
    Copy the full SHA
    548a142 View commit details
    Browse the repository at this point in the history
  4. feat: x64 memory (c/o u64)

    const-void
    const-void committed Jan 1, 2025
    Configuration menu
    Copy the full SHA
    b98a589 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #21 from const-void/16-thread-integer-overflow

    feat: x64 memory (c/o u64)
    const-void authored Jan 1, 2025
    Configuration menu
    Copy the full SHA
    b462684 View commit details
    Browse the repository at this point in the history
Loading