This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rgss_main {} | |
STDOUT.pos = 0 unless STDOUT.tty? # Go back so we don't end up with artifacts | |
def process_list(list) | |
list.each_with_index do |command, index| | |
if command.code == 355 | |
@last_map_pos = @last_pos = nil | |
puts "#--> Script Command @#{index}" | |
puts command.parameters[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by rust-bindgen 0.64.0 */ | |
#![allow(missing_docs)] | |
#![allow(non_upper_case_globals)] | |
#![allow(non_camel_case_types)] | |
#![allow(non_snake_case)] | |
#![allow(clippy::upper_case_acronyms)] | |
#[repr(C)] | |
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Demo : https://www.youtube.com/watch?v=a3IF8Yu0BWM | |
require "webrick" | |
class ImageReturn < WEBrick::HTTPServlet::AbstractServlet | |
def do_GET request, response | |
response.status = 200 | |
response['Content-Type'] = 'image/png' | |
response.body = $GraphicsImage.to_s | |
end | |
end |