-
-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
its a bazillion times faster now thanks to asd. no more lag
- Loading branch information
1 parent
61ac3dc
commit 2eb3786
Showing
5 changed files
with
47 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#define QUICKWRITE "quickwrite.dll" | ||
|
||
#define QUICKWRITE_OPEN(filename) call(QUICKWRITE, "open_file")(filename) | ||
#define QUICKWRITE_CLOSE(filename) call(QUICKWRITE, "close_file")(filename) | ||
#define QUICKWRITE_WRITE(file, data) call(QUICKWRITE, "write_file")(file, data) | ||
#define QUICKWRITE_CLOSE_ALL call(QUICKWRITE, "close_all")() | ||
|
||
/proc/_quickwrite_check(res) | ||
if(copytext(res, 1, 6) == "ERROR") | ||
world.log << "<font color='red'><b>QUICKWRITE: [res]</b></span>" | ||
return FALSE | ||
return TRUE | ||
|
||
/proc/quickwrite_open(file, data) | ||
return _quickwrite_check(QUICKWRITE_OPEN(file)) | ||
|
||
/proc/quickwrite_close(file, data) | ||
return _quickwrite_check(QUICKWRITE_CLOSE(file)) | ||
|
||
/proc/quickwrite_write(file, data) | ||
return _quickwrite_check(QUICKWRITE_WRITE(file, data)) | ||
|
||
/proc/quickwrite_close_all() | ||
QUICKWRITE_CLOSE_ALL |
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
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
Binary file not shown.
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