Search found 24 matches

by ancientcc
June 7th, 2015, 1:33 pm
Forum: Coder’s Corner
Topic: Cross-platform C++ SDK originates in wesnoth
Replies: 7
Views: 4021

Re: Cross-platform C++ SDK originates in wesnoth

I am chinese, and pool in English. Writing little english requries to spend a lot time. Even so, others may not understand what I say. I had modified license to GPL v2. Of course, my view is clear as before. Give right to user as free as possible, include closing code. In the last month, I has relea...
by ancientcc
June 7th, 2015, 1:09 pm
Forum: Coder’s Corner
Topic: GUI Tool for Editing gui2::twidget
Replies: 2
Views: 2998

Re: GUI Tool for Editing gui2::twidget

Use Rose Studio open wesnoth's dialog 1: "System"-->"load", it will open "Browse" dialog. 2: Select desire dialog cfg. Open. Remark! Rose is different from wesnoth in some ways. Rose doesn't support [multi_page], [repeating_button], [horizontal_listbox], [matrix]. Rose'...
by ancientcc
April 29th, 2015, 10:59 am
Forum: Coder’s Corner
Topic: Cross-platform C++ SDK originates in wesnoth
Replies: 7
Views: 4021

Re: Cross-platform C++ SDK originates in wesnoth

War of Kingdom and Rose are tow project.

War of Kingdom is GPL.
by ancientcc
April 24th, 2015, 4:05 am
Forum: Coder’s Corner
Topic: gui2: modify reduce logic
Replies: 2
Views: 1807

Re: gui2: modify reduce logic

These kinds of "hey come copy my code" or "why don't you code it this way" posts are unlikely to get a response. You are welcome to make a pull request on github. Not sure who is likely to review or merge it. Of course, I am glad to pull my code to wesnoth github. Just as above ...
by ancientcc
April 23rd, 2015, 1:41 pm
Forum: Coder’s Corner
Topic: gui2: modify reduce logic
Replies: 2
Views: 1807

gui2: modify reduce logic

Reference to: http://www.freeors.com/bbs/forum.php?mod=viewthread&tid=23406&extra=page%3D1 I think wesnoth's reduce logic exists tow problem. When exist tow or more require reducing widget in one row/column, logic maybe not slove it. Relative code is obscure, especially involve scrollbar. I ...
by ancientcc
April 23rd, 2015, 7:02 am
Forum: Coder’s Corner
Topic: Cross-platform C++ SDK originates in wesnoth
Replies: 7
Views: 4021

Re: Cross-platform C++ SDK originates in wesnoth

Rose originates in Battle for Wesnoth. Rose is distributed under the zlib license. This license allows you to use Rose freely in any software. You should correct that to GNU GPL. As others have pointed out before... I want to give application based Rose to decide open source or not. For example sec...
by ancientcc
April 21st, 2015, 7:07 am
Forum: Coder’s Corner
Topic: Cross-platform C++ SDK originates in wesnoth
Replies: 7
Views: 4021

Cross-platform C++ SDK originates in wesnoth

Rose: http://www.freeors.com Rose is a corss-platform C++ SDK. It is based on SDL, and provide higher level interface to application. Features Cross-platform, include Windows, iOS, Android, Mac OS X, Linux. They are same as SDL. Running application needn't additional plugin on all platform. Really ...
by ancientcc
March 1st, 2015, 7:54 am
Forum: Coder’s Corner
Topic: GUI Tool for Editing gui2::twidget
Replies: 2
Views: 2998

Re: GUI Tool for Editing gui2::twidget

3: theme There are tow layer in a theme. First layer places top widgets, it is one paper only. Second layer is detail grid in a widget that is in first layer, it is same as dialog paper. "Switch" button (at bottom right) execute switching between first and second layer. First layer must u...
by ancientcc
February 1st, 2015, 7:16 am
Forum: Coder’s Corner
Topic: GUI Tool for Editing gui2::twidget
Replies: 2
Views: 2998

GUI Tool for Editing gui2::twidget

Github: https://github.com/freeors/Rose 1: Download (Release Package) Windows: Download rose-res directory from github. Run rose.exe. iOS: Require first compile. Application project is rose.xcodeproj(Uncompress Xcode-iOS.zip) Other platform: Require write application project file and compile. I have...
by ancientcc
January 12th, 2015, 10:27 am
Forum: Game Development
Topic: War of Kingdom(v1.0.30):A game based Battle for Wesnoth
Replies: 19
Views: 16888

Re: War of Kingdom(v1.0.12):A game based Battle for Wesnoth

missfly82 wrote:Please, upload links. all link be died. Thank you very much :oops:
OK. links have been corrected.
by ancientcc
January 4th, 2015, 1:28 pm
Forum: Coder’s Corner
Topic: Cross-Platform C++ SDK derived from Wesnoth
Replies: 3
Views: 3424

Re: Cross-Platform C++ SDK derived from Wesnoth

techtonik wrote:Just don't forget the GPL.
I am ensure Rose will open source for ever.

As to Public License, I want to add after project is taking embryonic. The time is about tow month.
by ancientcc
January 1st, 2015, 6:10 am
Forum: Coder’s Corner
Topic: Cross-Platform C++ SDK derived from Wesnoth
Replies: 3
Views: 3424

Re: Cross-Platform C++ SDK derived from Wesnoth

I am glad to say: I basically completed modifying theme. Newest code is uploaded to https://github.com/freeors/Rose. 1. Except main-map, other element is completed by gui2::twidget. Get rid of gui::widget. 2. Build new theme mechanism, use controller_base+display+tdialog. 3. Theme can use all gui2::...
by ancientcc
December 2nd, 2014, 8:25 am
Forum: Coder’s Corner
Topic: Cross-Platform C++ SDK derived from Wesnoth
Replies: 3
Views: 3424

Cross-Platform C++ SDK derived from Wesnoth

Rose: https://github.com/freeors/Rose Rose makes different from Wesnoth. 1. gui2::widget support animation. 2. Get rid of pango library. Use newer version SDL2. 3. Integrate text, image with animation at a plan. 4. To config, produce new format: *.bin. Application access *.bin directly, not cfg. Ros...
by ancientcc
September 27th, 2013, 2:37 am
Forum: Coder’s Corner
Topic: Modify in process_queue(void* shard_num)
Replies: 1
Views: 1292

Modify in process_queue(void* shard_num)

if(min_threads && waiting_threads[shard] >= min_threads) { DBG_NW << "worker thread exiting... not enough jobs\n"; to_clear[shard].push_back(threading::get_current_thread_id()); return 0; } modify to if(outgoing_bufs[shard].empty() && min_threads && waiting_threads...
by ancientcc
June 9th, 2013, 3:57 pm
Forum: Coder’s Corner
Topic: A question of unit_animation::get_end_time()
Replies: 5
Views: 3465

A question of unit_animation::get_end_time()

int unit_animation::get_end_time() const { int result = unit_anim_.get_end_time(); std::map<std::string,particule>::const_iterator anim_itor =sub_anims_.end(); for( /*null*/; anim_itor != sub_anims_.end() ; ++anim_itor) { result= std::max<int>(result,anim_itor->second.get_end_time()); } return resu...