Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#12592 closed defect (fixed)

AGS: Beer: crash with error("TODO: pivot_sprite")

Reported by: lolbot-iichan Owned by: criezy
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Game:

Description (last modified by lolbot-iichan)

Testcase:

  1. Get https://store.steampowered.com/app/782280/Beer/
  2. Start a new game
  3. Click on the Beer

Result: console appears with message "ERROR: TODO: pivot_sprite!"

Note: ags/lib/allegro/gfx.cpp contains this code:

void pivot_sprite(BITMAP *bmp, const BITMAP *sprite, int x, int y, int cx, int cy, fixed angle) {

error("TODO: pivot_sprite");

}

Change History (4)

comment:1 by lolbot-iichan, 3 years ago

Description: modified (diff)

comment:2 by lolbot-iichan, 3 years ago

Description: modified (diff)

comment:3 by criezy, 3 years ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

pivot_sprite is now implemented, and I have tested that it seems to work in a couple of games. So the next daily build should work.

comment:4 by lolbot-iichan, 3 years ago

Thanks!
Compiled a build from master branch - the game is fully playable now.

Note: See TracTickets for help on using tickets.