returns a bumpmaps data else NULL if something is wrong
| 104 | |
| 105 | // returns a bumpmaps data else NULL if something is wrong |
| 106 | uint16_t *bump_data(int handle) { |
| 107 | uint16_t *d; |
| 108 | |
| 109 | if (!(GameBumpmaps[handle].flags & BUMPF_USED)) { |
| 110 | Int3(); |
| 111 | return NULL; |
| 112 | } |
| 113 | |
| 114 | d = GameBumpmaps[handle].data; |
| 115 | |
| 116 | return (d); |
| 117 | } |
| 118 | |
| 119 | // returns width of bumpmap |
| 120 | uint8_t bump_w(int handle) { |
no outgoing calls
no test coverage detected