24 |
* and the inventory at the bottom of the screen. |
* and the inventory at the bottom of the screen. |
25 |
*/ |
*/ |
26 |
|
|
|
#include "lua.hh" |
|
27 |
#include "display.hh" |
#include "display.hh" |
|
#include "tools.hh" |
|
|
#include "px/px.hh" |
|
28 |
#include "objects.hh" |
#include "objects.hh" |
29 |
#include "video.hh" |
#include "video.hh" |
30 |
#include "options.hh" |
#include "options.hh" |
31 |
|
|
32 |
#include "px/sdl.hh" |
#include "px/sdl.hh" |
33 |
|
#include "px/px.hh" |
34 |
|
|
35 |
#include <vector> |
#include <vector> |
36 |
#include <algorithm> |
#include <algorithm> |
1341 |
return sprites[id]->model; |
return sprites[id]->model; |
1342 |
} |
} |
1343 |
|
|
|
|
|
|
//====================================================================== |
|
|
// LUA INTERFACE CODE |
|
|
//====================================================================== |
|
|
|
|
1344 |
void |
void |
1345 |
display::SetTileSize(int w, int h) |
display::SetTileSize(int w, int h) |
1346 |
{ |
{ |