-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCHANGES
1528 lines (891 loc) · 43.3 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2024-09-16
Implemented splitonce command. TODO still need to add this to the
API ref, and remove the redundant third of four arguments. When this
is done, remember to notify Ciox due to this being used in a fix to
get around an engine bug, being employed in Tenshi no Oshigoto.
-Galladite
2024-09-14
Implemented a simple log command - why wasn't this done sooner?
Still need to make it accept string and number literals.
-Galladite
2024-09-05
Introduced some unit tests - Sean
Cleaned up directives interpretation code - Playmer
Did preliminary work on bug in strpxlen command - Galladite
2024-08-26
Finally just removed restrictions on the order of directives. No old
titles will be broken, and this just removes the unnecessary limits
being imposed on creators of new games.
2024-08-10
Playmer added Github CI jobs for Linux and both 32- and 64-bit
Windows. It's black magic!
2024-08-09
Added "strpxlen" command as a proportional font equivalent to "len"
for use, for example, in centring text
2024-07-21
Sean McGovern updated JPEG libs
Reverted fixes for the rgosub bug - see why in the source code
(~L600 as of writing).
The definereset bug still persists. Not entirely sure why; this
needs looking into.
Updated the command reference to include enginereset, getres,
setres
Updated README.md to include information about variable resolutions
Decided on release name "Senbei" (thanks Ciox!)
I think that's about it?
2024-07-16
I apologise for not updating this file for far too long. Since the
last update changes have really been limited to bugfixes. I will try
and update this file whenever I do engine work from now on.
Fixed major bug causing the definereset command to wipe all global
variable data.
Started working on fixing a bug causing rgosub to crash the game
when returning.
Started updating this and other files ready for release since engine
resets as well as setres and getres were never included in a release
for 9 months of their existence (major oops, my apologies).
2023-10-20
Started working on variable screen resolution. New commands: getres
and setres. Added engine functionality for full resets (even more
extreme than definereset). This allows for the entire window to be
redrawn with new dimensions. Implemented enginereset command.
Check the documentation soon for the updated command information
for: ;$, setres, getres, enginereset.
Currently only tested on Linux.
2023-10-19
Several bugfixes. freetype-config now works better. Fixed the
behaviour of the selectbtnwait command, particularly prevalent in
the game "Flanca" from "The World To Reverse," so that text isn't
cleared from the screen when the custom "select" subroutine is used.
2023-06-28
Linewrap algorithm fixed. Many bugfixes. Ready for release!
Changes to README.md for UTF-8 and proportional font support
2023-06-26
Fixed rmenu (mostly) and fixed multibyte lookback bug.
FINALLY worked on the linewrap alogrithm. It's pretty much
functional, but there's a nasty pointer arithmatic bug that I'm
trying to hunt down before release.
2023-06-24
Added setwindow4 command for option use in UTF-8 mode - allows for
better and simpler setting of the text display area size.
Bugfixing for some really annoying ruby text bugs (and finding
several more). However, it at least pretty much works now.
Started buxfixing the totally busted rmenu. I've done the rmenu
portion, but now I'll need to individually do all the option
screens...
Started on the save screen
2023-06-23
SJIS mode now works properly. All modified functions now use
conditionals instead of hard-coded ifdefs, meaning that one
exectable will work for both SJIS and UTF-8 scripts.
2023-06-22
processText modified - initial UTF-8 support! OYABB! I've only
tested it with CJK characters and accented Latin characters, but
it's all good so far! (I wouldn't try coloured emojis though...)
For the time being, I've set it to advance the distance of a
fullwidth space after printing any multibyte character, so that SJIS
doesn't break and so that characters don't overlap (as much) while I
work on proportional fonts.
Lookback mode now works properly with UTF-8
Proportional fonts fully implemented today! :D
(Don't worry, SJIS scripts won't be broken by this)
DON'T try using this with SJIS in its current state; some functions
are hard-coded with their UTF-8 functionality and need to check
which mode they are in and act accordingly.
2023-06-21
ScriptHandler::checkClickstr now works with UTF-8 (plus a bug has
been fixed where certain multi-byte characters would cause
one directly proceeding clickwait character to be skipped)
DrawGlyph converts from UTF-8 to UTF-16 when given UTF-8 chars
DrawChar advances kankaku and uses current_page->add based on the
number of bytes in the string (may still be broken - should it only
ever be 1 or 2 advances?)
And so on and so forth, I've made all the obvious modifications
necessary to ONScripterLabel_text.cpp before I can start working on
the processText command (which is big and important).
My general checklist for UTF-8 is this:
- Modify processText to let UTF-8 characters display
- Get the kerning and letter spacing sorted for UTF-8 mode
- Make a new linewrap algorithm based on Seung's advice for UTF-8
mode only
- Create a major release, listing UTF-8 support as "experimental"
- Bugfix based on my own findings and any reports
- Once enough bugs have been fixed, create another release with
UTF-8 listed as "completed" (but there will likely be more
bugfixes in the future)
2023-06-20
getStringFromInteger now uses UTF-8 characters when in UTF-8 mode (I
know, a real shocker)
Changes to readToken for UTF-8 characters - almost all done
- We can handle multi-byte characters
- { and } now work properly
I'm now pretty much ready to start working on the text display
functions and the new linewrap algorithm.
2023-06-19
Major bugfix for ;gameid directive - it now works on line 1 lol
If you use this new version, you should copy your save files from
the folder given at startup in the old version into the folder given
at startup in the new version, unless the folders are the same.
Help text fixes for --dll and -f options
Pretext tag changes for UTF-8 (also many bugfixes for my changes)
But yeah, pretext tags should be finished now
Window captions should now be drawn properly in UTF-8 mode
More under-the-hood changes to support UTF-8 - I'll work on
modifying the text display functions after all the small things like
kinsoku, getStringFromInteger etc. have been taken care of.
2023-06-16
Kinsoku system now uses UTF-8. This hasn't been fully tested, so
while there are no game-breaking errors, it may simply not work.
This really does need testing at some point.
2023-06-15
The engine now checks for UTF-8 scripts. As of now, this behaviour
is broken since it still acts as if the script is SHIFT-JIS.
2023-06-05
OpenType fonts and TrueType/OpenType font collections now actually
work. Segfault fixed.
Some functions brought over from onani. Script_h now contains an
Encoding object. Encoding.cpp brought in, and necessary changes made
to Makefile.onscripter.
2023-04-18
Added the ability to load OpenType fonts and TrueType/OpenType font
collections. Also added last-resort fallback system font detection
for Windows (MS Gothic) and macOS (Hiragino Maru Gothic).
2023-04-17
New fix for select + rgosub, meaning that nested calls to the rgosub
label no longer cause the select to be skipped
Put -lpulse and -lpulse-simple back in configure for Linux - I don't
know what is depending on them, but it's only happening on my laptop
Also I changed the date in version.h - I don't know why I thought it
was May
2023-05-16
New fix for select command, allowing it to use rgosub-defined rmenus
2023-04-11
Linux now has pop-up message boxes for the yesnobox and okcancelbox
commands, to a point where I'm happy with their implementation and
stability.
2023-04-09
The numbering scheme for releases is slightly off, but the next time
I publish a release I'll make sure they're all right.
No major changes to the source code this time, but there are now
build instructions and custom Makefiles for Windows, as well as
pre-compiled binaries, courtesy of Seung Park.
2023-03-08
Slight bugfixes in regards to linker flags, but more work needs to be done
Fix to prevent some libraries from being linked which should have
been removed after I was done updating dependencies
Stopped building freetype with harfbuzz and brotli support
Need to polish one of the fixes for Windows where filenames were
wrong during SDL_image(?)'s compilation.
Need to fix linker errors with MinGW and SDL_image(?).
Need to try using old SDL_image as an easy fix.
2023-02-25
Changed how the fix for rmenu functionality during select command
to save the game's state at the beginning of that page of text,
instead of directly before the choice
Ironed out bugs surrounding rmenu functionality during select command
to allow loading of saves, script resets etc.
A little more dependency slimming
2023-02-19
Commands ported from ONScripter: ;$, autosaveoff, savepoint,
getbgmvol, getmp3vol, getsevol, getvoicevol
* This includes support for custom resolutions
Semi-broken fix to allow saving game within choice selection
Dependencies updated to latest versions (but they still need stripping
back like before)
2011-06-28
Bugfix to calling "getcselstr" on an out-of-range index, so that ons-en
will give a warning & return a null string (similar to fix in ogapee's
onscripter-20110619) [Mion]
Redoing automode handling to work more like NScr [Mion]
* Enabling automode by default (cmds "mode_ext" and "automode" are
unnecessary since NScr 2.82)
* Changing automode_time default from 3000 to 1000
* Storing automode_time in file "envdata" (as per NScr 2.54+)
Added cmd-line option "--automode-time <time>", to override either
the default time, "envdata" setting, or any "automode_time" cmds
in the define block [Mion]
Bugfix to avoid recursive doErrorBox calls in "errorsave" mode [Mion]
2011-06-17
Avoid reusing string or layer sprites in lspCommand, for safety [Mion]
2011-06-16
Fix for lsp2 sprites not displaying if flipped (for Umineko 8) [Mion]
Fix for text advancement locking up in Umineko 4, added validation
of default settings loaded from "envdata" [Mion]
2011-06-14
More textwindow and effect refresh fixes prompted by checking
"Jinkou Megami" [Mion]
2011-05-28
Merging changes from ogapee's onscripter releases 20110520 & 20110528,
with fixes to "prnum" & textwindow handling; making additional fixes
for the game "Jinkou Megami" [Mion]
2011-04-23
Added "--no-movie-upscale" cmd-line option: avoids making a movie
display area larger than its native size (to avoid some SMPEG
resizing ugliness) [Mion]
2011-04-13
Restructured parsing & handling of pretext tags (done especially for
Amaranto, but also emulates NScr more closely) [Mion]
Bugfix for text window refreshing after a "texthide" cmd (text cmds
implicitly unhide the text) [Mion]
2011-04-05
Changed ScriptHandler::setCurrent to not errorAndExit (fixes an issue
with exiting at certain "lsp" calls) [Mion]
Added undocumented NScr cmd "labelexist" [Mion]
2011-04-04
Fixes to handling 8-bit WAVs w/fmt files; more flexible fmt files [Mion]
2011-03-31
Corrected a bug in right-click menu "Hide Text" option [Mion]
Fixes for handling 8-bit WAVs that require fmt files [Mion]
2011-03-27
Sounds loaded with "dwaveload" could be played multiple times,
so we need to keep preloaded samples even after playing them [Mion]
2011-03-25
Added errorAndExit calls for attempts to access outside the bounds of the
game script (line number and/or address) [Mion]
2011-03-24
Added check for events after an image load & resize [Mion]
Added cmd-line option "--no-layers" to ignore layer-based cmds [Mion]
Bugfix for quake when in ctrl/skip mode [Mion]
2011-03-22
Porting changes to effect and quake handling from jp onscripter, as
well as moving dll effect routines into subfiles [Mion]
2011-03-21
Added fast CPU routines for pixel blending and effects [Mion]
Added & reorganized graphics utility functions and files, using a
namespace "ons_gfx" and removing functionality from AnimationInfo [Mion]
2011-03-17
Bugfix for uninitialized scaled_flag [Mion]
2011-03-16
Added options for audio settings [Mion]:
* (Windows) --waveout-audio : use "waveout" instead of Direct Sound
* --match-audiodevice-to-bgm : reset the audio device to bgm specs
* --nomatch-audiodevice-to-bgm : don't reset the audio device to bgm specs
(now the default setting)
* --audiodriver <dev> : use <dev> as SDL's audio driver
* --audiobuffer <size> : use <size> kbytes for the audiobuffer
(only 1,2,4,8,16 allowed; minimum is set to 8 if "waveout" driver)
2011-03-14
Added (undocumented) NScr cmd "seteffectspeed" [Mion]
2011-03-13
Normalizing use of resizing/positioning functions; also converted to use
floating-point for increased accuracy, and un-inlined [Mion]
Moving "--scale" cmd-line option from RCA_SCALE to main build process [Mion]
2011-03-12
Converted resizing #define macros into inline functions [Mion]
Freeing some more pointer variables in ONScripterLabel & ScriptParser
destructors [Mion]
2011-03-10
Bugfixes to load "envdata" and "gloval.sav" at more appropriate times,
only process "savedir" cmd once (before "envdata" exists) [Mion]
2011-03-08
Redoing RCA_SCALE build option implementation, to make use of existing
resize functionality (and draw better when aspect ratio is changed) [Mion]
Avoid reloading an image in setupAnimationInfo if its tag was
not (effectively) changed by the current image-loading cmd [Mion]
Bugfix to processing text cmd _(underscore) when using "linepage" mode [Mion]
Changed "gettext" cmd to strip out ons-en locate control characters;
changing "locate" to insert tabs instead of fullwidth spaces;
added "getlogtext" cmd [Mion]
Hacky little fix for a text handling bug found in a scene in Umineko 8 [Mion]
2011-03-05
Redid image processing: broke out alpha & resize steps into separate
functions (similar to recent jp onscripter changes) [Mion]
Fixed bug in btnwait with "hidden" sprite buttons (for Umineko 8) [Mion]
Updated copyright year [Mion]
Ported from jp onscripter [Mion]:
* Added rand() call in ScriptParser constructor
* Using new(std::nothrow) for image/sound buffer allocation
* Removed history from DirtyRect
Added 16bpp support for "lsp2add", "lsp2sub", and Layer effects
(except "oldmovie"); improved add/sub blending [Mion]
2010-12-15
Initializing everything in ScriptParser & AnimationInfo cons [Mion]
Fixed a bug causing standing images to seemingly disappear
after "getsavestr" is called [Mion]
2010-12-12
Initialize! Initialize! Initialize everything, especially *pointers
(in ONScripterLabel so far, will hit more classes soon) [Mion]
Now onscripter will run even if it fails to open an audio device [Mion]
Avoiding early release of dynamic memory in AnimationInfo, seemingly
caused by calling its reset() directly [Mion]
Odds & ends of code cleanup [Mion]
2010-10-27
Made some corrections to button handling, inspired by recent
official onscripter changes; also added "btnnowindowerase" cmd
while I was at it [Mion]
Using windoweffect in more cases where NScr does, like the
windowerase systemcall [Mion]
2010-10-22
Decoupled user-preferred system menu language from the "language"
script setting, added cmd-line options "--japanese-menu" and
"--english-menu" [Mion]
Changed default language script to English, removed hack to test for
"en" in the executable's filename (users should use the "--japanese"
cmd-line option if running a Japanese (O)NScripter game) [Mion]
2010-10-18
Adjusted default behavior of PNG alpha image handling [Mion]
Code cleanup, converting #defines to enums or inline functions [Mion]
Since ONScripter-EN doesn't try to act just like standard ONScripter,
there's no point in creating an "onscripter.exe" either [Mion]
2010-10-10
Folding in some recent official onscripter changes; mainly
removing use of iconv [Mion]
2010-10-03
Added onscripter usage docs for Mac's Help system [Roto]
2010-09-27
Massive revamping of DirPaths class and how it's used; attempting
to use more effective C++ [Mion]
Adding support for '>' at the beginning of text [Mion]
Converting more fprintfs to errmsg calls [Mion]
Removed "debugprint" cmd [Mion]
Added some support for "english" cmd and mode, but needs to be more
carefully integrated and hamstrung [Mion]
2010-09-19
Cleaned up effect code and effect skip handling; made sure "texthide" and
"textshow" will use the windoweffect if provided [Mion]
2010-09-15
Made nscmake & nscdec onscr-tools more tolerant of non-Windows line endings;
any of CRLF, CR, LF will count as 1 newline
(note that onscripter-en is already tolerant) [Mion]
Retooled error handling, converted more printfs to error-handler calls [Mion]
2010-09-10
Made fullscreen 'f' toggle available outside of button wait states [Mion]
Small bugfixes and code cleanup [Mion]
2010-09-06
A few bugfixes for screen & text refresh; also fixed a divide by
zero error introduced when correcting image rotation [Mion]
2010-09-05
Added Windows and Mac OS X dialog box handling:
* Special & awesome ONSCocoa boxes for messages, errors, help on OS X [Roto]
* "yesnobox", "okcancelbox", "mesbox" cmds now fully supported with dialog
boxes [Mion,Roto]
* "Caught" errors will now produce popups, and with more information [Mion]
* An "About" dialog box popup will show program version information
when F1 is pressed on Windows [Mion]
* Mode-switch to windowed mode before a dialog box appears, to prevent
crashes due to fullscreen mode [Mion]
Restructured error handling, moved error popup code from ScriptHandler to
ONScripterLabel [Mion]
Noted difference between "errors" and "warnings"; added the "--strict"
cmd-line option, which will treat warnings as errors, except that on
Windows & Mac a dialog box will show the warning and allow the user
either to continue (Ignore) or exit (Abort) [Mion]
Added "errorsave" cmd, which saves current game state (except for global
variables) to save999.dat when an error is caught [Mion]
2010-06-20
Ported additional recent changes from official onscripter
(those unrelated to Android/PDA) [Mion]
Corrected drawing of rotated images [Mion]
Fixed bug in "btn" cmd causing black rectangles when "btndef" unset [Mion]
When in "textgosub" mode, giving a '_\' or '_@' text sequence to NScr
will cause it to finish the text cmd without doing a clickwait; now
ons-en will do the same thing (for "Kanashuku", which really should be
using "puttext" instead, but oh well) [Mion]
2010-06-09
Ported some recent changes from official onscripter [Mion]
2010-06-05
Fixed a bug in sprite btn reset handling [Mion]
2010-06-03
Removed "--allow-break-outside-loop" option, since it's now default [Mion]
Added Windows message box for displaying errors on exit;
also using the Mac ONSCocoa alertbox [Mion,Roto]
Avoid displaying text glyphs for non-printing characters [Mion]
2010-05-30
Switching to Cocoa for Mac OS X API calls [Roto]
2010-05-18
Resetting the sound mixer to default values at a "reset" cmd [Mion]
2010-05-16
Added cmd-line option "--skip-past-newline" for smoother click-to-skip
mode when running older onscripter games [Mion]
2010-05-07
Redid handling of text colors (ColorChange stuff wasn't necessary) [Mion]
Small fixes; changed some code variable and function names for clarity
(e.g. "shadowTextDisplay" -> "displayTextWindow") [Mion]
Added music/movie playback check for WMA and AVI file header (won't
attempt to play such files) [Mion]
Retooling of in-text-buffer "locate" characters and "locate" cmd [Mion]
2010-05-04
Changed basic functionality on Windows: stdout.txt & stderr.txt will
go under the current user's AppData instead of AllUsers' from now on [Mion]
Added cmd-line option "--ignore-textgosub-newline" which causes
newlines after clickwaits to be ignored when in textgosub mode -
this will fix some older onscripter games, notably "A Dream of Summer" [Mion]
Some corrections to window icon handling [Mion]
2010-03-09
Fix for the enormously slow startup time for Umineko (caused by
unnecessarily decompressing all bitmaps to find their lengths) [Mion & Roto]
Other memory leak fixes [Mion & Andrius]
2010-03-08
Patching up some memory leaks & uninitialized variable issues,
fixes for quitting gracefully and handling effects [Mion]
2010-03-07
Added quit event checking before running each cmd (allows graceful exits
even when a script is looping) [Mion]
Added more explicit cpu-gfx compiler checking (per Andrius' idea) [Mion]
During "skip to next choice" mode, reduce duration of effects instead
of just cutting them (ctrl-skip will still cut effects) [Mion]
2010-03-06
Fixes for gcc4.5+ compilation, added strict compilation option [Andrius]
More little bugfixes prompted by al|together2006 games [Mion]
2010-03-05
Various corrections for building on non-gcc compilers [Andrius]
Bugfixes to handle memory leaks, uninitialized values [Mion, Roto, Andrius]
A few other fixes prompted by testing on al|together2006 games [Mion]
Preliminary corrections for text display [Mion]
2010-02-21
Edited Mac ons-en icon to make inner spaces clickable [Roto]
Allow "systemcall" cmd in an "rgosub" routine [Mion]
2010-02-16
Fix for non-initialized variables in AnimationInfo [Andrey]
Made corrections to "configure", mainly for "cpu gfx" compiler checking,
and added "--no-cpu-gpx" option [Mion]
Added icon "resource" items to "make clean" [Mion]
2010-02-15
Bugfix to Windows caption handling - characters in the system ANSI
codepage will be displayed correctly (no Unicode yet) [Mion]
Added ons-en icon to Windows resources, ported "resource" handling
code from ponscr for icons on non-Windows and non-MacOSX systems [Mion]
Added cmd-line option "--use-app-icons" to not use "icon.png" as
the window icon [Mion]
2010-02-14
Various bugfixes, including for proper handling of JP filenames
(on Windows) and alpha PNG images [Mion]
Added cmd-line option "--current-user-appdata" for Windows in order to
use the current user's AppData folder for saves instead of AllUsers [Mion]
Added "||" (or) option to "if" command, from ogapee's
onscripter-20100131a release [Mion]
Bugfix to onscripter tools, bad filename handling in *make [Mion]
2010-01-30
Reduced strictness on MPEG movie checking [Mion]
Bugfix for creating files when using tmp files (oops) [Mion]
2010-01-23
Updates suggested by changes in ogapee's onscripter-20100116a release [Mion]
Bugfix for dll effect parameter handling (fixes "cascade") [Mion]
Updates to test suite [Mion]
2010-01-17
New ons-en icon & icns (compiled into Mac builds only, so far) [Mion, Roto]
Bugfix for handling size 0 text font (esp. for Tokihako) [Mion]
Bugfix for PNG alpha/palette image checking [Mion]
When writing to files (gloval.sav, etc.) make a tmpfile first, so
that original file data may be preserved in case of write error [Mion]
2010-01-16
Bugfix to clickwait and pagewait handling in "linepage" mode [Mion]
Bugfixes to *conv tools [Mion]
Bugfix for masked images [Mion]
2010-01-07
Added PNG image support to *conv ONScripter tools; bugfixes to
tools and build process. [Mion]
2010-01-05
Added NScr commands "getcursorpos2", "getnextline" [Mion]
Sort-of support for NScr command "rubyon2" (regular ruby behavior for now)
[Mion]
Bugfix for fullwidth integer output in Japanese text [Mion]
Updated "AnimationInfo.cpp" affine matrix handling based on ogapee's
onscripter-20100103a release. [Mion]
2010-01-02
Added text line-completion on space/enter/return (not just left-click) [Mion]
Refined keyboard handling (won't perform 'a','m','o','f','s','v','z' keypress
functions while CTRL is pressed) [Mion]
Added NScr effect command "flushout" [Mion]
2009-12-31
Switched keyboard layout code to use SDL Unicode values [Mion]
2009-12-30
Added some support for non-QWERTY Latin-based keyboards QWERTZ and
AZERTY on Windows, to handle alphabet letter keys [Mion]
Added "volume edit" mode, reachable by pressing 'v' [Mion]
Added commands "menu_waveon", "menu_waveoff" to complement the 'm' mute
feature [Mion]
Added NScr commands "bgmdownmode", "checkkey", "getskipoff" [Mion]
"Added" bgmdownmode & savedir settings to envdata (previously there,
but not understood) [Mion]
Fix to "menu_full" & 'f' fullscreen toggle (avoid a crash if fullscreen
mode unavailable) [Mion]
Corrected default volume handling [Mion]
Allow comments in 'ons.cfg' by starting a line with # [Mion]
Bugfix for ns2conv & ns2make tools [Mion]
2009-12-27
Bugfix to "split" command to prevent buffer overrun [Mion]
Updated man pages for tools [Mion]
2009-12-26
Bugfix for text refresh [Mion]
2009-12-25
Added support for file-matching rules in the "*conv" tools [Mion]
Added volume mute feature (use 'm' keystroke to toggle volume on/off) [Mion]
2009-12-19
Added support for NS2 archives (e.g. "00.ns2") [Mion]
Made updates to tools, changed their interfaces for clarity; added
new tools "ns2dec", "ns2conv", "ns2make", "nsamake", "sarmake",
"batchconv" (note that the "*conv" and "*make" commands don't support
NScr's SPB and LZSS compression schemes) [Mion]
Updated man pages for tools [Roto]
Some small bugfixes to pretext tag parsing and such (prompted by
testing on Hotaruyuki trial and Tokihako) [Mion]
For Windows, onscripter-en will now open the save and output folders
in Explorer, if "debug" mode is activated [Mion]
Added "mesbox" command (prints the message to stderr) [Mion]
2009-12-15
Added support for building "nsadec", "nsaconv", "sardec", and
"sarconv" tools (use 'make tools' or 'make all' to build) [Mion]
Added "nscdec", "nscmake" tools [Mion]
Bugfixes to tools; corrected how onscr handles images when
"disable-rescale" (pda) mode is set [Mion]
Added man pages for tools [Roto]
2009-12-09
Added "gameid" option for command-line and 'ons.cfg', to supplement the
";gameid" script directive and 'game.id' file. New order of preference:
1) cmd-line '--gameid "X"', 2) 'ons.cfg' "gameid=X", 3) 'game.id' file,
4) ";gameid" directive [Mion]
2009-12-08
More graphics processing cleanup [Mion]
Added support for 'f' fullscreen/window toggle during non-async movie
playback [Mion]
2009-12-07
Added support for XM & MOD files (provided by SDL_Mixer) to "play" and
"playonce" commands [Mion]
2009-12-06
Corrected handling of PNG images with alpha components (and no more
BPP16 warning!) [Mion]
Lots of code optimization and cleanup, especially for alpha blending,
layer effects, "monocro" mode [Mion]
Added handling to prevent resizing a (usually multicell image for animation)
to a width too large for SDL to handle [Mion]
Bugfixes to event timing, effect ctrl-skipping, automode unset [Mion]
Fixed most(?) causes of crashing when trying to play a non-mpeg file
using "movie" [Mion]
2009-12-02
Bugfixes to textgosub text output in skip mode, mask effects [Mion]
Added profiling flags to debug build option [Mion]
Optimized code for image resizing, "trvswave" and "whirl" effects;
reuse for already-loaded sprites [Mion]
2009-11-22
Corrections to "clickskippage" handling, along with other skip modes at
clickwaits, and clickvoice playback (especially for textgosub) [Mion]
2009-11-21
Integrated major changes implemented via "exp-updates" branch:
* integrated changes from official onscripter versions 20090822, 20091011,
and 20091115, wherever feasible
* paradigm shift in event handling based on onscripter-20090822, but
adapted to suit features of onscripter-en
* support for right-click wait states (from onscripter-20090822);
added NScr "lrclick" command
* stubs for Lua handling introduced in NScr 2.92 (from onscripter-20090822)
* support for producing single-color rectangular area sprites
(from onscripter-20090822)
* replaced hack for right-click menu title with special title handling
* new buttonwait options: added NScr commands "transbtn", "getmouseover",
"btnarea", "getmclick"
* added other NScr commands: "r_trap", "rgosub", "mv", "effectskip",
"mousemode"
2009-11-06
Corrected image resizing (interpolation bug with multi-cell sprites),
handling resized elements, and selectable sentence generation
when resized [Mion]
Messed around with RCA_SCALE, still needs work and consideration [Mion]
Added command-line option "--window-width width" for non-PDA systems,
to set a preferred window width [Mion]
Cleaned up status output messages [Mion]
Corrected handling of standing images [Mion]
2009-11-05
Removed ENABLE_1BYTE_CHAR ifdefs (made it the default) [Mion]
Fixed a bug in convertFromSJISToUTF8 [Mion]