Since there is a possibility that the Error () function will collide with libwonx.a when linking,
It changed to Wonx_Error ().
Added bios_exit ().
sprite_set_char, sprite_get_char, palette number minus 8
Fixed bug that was not specified.
font_set_monodata (), font_set_colordata (), font_get_data (), disp.c,
The arguments of screen_set_char (), screen_get_char (), sprite_set_data ()
Changed from void * to appropriate type.
Sample program and attached SpeedMac.
I added a document.
Version 0.3 beta - from wonx-b03.tar.gz
Changed to create Wonx class and manage all resources with Wonx class.
(See Wonx.x WonxP.h)
When p is pressed to switch display / non-display of the screen, redraw the LCD panel
Improvement.
Added -Wall to compile option.
We have summarized the processing part of the function which is duplicated processing in disp.c.
Version 0.1 beta - from wonx-b01.tar.gz
Fixed not to draw. Reduced the load on the X server.
(Improvements related to WWLCDPanel and XDisplay_DrawLCDWindow () of XDisplay.c)
(XDisplay_DrawLCDWindow () in XDisplay.c has useless malloc ()
Improvement is necessary of that)
In WWDisplay.c (WWDisplay_DrawScreen ()) of wonx-a 05 and wonx-a 06
As a result of trying both, wonx - a 05 was faster, so wonx - a 05 was better
I decided to use it.
Version 0.0.7 alpha - from wonx-a07.tar.gz
It did not get much faster. When the X server drawing is a hot spot
Since it seems, efforts to reduce drawing amount are necessary.
Version 0.0.6 alpha - from wonx-a06.tar.gz
Fix WWDisplay_DrawScreen (). I put useless calculations out of the loop.
After examining the hotspot, the drawing part of X (XDisplay_DrawLCDWindow () in XDisplay.c
Loop part) became a hot spot, so arrange the array for each pixel
I made it and raised drawing speed.
Version 0.0.5 alpha - from wonx-a05.tar.gz
Changed method of storing WWLCDPanel data.
(I made 1 byte allocated with 1 pixel as 1 byte with 2 pixels)
(For speeding up, thought about future color correspondence (241 colors?))
Added WonxDisplay_Sync (). Reduced wasteful drawing in functions of get type.
Implement sprite window function. (Not tested)
Implement time related functions. (timer.c)
Fix sprite priority. (I modified "Priority is given to younger one")
Version 0.0.4 alpha - from wonx-a04.tar.gz
In the explanation of screen 2 _ set _ window () of the manual, "width and height of the display area"
Although it is written, in fact it operates with "horizontal width of display area + 1 and vertical width + 1"
want to see? (Unconfirmed), do not you have to do -1?
Or, in actual operation in WonderWitch,
ex = sx + WWScreen_GetDrawWidth (screen);
Not
ex = WWScreen_GetDrawWidth (screen);
It may be.
Implemented sprite enable / disable.
LCD color map, palette, character, sprite data dump function implemented.
Improve display message when calling function.
Version 0.0.3 alpha - from wonx-a03.tar.gz
At the very least I output the character string to the terminal.
We implemented the window function of screen 2.
Version 0.0.2 alpha - from wonx-a02.tar.gz