| Commit message (Expand) | Author | Age | Files | Lines |
* | Add snapshot and recording of bmp files per frame w/ conversion script to video | Sven Gothel | 2022-03-30 | 2 | -7/+41 |
* | ghost_t::get_tex(): Scared texture in global SCARED mode only for at_home() -... | Sven Gothel | 2022-03-30 | 1 | -1/+1 |
* | Add cmdline '-pixqual <int>' | Sven Gothel | 2022-03-30 | 1 | -5/+10 |
* | Freeze pacman only for 3 frames after eating power pellet | Sven Gothel | 2022-03-30 | 1 | -0/+5 |
* | ghost_t: Have defined home_pos for each and must return to their spot (phanto... | Sven Gothel | 2022-03-30 | 1 | -27/+28 |
* | Adjust debug gfx colors for tunnel and red-zones, less shiny and differenciat... | Sven Gothel | 2022-03-30 | 1 | -4/+4 |
* | ghost_t: Use random_engine_t<> and its random_engine_mode_t::PUCKMAN operatio... | Sven Gothel | 2022-03-30 | 1 | -3/+21 |
* | ghost_t::set_next_dir(): not_up red-zone test not to be performed in_house() | Sven Gothel | 2022-03-29 | 1 | -2/+2 |
* | Fix ghost_t::set_next_dir(): full one step to measure distance for SCARED ran... | Sven Gothel | 2022-03-29 | 1 | -7/+7 |
* | Cleanup redundant set_next_target() calls in ghost_t::set_mode() | Sven Gothel | 2022-03-29 | 1 | -3/+0 |
* | Use tile coord (int) squared distance for ghost_t::set_next_dir() | Sven Gothel | 2022-03-29 | 2 | -4/+16 |
* | Fix scatter target tiles and include them in show_debug_gfx() | Sven Gothel | 2022-03-29 | 3 | -16/+23 |
* | Access global ghost_t instances via functions | Sven Gothel | 2022-03-29 | 3 | -27/+41 |
* | Show ghost score for 900ms using ttf font, freezing tick and keep freezing_bo... | Sven Gothel | 2022-03-29 | 4 | -131/+182 |
* | Fix tick PHANTOM -> LEAVE_HOME: test ghost_home_int box; Use intersection_i()... | Sven Gothel | 2022-03-29 | 2 | -4/+13 |
* | Fix ghost_t::set_next_dir(): full step to measure distance, higher inversion ... | Sven Gothel | 2022-03-29 | 2 | -62/+59 |
* | maze_t: Add tunnel + red_zone and respect in ghost_t impl; Read globals via f... | Sven Gothel | 2022-03-29 | 5 | -129/+203 |
* | acoord_t: Add float ctor, distance_manhatten() and toIntShort() | Sven Gothel | 2022-03-29 | 1 | -0/+17 |
* | ghost_t: ghost prefers directions in this order: up, left, down, right | Sven Gothel | 2022-03-28 | 1 | -27/+63 |
* | Reorder game_level_spec_t for manual review | Sven Gothel | 2022-03-28 | 1 | -31/+37 |
* | Incorperate ghost_wave_t scatter/chase duration in game_level_spec_t; Use std... | Sven Gothel | 2022-03-28 | 2 | -39/+37 |
* | Add ghost_t::atex_scared_flash and use it if time_left is below flash_count *... | Sven Gothel | 2022-03-28 | 1 | -2/+6 |
* | Add '-level <int>' command line arg; Move command line usage and variable dum... | Sven Gothel | 2022-03-28 | 1 | -13/+19 |
* | Fix LEVEL_SPEC_COUNT type: bool -> int (typo) | Sven Gothel | 2022-03-28 | 1 | -3/+3 |
* | Add 'Level Specification' table from 'The Pac-Man Dossier', defining all leve... | Sven Gothel | 2022-03-28 | 3 | -31/+78 |
* | ghost_t: Use global mode for group/wave SCATTER, CHASE or SCARED switches (fi... | Sven Gothel | 2022-03-28 | 3 | -123/+251 |
* | Refine global logging commandline switches | Sven Gothel | 2022-03-28 | 3 | -32/+51 |
* | game.cpp: Add game_mode_t::NEXT_LEVEL; Draw bottom line (levels + lives) | Sven Gothel | 2022-03-28 | 1 | -15/+56 |
* | ghost_t: Add random direction_t in SCARED mode | Sven Gothel | 2022-03-28 | 1 | -74/+108 |
* | Level starts at 1; Complete to_string(tile_t tile); ORANGE -> PEACH; Add leve... | Sven Gothel | 2022-03-28 | 2 | -5/+31 |
* | Add CLYDE's target | Sven Gothel | 2022-03-27 | 1 | -9/+8 |
* | ghost.cpp: Reorder methods per functionality for review | Sven Gothel | 2022-03-27 | 1 | -209/+224 |
* | Initial implementation of 'Home Sweet Home', i.e. the ghost's local and globa... | Sven Gothel | 2022-03-27 | 2 | -2/+137 |
* | Introduce mode_t::LEVEL_START and global level counter | Sven Gothel | 2022-03-27 | 3 | -25/+48 |
* | Fix proper ghosts order (in enum order) | Sven Gothel | 2022-03-27 | 2 | -20/+21 |
* | I can't help it, but 100% speed feels more similar to original @ 10 fields pe... | Sven Gothel | 2022-03-27 | 1 | -1/+1 |
* | Fix pacman/ghost HOME and LEAVE_HOME transition | Sven Gothel | 2022-03-27 | 3 | -29/+29 |
* | ghosts_t: Fix SCATTER target | Sven Gothel | 2022-03-27 | 1 | -5/+4 |
* | Bring back workaround next_empty_field_frame_cntr for empty field check as en... | Sven Gothel | 2022-03-27 | 2 | -8/+8 |
* | pacman_t: Set aligned start position, read from float position (center betwee... | Sven Gothel | 2022-03-27 | 2 | -13/+36 |
* | pacman_t::tick(): Operate on entered_tile for 'tile action', remove workaroun... | Sven Gothel | 2022-03-27 | 1 | -9/+6 |
* | Use acoord_t::set_aligned_dir() after set_speed()'s keyframei_t::reset() to o... | Sven Gothel | 2022-03-27 | 3 | -2/+27 |
* | Fix and move [keyframei_t->acoord_t]::field_entered(), adding acoord_t::stats... | Sven Gothel | 2022-03-27 | 3 | -60/+73 |
* | Remove redundant keyframei_t::is_center_dir() | Sven Gothel | 2022-03-26 | 4 | -30/+10 |
* | keyframei_t: Chose nearset frames_per_field per default and always the fastes... | Sven Gothel | 2022-03-26 | 4 | -73/+68 |
* | Orig puck-man speed is 11 fields_per_sec for 100% | Sven Gothel | 2022-03-26 | 1 | -1/+1 |
* | Complete countdown_t and use it for pacman_t and ghost_t | Sven Gothel | 2022-03-24 | 3 | -37/+40 |
* | Cleanup: Use noexcept, constexpr; Remove 'get_'<what>() prefix from 'getter' ... | Sven Gothel | 2022-03-23 | 6 | -505/+505 |
* | Move reusable generic code to utils.*: math, direction_t, keyframei_t and box_t | Sven Gothel | 2022-03-22 | 2 | -204/+204 |
* | Fix SDL keyinput SDL_KEYUP async issue: Only release set_dir if KEYUP matches... | Sven Gothel | 2022-03-21 | 1 | -7/+34 |